Outbound call Error ASR-89

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.

Where are you seeing this error?

This is third party code, as a result knowledge and help here will likely be limited.

Okay, thank you anyway.

Sorry, this is an Asterisk–UniMRCP scenario, and I’m wondering if there’s a way to define the codec for the channel between the two when a outbound call is made. When the call comes from MicroSIP or a SIP trunk, I can’t really understand how asterisk and unimrcp negotiate or grab the codec of call, it just feels like magic.

I have this in mrcp.conf:

codecs = PCMU PCMA G722 L16/96/8000 telephone-event/101/8000

Thank you.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.