Hello,
In the source code for app_dial.c the following note exists:
“This application will place calls to one or more specified channels. As soon as one of the requested channels answers, the originating channel will be answered, if it has not already been answered. These two channels will then be active in a bridged call.”
This isn’t happening in my situation (Asterisk 1.2.13 svn rev 47264). Inbound (Telco) and outbound (Internal) channels are both ISDN PRI.
This works:
exten=> _XXXXXXXXXX,1,set(dnis=${DNID})
exten=> _XXXXXXXXXX,2,set(grp=${SPANOUT})
exten=> _XXXXXXXXXX,3,Answer()
exten=> _XXXXXXXXXX,4,Dial(Zap/g${grp}/${dnis},10)
This simply hangs after the 2nd set statement:
exten=> _XXXXXXXXXX,1,set(dnis=${DNID})
exten=> _XXXXXXXXXX,2,set(grp=${SPANOUT})
;exten=> _XXXXXXXXXX,3,Answer()
exten=> _XXXXXXXXXX,4,Dial(Zap/g${grp}/${dnis},10)
I’m new at this, so I may be missing something obvious. DNIS is present in the second instance. The variable SPANOUT is a global which defines the starting span for outbound delivery.
Any help most appreciated.
Fred