[asterisk-dev] CALLERID(name) being overwritten beneath dialplan

Joshua Elson joshelson at yahoo.com
Tue Apr 6 10:54:46 CDT 2010


I'm hoping someone on dev sees this and may have a quick answer for me.  I am having a problem with the CALLERID(name) function's data being overwritten from *some* location that's outside the dialplan.  I can reproduce this 100% of the time with some carriers for certain CallerIDs on Asterisk 1.4.29 and Asterisk 1.6.1.18.

Inbound call coming across T1, dialplan and I run Set(CALLERID(name)="Campaign Code"). Route sends call to IVR, user pushs zero and is sent to a queue. By the time the call hits the queue, the caller id name has been overwritten. This ONLY happens for some inbound caller IDs (around 5% or so). The DIDs for which this happens appear to be being set from the T1 CNAM service from the carrier, as the data appears to be coming from the carrier, as it is typically all uppercase "CITY STATE" data (for instance "MACON       GA").

So for instance, when I hit the dialplan, I set:

    -- Executing [8775551212 at from-pstn:9] Set("DAHDI/4-1", "CALLERID(name)=@ASDF CAMPAIGN 478972XXXX") in new stack

When it passes to the IVR, everything is fine, but when it hits the queue, I am left with:

    -- Executing [s at macro-user-callerid:5] NoOp("DAHDI/40-1", "Callerid name: MACON       GA") in new stack

The issue is that no dialplan / agi code in between is changing the value of CALLERID(name).  It appears to be coming from the Carrier CNAM, as it is always 14 characters, with spaces (forum removes them) between the city and the state, all uppercase.

Can anyone point me to how this may be happening?  Is there a way to simply block passing any of the CNAM information from my carrier!

Thanks in advance...


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20100406/48166c4b/attachment.htm 


More information about the asterisk-dev mailing list