Olivier
2011-Oct-11 16:06 UTC
[asterisk-users] CallerID inconsistently presented through ISDN/cellular networks
Hi, I'm facing a strange problem. My setup is: Alice cellphone <--GSM--><--ISDN--> Asterisk <-- ISDN --><--GSM--> Bob cellphone When Alice calls Asterisk which forwards the incoming call to Bob, sometimes Bob sees Alice's number, sometimes he sees a default CallerID (which happens to match the dialed number and the ANI). For various reasons, Bob really needs to see Alice's number when Alice is calling. When I compare one "successful" (ie presented with Alice ID) calls with one "unsuccessful" (with debug and verbose levels respectively set to 0 and 3), I can't see any difference between both calls within Asterisk logs : every time Asterisk, receives Alice CallerID and set outgoing channel CallerID with the same value. (The only I could find, at the moment, to distinguish a successful call is to call Bob and ask him to tell what happened). If that matters, let me add this: - each incoming call is forwarded with a simple Answer(), Dial() sequence, - when I'm presenting an outgoing with too many digits, the call is presented with a default CallerID. My understanding is "as each network used is purely digital, you can't loose CallerID". Is this roughly correct ? In which direction, shall I dig ? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111011/e78a5239/attachment.htm>
Warren Selby
2011-Oct-11 16:14 UTC
[asterisk-users] CallerID inconsistently presented through ISDN/cellular networks
On Tue, Oct 11, 2011 at 11:06 AM, Olivier <oza_4h07 at yahoo.fr> wrote:> Hi, > > I'm facing a strange problem. > > My setup is: > Alice cellphone <--GSM--><--ISDN--> Asterisk <-- ISDN --><--GSM--> Bob > cellphone > > When Alice calls Asterisk which forwards the incoming call to Bob, > sometimes Bob sees Alice's number, sometimes he sees a default CallerID > (which happens to match the dialed number and the ANI). > For various reasons, Bob really needs to see Alice's number when Alice is > calling. >Is the outbound leg of the call always going out over the same outbound provider? Step up the verbose level to 10 and then make a few test calls until you've got a successful callerID and an unsuccessful callerID, then paste an example of each call (the complete call, from the initial inbound to the hangup on the other end) in another email and we can review them for any discrepancies. -- Thanks, --Warren Selby, dCAP http://www.SelbyTech.com <http://www.selbytech.com> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111011/c21c3fe1/attachment.htm>
A J Stiles
2011-Oct-11 16:23 UTC
[asterisk-users] CallerID inconsistently presented through ISDN/cellular networks
On Tuesday 11 October 2011, Olivier wrote:> Hi, > > I'm facing a strange problem. > > My setup is: > Alice cellphone <--GSM--><--ISDN--> Asterisk <-- ISDN --><--GSM--> Bob > cellphone > > When Alice calls Asterisk which forwards the incoming call to Bob, > sometimes Bob sees Alice's number, sometimes he sees a default CallerID > (which happens to match the dialed number and the ANI). > For various reasons, Bob really needs to see Alice's number when Alice is > calling. > > When I compare one "successful" (ie presented with Alice ID) calls with one > "unsuccessful" (with debug and verbose levels respectively set to 0 and 3), > I can't see any difference between both calls within Asterisk logs : > every time Asterisk, receives Alice CallerID and set outgoing channel > CallerID with the same value. > (The only I could find, at the moment, to distinguish a successful call is > to call Bob and ask him to tell what happened). > > If that matters, let me add this: > - each incoming call is forwarded with a simple Answer(), Dial() sequence, > - when I'm presenting an outgoing with too many digits, the call is > presented with a default CallerID. > > My understanding is "as each network used is purely digital, you can't > loose CallerID". > Is this roughly correct ? > In which direction, shall I dig ?Most telcos won't let you present a caller ID number that doesn't belong to you; so it's possible that the number you are presenting to Bob is being munged on the way to his mobile. Otherwise, anybody with the right equipment would be able to pretend to be anybody else, and caller ID would be all but useless. Anyway, what you really need to do is separate the two legs of the call, to see whether the number is changing between Alice and your Asterisk or between your Asterisk and Bob. So put a Verbose() or NoOp() in your dialplan to see what caller ID Alice is sending, and get her to call you several times. Then create a context to call Bob (presenting Alice's number) from a SIP phone, and call him several times. -- AJS Answers come *after* questions.
Danny Nicholas
2011-Nov-04 13:41 UTC
[asterisk-users] CallerID inconsistently presented through ISDN/cellular networks
When you say 2/3 of calls, is there an inconsistency to the same recipient or could it be a carrier issue (Verizon only, T-Mobile only, etc.)? From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Olivier Sent: Friday, November 04, 2011 3:33 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] CallerID inconsistently presented through ISDN/cellular networks 2011/11/3 Danny Nicholas <danny at debsinc.com> <snip> [callbob] Exten => _XX.,1,answer Exten => _XX.,n,Set(CALLERID(num)=${EXTEN}) Exten => _XX.,n,Dial(DAHDI/1/5551212,30)