Re: [asterisk-users] Changing callerID in a context

2008-08-22 Thread Andy Dixon
On 21 Aug 2008, at 14:40, Philipp Kempgen wrote: Andy Dixon schrieb: I am trying to alter the outbound callerID for extensions within a context I have created. I wrote the following: exten = _9.,2,ExecIf($[$[${REALCALLERIDNUM} = 360] | $[$ {REALCALLERIDNUM} =

Re: [asterisk-users] Changing callerID in a context

2008-08-22 Thread Doug Lytle
Andy Dixon wrote: On 21 Aug 2008, at 14:40, Philipp Kempgen wrote: This *should* change the callerID for (for example) 700 and 701 to be 581557, and any extensions not listed above, it should leave them alone. Andy, If you're not bound and determined to do it this way, you can

Re: [asterisk-users] Changing callerID in a context

2008-08-22 Thread Atis Lezdins
On Thu, Aug 21, 2008 at 3:11 PM, Andy Dixon [EMAIL PROTECTED] wrote: Hello, I am trying to alter the outbound callerID for extensions within a context I have created. I wrote the following: exten = _9.,2,ExecIf($[$[${REALCALLERIDNUM} = 360] | $[$ {REALCALLERIDNUM} =

Re: [asterisk-users] Changing callerID in a context

2008-08-22 Thread Kevin P. Fleming
Atis Lezdins wrote: [clid-mangle] exten = 70[01],1,Set(CALLERID(num)=581557) exten = 70[01],2,Return() exten = 10[01],1,Set(CALLERID(num)=581500) exten = 10[01],2,Return() ; and so on, just better reorganize your extensions so that this can match patterns better. [dial-out] exten =

[asterisk-users] Changing callerID in a context

2008-08-21 Thread Andy Dixon
Hello, I am trying to alter the outbound callerID for extensions within a context I have created. I wrote the following: exten = _9.,2,ExecIf($[$[${REALCALLERIDNUM} = 360] | $[$ {REALCALLERIDNUM} = 670]]|Set|CALLERID(num)=581560) exten = _9.,3,ExecIf($[$[${REALCALLERIDNUM} = 361] | $[$

Re: [asterisk-users] Changing callerID in a context

2008-08-21 Thread Philipp Kempgen
Andy Dixon schrieb: I am trying to alter the outbound callerID for extensions within a context I have created. I wrote the following: exten = _9.,2,ExecIf($[$[${REALCALLERIDNUM} = 360] | $[$ {REALCALLERIDNUM} = 670]]|Set|CALLERID(num)=581560) exten =