I install Asterisk 13.19.2 on Ubutnu Server 16.04 LTS but all configuration is on sip.conf file. And I make
a migration by using the script in source folder sip_to_pjsip.py
They don’t have another way to configurate the pjsip.conf and run Asterisk on this file not sip.conf ?
You can manually write your pjsip.conf if you wish[1]. The migration script is just that, a handy script to migrate if you have an existing sip.conf and don’t want to start from scratch. As well you’ll want to ensure that chan_sip.so isn’t loaded by adding a “noload => chan_sip.so” line to modules.conf
Noload only tells Asterisk at load time not to load chan_sip. If Asterisk is already running you can unload chan_sip using “module unload chan_sip.so” from the console, but if it started before PJSIP then it would cause problems. It’s safer to just restart Asterisk clean.