Hi list I have a requirement that I just don't know how to address - I don't think its strange but can't find any pointers anywhere. I have a user that wishes to have a "multi phone" divert. By that I mean "calls made to his extension say Ext200 can be redirected to a different extension say Ext400 and also to his home landline. Doing the dial is fine using Dial(SIP/Ext400&SIP/TheWorld/441234567890) The problem is CLID - At the moment internal calls (Ext to Ext) show a CLID "EXTxxx" and External Calls show the received CLID. When the phone is redirected to both Internal and external numbers he wants the correct CLI displayed on both phones. So with the redirect operational 1) a call from the outside world to his DID number will show the received CLI(ANI) on both devices - this works BUT 2) a call from an office extension needs to show "EXTxxx" on the extension (Ext400) but show the office telephone number on the landline so in pseudo code I want to do something like Dial ( SIP/Ext400 using CLID "EXT123" & SIP/TheWorld/441234567890 using CLID "44112233445566" ) Any ideas ? Paddy -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100819/13fcb776/attachment.htm
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Paddy Grice Sent: 19 August 2010 08:21 To: asterisk-users at lists.digium.com Subject: [asterisk-users] Calling Line Identity - any ideas Hi list I have a requirement that I just don't know how to address - I don't think its strange but can't find any pointers anywhere. I have a user that wishes to have a "multi phone" divert. By that I mean "calls made to his extension say Ext200 can be redirected to a different extension say Ext400 and also to his home landline. Doing the dial is fine using Dial(SIP/Ext400&SIP/TheWorld/441234567890) The problem is CLID - At the moment internal calls (Ext to Ext) show a CLID "EXTxxx" and External Calls show the received CLID. When the phone is redirected to both Internal and external numbers he wants the correct CLI displayed on both phones. So with the redirect operational 1) a call from the outside world to his DID number will show the received CLI(ANI) on both devices - this works BUT 2) a call from an office extension needs to show "EXTxxx" on the extension (Ext400) but show the office telephone number on the landline so in pseudo code I want to do something like Dial ( SIP/Ext400 using CLID "EXT123" & SIP/TheWorld/441234567890 using CLID "44112233445566" ) Any ideas ? Paddy Forgot to say - I am using Version 1.4.33.1 Paddy -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100819/25ade64c/attachment.htm
Hi, here is a trick for you! exten => s,1,Dial(SIP/Ext400&Local/${EXTEN}/home-context) [home-context] exten => s,1,Set(CALLERID(num)=44112233445566) exten => s,1,Dial(SIP/TheWorld/441234567890) Regards On Thu, Aug 19, 2010 at 12:21 PM, Paddy Grice <paddy at wizaner.com> wrote:> Hi list > > I have a requirement that I just don't know how to address - I don't think > its strange but can't find any pointers anywhere. > > I have a user that wishes to have a "multi phone" divert. By that I mean > > "calls made to his extension say Ext200 can be redirected to a different > extension say Ext400 and also to his home landline. > > Doing the dial is fine using Dial(SIP/Ext400&SIP/TheWorld/441234567890) > > The problem is CLID - > > At the moment internal calls (Ext to Ext) show a CLID "EXTxxx" and External > Calls show the received CLID. > > When the phone is redirected to both Internal and external numbers he wants > the correct CLI displayed on both phones. > > So with the redirect operational > > 1) a call from the outside world to his DID number will show the received > CLI(ANI) on both devices - this works > BUT > 2) a call from an office extension needs to show "EXTxxx" on the extension > (Ext400) but show the office telephone number on the landline > > so in pseudo code I want to do something like > > Dial ( SIP/Ext400 using CLID "EXT123" & SIP/TheWorld/441234567890 using > CLID "44112233445566" ) > > Any ideas ? > > Paddy > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Nasir Iqbal ICT Innovations http://www.ictinnovations.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100819/0b2437dd/attachment-0001.htm
little syntax mistake, try this exten => s,1,Dial(SIP/Ext400&Local/${EXTEN}@home-context) [home-context] exten => s,1,Set(CALLERID(num)=44112233445566) exten => s,n,Dial(SIP/TheWorld/441234567890) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100819/0419815a/attachment.htm