[Asterisk-Users] Re-write callerid?

Sean A. Newton nester-asterisk at wewt.net
Fri Mar 25 09:49:14 MST 2005


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
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




More information about the asterisk-users mailing list