Hello Everyone,
I’m having a error when making outbound call
(ASR-89) Unable to determine codec descriptor
I have this code
extensions.conf
[outgoing]
exten => _X.,1,NoOp(Outgoing call to ${EXTEN})
same => n,Set(CALLERID(num)=+351 xxxxxxxxx)
same => n,Set(SIP_CODEC=g722)
same => n,Dial(PJSIP/${EXTEN}@telnyx,,U(bot^100^1))
same => n,Hangup()
[bot]
; This context runs after the callee answers
exten => 100,1,Answer()
same => n,Wait(1)
same => n,SynthAndRecog("Hello, how are you today?",builtin:grammar/number)
same => n,Verbose(1,You said: ${RECOG_RESULT})
same => n,Hangup()
pjsip.conf
[registration_telnyx]
type=registration
outbound_auth=telnyx
server_uri=sip:sip.telnyx.com
client_uri=sip:xxxxxxx@sip.xxxxxxx.com
retry_interval=60
contact_user=xxxxxxx
transport=transport-udp-nat
[telnyx]
type=auth
auth_type=userpass
username=xxxxxxx
password=xxxxxxx
Some Logs:
channel originate Local/351xxxxxxxxx@outgoing extension 100@bot
-- PJSIP/telnyx-0000001f is ringing
-- Local/351xxxxxxxxx@outgoing-00000013;1 is ringing
-- PJSIP/telnyx-0000001f is making progress passing it to Local/351xxxxxxxxx@outgoing-00000013;2
-- Local/351xxxxxxxxx@outgoing-00000013;1 is making progress
-- PJSIP/telnyx-0000001f answered Local/351xxxxxxxxx@outgoing-00000013;2
-- PJSIP/telnyx-0000001f Internal Gosub(bot,s,1(100,1)) start
No more error given, any ideas on what might be the problem?
Thank you.