It is my understanding that the caller id is what should be the number of
the caller and that "RDNIS" actually is the telephone number that was
dialed
when a call was redirected, IE: if you want to run some sort of voicemail
service you could use a single DID and know what mailbox to route the call
to. Ever forward your calls from a regular PSTN line or ISDN line to a GSM
mobile and notice that the mobile would indicate the call was forwarded?
That's RDNIS at work. What is your PSTN interface? If its analog lines you
won't be able to send anything else, if its a T1 or ISDN you need to make
sure your provider allows you to set your own caller id.
On 12/9/06, Julian Lyndon-Smith <asterisk@dotr.com>
wrote:>
> Perhaps I've got the whole concept wrong, but here goes:
>
> Using 1.4, when someone from the outside dials my direct line (123456),
> I want it to call my extension at work (SIP/456), my extension in my
> home office (vpn connection to corporate lan, SIP/678) and my mobile
> (654321). So my dialplan is thus:
>
> exten => 123456,1,Dial(SIP/456&SIP/678&Zap/G3c/07803654321,30)
> exten => 123456,n(VMNoAnswer),Voicemail(${EXTEN}|su)
> exten => 123456,n,Hangup()
>
> this works well, with one exception: when I take the call on the mobile,
> the callerid info is the number of my switchboard. I presume that this
> is because I am dialling out from the switch board.
>
> Enter RDNIS. I added an extra line to the dialplan
>
> exten => 123456,1,Set(CALLERID(rdnis)=${CALLERID(number)})
> exten => 123456,n,Dial(SIP/456&SIP/678&Zap/G3c/07803654321,30)
> exten => 123456,n(VMNoAnswer),Voicemail(${EXTEN}|su)
> exten => 123456,n,Hangup()
>
> However, I get exactly the same result (callerid of the switchboard, not
> the original caller). And yes, I did a reload ;)
>
> Any help would be appreciated.
>
> Julian
>
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20061209/f08b5e8e/attachment.htm