VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
dominique.haeber at xi... Guest
|
Posted: Thu Mar 17, 2016 7:55 am Post subject: [asterisk-users] Dial()-Function |
|
|
Hi all!
I search a function or option for application Dail().
My situations:
I have two or more Dial()s with multiple devices (Handgroups).
Level1: Dial(SIP/device1,20)
Level2: Dial(SIP/device1&SIP/device2,20)
Level3: Dial(SIP/device1&SIP/device2&SIP/device3,20)
When in level one, no one accept the call until the timeout, they have a missed call on device.
When in level two, no one accept the call until the timeout, they have a missed call on device again.
If SIP/device3 accept the call, SIP/device1 has two missed calls and SIP/device2 has one missed call.
If on the same level anyone accept the call, the other in the same level get "Call complered elsewhere". (That's okay)
If i use option "c" for Dial() in any case asterisk send "Call completed elsewhere".
Also if the Caller hangup during ringing/cancel the call.
What i need:
On timeout: "Call completed elsewhere" (this is with option "c")
If any other in the same level accept the call: "Call completed elsewhere" (Thats normal)
And special, if the caller cancel the call during ringing: "Missed Call" (This is without option "c")
But i need this behavior with option c, cause on timeout i need a "Call completed elsewhere".
How can I achieve this?
Sincerely,
Dominique
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
webaccounts173 at jgoe... Guest
|
Posted: Thu Mar 17, 2016 8:06 am Post subject: [asterisk-users] Dial()-Function |
|
|
Quote: | Hi all!
I search a function or option for application Dail().
My situations:
I have two or more Dial()s with multiple devices (Handgroups).
Level1: Dial(SIP/device1,20)
Level2: Dial(SIP/device1&SIP/device2,20)
Level3: Dial(SIP/device1&SIP/device2&SIP/device3,20)
When in level one, no one accept the call until the timeout, they have a missed call on device.
When in level two, no one accept the call until the timeout, they have a missed call on device again.
If SIP/device3 accept the call, SIP/device1 has two missed calls and SIP/device2 has one missed call.
If on the same level anyone accept the call, the other in the same level get "Call complered elsewhere". (That's okay)
If i use option "c" for Dial() in any case asterisk send "Call completed elsewhere".
Also if the Caller hangup during ringing/cancel the call.
What i need:
On timeout: "Call completed elsewhere" (this is with option "c")
If any other in the same level accept the call: "Call completed elsewhere" (Thats normal)
And special, if the caller cancel the call during ringing: "Missed Call" (This is without option "c")
But i need this behavior with option c, cause on timeout i need a "Call completed elsewhere".
How can I achieve this?
Sincerely,
Dominique
| 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
jg
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
dominique.haeber at xi... Guest
|
Posted: Fri Mar 18, 2016 8:42 am Post subject: [asterisk-users] Dial()-Function |
|
|
hi jg,
jg <webaccounts173@jgoettgens.de> schrieb am Don, 17. Mär 14:05:
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.
Sincerely,
Dominique
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
webaccounts173 at jgoe... Guest
|
Posted: Fri Mar 18, 2016 10:55 am Post subject: [asterisk-users] Dial()-Function |
|
|
Quote: | 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.
| I can't see what you are trying to do and how your "appdata" relate to your previous mails. I am
also wondering why you want to "pass" functions and timeouts. Wouldn't it be enough to dispatch
everything, set some channelvars, assemble a dial string, and then let the local channels take
care of the rest?
jg
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|