[Asterisk-Users] Re-write callerid?

Remco Barende asterisk at barendse.to
Fri Mar 25 09:30:07 MST 2005


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

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.

Thanks!





More information about the asterisk-users mailing list