amrsalime
(Amr Salem)
November 30, 2019, 1:31pm
1
hello everybody,
I just finished of integration with CUCM
FreePBX configuration:
1- create a SIP trunk.
2- Create an Inbound route.
3- Create an Outbound route.
4- assigned the routes to the associated trunk.
CUCM configuration:
1- Configure the SIP Trunk Security Profile
2- Configure the SIP Profile
3- Configure the SIP Trunk device
4- Configure Route Pattern for the SIP Trunk.
5- Call RoutingRoute/HuntRoute Pattern.
now I can reach my FreePBX from CUCM (call any extension in FreePBX) without any problem. but I have an issue with the Outbound route when I try to call any extension in CUCM. get this voice Message (your call cannot be completed, pls check the number and try again).
I there any missed step?
your support is highly appreciated
dolesec
(Chris Dolese)
November 30, 2019, 1:54pm
2
post a snippet of the call log
from asterisk console do this first
*CLI> logger rotate
then do your test where it fails
and immediately after the failed test call
pastebin /var/log/asterisk/full
post the link here and we may see something
if there is nothing visible explaining it at that level then a packet capture analysis may be in order
amrsalime
(Amr Salem)
November 30, 2019, 2:01pm
3
here is the log
[2019-12-01 14:30:49] VERBOSE[25256] pbx_variables.c: Setting global variable ‘SIPDOMAIN’ to ‘192.168.102.30’
[2019-12-01 14:30:49] VERBOSE[25256] netsock2.c: Using SIP RTP Audio TOS bits 184
[2019-12-01 14:30:49] VERBOSE[25256] netsock2.c: Using SIP RTP Audio TOS bits 184 in TCLASS field.
[2019-12-01 14:30:49] VERBOSE[25256] netsock2.c: Using SIP RTP Audio CoS mark 5
[2019-12-01 14:30:49] VERBOSE[25034][C-000000e3] pbx.c: Executing [5103@from-internal:1] ResetCDR(“PJSIP/703-00000121”, “”) in new stack
[2019-12-01 14:30:49] VERBOSE[25034][C-000000e3] pbx.c: Executing [5103@from-internal:2] NoCDR(“PJSIP/703-00000121”, “”) in new stack
[2019-12-01 14:30:49] VERBOSE[25034][C-000000e3] pbx.c: Executing [5103@from-internal:3] Progress(“PJSIP/703-00000121”, “”) in new stack
[2019-12-01 14:30:49] VERBOSE[25034][C-000000e3] pbx.c: Executing [5103@from-internal:4] Wait(“PJSIP/703-00000121”, “1”) in new stack
[2019-12-01 14:30:50] VERBOSE[25034][C-000000e3] pbx.c: Executing [5103@from-internal:5] Playback(“PJSIP/703-00000121”, “silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer”) in new stack
[2019-12-01 14:30:50] VERBOSE[25034][C-000000e3] file.c: <PJSIP/703-00000121> Playing ‘silence/1.ulaw’ (language ‘en’)
[2019-12-01 14:30:51] VERBOSE[25034][C-000000e3] file.c: <PJSIP/703-00000121> Playing ‘cannot-complete-as-dialed.ulaw’ (language ‘en’)
[2019-12-01 14:30:54] VERBOSE[25034][C-000000e3] file.c: <PJSIP/703-00000121> Playing ‘check-number-dial-again.ulaw’ (language ‘en’)
[2019-12-01 14:30:56] VERBOSE[25034][C-000000e3] pbx.c: Executing [5103@from-internal:6] Wait(“PJSIP/703-00000121”, “1”) in new stack
[2019-12-01 14:30:57] VERBOSE[25034][C-000000e3] pbx.c: Executing [5103@from-internal:7] Congestion(“PJSIP/703-00000121”, “20”) in new stack
[2019-12-01 14:30:57] VERBOSE[25034][C-000000e3] pbx.c: Spawn extension (from-internal, 5103, 7) exited non-zero on ‘PJSIP/703-00000121’
[2019-12-01 14:30:57] VERBOSE[25034][C-000000e3] pbx.c: Executing [h@from-internal:1] Macro(“PJSIP/703-00000121”, “hangupcall”) in new stack
[2019-12-01 14:30:57] VERBOSE[25034][C-000000e3] pbx.c: Executing [s@macro-hangupcall:1] GotoIf(“PJSIP/703-00000121”, “1?theend”) in new stack
[2019-12-01 14:30:57] VERBOSE[25034][C-000000e3] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2019-12-01 14:30:57] VERBOSE[25034][C-000000e3] pbx.c: Executing [s@macro-hangupcall:3] ExecIf(“PJSIP/703-00000121”, “0?Set(CDR(recordingfile)=)”) in new stack
[2019-12-01 14:30:57] VERBOSE[25034][C-000000e3] pbx.c: Executing [s@macro-hangupcall:4] NoOp(“PJSIP/703-00000121”, " montior file= ") in new stack
[2019-12-01 14:30:57] VERBOSE[25034][C-000000e3] pbx.c: Executing [s@macro-hangupcall:5] GotoIf(“PJSIP/703-00000121”, “1?skipagi”) in new stack
[2019-12-01 14:30:57] VERBOSE[25034][C-000000e3] pbx_builtins.c: Goto (macro-hangupcall,s,7)
[2019-12-01 14:30:57] VERBOSE[25034][C-000000e3] pbx.c: Executing [s@macro-hangupcall:7] Hangup(“PJSIP/703-00000121”, “”) in new stack
[2019-12-01 14:30:57] VERBOSE[25034][C-000000e3] app_macro.c: Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘PJSIP/703-00000121’ in macro ‘hangupcall’
[2019-12-01 14:30:57] VERBOSE[25034][C-000000e3] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on ‘PJSIP/703-00000121’
Pastebins only help if you supply the pastebin link that was generated.
2 Likes
amrsalime
(Amr Salem)
December 1, 2019, 9:50am
5
is there any missing step about the logs
thanks in advance.
PitzKey
(Itzik)
December 1, 2019, 10:17am
6
system
(system)
Closed
December 8, 2019, 10:17am
7
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.