<div dir="ltr">So it seems like I stated the problem incorrectly...What seems to really be happening is that for outbound calls on Zap channels there is no CID info.<br><br>My cdr_custom map is: <br>Master.csv => "${CDR(src)}","${CDR(dst)}","${CDR(clid)}","${CDR(channel)}","${CDR(dstchannel)}","${CDR(lastapp)}","${CDR(start)}","${CDR(end)}","${CDR(duration)}","${CDR(disposition)}"<br>
<br>Sample output:<br>"","4220914","","SIP/6001-08cff1f0","Zap/1-1","Dial","2009-10-14 16:30:26","2009-10-14 16:30:34","8","ANSWERED"<br>
<br>CLI output:<br><br> Executing [4220914@DLPN_Open:1] Macro("SIP/6001-08cff1f0", "trunkdial-failover-0.3|Zap/g1/4220914|Zap/g2/4220914|trunk_1|trunk_2") in new stack<br> -- Executing [s@macro-trunkdial-failover-0.3:1] Set("SIP/6001-08cff1f0", "CALLERID(num)=") in new stack<br>
-- Executing [s@macro-trunkdial-failover-0.3:2] GotoIf("SIP/6001-08cff1f0", "0?1-dial|1") in new stack<br> -- Executing [s@macro-trunkdial-failover-0.3:3] Set("SIP/6001-08cff1f0", "CALLERID(all)=") in new stack<br>
-- Executing [s@macro-trunkdial-failover-0.3:4] Goto("SIP/6001-08cff1f0", "1-dial|1") in new stack<br> -- Goto (macro-trunkdial-failover-0.3,1-dial,1)<br> -- Executing [1-dial@macro-trunkdial-failover-0.3:1] Dial("SIP/6001-08cff1f0", "Zap/g1/4220914") in new stack<br>
-- Called g1/4220914<br> -- Zap/1-1 answered SIP/6001-08cff1f0<br> -- Hungup 'Zap/1-1'<br><br>So it seems CALLERID(all) is being Set to nothing on line 2 (line 3 in the macro). I haven't assigned callerid to any of my extension as I expected the extension info to be passed (as happens when I comment out line 3). <br>
<br>Hope this helps<br><br>- Marvin<br><br><br><div class="gmail_quote">On Wed, Oct 15, 2008 at 3:48 PM, bkruse <span dir="ltr"><<a href="mailto:bkruse@digium.com">bkruse@digium.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hey Marvin, sorry for the delayed response.<br>
<br>
My guess is that you do not have all the callerid fields properly set.<br>
<br>
Can you tell me what your:<br>
<br>
User's callerID calling is<br>
<br>
Trunk CallerID<br>
<br>
and Global CallerID<br>
<br>
The order in which we try callerid's is User -> (if it is invalid then)<br>
-> Trunk (if it is invalid then) -> Global.<br>
<br>
Also, if you paste the output of the Asterisk CLI when the call is made,<br>
we can see what is going on :)<br>
<br>
Thanks,<br>
<br>
-bk<br>
<div><div></div><div class="Wj3C7c"><br>
Marvin Whitfield wrote:<br>
> I have been having some trouble with the new macro-trunk-dial<br>
> regarding callerID. Before bk posted the new CDR page I made on for my<br>
> self that gets values from the Master.csv (cdr-custom). I noticed that<br>
> for incoming calls on PSTN channels no callerID info is passed to CDR.<br>
> In both cdr-custom and normal cdr there was no callerID information.<br>
> There was still all the other information. I took a look at the macro<br>
> and realized that the Set() function must be the culprit and commented<br>
> out the third line for testing and it worked. I am hoping that there<br>
> is a better solution since the GLOBAL CID will be lost for digital<br>
> channels but I don't see why it can't work for PSTN since you can't<br>
> send outbound CID info anyway. Any ideas?<br>
><br>
> --<br>
> Thanks,<br>
> Marvin<br>
</div></div>> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> --Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
><br>
> asterisk-gui mailing list<br>
> To UNSUBSCRIBE or update options visit:<br>
> <a href="http://lists.digium.com/mailman/listinfo/asterisk-gui" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-gui</a><br>
<br>
<br>
_______________________________________________<br>
--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
<br>
asterisk-gui mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-gui" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-gui</a><br>
</blockquote></div><br>
</div>