I have a Asterisk @home ver 1.0 running with a TDMB11 card. Several sip
extensions and a regular phone connected to the box. All routing works fine
from the regular phone connected to the box, whether its going to FWD,
broadvoice or the PSTN. The problem I am experiencing comes from making
calls from the sip phones. They get routed correctly to the sip and iax
trunks but when making calls that are routed to the zap channel they ring
the regular phone and do not get routed to the PSTN.
Below are examples of the verbose from asterisk for calls from internal zap
and internal sip channels to the PSTN.
-- Starting simple switch on 'Zap/1-1'
-- Executing Macro("Zap/1-1",
"dialout-trunk|1|817XXXXXX") in new stack
-- Executing Macro("Zap/1-1", "record-on|200") in new
stack
-- Executing AGI("Zap/1-1", "set-timestamp.agi") in new
stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/set-timestamp.agi
-- AGI Script set-timestamp.agi completed, returning 0
-- Executing SetVar("Zap/1-1",
"CALLFILENAME=20050619-101044-200-817XXXXXX") in new stack
-- Executing Monitor("Zap/1-1",
"wav|20050619-101044-200-817XXXXXX|mb") in new stack
-- Executing GotoIf("Zap/1-1", "0?4") in new stack
-- Executing SetCallerID("Zap/1-1", "817XXXXXX") in new
stack
-- Executing Goto("Zap/1-1", "6") in new stack
-- Goto (macro-dialout-trunk,s,6)
-- Executing SetCallerID("Zap/1-1", "") in new stack
-- Executing SetGroup("Zap/1-1", "OUT_1") in new stack
-- Executing CheckGroup("Zap/1-1", "") in new stack
-- Executing SetVar("Zap/1-1", "DIAL_NUMBER=817XXXXXX")
in new stack
-- Executing SetVar("Zap/1-1", "DIAL_TRUNK=1") in new
stack
-- Executing AGI("Zap/1-1", "fixlocalprefix") in new
stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
fixlocalprefix: Could not parse /etc/asterisk/localprefixes.conf
-- AGI Script fixlocalprefix completed, returning 0
-- Executing Dial("Zap/1-1", "ZAP/g0/817XXXXXX") in new
stack
-- Called g0/817XXXXXX
-- Hungup 'Zap/4-1'
-- Executing Macro("SIP/302-ffef",
"dialout-trunk|1|817XXXXXX") in new stack
-- Executing Macro("SIP/302-ffef", "record-on|302") in
new stack
-- Executing AGI("SIP/302-ffef", "set-timestamp.agi")
in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/set-timestamp.agi
-- AGI Script set-timestamp.agi completed, returning 0
-- Executing SetVar("SIP/302-ffef",
"CALLFILENAME=20050619-101314-302-817XXXXXX") in new stack
-- Executing Monitor("SIP/302-ffef",
"wav|20050619-101314-302-817XXXXXX|mb") in new stack
-- Executing GotoIf("SIP/302-ffef", "1?4") in new stack
-- Goto (macro-dialout-trunk,s,4)
-- Executing Goto("SIP/302-ffef", "6") in new stack
-- Goto (macro-dialout-trunk,s,6)
-- Executing SetCallerID("SIP/302-ffef", "") in new
stack
-- Executing SetGroup("SIP/302-ffef", "OUT_1") in new
stack
-- Executing CheckGroup("SIP/302-ffef", "") in new
stack
-- Executing SetVar("SIP/302-ffef",
"DIAL_NUMBER=817XXXXXX") in new stack
-- Executing SetVar("SIP/302-ffef", "DIAL_TRUNK=1") in
new stack
-- Executing AGI("SIP/302-ffef", "fixlocalprefix") in
new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
fixlocalprefix: Could not parse /etc/asterisk/localprefixes.conf
-- AGI Script fixlocalprefix completed, returning 0
-- Executing Dial("SIP/302-ffef", "ZAP/g0/817XXXXXX")
in new stack
-- Called g0/817XXXXXX
-- Zap/1-1 is ringing
-- Hungup 'Zap/1-1'
Please,
send us zapata.conf. It's possible that you don't have well
configure zapata.conf, because in your trace you try to dial through g0
group and your Zap/4(I understand is your Zap connected to PSTN) must be
into the 0 group.
Regards,
srsergio
-----Mensaje original-----
De: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] En nombre de Jose
Vicente Ortega
Enviado el: domingo, 19 de junio de 2005 19:26
Para: asterisk-users@lists.digium.com
Asunto: [Asterisk-Users] outgoing call routing
I have a Asterisk @home ver 1.0 running with a TDMB11 card. Several sip
extensions and a regular phone connected to the box. All routing works
fine
from the regular phone connected to the box, whether its going to FWD,
broadvoice or the PSTN. The problem I am experiencing comes from making
calls from the sip phones. They get routed correctly to the sip and iax
trunks but when making calls that are routed to the zap channel they
ring
the regular phone and do not get routed to the PSTN.
Below are examples of the verbose from asterisk for calls from internal
zap
and internal sip channels to the PSTN.
-- Starting simple switch on 'Zap/1-1'
-- Executing Macro("Zap/1-1",
"dialout-trunk|1|817XXXXXX") in new
stack
-- Executing Macro("Zap/1-1", "record-on|200") in new
stack
-- Executing AGI("Zap/1-1", "set-timestamp.agi") in new
stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/set-timestamp.agi
-- AGI Script set-timestamp.agi completed, returning 0
-- Executing SetVar("Zap/1-1",
"CALLFILENAME=20050619-101044-200-817XXXXXX") in new stack
-- Executing Monitor("Zap/1-1",
"wav|20050619-101044-200-817XXXXXX|mb") in new stack
-- Executing GotoIf("Zap/1-1", "0?4") in new stack
-- Executing SetCallerID("Zap/1-1", "817XXXXXX") in new
stack
-- Executing Goto("Zap/1-1", "6") in new stack
-- Goto (macro-dialout-trunk,s,6)
-- Executing SetCallerID("Zap/1-1", "") in new stack
-- Executing SetGroup("Zap/1-1", "OUT_1") in new stack
-- Executing CheckGroup("Zap/1-1", "") in new stack
-- Executing SetVar("Zap/1-1", "DIAL_NUMBER=817XXXXXX")
in new
stack
-- Executing SetVar("Zap/1-1", "DIAL_TRUNK=1") in new
stack
-- Executing AGI("Zap/1-1", "fixlocalprefix") in new
stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
fixlocalprefix: Could not parse /etc/asterisk/localprefixes.conf
-- AGI Script fixlocalprefix completed, returning 0
-- Executing Dial("Zap/1-1", "ZAP/g0/817XXXXXX") in new
stack
-- Called g0/817XXXXXX
-- Hungup 'Zap/4-1'
-- Executing Macro("SIP/302-ffef",
"dialout-trunk|1|817XXXXXX") in new
stack
-- Executing Macro("SIP/302-ffef", "record-on|302") in
new stack
-- Executing AGI("SIP/302-ffef", "set-timestamp.agi")
in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/set-timestamp.agi
-- AGI Script set-timestamp.agi completed, returning 0
-- Executing SetVar("SIP/302-ffef",
"CALLFILENAME=20050619-101314-302-817XXXXXX") in new stack
-- Executing Monitor("SIP/302-ffef",
"wav|20050619-101314-302-817XXXXXX|mb") in new stack
-- Executing GotoIf("SIP/302-ffef", "1?4") in new stack
-- Goto (macro-dialout-trunk,s,4)
-- Executing Goto("SIP/302-ffef", "6") in new stack
-- Goto (macro-dialout-trunk,s,6)
-- Executing SetCallerID("SIP/302-ffef", "") in new
stack
-- Executing SetGroup("SIP/302-ffef", "OUT_1") in new
stack
-- Executing CheckGroup("SIP/302-ffef", "") in new
stack
-- Executing SetVar("SIP/302-ffef",
"DIAL_NUMBER=817XXXXXX") in new
stack
-- Executing SetVar("SIP/302-ffef", "DIAL_TRUNK=1") in
new stack
-- Executing AGI("SIP/302-ffef", "fixlocalprefix") in
new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
fixlocalprefix: Could not parse /etc/asterisk/localprefixes.conf
-- AGI Script fixlocalprefix completed, returning 0
-- Executing Dial("SIP/302-ffef", "ZAP/g0/817XXXXXX")
in new stack
-- Called g0/817XXXXXX
-- Zap/1-1 is ringing
-- Hungup 'Zap/1-1'
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
which zap channel or group goes to the FXO? On 6/19/05, Jose Vicente Ortega <jvortega@txwes.edu> wrote:> I have a Asterisk @home ver 1.0 running with a TDMB11 card. Several sip > extensions and a regular phone connected to the box. All routing works fine > from the regular phone connected to the box, whether its going to FWD, > broadvoice or the PSTN. The problem I am experiencing comes from making > calls from the sip phones. They get routed correctly to the sip and iax > trunks but when making calls that are routed to the zap channel they ring > the regular phone and do not get routed to the PSTN. > > Below are examples of the verbose from asterisk for calls from internal zap > and internal sip channels to the PSTN. > > -- Starting simple switch on 'Zap/1-1' > -- Executing Macro("Zap/1-1", "dialout-trunk|1|817XXXXXX") in new stack > -- Executing Macro("Zap/1-1", "record-on|200") in new stack > -- Executing AGI("Zap/1-1", "set-timestamp.agi") in new stack > -- Launched AGI Script /var/lib/asterisk/agi-bin/set-timestamp.agi > -- AGI Script set-timestamp.agi completed, returning 0 > -- Executing SetVar("Zap/1-1", > "CALLFILENAME=20050619-101044-200-817XXXXXX") in new stack > -- Executing Monitor("Zap/1-1", > "wav|20050619-101044-200-817XXXXXX|mb") in new stack > -- Executing GotoIf("Zap/1-1", "0?4") in new stack > -- Executing SetCallerID("Zap/1-1", "817XXXXXX") in new stack > -- Executing Goto("Zap/1-1", "6") in new stack > -- Goto (macro-dialout-trunk,s,6) > -- Executing SetCallerID("Zap/1-1", "") in new stack > -- Executing SetGroup("Zap/1-1", "OUT_1") in new stack > -- Executing CheckGroup("Zap/1-1", "") in new stack > -- Executing SetVar("Zap/1-1", "DIAL_NUMBER=817XXXXXX") in new stack > -- Executing SetVar("Zap/1-1", "DIAL_TRUNK=1") in new stack > -- Executing AGI("Zap/1-1", "fixlocalprefix") in new stack > -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix > fixlocalprefix: Could not parse /etc/asterisk/localprefixes.conf > -- AGI Script fixlocalprefix completed, returning 0 > -- Executing Dial("Zap/1-1", "ZAP/g0/817XXXXXX") in new stack > -- Called g0/817XXXXXX > -- Hungup 'Zap/4-1' > > > -- Executing Macro("SIP/302-ffef", "dialout-trunk|1|817XXXXXX") in new stack > -- Executing Macro("SIP/302-ffef", "record-on|302") in new stack > -- Executing AGI("SIP/302-ffef", "set-timestamp.agi") in new stack > -- Launched AGI Script /var/lib/asterisk/agi-bin/set-timestamp.agi > -- AGI Script set-timestamp.agi completed, returning 0 > -- Executing SetVar("SIP/302-ffef", > "CALLFILENAME=20050619-101314-302-817XXXXXX") in new stack > -- Executing Monitor("SIP/302-ffef", > "wav|20050619-101314-302-817XXXXXX|mb") in new stack > -- Executing GotoIf("SIP/302-ffef", "1?4") in new stack > -- Goto (macro-dialout-trunk,s,4) > -- Executing Goto("SIP/302-ffef", "6") in new stack > -- Goto (macro-dialout-trunk,s,6) > -- Executing SetCallerID("SIP/302-ffef", "") in new stack > -- Executing SetGroup("SIP/302-ffef", "OUT_1") in new stack > -- Executing CheckGroup("SIP/302-ffef", "") in new stack > -- Executing SetVar("SIP/302-ffef", "DIAL_NUMBER=817XXXXXX") in new stack > -- Executing SetVar("SIP/302-ffef", "DIAL_TRUNK=1") in new stack > -- Executing AGI("SIP/302-ffef", "fixlocalprefix") in new stack > -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix > fixlocalprefix: Could not parse /etc/asterisk/localprefixes.conf > -- AGI Script fixlocalprefix completed, returning 0 > -- Executing Dial("SIP/302-ffef", "ZAP/g0/817XXXXXX") in new stack > -- Called g0/817XXXXXX > -- Zap/1-1 is ringing > -- Hungup 'Zap/1-1' > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- <sig> Andrew Latham - AKA: LATHAMA (lay-th-ham-eh) WWW: http://lathama.com Email: lathama@lathama.com - lathama@yahoo.com - lathama@gmail.com If any of the above are down we have bigger problems than my email! </sig>