[Asterisk-Users] Re-write callerid?

Florian Overkamp florian at obsimref.com
Fri Mar 25 10:01:25 MST 2005


Hi, 

> -----Original Message-----
> 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?

Sure

SetCallerID(0031201234${CALLERIDNUM})

This assumes there is a direct link between the MSN and the internal CID
ofcourse. If that is not the case, you would need to create some form of
translation table.


Best regards,
Florian Overkamp






More information about the asterisk-users mailing list