Asterisknow calling rule macro didn't transmit called number

General discussions about AsteriskNOW.

Moderators: Moderator, Support

Asterisknow calling rule macro didn't transmit called number

Postby gan3o » Wed May 09, 2012 10:53 pm

Dear Sir,

I installed AsteriskNOW Asterisk 1.6 with Asterisk GUI. After finished configuration i cannot make outbound call. From CLI i discovered that calling rule macro didn't transmit called number to sip trunk.

- Executing [99076122@DLPN_all_75751698:1] Macro("SIP/204-0000001e", "trunkdial-failover-0.3,SIP/trunk_1/,,trunk_1,") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:1] GotoIf("SIP/204-0000001e", "0?1-fmsetcid,1") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:2] GotoIf("SIP/204-0000001e", "0?1-setgbobname,1") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:3] Set("SIP/204-0000001e", "CALLERID(num)=204") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:4] GotoIf("SIP/204-0000001e", "0?1-dial,1") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:5] Set("SIP/204-0000001e", "CALLERID(all)=75751698") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:6] Goto("SIP/204-0000001e", "1-dial,1") in new stack
-- Goto (macro-trunkdial-failover-0.3,1-dial,1)
-- Executing [1-dial@macro-trunkdial-failover-0.3:1] Dial("SIP/204-0000001e", "SIP/trunk_1/") in new stack
== Using SIP RTP CoS mark 5
-- Called trunk_1/

I manually edited below calling rule section on extensions.conf

from

[CallingRule_75751698_all]
exten = _XXXX.,1,Macro(trunkdial-failover-0.3,${trunk_1}/${,${EXTEN:0})},,trunk_1,)

to


[CallingRule_75751698_all]
exten = _XXXX.,1,Macro(trunkdial-failover-0.3,${trunk_1}/${EXTEN:0},,trunk_1,)

After this outgoing call was successful.

-- Executing [99076122@DLPN_all_75751698:1] Macro("SIP/204-00000020", "trunkdial-failover-0.3,SIP/trunk_1/99076122,,trunk_1,") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:1] GotoIf("SIP/204-00000020", "0?1-fmsetcid,1") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:2] GotoIf("SIP/204-00000020", "0?1-setgbobname,1") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:3] Set("SIP/204-00000020", "CALLERID(num)=204") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:4] GotoIf("SIP/204-00000020", "0?1-dial,1") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:5] Set("SIP/204-00000020", "CALLERID(all)=75751698") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:6] Goto("SIP/204-00000020", "1-dial,1") in new stack
-- Goto (macro-trunkdial-failover-0.3,1-dial,1)
-- Executing [1-dial@macro-trunkdial-failover-0.3:1] Dial("SIP/204-00000020", "SIP/trunk_1/99076122") in new stack
== Using SIP RTP CoS mark 5
-- Called trunk_1/99076122
-- SIP/trunk_1-00000021 is making progress passing it to SIP/204-00000020
-- SIP/trunk_1-00000021 is ringing

So my question is is this GUI bug?
gan3o
Newsterisk
 
Posts: 6
Joined: Wed Oct 19, 2011 4:56 am

Return to AsteriskNOW General

Who is online

Users browsing this forum: No registered users and 1 guest