- Joined
- Aug 12, 2021
- Messages
- 10
- Reaction score
- 1
Hello dear gurus
im trying to connect asterisk to 3cx, and partially I got success. I know, this wide discussed topic, and I found many replies in forums that helped me
Right now, I can make call from 3cx client to Asterisk client, using 3cx bridge, I can hear, and get the name of who is calling from 3cx. This part is ok
But it is not working vice versa
on 3 cx i get lof like
Target endpoint for 102@3CX-HALAL can not be built!
on asterisk logs says
1142340[2021-10-18 16:00:21] VERBOSE[30010][C-000000fe] pbx.c: Executing [s@func-apply-sipheaders:5] While("SIP/3CX Bridge Outgoing-00000092", "0") in new stack
I have also captured the traffic while Im tried to call from asterisk to 3cx.
What can be a reason can someone help me please
im trying to connect asterisk to 3cx, and partially I got success. I know, this wide discussed topic, and I found many replies in forums that helped me
Right now, I can make call from 3cx client to Asterisk client, using 3cx bridge, I can hear, and get the name of who is calling from 3cx. This part is ok
But it is not working vice versa
on 3 cx i get lof like
Target endpoint for 102@3CX-HALAL can not be built!
on asterisk logs says
1142340[2021-10-18 16:00:21] VERBOSE[30010][C-000000fe] pbx.c: Executing [s@func-apply-sipheaders:5] While("SIP/3CX Bridge Outgoing-00000092", "0") in new stack
1142341[2021-10-18 16:00:21] VERBOSE[30010][C-000000fe] pbx.c: Executing [s@func-apply-sipheaders:14] Return("SIP/3CX Bridge Outgoing-00000092", "") in new stack
1142342[2021-10-18 16:00:21] VERBOSE[30010][C-000000fe] app_stack.c: Spawn extension (from-trunk, 102, 1) exited non-zero on 'SIP/3CX Bridge Outgoing-00000092'
1142343[2021-10-18 16:00:21] VERBOSE[30010][C-000000fe] app_stack.c: SIP/3CX Bridge Outgoing-00000092 Internal Gosub(func-apply-sipheaders,s,1(3)) complete GOSUB_RETVAL=
1142344[2021-10-18 16:00:21] VERBOSE[30010][C-000000fe] app_dial.c: Called SIP/3CX Bridge Outgoing/102@3CX-HALAL
1142345[2021-10-18 16:00:21] VERBOSE[30010][C-000000fe] app_dial.c: Everyone is busy/congested at this time (1:0/0/1)
1142346[2021-10-18 16:00:21] VERBOSE[30010][C-000000fe] pbx.c: Executing [s@macro-dialout-trunk:35] NoOp("PJSIP/2000-00000137", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 1") in new stack
1142347[2021-10-18 16:00:21] VERBOSE[30010][C-000000fe] pbx.c: Executing [s@macro-dialout-trunk:36] GotoIf("PJSIP/2000-00000137", "0?continue,1:s-CHANUNAVAIL,1") in new stack
1142348[2021-10-18 16:00:21] VERBOSE[30010][C-000000fe] pbx_builtins.c: Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
1142349[2021-10-18 16:00:21] VERBOSE[30010][C-000000fe] pbx.c: Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("PJSIP/2000-00000137", "RC=1") in new stack
1142350[2021-10-18 16:00:21] VERBOSE[30010][C-000000fe] pbx.c: Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("PJSIP/2000-00000137", "1,1") in new stack
1142351[2021-10-18 16:00:21] VERBOSE[30010][C-000000fe] pbx_builtins.c: Goto (macro-dialout-trunk,1,1)
1142352[2021-10-18 16:00:21] VERBOSE[30010][C-000000fe] pbx.c: Executing [1@macro-dialout-trunk:1] Goto("PJSIP/2000-00000137", "s-INVALIDNMBR,1") in new stack
1142353[2021-10-18 16:00:21] VERBOSE[30010][C-000000fe] pbx_builtins.c: Goto (macro-dialout-trunk,s-INVALIDNMBR,1)
1142354[2021-10-18 16:00:21] VERBOSE[30010][C-000000fe] pbx.c: Executing [s-INVALIDNMBR@macro-dialout-trunk:1] NoOp("PJSIP/2000-00000137", "Dial failed due to trunk reporting Address Incomplete - giving up") in new stack
1142355[2021-10-18 16:00:21] VERBOSE[30010][C-000000fe] pbx.c: Executing [s-INVALIDNMBR@macro-dialout-trunk:2] Progress("PJSIP/2000-00000137", "") in new stack
1142356[2021-10-18 16:00:21] VERBOSE[30010][C-000000fe] pbx.c: Executing [s-INVALIDNMBR@macro-dialout-trunk:3] Playback("PJSIP/2000-00000137", "ss-noservice,noanswer") in new stack
1142357[2021-10-18 16:00:21] VERBOSE[30010][C-000000fe] file.c: <PJSIP/2000-00000137> Playing 'ss-noservice.g722' (language 'en')
1142358[2021-10-18 16:00:26] VERBOSE[30010][C-000000fe] pbx.c: Executing [s-INVALIDNMBR@macro-dialout-trunk:4] Busy("PJSIP/2000-00000137", "20") in new stack
1142359[2021-10-18 16:00:26] VERBOSE[30010][C-000000fe] app_macro.c: Spawn extension (macro-dialout-trunk, s-INVALIDNMBR, 4) exited non-zero on 'PJSIP/2000-00000137' in macro 'dialout-trunk'
1142360[2021-10-18 16:00:26] VERBOSE[30010][C-000000fe] pbx.c: Spawn extension (from-internal, 102, 11) exited non-zero on 'PJSIP/2000-00000137'
1142361[2021-10-18 16:00:26] VERBOSE[30010][C-000000fe] pbx.c: Executing [h@from-internal:1] Macro("PJSIP/2000-00000137", "hangupcall") in new stack
1142362[2021-10-18 16:00:26] VERBOSE[30010][C-000000fe] pbx.c: Executing [s@macro-hangupcall:1] GotoIf("PJSIP/2000-00000137", "1?theend") in new stack
1142363[2021-10-18 16:00:26] VERBOSE[30010][C-000000fe] pbx_builtins.c: Goto (macro-hangupcall,s,3)
1142364[2021-10-18 16:00:26] VERBOSE[30010][C-000000fe] pbx.c: Executing [s@macro-hangupcall:3] ExecIf("PJSIP/2000-00000137", "0?Set(CDR(recordingfile)=)") in new stack
1142365[2021-10-18 16:00:26] VERBOSE[30010][C-000000fe] pbx.c: Executing [s@macro-hangupcall:4] NoOp("PJSIP/2000-00000137", " montior file= ") in new stack
1142366[2021-10-18 16:00:26] VERBOSE[30010][C-000000fe] pbx.c: Executing [s@macro-hangupcall:5] GotoIf("PJSIP/2000-00000137", "1?skipagi") in new stack
1142367[2021-10-18 16:00:26] VERBOSE[30010][C-000000fe] pbx_builtins.c: Goto (macro-hangupcall,s,7)
1142368[2021-10-18 16:00:26] VERBOSE[30010][C-000000fe] pbx.c: Executing [s@macro-hangupcall:7] Hangup("PJSIP/2000-00000137", "") in new stack
1142369[2021-10-18 16:00:26] VERBOSE[30010][C-000000fe] app_macro.c: Spawn extension (macro-hangupcall, s, 7) exited non-zero on 'PJSIP/2000-00000137' in macro 'hangupcall'
1142370[2021-10-18 16:00:26] VERBOSE[30010][C-000000fe] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/2000-00000137'
1142371[2021-10-18 16:00:26] VERBOSE[30010][C-000000fe] app_stack.c: PJSIP/2000-00000137 Internal Gosub(crm-hangup,s,1) start
1142372[2021-10-18 16:00:26] VERBOSE[30010][C-000000fe] pbx.c: Executing [s@crm-hangup:1] NoOp("PJSIP/2000-00000137", "Sending Hangup to CRM") in new stack
1142373[2021-10-18 16:00:26] VERBOSE[30010][C-000000fe] pbx.c: Executing [s@crm-hangup:2] NoOp("PJSIP/2000-00000137", "HANGUP CAUSE: 17") in new stack
1142374[2021-10-18 16:00:26] VERBOSE[30010][C-000000fe] pbx.c: Executing [s@crm-hangup:3] ExecIf("PJSIP/2000-00000137", "0?Set(__CRM_VOICEMAIL=)") in new stack
1142375[2021-10-18 16:00:26] VERBOSE[30010][C-000000fe] pbx.c: Executing [s@crm-hangup:4] NoOp("PJSIP/2000-00000137", "MASTER CHANNEL: 1634558421.457 = 1634558421.457") in new stack
1142376[2021-10-18 16:00:26] VERBOSE[30010][C-000000fe] pbx.c: Executing [s@crm-hangup:5] GotoIf("PJSIP/2000-00000137", "0?return") in new stack
1142377[2021-10-18 16:00:26] VERBOSE[30010][C-000000fe] pbx.c: Executing [s@crm-hangup:6] Set("PJSIP/2000-00000137", "__CRM_HANGUP=1") in new stack
1142378[2021-10-18 16:00:26] VERBOSE[30010][C-000000fe] pbx.c: Executing [s@crm-hangup:7] AGI("PJSIP/2000-00000137", "agi://127.0.0.1/sangomacrm.agi") in new stack
1142379[2021-10-18 16:00:26] VERBOSE[30010][C-000000fe] res_agi.c: <PJSIP/2000-00000137>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
1142380[2021-10-18 16:00:26] VERBOSE[30010][C-000000fe] pbx.c: Executing [s@crm-hangup:8] Return("PJSIP/2000-00000137", "") in new stack
1142381[2021-10-18 16:00:26] VERBOSE[30010][C-000000fe] app_stack.c: Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/2000-00000137'
1142382[2021-10-18 16:00:26] VERBOSE[30
010][C-000000fe] app_stack.c: PJSIP/2000-00000137 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
I have also captured the traffic while Im tried to call from asterisk to 3cx.
What can be a reason can someone help me please
Last edited by a moderator: