Re: [asterisk-users] Teliax: where's the space in CALLERID(num) from?

2009-06-08 Thread Jared Smith
On Sat, 2009-06-06 at 21:24 +0200, Philipp Kempgen wrote: exten = s,n,Set(CALLERID(num)=${IF($[0${CALLERID(num)} 140] ? ${MAINSTUB}${CALLERID(num)}:${MAINNUMBER} )} ) ^ ^ remove the trailing spaces You'll also want

Re: [asterisk-users] Teliax: where's the space in CALLERID(num) from?

2009-06-08 Thread sean darcy
Jared Smith wrote: On Sat, 2009-06-06 at 21:24 +0200, Philipp Kempgen wrote: exten = s,n,Set(CALLERID(num)=${IF($[0${CALLERID(num)} 140] ? ${MAINSTUB}${CALLERID(num)}:${MAINNUMBER} )} ) ^ ^ remove the trailing spaces

Re: [asterisk-users] Teliax: where's the space in CALLERID(num) from?

2009-06-08 Thread Miguel Molina
sean darcy escribió: Jared Smith wrote: On Sat, 2009-06-06 at 21:24 +0200, Philipp Kempgen wrote: exten = s,n,Set(CALLERID(num)=${IF($[0${CALLERID(num)} 140] ? ${MAINSTUB}${CALLERID(num)}:${MAINNUMBER} )} ) ^ ^

Re: [asterisk-users] Teliax: where's the space in CALLERID(num) from?

2009-06-07 Thread sean darcy
Philipp Kempgen wrote: sean darcy schrieb: I'm having trouble setting callerid with teliax. I use a simple dial-out subroutine to set the callerid depending on the calling extension, and then dial out. Teliax is saying they're not seeing any callerid info. exten =

[asterisk-users] Teliax: where's the space in CALLERID(num) from?

2009-06-06 Thread sean darcy
I'm having trouble setting callerid with teliax. I use a simple dial-out subroutine to set the callerid depending on the calling extension, and then dial out. Teliax is saying they're not seeing any callerid info. [DialOut] ; subroutine for dialing out. exten = s,1,NoOp(Context: DialOut called

Re: [asterisk-users] Teliax: where's the space in CALLERID(num) from?

2009-06-06 Thread Philipp Kempgen
sean darcy schrieb: I'm having trouble setting callerid with teliax. I use a simple dial-out subroutine to set the callerid depending on the calling extension, and then dial out. Teliax is saying they're not seeing any callerid info. exten = s,n,Set(CALLERID(num)=${IF($[0${CALLERID(num)}