Hello
I try to do a call redirection with asterisk database. I want to be able to either
- DIAL(…) or
- GOTO(…)
Dialing works if I do it like this:
Database:
/cf/60672058 : SIP/017xxxxxxxx76@patton
extensions.conf:
exten => _606.,n,Dial(${DB(cf/${EXTEN})}) ; ** SIP/ entfällt, da in Datenbank drin für Parallel-Call
What I would like to do is:
Database:
/cf/60672058 : Dial(SIP/017xxxxxxxx76@patton)
/cf/60672059 : goto(somewhere,2,1)
extensions.conf:
exten => _606.,n,(${DB(cf/${EXTEN})})
But I get the following errors when calling …58 or …59:
[Oct 23 04:05:30] WARNING[4571][C-00000009]: pbx.c:4621 pbx_extension_helper: No application ‘${DB(cf/${EXTEN})}’ for extension (from-patton, 60672058, 10)
== Spawn extension (from-patton, 60672058, 10) exited non-zero on ‘SIP/patton-0000000c’
Any ideas?