[asterisk-users] Multiple caller id ...
Philipp Kempgen
philipp.kempgen at amooma.de
Sun Feb 15 11:35:26 CST 2009
Massimo Nuvoli schrieb:
> Julian Lyndon-Smith ha scritto:
>> If I have the following in the dialplan
>>
>> exten => foo,n,Dial(SIP/1234&Zap/G1c/55443322)
>>
>> and SIP/5432 calls this extension,
>>
>> is it possible to show different callerid numbers to each of the target
>> numbers ?
>>
>> The reason I ask is that if the call is from an internal sip phone, I
>> want to show the internal callerid (5432) to the SIP phone on 1234, and
>> the DDI of the 5432 extension (01702444555) to the zap line.
>
> I think not, or better, maybe but not in simple way.
>
> The reason is that the callerid is a "channel" parameter, so the
> channel going to the "dial" extension is one and there is one callerid.
>
> I think the solution (complex) maybe:
>
> Use a queue to make all the items ring togheter.
>
> You must use an Agent not directly the SIP on the queue. The Agent
> must be referred to one extension (agent call back) where you can
> alter the callerid of the call and go to the sip phone.
Maybe like so:
exten => foo,n,Dial(Local/c1234/n&Local/c55443322/n)
exten => c1234,1,Set(CALLERID(num)=111)
exten => c1234,n,Dial(SIP/1234)
exten => c55443322,1,Set(CALLERID(num)=222)
exten => c55443322,n,Dial(Zap/G1c/55443322)
Philipp Kempgen
--
AMOOCON 2009, May 4-5, Rostock / Germany -> http://www.amoocon.de
Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de
AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
--
More information about the asterisk-users
mailing list