VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
tony at softins.clara.... Guest
|
Posted: Wed Apr 23, 2008 10:17 am Post subject: [asterisk-users] Next step in extensions.conf after answer t |
|
|
In article <53331.195.250.139.102.1208950645.squirrel at nemesis.ok.cvut.cz>,
<andrej at ok.cvut.cz> wrote:
Quote: | Hello everybody.
I was looking for the solution but nothing found. I have this in my
extensions.conf:
exten => 233,1,SetAccount(queue1)
exten => 233,2,Queue(queue1|rn)
exten => 233,3,NoOp(${QUEUESTATUS})
exten => 233,4,NoOp(${DIALSTATUS})
But when the call is placed in the queue and somebody answer it, it will
throw an error:
== Spawn extension (default, 211, 4) exited non-zero on
'Local/211 at default-3aff,2'
And no other command in extensions is executed.
Any suggestions?
|
Queue() is like Dial(), in that if it succeeds in connecting to someone,
it will not return to the next priority in the dialplan. However, if you
define an 'h' extension, that will get executed when the call is complete:
exten => 233,1,SetAccount(queue1)
exten => 233,2,Queue(queue1|rn)
exten => 233,3,NoOp(${QUEUESTATUS})
exten => 233,4,NoOp(${DIALSTATUS})
exten => h,1,NoOp(${QUEUESTATUS})
exten => h,2,NoOp(${DIALSTATUS})
Cheers
Tony
--
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org |
|
Back to top |
|
|
tony at softins.clara.... Guest
|
Posted: Thu Apr 24, 2008 9:37 am Post subject: [asterisk-users] Next step in extensions.conf after answer t |
|
|
In article <670f60170804240704q3c416e38y70acb0dd7d53e733 at mail.gmail.com>,
Atis Lezdins <atis at iq-labs.net> wrote:
Quote: | Quote: | Atis Lezdins wrote:
Quote: | Queue will continue if called person hangs up (and there's no option).
If caller hangs up, call goes to h extension in same context. Just the
same way as Dial with 'g'. There's a change in 1.6 that allows called
channel to continue if caller hangs up, so probably something like
this could be applied also to Queue (or was that actually working with
using Local channels?).
|
|
On Wed, Apr 23, 2008 at 8:18 PM, Al Baker <bwentdg at pipeline.com> wrote:
Quote: | Why would you want a "channel to continue" after the caller has hung up.
I clearly am missing something here because I can't see what good that
would be. What do people do with this "Continued Channel" ?
What is is used for ? How Does having it help you ? ???
|
To play something to called party.
I'm not familiar with that feature too deep, but I guess it's not
caller channel but called channel that's continued.
|
No. The dialplan is executing on the calling channel. The called channel
just belongs to the Dial application and is not in the dialplan itself.
So the called channel has no context in which to invoke a Playback()
when the caller hangs up.
This has recently been addressed in SVN trunk by the addition of the
option F(context^exten^pri) - When the caller hangs up, transfer the
called party to the specified context and extension and continue execution.
However, it doesn't appear to be in the 1.6.0 branch, so won't appear in
a release until 1.6.1.
If you want to apply the patch yourself, you can find it in the bug tracker
at http://bugs.digium.com/view.php?id=11954
Cheers
Tony
--
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org |
|
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
|