Problema Llamadas Salientes.

Joined
Apr 1, 2016
Messages
1
Points
0
Hola

Tengo un problema en una central de elastix con las llamas salientes, hay llamadas entrantes, se reviso la configuracion y esta correcta, no es problema de firewall, se hablo con la compañia que lo provee que es iplan y si que las llamas salientes tienen mal configurado el from y el to de la llamada.

Mando un debug de la consola del elastix cuando hago la llamada.

[root@PBXDODERO02 ~]# asterisk -vvvvr
Asterisk 11.17.1, Copyright (C) 1999 - 2013 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 11.17.1 currently running on PBXDODERO02 (pid = 28659)
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [943733696@from-internal:1] Macro("SIP/83-00000002", "user-callerid,LIMIT,EXTERNAL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/83-00000002", "TOUCH_MONITOR=1459512089.2") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/83-00000002", "AMPUSER=83") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/83-00000002", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/83-00000002", "1?Set(REALCALLERIDNUM=83)") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/83-00000002", "AMPUSER=83") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/83-00000002", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/83-00000002", "AMPUSERCIDNAME=Netqual Test") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/83-00000002", "0?report") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/83-00000002", "AMPUSERCID=83") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/83-00000002", "__DIAL_OPTIONS=tr") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/83-00000002", "CALLERID(all)="Netqual Test" <83>") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/83-00000002", "0?limit") in new stack
-- Executing [s@macro-user-callerid:13] ExecIf("SIP/83-00000002", "1?Set(GROUP(concurrency_limit)=83)") in new stack
-- Executing [s@macro-user-callerid:14] ExecIf("SIP/83-00000002", "1?Set(CHANNEL(language)=es)") in new stack
-- Executing [s@macro-user-callerid:15] GotoIf("SIP/83-00000002", "1?continue") in new stack
-- Goto (macro-user-callerid,s,28)
-- Executing [s@macro-user-callerid:28] Set("SIP/83-00000002", "CALLERID(number)=83") in new stack
-- Executing [s@macro-user-callerid:29] Set("SIP/83-00000002", "CALLERID(name)=Netqual Test") in new stack
-- Executing [s@macro-user-callerid:30] Set("SIP/83-00000002", "CDR(cnum)=83") in new stack
-- Executing [s@macro-user-callerid:31] Set("SIP/83-00000002", "CDR(cnam)=Netqual Test") in new stack
-- Executing [s@macro-user-callerid:32] Set("SIP/83-00000002", "CHANNEL(language)=es") in new stack
-- Executing [943733696@from-internal:2] Set("SIP/83-00000002", "MOHCLASS=default") in new stack
-- Executing [943733696@from-internal:3] Set("SIP/83-00000002", "_NODEST=") in new stack
-- Executing [943733696@from-internal:4] Gosub("SIP/83-00000002", "sub-record-check,s,1(out,943733696,)") in new stack
-- Executing [s@sub-record-check:1] Set("SIP/83-00000002", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:2] GotoIf("SIP/83-00000002", "1?check") in new stack
-- Goto (sub-record-check,s,7)
-- Executing [s@sub-record-check:7] Set("SIP/83-00000002", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:8] GotoIf("SIP/83-00000002", "1?next") in new stack
-- Goto (sub-record-check,s,11)
-- Executing [s@sub-record-check:11] ExecIf("SIP/83-00000002", "0?Return()") in new stack
-- Executing [s@sub-record-check:12] ExecIf("SIP/83-00000002", "0?Set(__REC_POLICY_MODE=)") in new stack
-- Executing [s@sub-record-check:13] GotoIf("SIP/83-00000002", "0?out,1") in new stack
-- Executing [s@sub-record-check:14] Set("SIP/83-00000002", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:15] Set("SIP/83-00000002", "NOW=1459512089") in new stack
-- Executing [s@sub-record-check:16] Set("SIP/83-00000002", "__DAY=01") in new stack
-- Executing [s@sub-record-check:17] Set("SIP/83-00000002", "__MONTH=04") in new stack
-- Executing [s@sub-record-check:18] Set("SIP/83-00000002", "__YEAR=2016") in new stack
-- Executing [s@sub-record-check:19] Set("SIP/83-00000002", "__TIMESTR=20160401-090129") in new stack
-- Executing [s@sub-record-check:20] Set("SIP/83-00000002", "__FROMEXTEN=83") in new stack
-- Executing [s@sub-record-check:21] Set("SIP/83-00000002", "__CALLFILENAME=out-943733696-83-20160401-090129-1459512089.2") in new stack
-- Executing [s@sub-record-check:22] Goto("SIP/83-00000002", "out,1") in new stack
-- Goto (sub-record-check,out,1)
-- Executing [out@sub-record-check:1] ExecIf("SIP/83-00000002", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
-- Executing [out@sub-record-check:2] GosubIf("SIP/83-00000002", "0?record,1(exten,943733696,83)") in new stack
-- Executing [out@sub-record-check:3] Return("SIP/83-00000002", "") in new stack
-- Executing [943733696@from-internal:5] Macro("SIP/83-00000002", "dialout-trunk,2,43733696,,off") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/83-00000002", "DIAL_TRUNK=2") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/83-00000002", "0?sub-pincheck,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/83-00000002", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/83-00000002", "DIAL_NUMBER=43733696") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/83-00000002", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/83-00000002", "OUTBOUND_GROUP=OUT_2") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/83-00000002", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/83-00000002", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/83-00000002", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/83-00000002", "outbound-callerid,2") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/83-00000002", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/83-00000002", "0?Set(REALCALLERIDNUM=83)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/83-00000002", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/83-00000002", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/83-00000002", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/83-00000002", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/83-00000002", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,14)
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/83-00000002", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/83-00000002", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/83-00000002", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/83-00000002", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:18] Set("SIP/83-00000002", "CDR(outbound_cnum)=83") in new stack
-- Executing [s@macro-outbound-callerid:19] Set("SIP/83-00000002", "CDR(outbound_cnam)=Netqual Test") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/83-00000002", "0?sub-flp-2,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/83-00000002", "OUTNUM=01143733696") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/83-00000002", "custom=SIP/iplan-out1") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/83-00000002", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/83-00000002", "0?Set(DIAL_TRUNK_OPTIONS=M(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:17] Macro("SIP/83-00000002", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/83-00000002", "") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/83-00000002", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/83-00000002", "1?Set(CONNECTEDLINE(num,i)=43733696)") in new stack
-- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/83-00000002", "1?Set(CONNECTEDLINE(name,i)=CID:83)") in new stack
-- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/83-00000002", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:22] Dial("SIP/83-00000002", "SIP/iplan-out1/01143733696,300,") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/iplan-out1/01143733696
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:23] NoOp("SIP/83-00000002", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 1") in new stack
-- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/83-00000002", "0?continue,1:s-CHANUNAVAIL,1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/83-00000002", "RC=1") in new stack
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/83-00000002", "1,1") in new stack
-- Goto (macro-dialout-trunk,1,1)
-- Executing [1@macro-dialout-trunk:1] Goto("SIP/83-00000002", "continue,1") in new stack
-- Goto (macro-dialout-trunk,continue,1)
-- Executing [continue@macro-dialout-trunk:1] NoOp("SIP/83-00000002", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 1 - failing through to other trunks") in new stack
-- Executing [continue@macro-dialout-trunk:2] Set("SIP/83-00000002", "CALLERID(number)=83") in new stack
-- Executing [943733696@from-internal:6] Macro("SIP/83-00000002", "outisbusy,") in new stack
-- Executing [s@macro-outisbusy:1] Progress("SIP/83-00000002", "") in new stack
-- Executing [s@macro-outisbusy:2] GotoIf("SIP/83-00000002", "0?emergency,1") in new stack
-- Executing [s@macro-outisbusy:3] GotoIf("SIP/83-00000002", "0?intracompany,1") in new stack
-- Executing [s@macro-outisbusy:4] Playback("SIP/83-00000002", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
-- <SIP/83-00000002> Playing 'all-circuits-busy-now.gsm' (language 'es')
> 0xb640e520 -- Probation passed - setting RTP source address to 192.168.123.254:8000
-- <SIP/83-00000002> Playing 'pls-try-call-later.gsm' (language 'es')
-- Executing [s@macro-outisbusy:5] Congestion("SIP/83-00000002", "20") in new stack
[2016-04-01 09:01:34] WARNING[28772][C-00000001]: channel.c:4862 ast_prod: Prodding channel 'SIP/83-00000002' failed
== Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'SIP/83-00000002' in macro 'outisbusy'
== Spawn extension (from-internal, 943733696, 6) exited non-zero on 'SIP/83-00000002'
-- Executing [h@from-internal:1] Hangup("SIP/83-00000002", "") in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/83-00000002'


Gracias.
 
Joined
Nov 27, 2013
Messages
199
Points
18
Verifica que en tu troncal tengas correctamente las opciones fromdomain, defaultuser/username y fromuser.
Una vez modificado necesitas activar el sip debug(no solo el verbose) en la consola para saber exactamente los headers SIP que se están enviando.
 

Members online

No members online now.

Forum statistics

Threads
30,992
Messages
131,106
Members
17,716
Latest member
Orbit114
Top