[Asterisk-Users] PRI CallerID problem

Michael Rose asterisk at ebctech.com
Wed Aug 20 12:39:49 MST 2003


Greetings all..

We have an inbound/outbound PRI installed and terminated on a T400P –
Digium Quad T1 card. We’re seeing an odd problem when sending
$CALLERIDNUM when calls from the PRI are forwarded back out to the PSTN
over the PRI. The $CALLERIDNUM is not being sent out along with the
call. It’s sending the phone number of the PRI itself, rather than the
$CALLERIDNUM information.

Yes, we can send CID info to our PRI provider. If we make a call with
our Cisco 7960, we can send any phone number we enter into
SetCallerID(). However, if we use SetCallerID(${CALLERIDNUM}) it won’t
forward the CID number.

[mydid]
exten => 5558384810,1,SetCallerID(${CALLERIDNUM})
exten =>
5558384810,2,Dial(Zap/g1/15553456131&SIP/7601 at 192.168.1.84&SIP/7600 at 10.0.1.2,20)
exten => 2068384810,3,Congestion

Now when I call my DID, 5558384810 from my land line, Asterisk takes the
CID number and sends it to my IP phones (Cisco 7960) which I can see on
the display of the IP Phone. However, the CID number doesn’t get sent to
the cell phone.


Below is the context we use to make outgoing calls from our Cisco
7960’s. This works fine with our PRI. When I call using the following,
my cell phone shows the incoming call coming from 2065551212. This tells
me that our PRI vendor is allowing us to send CID info.

[dialout-pri]
exten => _1NXXXXXXXXX,1,SetCallerID(2065551212)
exten => _1NXXXXXXXXX,2,Dial(Zap/g1/${EXTEN},100,T)
exten => _1NXXXXXXXXX,3,Congestion
exten => _1NXXXXXXXXX,4,Hangup


Here’s what Asterisk shows, when the call is coming in. 

   -- Executing SetCallerID("Zap/23-1", "5557209085") in new stack
    -- Executing Dial("Zap/23-1",
"Zap/g1/15557206131&SIP/7601 at 192.168.1.84&SIP/7600 at 10.0.1.2|20") in new
stack
    -- Called g1/15557206131
    -- Called 7601 at 192.168.1.84
    -- Called 7600 at 10.0.1.2
    -- Accepting call from '5557209085' to '5558384810' on channel 23,
span 1
    -- SIP/69.28.200.84-4698 is ringing
    -- SIP/10.0.1.2-6695 is ringing
    -- Zap/1-1 is ringing


Thanks in advance.






More information about the asterisk-users mailing list