Re: [asterisk-users] can PJSIP_MEDIA_OFFER work like SIP_CODEC?

2014-09-30 Thread Matthew Jordan
On Sat, Sep 27, 2014 at 10:28 AM, d tbsky tbs...@gmail.com wrote: hi: 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 12/13. I found asterisk 12/13 has a new function PJSIP_MEDIA_OFFER. according

Re: [asterisk-users] can PJSIP_MEDIA_OFFER work like SIP_CODEC?

2014-09-30 Thread d tbsky
2014-09-30 23:52 GMT+08:00 Matthew Jordan mjor...@digium.com: On Sat, Sep 27, 2014 at 10:28 AM, d tbsky tbs...@gmail.com wrote: 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