Hi. I use the SPA 3000 for my incoming PSTN trunk. I have to limit the time
that this device can have control over the incoming call before sending it to
extension 101 of the asterisk PBX. The problem is that sometimes, typically
for long distance calls, the time is too soon and I get the name of the SPA3000
instead of the caller ID. I am thinking that there may be a way to
re-interrogate the device prior to answering the call but have had no luck so
far. Does anyone have a suggestion other than to lengthen the time before
transfer?
I tried to use the following in my [From-interal] context.
exten => 101,n,GotoIf($["${CALLERIDNAME:0:4}" <> "SPA3"]?morechks)
exten => 101,n,Macro(user-callerid) ; try one time to get rid of SPA3000 user
exten => 101,n(morechks),Noop(Continuing)
Thanks..