Jump to content
Santiago Londoño

Queue control with external logic

Recommended Posts

Greetings,

 

In the Agent Group article of the pbxnsip wiki, there's a section called SOAP Interface:

 

http://wiki.pbxnsip.com/index.php/Agent_Group

 

This section says: "If you want to use external logic to control the queue behavior, you might want to use the SOAP settings. Please see the SOAP web page about this topic. "

 

However, we haven't been able to find any details about how the topic. Has this not yet been implemented?

 

Thanks in advance!

Share this post


Link to post
Share on other sites
Greetings,

 

In the Agent Group article of the pbxnsip wiki, there's a section called SOAP Interface:

 

http://wiki.pbxnsip.com/index.php/Agent_Group

 

This section says: "If you want to use external logic to control the queue behavior, you might want to use the SOAP settings. Please see the SOAP web page about this topic. "

 

However, we haven't been able to find any details about how the topic. Has this not yet been implemented?

 

Thanks in advance!

 

This section is not documented yet. But if you set the SOAP URLs like any other settings, you will recieve the status information.

Ex:

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sns="http://soap.com/pbx"><env:Body><sns:ACDWelcome><Queue>sip:73@pbx.company.com</Queue><CallID>bed956cf-52a490b2-1b2f6fcd@192.168.1.113#f69ad5cad6</CallID><From>"Fourty Eight" <sip:48@pbx.company.com></From><To><sip:73@pbx.company.com></To><Duration>4</Duration><State>connected</State><Extension>48@pbx.company.com</Extension></sns:ACDWelcome></env:Body></env:Envelope>

Share this post


Link to post
Share on other sites

That's right, we are receiving the queue status message and it works flawlessly.

 

Is it there any way to tell the agent group which extension the call should be connected to? just as you can do with IVR nodes.

Share this post


Link to post
Share on other sites
This section is not documented yet. But if you set the SOAP URLs like any other settings, you will recieve the status information.

Ex:

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sns="http://soap.com/pbx"><env:Body><sns:ACDWelcome><Queue>sip:73@pbx.company.com</Queue><CallID>bed956cf-52a490b2-1b2f6fcd@192.168.1.113#f69ad5cad6</CallID><From>"Fourty'>http://soap.com/pbx"><env:Body><sns:ACDWelcome><Queue>sip:73@pbx.company.com</Queue><CallID>bed956cf-52a490b2-1b2f6fcd@192.168.1.113#f69ad5cad6</CallID><From>"Fourty Eight" <sip:48@pbx.company.com></From><To><sip:73@pbx.company.com></To><Duration>4</Duration><State>connected</State><Extension>48@pbx.company.com</Extension></sns:ACDWelcome></env:Body></env:Envelope>

 

 

From the Wiki:

 

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sns="http://soap.com/pbx">

<env:Body>

<sns:ACDWelcome>

<Queue>sip:73@pbx.company.com</Queue>

<CallID>9479cafa-18966f55-cd0021a8@192.168.1.113#e510828f0c</CallID>

<From>"Fourty Eight" <sip:48@pbx.company.com></From>

<To><sip:73@pbx.company.com></To>

<Duration>16</Duration>

<State>connected</State>

<Extension>48@pbx.company.com</Extension>

<Agent>42</Agent>

</sns:ACDWelcome>

</env:Body>

</env:Envelope>

 

We are using 3.3.0.3152 (Win32) and I am not seeing <Agent>XX</Agent> in my SOAP message.

Share this post


Link to post
Share on other sites

Looks like you missed this line on the wiki "The above information is gathered on 3.3.0.3158 version"

 

In any case, the latest software (.3165) contains this inforation.

 

 

From the Wiki:

 

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sns="http://soap.com/pbx">

<env:Body>

<sns:ACDWelcome>

<Queue>sip:73@pbx.company.com</Queue>

<CallID>9479cafa-18966f55-cd0021a8@192.168.1.113#e510828f0c</CallID>

<From>"Fourty Eight" <sip:48@pbx.company.com></From>

<To><sip:73@pbx.company.com></To>

<Duration>16</Duration>

<State>connected</State>

<Extension>48@pbx.company.com</Extension>

<Agent>42</Agent>

</sns:ACDWelcome>

</env:Body>

</env:Envelope>

 

We are using 3.3.0.3152 (Win32) and I am not seeing <Agent>XX</Agent> in my SOAP message.

Share this post


Link to post
Share on other sites
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...