<br><br><div class="gmail_quote">2011/10/11 A J Stiles <span dir="ltr"><<a href="mailto:asterisk_list@earthshod.co.uk">asterisk_list@earthshod.co.uk</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">On Tuesday 11 October 2011, Olivier wrote:<br>
> Hi,<br>
><br>
> I'm facing a strange problem.<br>
><br>
> My setup is:<br>
> Alice cellphone <--GSM--><--ISDN--> Asterisk <-- ISDN --><--GSM--> Bob<br>
> cellphone<br>
><br>
> When Alice calls Asterisk which forwards the incoming call to Bob,<br>
> sometimes Bob sees Alice's number, sometimes he sees a default CallerID<br>
> (which happens to match the dialed number and the ANI).<br>
> For various reasons, Bob really needs to see Alice's number when Alice is<br>
> calling.<br>
><br>
> When I compare one "successful" (ie presented with Alice ID) calls with one<br>
> "unsuccessful" (with debug and verbose levels respectively set to 0 and 3),<br>
> I can't see any difference between both calls within Asterisk logs :<br>
> every time Asterisk, receives Alice CallerID and set outgoing channel<br>
> CallerID with the same value.<br>
> (The only I could find, at the moment, to distinguish a successful call is<br>
> to call Bob and ask him to tell what happened).<br>
><br>
> If that matters, let me add this:<br>
> - each incoming call is forwarded with a simple Answer(), Dial() sequence,<br>
> - when I'm presenting an outgoing with too many digits, the call is<br>
> presented with a default CallerID.<br>
><br>
> My understanding is "as each network used is purely digital, you can't<br>
> loose CallerID".<br>
> Is this roughly correct ?<br>
> In which direction, shall I dig ?<br>
<br>
</div></div>Most telcos won't let you present a caller ID number that doesn't belong to<br>
you; so it's possible that the number you are presenting to Bob is being<br>
munged on the way to his mobile. Otherwise, anybody with the right equipment<br>
would be able to pretend to be anybody else, and caller ID would be all but<br>
useless.<br>
<br>
Anyway, what you really need to do is separate the two legs of the call, to<br>
see whether the number is changing between Alice and your Asterisk or between<br>
your Asterisk and Bob. So put a Verbose() or NoOp() in your dialplan to see<br>
what caller ID Alice is sending, and get her to call you several times. Then<br>
create a context to call Bob (presenting Alice's number) from a SIP phone,<br>
and call him several times.<br></blockquote><div><br>It's on my ToDo list.<br>I'll report here. <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
<br>
--<br>
AJS<br>
<br>
Answers come *after* questions.<br>
<font color="#888888"><br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</font></blockquote></div><br>