Convert PJSIP to Virtual via CLI?

I know there is a very easy way to convert SIP to PJSIP via the command line. Can I use a similar process to convert PJSIP to Virtual extensions? Thanks!

As far as I know, there has never been a script to convert a tech based extension to virtual. The only script I am aware of is chan_sip to chan_pjsip due to the change in sip drivers.

I believe that bulk import should do this, and there are fwconsole commands for that module:


Usage:
  bulkimport [options] [--] <filename>
  bi

Arguments:
  filename              Filename

Options:
  -t, --type=TYPE       Type of file
      --replace         To replace existing values
  -h, --help            Display this help message
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi            Force ANSI output
      --no-ansi         Disable ANSI output
  -n, --no-interaction  Do not ask any interactive question
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Help:
  Import a file: fwconsole bulkimport --type=[extensions|dids|callaccounting] filename.csv --replace(Replace the existing values)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.