[Asterisk-Users] Re-write callerid?

Henry Devito hdevito at mchsi.com
Fri Mar 25 10:08:36 MST 2005


This can be accomplished if the last 3 of the number you want to send to the 
outside match the extension by using variables.
----- Original Message ----- 
From: "Sean A. Newton" <nester-asterisk at wewt.net>
To: "Asterisk Users Mailing List - Non-Commercial Discussion" 
<asterisk-users at lists.digium.com>
Sent: Friday, March 25, 2005 10:49 AM
Subject: Re: [Asterisk-Users] Re-write callerid?


> On Fri, 25 Mar 2005, Remco Barende wrote:
>
>> > exten => _91NXXNXXXXXX,1,SetCallerID(IgLou Internet <5029663848>)
>> > exten => _91NXXNXXXXXX,2,Dial(Zap/r1/${EXTEN:1})
>>
>> Yes, but this way you can only display one single phone number, and not
>> the MSN number for each SIP phone?
>>
>> For example Henk has SIP/208 and MSN 00312010000208
>> I would like to display Henk <208> for any call that stays in the company
>> but 00312010000208  to the outside.
>>
>
> I see.. I can't think of an easy way to do that, short of an AGI script
> that checked a flat file or database. You'd pass the local extension to
> the AGI and it'd return the MSN number.
>
> --Sean
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> sean a. newton                      nester at wewt.net
> louisville, ky, usa                 http://wewt.net
>
> Another day, another convertible and another hotel
> full of cops.                -- Hunter S. Thompson
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users 




More information about the asterisk-users mailing list