Using Asterisk 18.12.0, a little confused on how to configure my pjsip.conf file to determine the codec to use for a call I have 2 endpoints: [Alice] disallow:all allow:ulaw,alaw,g729 [Bob] disallow:all allow:ulaw,alaw,g729 Alice calls into Asterisk on ext 100 and then we dial Bob I want to wait until Bod side codec is chosen to answer Alice and have each channel use the codec chose on Bob side. I see these options on this link, https://wiki.asterisk.org/wiki/display/AST/Asterisk+18+Configuration_res_pjsip codec_prefs_incoming_offer codec_prefs_outgoing_offer codec_prefs_incoming_answer codec_prefs_outgoing_answer but I dont see them on my pjsip.conf file. I only see these tow: incoming_call_offer_pref outgoing_call_offer_pref Do I have to use the 4 of them on each endoint Alice and Bob? Or just one side should be enough? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20230131/4cdd1ede/attachment.html>
On Tue, Jan 31, 2023 at 4:14 PM Fabian Borot <fborot at hotmail.com> wrote:> > Using Asterisk 18.12.0, a little confused on how to configure my > pjsip.conf file to determine the codec to use for a call > > I have 2 endpoints: > [Alice] > disallow:all > allow:ulaw,alaw,g729 > > [Bob] > disallow:all > allow:ulaw,alaw,g729 > > Alice calls into Asterisk on ext 100 and then we dial Bob > I want to wait until Bod side codec is chosen to answer Alice and have > each channel use the codec chose on Bob side. >That is not currently possible. -- Joshua C. Colp Asterisk Project Lead Sangoma Technologies Check us out at www.sangoma.com and www.asterisk.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20230131/0bad79fd/attachment.html>