[Asterisk-Users] Re-write callerid?

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


On Fri, 25 Mar 2005, Remco Barende wrote:

> Is it possible to rewrite caller id's?
> 
> I would like to have sip phones appear by their local cid
> (like Henk <208>) but when they call out using the PRI I would like their 
> full DID (MSN) to appear (like 0031201234567)
> 
> I could ofcourse set callerid to the main phonenumber but surely there 
> must be a better solution?
> 
> Thanks!!
> Remco

I set the Caller*ID before I place the outgoing call, like so: 

exten => _91NXXNXXXXXX,1,SetCallerID(IgLou Internet <5029663848>)
exten => _91NXXNXXXXXX,2,Dial(Zap/r1/${EXTEN:1})

Hope that helps,

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