Topic: MTE 6.1.1.5 outbound caller id bug [Comments: 5]
dynamixsi

Sat, 08/28/2010 - 22:44 | MTE 6.1.1.5 outbound caller id bug

The Caller ID Num and Name are not being sent out. I have attached the call records for troubleshooting. Thanks

ftlpbx03*CLI>
== Using SIP RTP CoS mark 5
== Using SIP VRTP CoS mark 6
== Using UDPTL CoS mark 5
-- Executing [2125551212@from-inside-dus:1] Macro("SIP/2009-dus-0000001d", "tl-set-variables2,from-inside-redir-dus,dus") in new stack
-- Executing [s@macro-tl-set-variables2:1] Set("SIP/2009-dus-0000001d", "__tenant=dus") in new stack
-- Executing [s@macro-tl-set-variables2:2] Set("SIP/2009-dus-0000001d", "CDR(userfield)=dus") in new stack
-- Executing [s@macro-tl-set-variables2:3] Set("SIP/2009-dus-0000001d", "__FROM_INSIDE=1") in new stack
-- Executing [s@macro-tl-set-variables2:4] Set("SIP/2009-dus-0000001d", "__MOH=") in new stack
-- Executing [s@macro-tl-set-variables2:5] GotoIf("SIP/2009-dus-0000001d", "0 ?setmoh") in new stack
-- Executing [s@macro-tl-set-variables2:6] Set("SIP/2009-dus-0000001d", "__MOH=default-dus") in new stack
-- Executing [s@macro-tl-set-variables2:7] Set("SIP/2009-dus-0000001d", "CHANNEL(musicclass)=default-dus") in new stack
-- Executing [s@macro-tl-set-variables2:8] Goto("SIP/2009-dus-0000001d", "from-inside-redir-dus,2125551212,1") in new stack
-- Goto (from-inside-redir-dus,2125551212,1)
== Channel 'SIP/2009-dus-0000001d' jumping out of macro 'tl-set-variables2'
-- Executing [2125551212@from-inside-redir-dus:1] Macro("SIP/2009-dus-0000001d", "tl-dialout-1-trunk,,SIP/dVoice-outbound") in new stack
-- Executing [s@macro-tl-dialout-1-trunk:1] GotoIf("SIP/2009-dus-0000001d", "0?dial") in new stack
-- Executing [s@macro-tl-dialout-1-trunk:2] Set("SIP/2009-dus-0000001d", "__DIALED_NUMBER=2125551212") in new stack
-- Executing [s@macro-tl-dialout-1-trunk:3] Macro("SIP/2009-dus-0000001d", "tl-dialout-base,,SIP/dVoice-outbound,,,") in new stack
-- Executing [s@macro-tl-dialout-base:1] Set("SIP/2009-dus-0000001d", "status=") in new stack
-- Executing [s@macro-tl-dialout-base:2] GotoIf("SIP/2009-dus-0000001d", "1?enabled") in new stack
-- Goto (macro-tl-dialout-base,s,5)
-- Executing [s@macro-tl-dialout-base:5] GotoIf("SIP/2009-dus-0000001d", "1?allclear") in new stack
-- Goto (macro-tl-dialout-base,s,13)
-- Executing [s@macro-tl-dialout-base:13] Set("SIP/2009-dus-0000001d", "i=2") in new stack
-- Executing [s@macro-tl-dialout-base:14] Macro("SIP/2009-dus-0000001d", "tl-set-myvariables") in new stack
-- Executing [s@macro-tl-set-myvariables:1] Set("SIP/2009-dus-0000001d", "MY_CHAN=2009-dus-0000001d") in new stack
-- Executing [s@macro-tl-set-myvariables:2] NoOp("SIP/2009-dus-0000001d", "THECHANNEL=SIP/2009-dus-0000001d") in new stack
-- Executing [s@macro-tl-set-myvariables:3] Set("SIP/2009-dus-0000001d", "zap=0") in new stack
-- Executing [s@macro-tl-set-myvariables:4] GotoIf("SIP/2009-dus-0000001d", "1?usechannel") in new stack
-- Goto (macro-tl-set-myvariables,s,9)
-- Executing [s@macro-tl-set-myvariables:9] Set("SIP/2009-dus-0000001d", "local=0") in new stack
-- Executing [s@macro-tl-set-myvariables:10] GotoIf("SIP/2009-dus-0000001d", "1?useit") in new stack
-- Goto (macro-tl-set-myvariables,s,12)
-- Executing [s@macro-tl-set-myvariables:12] Set("SIP/2009-dus-0000001d", "__MYEXTENSION=2009") in new stack
-- Executing [s@macro-tl-set-myvariables:13] Set("SIP/2009-dus-0000001d", "__MYID=dus-2009") in new stack
-- Executing [s@macro-tl-dialout-base:15] SetAMAFlags("SIP/2009-dus-0000001d", "billing") in new stack
-- Executing [s@macro-tl-dialout-base:16] Set("SIP/2009-dus-0000001d", "RECORD=") in new stack
-- Executing [s@macro-tl-dialout-base:17] GotoIf("SIP/2009-dus-0000001d", "1?done_checkrecord") in new stack
-- Goto (macro-tl-dialout-base,s,26)
-- Executing [s@macro-tl-dialout-base:26] NoOp("SIP/2009-dus-0000001d", "RECORD=") in new stack
-- Executing [s@macro-tl-dialout-base:27] NoOp("SIP/2009-dus-0000001d", "TOUCH_MONITOR=") in new stack
-- Executing [s@macro-tl-dialout-base:28] NoOp("SIP/2009-dus-0000001d", "RECORD_OPTIONS=") in new stack
-- Executing [s@macro-tl-dialout-base:29] NoOp("SIP/2009-dus-0000001d", "RECORDING_FORMAT=WAV") in new stack
-- Executing [s@macro-tl-dialout-base:30] Set("SIP/2009-dus-0000001d", "CALLERID(name)=") in new stack
-- Executing [s@macro-tl-dialout-base:31] GotoIf("SIP/2009-dus-0000001d", "0?calleridallowed") in new stack
-- Executing [s@macro-tl-dialout-base:32] Set("SIP/2009-dus-0000001d", "temp=") in new stack
-- Executing [s@macro-tl-dialout-base:33] GotoIf("SIP/2009-dus-0000001d", "1?accountcodeallowed") in new stack
-- Goto (macro-tl-dialout-base,s,35)
-- Executing [s@macro-tl-dialout-base:35] Set("SIP/2009-dus-0000001d", "CALLERID(num)=") in new stack
-- Executing [s@macro-tl-dialout-base:36] Set("SIP/2009-dus-0000001d", "temp=") in new stack
-- Executing [s@macro-tl-dialout-base:37] GotoIf("SIP/2009-dus-0000001d", "1?calleridallowed") in new stack
-- Goto (macro-tl-dialout-base,s,39)
-- Executing [s@macro-tl-dialout-base:39] NoOp("SIP/2009-dus-0000001d", "CLIMYID=") in new stack
-- Executing [s@macro-tl-dialout-base:40] NoOp("SIP/2009-dus-0000001d", "MYID=dus-2009") in new stack
-- Executing [s@macro-tl-dialout-base:41] Set("SIP/2009-dus-0000001d", "CLI=") in new stack
-- Executing [s@macro-tl-dialout-base:42] GotoIf("SIP/2009-dus-0000001d", "0?chkcallfwd") in new stack
-- Executing [s@macro-tl-dialout-base:43] Set("SIP/2009-dus-0000001d", "CLI=") in new stack
-- Executing [s@macro-tl-dialout-base:44] GotoIf("SIP/2009-dus-0000001d", "0?chkcallfwd") in new stack
-- Executing [s@macro-tl-dialout-base:45] Set("SIP/2009-dus-0000001d", "CLI=") in new stack
-- Executing [s@macro-tl-dialout-base:46] NoOp("SIP/2009-dus-0000001d", "CLI=") in new stack
-- Executing [s@macro-tl-dialout-base:47] NoOp("SIP/2009-dus-0000001d", "MYID=dus-2009") in new stack
-- Executing [s@macro-tl-dialout-base:48] NoOp("SIP/2009-dus-0000001d", "INCOMINGCLI=") in new stack
-- Executing [s@macro-tl-dialout-base:49] NoOp("SIP/2009-dus-0000001d", "CALLFWD=") in new stack
-- Executing [s@macro-tl-dialout-base:50] GotoIf("SIP/2009-dus-0000001d", "1?setcalleridasabove") in new stack
-- Goto (macro-tl-dialout-base,s,58)
-- Executing [s@macro-tl-dialout-base:58] GotoIf("SIP/2009-dus-0000001d", "1?nocallerid") in new stack
-- Goto (macro-tl-dialout-base,s,60)
-- Executing [s@macro-tl-dialout-base:60] Set("SIP/2009-dus-0000001d", "temp=") in new stack
-- Executing [s@macro-tl-dialout-base:61] GotoIf("SIP/2009-dus-0000001d", "1?onetrunk,1") in new stack
-- Goto (macro-tl-dialout-base,onetrunk,1)
-- Executing [onetrunk@macro-tl-dialout-base:1] Set("SIP/2009-dus-0000001d", "FULLNAME=SIP/dVoice-outbound") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:2] Set("SIP/2009-dus-0000001d", "TRUNK=dVoice-outbound") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:3] GotoIf("SIP/2009-dus-0000001d", "0?failed,1") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:4] Set("SIP/2009-dus-0000001d", "TRUNK_STATUS=1") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:5] GotoIf("SIP/2009-dus-0000001d", "0?next,1") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:6] Set("SIP/2009-dus-0000001d", "ROUTE_PREPEND=") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:7] Set("SIP/2009-dus-0000001d", "ROUTE_STRIP=") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:8] Set("SIP/2009-dus-0000001d", "ROUTE_OPTIONS=") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:9] Set("SIP/2009-dus-0000001d", "NUMBER_TO_DIAL=2125551212") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:10] Set("SIP/2009-dus-0000001d", "TRUNK_DIALSTRING=") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:11] Set("SIP/2009-dus-0000001d", "TRUNK_NAME=dVoice-outbound") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:12] Set("SIP/2009-dus-0000001d", "TRUNK_PROTOCOL=SIP") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:13] Set("SIP/2009-dus-0000001d", "TRUNK_STRIP=0") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:14] Set("SIP/2009-dus-0000001d", "TRUNK_PREPEND=") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:15] Set("SIP/2009-dus-0000001d", "CALLERID(num)=") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:16] GotoIf("SIP/2009-dus-0000001d", "0?dial-CUSTOM,1") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:17] Goto("SIP/2009-dus-0000001d", "dial-SIP,1") in new stack
-- Goto (macro-tl-dialout-base,dial-SIP,1)
-- Executing [dial-SIP@macro-tl-dialout-base:1] Set("SIP/2009-dus-0000001d", "headernum=1") in new stack
-- Executing [dial-SIP@macro-tl-dialout-base:2] GotoIf("SIP/2009-dus-0000001d", "0?:routeoptions") in new stack
-- Goto (macro-tl-dialout-base,dial-SIP,7)
-- Executing [dial-SIP@macro-tl-dialout-base:7] Dial("SIP/2009-dus-0000001d", "SIP/2125551212@dVoice-outbound,,") in new stack
== Using SIP RTP CoS mark 5
== Using SIP VRTP CoS mark 6
== Using UDPTL CoS mark 5
-- Called 2125551212@dVoice-outbound

Thanks for your Help!

eeman

Sun, 08/29/2010 - 15:20 | its not the dialplan thats

its not the dialplan thats the problem.. its your lack of database info. Either you were careless and did not fill out the tenant information under tenant management (callerid name and number) or you trashed your ASTDB in which case you're going to have to edit and save your tenant information again.

so far youre missing the following keys

Set(CALLERID(name)=${DB(TL/TENANT/${tenant}/calleridname)})
Set(temp=${DB(TL/TENANT/${tenant}/allowaccountcode)})
Set(CDR(accountcode)=${DB(TL/TENANT/${tenant}/accountcode)})
Set(CALLERID(num)=${DB(TL/TENANT/${tenant}/callerid)})
Set(temp=${DB(TL/TENANT/${tenant}/allowcallerid)})

do these keys appear when you do a 'database show' ?

Erik Smith
CTO
BluegrassNet Voice
dCAP
Thirdlane Support by BluegrassNet Voice
eeman at bluegrassnetvoice dot com

dynamixsi

Sun, 08/29/2010 - 16:14 | Yes, those keys are in the

Yes, those keys are in the astdb.

/TL/TENANT/dus/accountcode :
/TL/TENANT/dus/allowaccountcode :
/TL/TENANT/dus/allowcallerid : 1
/TL/TENANT/dus/callerid : 19545551212
/TL/TENANT/dus/calleridname : dus
/TL/TENANT/dus/intalertinfo :
/TL/TENANT/dus/maxcalls :
/TL/TENANT/dus/maxconferences :
/TL/TENANT/dus/maxdevices :
/TL/TENANT/dus/maxmailboxes :
/TL/TENANT/dus/maxphones :
/TL/TENANT/dus/maxqueues :
/TL/TENANT/dus/maxusers : 13
/TL/TENANT/dus/status : 1

eeman

Mon, 08/30/2010 - 03:00 | change your allow callerid to

change your allow callerid to 0 (set allow tenant to manage callerid to no) then do a test call

Erik Smith
CTO
BluegrassNet Voice
dCAP
Thirdlane Support by BluegrassNet Voice
eeman at bluegrassnetvoice dot com

dynamixsi

Mon, 08/30/2010 - 05:08 | No luck. This is a clean

No luck. This is a clean install of this version and not an upgrade. any other thoughts?

-- Executing [s@macro-tl-dialout-base:29] NoOp("SIP/2030-dus-000002e8", "RECORDING_FORMAT=WAV") in new stack
-- Executing [s@macro-tl-dialout-base:30] Set("SIP/2030-dus-000002e8", "CALLERID(name)=") in new stack
-- Executing [s@macro-tl-dialout-base:31] GotoIf("SIP/2030-dus-000002e8", "0?calleridallowed") in new stack
-- Executing [s@macro-tl-dialout-base:32] Set("SIP/2030-dus-000002e8", "temp=") in new stack
-- Executing [s@macro-tl-dialout-base:33] GotoIf("SIP/2030-dus-000002e8", "1?accountcodeallowed") in new stack
-- Goto (macro-tl-dialout-base,s,35)
-- Executing [s@macro-tl-dialout-base:35] Set("SIP/2030-dus-000002e8", "CALLERID(num)=") in new stack
-- Executing [s@macro-tl-dialout-base:36] Set("SIP/2030-dus-000002e8", "temp=") in new stack
-- Executing [s@macro-tl-dialout-base:37] GotoIf("SIP/2030-dus-000002e8", "1?calleridallowed") in new stack
-- Goto (macro-tl-dialout-base,s,39)

eeman

Mon, 08/30/2010 - 11:02 | the evidence still suggests

the evidence still suggests that asterisk is incapable of reading the ASTDB ...

try adding a couple of NoOp lines above where it sets the first CALLERID(name)

exten => s,n,NoOp(tenant=${tenant})
exten => s,n,NoOp(calleridname=${DB(TL/TENANT/${tenant}/calleridname)})

Erik Smith
CTO
BluegrassNet Voice
dCAP
Thirdlane Support by BluegrassNet Voice
eeman at bluegrassnetvoice dot com