Hello
i’m trying to use incoming_call_offer_pref in pfsip.conf but the result for remote and remote_first seems wrong
According to the the SIP SDP and the pjsip config here under, should the result be g711a that is the first in the SDP and present in the conf ?
it’s g711u that is choosen :
ast_sip_session_create_joint_call_cap: ‘XXX’ Caps for incoming audio call with pref ‘remote_first’ - remote: (ulaw|gsm|g723|alaw|g722|g729) local: (g729|ulaw|alaw) joint: (ulaw)
Thanks for your help
SIP SDP
a=sendrecv
a=rtpmap:4 G723/8000
a=rtpmap:9 G722/8000
a=rtpmap:3 GSM/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ssrc:1999845743 cname:496602cc2fec2dc5
pjsip.conf
allow = g729
allow = ulaw
allow = alaw