Outgoing Call Issue

iam not able to dial a specific number attached is the log for the same.

Thanks in advance for help.

10310	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] netsock2.c: Using SIP RTP TOS bits 184	
10311	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] netsock2.c: Using SIP RTP CoS mark 5	
10312	[2023-10-10 11:08:09] VERBOSE[2686] cdr.c: 0x7f8ba4014400 - Created CDR for channel SIP/tatasip-0000141c	
10313	[2023-10-10 11:08:09] VERBOSE[2686] cdr.c: 0x7f8ba4014400 - Transitioning CDR for SIP/tatasip-0000141c from state NONE to Single	
10314	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] app_stack.c: SIP/tatasip-0000141c Internal Gosub(func-apply-sipheaders,s,1(1)) start	
10315	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] pbx.c: Executing [s@func-apply-sipheaders:1] ExecIf("SIP/tatasip-0000141c", "0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)") in new stack	
10316	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] pbx.c: Executing [s@func-apply-sipheaders:2] NoOp("SIP/tatasip-0000141c", "Applying SIP Headers to channel SIP/tatasip-0000141c") in new stack	
10317	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] pbx.c: Executing [s@func-apply-sipheaders:3] Set("SIP/tatasip-0000141c", "TECH=SIP") in new stack	
10318	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] pbx.c: Executing [s@func-apply-sipheaders:4] Set("SIP/tatasip-0000141c", "SIPHEADERKEYS=Alert-Info") in new stack	
10319	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] pbx.c: Executing [s@func-apply-sipheaders:5] While("SIP/tatasip-0000141c", "1") in new stack	
10320	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] pbx.c: Executing [s@func-apply-sipheaders:6] Set("SIP/tatasip-0000141c", "sipheader=unset") in new stack	
10321	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] pbx.c: Executing [s@func-apply-sipheaders:7] ExecIf("SIP/tatasip-0000141c", "1?SIPRemoveHeader(Alert-Info:)") in new stack	
10322	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] pbx.c: Executing [s@func-apply-sipheaders:8] ExecIf("SIP/tatasip-0000141c", "0?Set(PJSIP_HEADER(remove,Alert-Info)=)") in new stack	
10323	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] pbx.c: Executing [s@func-apply-sipheaders:9] ExecIf("SIP/tatasip-0000141c", "0?Set(sipheader=<http://127.0.0.1>;info=unset)") in new stack	
10324	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] pbx.c: Executing [s@func-apply-sipheaders:10] ExecIf("SIP/tatasip-0000141c", "0?Set(sipheader=<http://127.0.0.1>unset)") in new stack	
10325	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] pbx.c: Executing [s@func-apply-sipheaders:11] ExecIf("SIP/tatasip-0000141c", "0?SIPAddHeader(Alert-Info:unset)") in new stack	
10326	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] pbx.c: Executing [s@func-apply-sipheaders:12] ExecIf("SIP/tatasip-0000141c", "0?Set(PJSIP_HEADER(add,Alert-Info)=unset)") in new stack	
10327	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] pbx.c: Executing [s@func-apply-sipheaders:13] EndWhile("SIP/tatasip-0000141c", "") in new stack	
10328	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] pbx.c: Executing [s@func-apply-sipheaders:5] While("SIP/tatasip-0000141c", "0") in new stack	
10329	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] pbx.c: Executing [s@func-apply-sipheaders:14] Return("SIP/tatasip-0000141c", "") in new stack	
10330	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] app_stack.c: Spawn extension (tata, 02222822207, 1) exited non-zero on 'SIP/tatasip-0000141c'	
10331	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] app_stack.c: SIP/tatasip-0000141c Internal Gosub(func-apply-sipheaders,s,1(1)) complete GOSUB_RETVAL=	
10332	[2023-10-10 11:08:09] VERBOSE[2686] cdr.c: Dial Begin message for PJSIP/U1981-00001424, SIP/tatasip-0000141c: 1696936089.00366859	
10333	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] app_dial.c: Called SIP/tatasip/02222822207	
10334	[2023-10-10 11:08:09] VERBOSE[2686] cdr.c: 0x7f8ba4015550 - Processing Dial Begin message for channel PJSIP/U1981-00001424, peer SIP/tatasip-0000141c	
10335	[2023-10-10 11:08:09] VERBOSE[2686] cdr.c: 0x7f8ba4015550 - Updated Party A PJSIP/U1981-00001424 snapshot	
10336	[2023-10-10 11:08:09] VERBOSE[2686] cdr.c: 0x7f8ba4015550 - Updated Party B SIP/tatasip-0000141c snapshot	
10337	[2023-10-10 11:08:09] VERBOSE[2686] cdr.c: 0x7f8ba4015550 - Transitioning CDR for PJSIP/U1981-00001424 from state Single to Dial	
10338	[2023-10-10 11:08:09] VERBOSE[2733][C-00001430] chan_sip.c: Got SIP response 503 "Service Unavailable" back from 10.50.185.2:5060	
10339	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] app_dial.c: SIP/tatasip-0000141c is circuit-busy	
10340	[2023-10-10 11:08:09] VERBOSE[2686] cdr.c: Dial End message for PJSIP/U1981-00001424, SIP/tatasip-0000141c: 1696936089.00993897	
10341	[2023-10-10 11:08:09] VERBOSE[2686] cdr.c: 0x7f8ba4015550 - Processing Dial End message for channel PJSIP/U1981-00001424, peer SIP/tatasip-0000141c	
10342	[2023-10-10 11:08:09] VERBOSE[2686] cdr.c: 0x7f8ba4015550 - Transitioning CDR for PJSIP/U1981-00001424 from state Dial to Finalized	
10343	[2023-10-10 11:08:09] VERBOSE[2686] cdr.c: 0x7f8ba4014400 - Transitioning CDR for SIP/tatasip-0000141c from state Single to Finalized	
10344	[2023-10-10 11:08:09] VERBOSE[2686] cdr.c: 0x7f8ba4014400 - Beginning finalize/dispatch for SIP/tatasip-0000141c	
10345	[2023-10-10 11:08:09] VERBOSE[2686] cdr.c: 0x7f8ba4014400 - Dispatching CDR for Party A SIP/tatasip-0000141c, Party B <none>	
10346	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] app_dial.c: Everyone is busy/congested at this time (1:0/1/0)	
10347	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] pbx.c: Executing [s@macro-dialout-trunk:35] NoOp("PJSIP/U1981-00001424", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 34") in new stack	
10348	[2023-10-10 11:08:09] VERBOSE[2686] cdr.c: 0x7f8ba4014400 - Created CDR for channel PJSIP/U1981-00001424	
10349	[2023-10-10 11:08:09] VERBOSE[2686] cdr.c: 0x7f8ba4014400 - Transitioning CDR for PJSIP/U1981-00001424 from state NONE to Single	
10350	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] pbx.c: Executing [s@macro-dialout-trunk:36] GotoIf("PJSIP/U1981-00001424", "0?continue,1:s-CONGESTION,1") in new stack	
10351	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] pbx_builtins.c: Goto (macro-dialout-trunk,s-CONGESTION,1)	
10352	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] pbx.c: Executing [s-CONGESTION@macro-dialout-trunk:1] Set("PJSIP/U1981-00001424", "RC=34") in new stack	
10353	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] pbx.c: Executing [s-CONGESTION@macro-dialout-trunk:2] Goto("PJSIP/U1981-00001424", "34,1") in new stack	
10354	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] pbx_builtins.c: Goto (macro-dialout-trunk,34,1)	
10355	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] pbx.c: Executing [34@macro-dialout-trunk:1] Goto("PJSIP/U1981-00001424", "continue,1") in new stack	
10356	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] pbx_builtins.c: Goto (macro-dialout-trunk,continue,1)	
10357	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] pbx.c: Executing [continue@macro-dialout-trunk:1] NoOp("PJSIP/U1981-00001424", "TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 34 - failing through to other trunks") in new stack	
10358	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] pbx.c: Executing [continue@macro-dialout-trunk:2] ExecIf("PJSIP/U1981-00001424", "0?Set(CALLERID(number)=)") in new stack	
10359	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] pbx.c: Executing [02222822207@from-internal:12] Macro("PJSIP/U1981-00001424", "outisbusy,") in new stack	
10360	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] pbx.c: Executing [s@macro-outisbusy:1] Progress("PJSIP/U1981-00001424", "") in new stack	
10361	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] pbx.c: Executing [s@macro-outisbusy:2] GotoIf("PJSIP/U1981-00001424", "0?emergency,1") in new stack	
10362	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] pbx.c: Executing [s@macro-outisbusy:3] GotoIf("PJSIP/U1981-00001424", "0?intracompany,1") in new stack	
10363	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] pbx.c: Executing [s@macro-outisbusy:4] Playback("PJSIP/U1981-00001424", "all-circuits-busy-now&please-try-call-later, noanswer") in new stack	
10364	[2023-10-10 11:08:09] VERBOSE[8182][C-00001430] file.c: <PJSIP/U1981-00001424> Playing 'all-circuits-busy-now.ulaw' (language 'en')	
10365	[2023-10-10 11:08:11] VERBOSE[8182][C-00001430] file.c: <PJSIP/U1981-00001424> Playing 'please-try-call-later.ulaw' (language 'en')	
10366	[2023-10-10 11:08:13] VERBOSE[8182][C-00001430] pbx.c: Executing [h@from-internal:1] Macro("PJSIP/U1981-00001424", "hangupcall") in new stack	
10367	[2023-10-10 11:08:13] VERBOSE[8182][C-00001430] pbx.c: Executing [s@macro-hangupcall:1] GotoIf("PJSIP/U1981-00001424", "1?theend") in new stack	
10368	[2023-10-10 11:08:13] VERBOSE[8182][C-00001430] pbx_builtins.c: Goto (macro-hangupcall,s,3)	
10369	[2023-10-10 11:08:13] VERBOSE[8182][C-00001430] pbx.c: Executing [s@macro-hangupcall:3] ExecIf("PJSIP/U1981-00001424", "0?Set(CDR(recordingfile)=)") in new stack	
10370	[2023-10-10 11:08:13] VERBOSE[8182][C-00001430] pbx.c: Executing [s@macro-hangupcall:4] Hangup("PJSIP/U1981-00001424", "") in new stack	
10371	[2023-10-10 11:08:13] VERBOSE[8182][C-00001430] app_macro.c: Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'PJSIP/U1981-00001424' in macro 'hangupcall'	
10372	[2023-10-10 11:08:13] VERBOSE[8182][C-00001430] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/U1981-00001424'	
10373	[2023-10-10 11:08:13] VERBOSE[8182][C-00001430] app_stack.c: PJSIP/U1981-00001424 Internal Gosub(crm-hangup,s,1) start	
10374	[2023-10-10 11:08:13] VERBOSE[8182][C-00001430] pbx.c: Executing [s@crm-hangup:1] NoOp("PJSIP/U1981-00001424", "Sending Hangup to CRM") in new stack	
10375	[2023-10-10 11:08:13] VERBOSE[8182][C-00001430] pbx.c: Executing [s@crm-hangup:2] NoOp("PJSIP/U1981-00001424", "HANGUP CAUSE: 16") in new stack	
10376	[2023-10-10 11:08:13] VERBOSE[8182][C-00001430] pbx.c: Executing [s@crm-hangup:3] ExecIf("PJSIP/U1981-00001424", "0?Set(__CRM_VOICEMAIL=)") in new stack	
10377	[2023-10-10 11:08:13] VERBOSE[8182][C-00001430] pbx.c: Executing [s@crm-hangup:4] NoOp("PJSIP/U1981-00001424", "MASTER CHANNEL: 1696936089.10304 = 1696936089.10304") in new stack	
10378	[2023-10-10 11:08:13] VERBOSE[8182][C-00001430] pbx.c: Executing [s@crm-hangup:5] GotoIf("PJSIP/U1981-00001424", "0?return") in new stack	
10379	[2023-10-10 11:08:13] VERBOSE[8182][C-00001430] pbx.c: Executing [s@crm-hangup:6] Set("PJSIP/U1981-00001424", "__CRM_HANGUP=1") in new stack	
10380	[2023-10-10 11:08:13] VERBOSE[8182][C-00001430] pbx.c: Executing [s@crm-hangup:7] AGI("PJSIP/U1981-00001424", "agi://127.0.0.1/sangomacrm.agi") in new stack	
10381	[2023-10-10 11:08:13] VERBOSE[8182][C-00001430] res_agi.c: <PJSIP/U1981-00001424>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0	
10382	[2023-10-10 11:08:13] VERBOSE[8182][C-00001430] pbx.c: Executing [s@crm-hangup:8] Return("PJSIP/U1981-00001424", "") in new stack	
10383	[2023-10-10 11:08:13] VERBOSE[8182][C-00001430] app_stack.c: Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/U1981-00001424'	
10384	[2023-10-10 11:08:13] VERBOSE[8182][C-00001430] app_stack.c: PJSIP/U1981-00001424 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=	
10385	[2023-10-10 11:08:13] VERBOSE[2686] cdr.c: 0x7f8ba4015550 - Beginning finalize/dispatch for PJSIP/U1981-00001424	
10386	[2023-10-10 11:08:13] VERBOSE[2686] cdr.c: 0x7f8ba4015550 - Dispatching CDR for Party A PJSIP/U1981-00001424, Party B SIP/tatasip-0000141c

The log shows the phone number “02222822207” was dialed using “tatasip”. They responded with a 503 Service Unavailable. You’d likely need to reach out to them to understand why if it’s only a specific number.

thanks for help, so its not related to pbx config mismatch

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