[asterisk-users] Dial()-Function

Dominique Haeber dominique.haeber at xig.ch
Fri Mar 18 08:41:42 CDT 2016


hi jg,

jg <webaccounts173 at jgoettgens.de> schrieb am Don, 17. Mär 14:05:
> Wouldn't it be easier to use a local channel and do something like
> is done in the "Delay Dialing Devices Example"?
> 
> https://wiki.asterisk.org/wiki/display/AST/Delay+Dialing+Devices+Example

No, i think unfortunately it is not easier. :/

I have a string from database (Macro/appdata) in the format:

function|timeout|function|timeout|function|timeout|....

Up to seven value pairs.

"function" can be "Queue" (Identified by: "qu"-string), "Voicemail" (Identified by: "vm"-string),
"Anouncement" (Identified by: "an"-string), "Enddiveces" (Identified by: "SIP/"-string)) 
or an "external Number".

Every function with an timeout to the next. I loop all.

I have no idea how I can pass the function and the timeout to the
extension by the most beautiful way. Without a variables war.
One possibility would be to package the parameters in the extension,
but that would be very ugly.


Yes, today we would solve the most different. :)




> jg


Sincerely,
Dominique



More information about the asterisk-users mailing list