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@192.168.1.84&SIP/7600@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@192.168.1.84&SIP/7600@10.0.1.2|20") in new stack -- Called g1/15557206131 -- Called 7601@192.168.1.84 -- Called 7600@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.
On Wed, Aug 20, 2003 at 12:39:49PM -0700, Michael Rose wrote:> 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.Is this the scenario you are describing? You call the office from home, the direct number of a collegue. He is not in, asterisk forwards it to his mobile. His mobile rings and gives the PRI number as the caller ID, but you want it to give out your home number?> > 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 intoEven numbers not associated with your PRI? If you can, then your provider is very trusting, letting you spoof caller ID. Perhaps your provider will only let you set caller ID to a number in your range of numbers. Otherwise, perhaps the provider of the called parties line will only let you provider send caller id from it's numbers, and your home number (in my example) is not part of that. cheers, Woody> 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@192.168.1.84&SIP/7600@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@192.168.1.84&SIP/7600@10.0.1.2|20") in new > stack > -- Called g1/15557206131 > -- Called 7601@192.168.1.84 > -- Called 7600@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. > > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users-- Woody
Hi Michael, I've run into the same problem. My installation is using PRI and I've tried setting Caller ID the same way you have. Same results, it works fine when we call out from a SIP device but rerouting an inbound zap channel out to another has been unresolvable. Let me know if you find a solution - my customers are frustrated by the loss of Caller ID on forwarded calls. Steve Bourg On Wed, 20 Aug 2003, Michael Rose wrote:> 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@192.168.1.84&SIP/7600@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@192.168.1.84&SIP/7600@10.0.1.2|20") in new > stack > -- Called g1/15557206131 > -- Called 7601@192.168.1.84 > -- Called 7600@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. > > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >