Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Next step in extensions.conf after answer the phone in Queue


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
andrej at ok.cvut.cz
Guest





PostPosted: Wed Apr 23, 2008 11:13 am    Post subject: [asterisk-users] Next step in extensions.conf after answer t Reply with quote

Thank you for your answer.
But the Dial command has a option 'g' which means that after succes will
proceed next priorities in the dialplan. Is there something also for
Queue() because according to manual there is no option for it. So I am
looking for some other solution.

Andy

Tony Mountifield napsal(a):
Quote:
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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

VoiceMeUp - Corporate & Wholesale VoIP Services