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?
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to