Hello, colleagues. I need you help. Working with FreePBX for second time, and need you help.
I have FreePBX with with SIP Trunk (PJSIP channel) with CUCM. On FreePBX I create IVR. In main i need to redirect 9111 number from FreePBX to CUCM. I create ivr’s entity “_9111” to custom destination. On FreePBX i create Custom destination “cucm-dest-custom” with target “cucm-context, ${EXTEN},1”.
There is in extension_custom.config:
[cucm-context]
exten => _XXXX,n,Goto(cucm-route,${EXTEN},1)
“cucm-route” is name of outbund rule for SIP trunk.
In which rule i have error? When i try call 9111 from FreePBX to CUCM. It’s work.
But when i try redirect call from IVR to 9111 to CUCM, it’s end call. In log files i have only one error:
Error in logs
‘SIP/5556-0000008f’ sent to invalid extension but no invalid handler: context,exten,priority=cucm-context, 9111,1
One of Trunk pjsip Settings :
cucm-trunk-1
Asterisk Trunk Dial Options:
Authentification Disabled
Language Code: Disabled
SIP Server: ip of server Cucm-1
SIP Server Port : 5060
Context: from-internal
Transport: udp