Asterisk + zoiper biz and Queue URL

Hello,

I have a problem configuring asterisk + zoiper biz. What I want to a
achieve is: when some queued calls are answered by an agent, a url is
opened in the agent browser.

Easy, isn’t it?

Well, actually i’m not figuring how this could work. What I’m doing is
rely on the Queue asterisk extension which has a URL parameter.

Queue(queuename[,options[,URL[,announceoverride[,timeout[,AGI[,macro[,gosub[,rule]]]]]]]])

and documentation says:

‘URL’ allows you to specify a URL that will be sent to the called party
if the channel supports it.

So I set this url, the agent answers the incoming call from the queue,
but zoiper ignores the url that asterisk sent.

I tryed this either with iax2 protocol than with sip, but without results.

My configuration is:

iax.conf:

[600]
type=friend
host=dynamic
secret=600
context=mycontext
callerid=600<600>

[555]
type=friend
host=dynamic
secret=555
context=mycontext
callerid=555<555>

mycontext.conf:

exten => 6000,1,Answer()
exten => 6000,n,Queue(queuetest,nt,http://www.google.com,60)

queues.conf:

[queuetest]
weight=10
music=default
musiconhold = default
strategy=rrmemory
wrapuptime=10
periodic-announce-frequency=40
periodic-announce = messagesivr/attesa1 retry=1
maxlen=15
member => IAX2/600

So when client 555 call the extension 6000, it goes in the 'queuetest’
waiting for an answer by client 600. What I expect is that when 600
answers the call, a url is opened on its browser.

I can not use the zoiper feauter Open Url on incoming call, because
I need to open the browser only on some calls not every incoming call.

what i’m doing wrong?

not sure what you are doing wrong but i have the same setup and it works perfectly and was a snap to set up … using Zoiper [using IAX2 mode]. The relevant line I use in my dialplan is:

exten => 600,n,Queue(600,t,${POPURL},2400)

[where POPURL is dynamically generated from earlier caller input]

this looks identical to yours except for the “n” parameter to allow retries which I am sure makes no difference to your problem. I do set “Automatically open URLs” which is different.

I am confused by your statement that you cannot set automatically open URLs on Zoiper [quote]because
I need to open the browser only on some calls not every incoming call[/quote]. How is Zoiper expected to know which calls to open a browser and which not? In my application, I also do not want to open the browser if, for example, the caller did not provide any input…in that case I simply send Zoiper a blank value for the URL and no browser pops.

[quote=“mudslide567”]not sure what you are doing wrong but i have the same setup and it works perfectly and was a snap to set up … using Zoiper [using IAX2 mode]. The relevant line I use in my dialplan is:

exten => 600,n,Queue(600,t,${POPURL},2400)

[where POPURL is dynamically generated from earlier caller input]

[/quote]

Yes, it is the same for me. In the post i provided google.com as an example.

I set it too.

[quote=“mudslide567”]
I am confused by your statement that you cannot set automatically open URLs on Zoiper [quote]because
I need to open the browser only on some calls not every incoming call[/quote]. How is Zoiper expected to know which calls to open a browser and which not? In my application, I also do not want to open the browser if, for example, the caller did not provide any input…in that case I simply send Zoiper a blank value for the URL and no browser pops.[/quote]

And that’s it. I told this phrase to avoid confusion with the zoiper feature to open a predefined url on some events like incoming/outgoing call. Just because i need to open the url coming from Queue asterisk command.

I cannot tell from your answer: do you have it working now or not?

not yet.

Well, the point where i arrived now it’s: it is a zoiper configuration problem.

I deduced it because sniffing the traffic on the network I can see the URL going from asterisk machine to the iax2 client. So asterisk is doing its job.

In my zoiper configuration:

General → Automatically open URL :: ENABLED

Call events → Open URL on :: NEVER
Call events → URL ::

I don’t see any other option related to this problem.

not yet.

[/quote]

It was a Zoiper Biz bug.

They fixed it in 2.34.

thanks for your help