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

sean darcy seandarcy2 at gmail.com
Sun Jun 7 13:13:08 CDT 2009


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 => s,n,Set(CALLERID(num)=${IF($[0${CALLERID(num)} > 140] ? 
>> ${MAINSTUB}${CALLERID(num)}:${MAINNUMBER} )} )
>                                            ^  ^
>                               remove the trailing spaces

I'll try that tomorrow.

BTW, how can I test this remotely - that when no one is in the office.

I tried at the CLI:

originate SIP/178 extension 2024532233 at longdistance

but that just generated the response:

-- Got SIP response 486 "Busy Here" back from 10.10.10.148

sean




More information about the asterisk-users mailing list