[asterisk-users] can PJSIP_MEDIA_OFFER work like SIP_CODEC?

d tbsky tbskyd at gmail.com
Sat Sep 27 10:28:02 CDT 2014

   when using chan_sip, I can use set SIP_CODEC in dialplan to change
the codec of endpoint. this method didn't work with pjsip in asterisk

   I found asterisk 12/13 has a new function PJSIP_MEDIA_OFFER.
according to the description, it seems can set codec, but the document
didn't offer any example. i try to use something like
PJSIP_MEDIA_OFFER(alaw)  but didn't work.

   can someone give an example for the function? thanks for the help.


More information about the asterisk-users mailing list