[asterisk-users] SIP reload not changing codecs
Steve Edwards
asterisk.org at sedwards.com
Mon Feb 27 09:59:45 CST 2017
Asterisk 13.3.2
I change the allowed codec from ulaw to g729 in sip.conf and enter 'sip
reload' on the console, but calls continue to use ulaw until restart.
Before reload:
lc10*CLI> sip show settings
Global Signalling Settings:
---------------------------
Codecs: (ulaw)
lc10*CLI> core show channel SIP/poly-e637-00000000
NativeFormats: (ulaw)
WriteFormat: slin
ReadFormat: ulaw
After reload:
lc10*CLI> sip show settings
Global Signalling Settings:
---------------------------
Codecs: (g729)
lc10*CLI> core show channel SIP/poly-e637-00000001
NativeFormats: (ulaw)
WriteFormat: slin
ReadFormat: ulaw
After restart:
lc10*CLI> sip show settings
Global Signalling Settings:
---------------------------
Codecs: (g729)
lc10*CLI> core show channel SIP/poly-e637-00000000
NativeFormats: (g729)
WriteFormat: slin
ReadFormat: g729
Why do I need to restart to get calls to actually use the new codec?
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
https://www.linkedin.com/in/steve-edwards-4244281
More information about the asterisk-users
mailing list