Jump to content

SOAP Again


Bill H

Recommended Posts

I am working on an application that will receive digits from an IVR Output, take some action and then transfer the caller to an Auto attendant or another IVR.

 

The SOAP connection is working by sending the request to my application but I keep getting the same Call Log info when I send back to it.

 

It seems that the PBX can't resolve the Destination.

 

192.168.0.123 is the phone I am calling from.

 

[8] 2007/08/02 20:53:28: Play recordings/ivr12.wav 
[6] 2007/08/02 20:53:28: Received DTMF 1 
[6] 2007/08/02 20:53:29: Received DTMF 2 
[6] 2007/08/02 20:53:29: Received DTMF 3 
[6] 2007/08/02 20:53:29: Received DTMF # 
[8] 2007/08/02 20:53:29: Resolve destination 1046: url sip:101@192.168.0.123;transport=udp 
[8] 2007/08/02 20:53:29: Resolve destination 1046: a udp 192.168.0.123  
[8] 2007/08/02 20:53:29: Resolve destination 1046: udp 192.168.0.123 5060 
[3] 2007/08/02 20:53:29: IVR Node: Unknown call  
[8] 2007/08/02 20:53:29: Send Packet BYE 

 

I am using the latest revision of PBXnSIP on Windows.

 

I followed the WIKI guidelines for sending the

<Destination>444</Destination> and <CallID> & Callid$ & </CallID> (VB6 strings)

and I can see it all of it going to PBXnSIP using EtheReal sniffer.

 

Looking at the Call Log of PBXnSIP I see the above listing.

 

Anyone else been to this point already???

 

Bill H

Link to comment
Share on other sites

  • 4 months later...

I'm having a similar problem. To me it looks like the system can't find the CallID.

 

IVR Node: Unknown call

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:IVRInput xmlns:ns2="http://soap.com/pbx">
<CallID>22e77c4a4f79939d55c1898c7d1874de@10.1.1.212#5722c11005</CallID>
<Output>5630</Output>
<From>"J PORTER" <sip:8014071566@10.1.1.212></From>
<To><sip:5631@pbxnsip.nexsip.com></To>
</ns2:IVRInput><?xml version="1.0" encoding="UTF-8" standalone="yes"?>


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:IVROutput xmlns:ns2="http://soap.com/pbx">
<CallID>22e77c4a4f79939d55c1898c7d1874de@10.1.1.212#5722c11005</CallID>
<Destination>5630</Destination>
</ns2:IVROutput>      


[6] 2007/12/28 14:27:07:	Last message repeated 4 times
[7] 2007/12/28 14:27:07:	UDP: Opening socket on port 61858
[7] 2007/12/28 14:27:07:	UDP: Opening socket on port 61859
[7] 2007/12/28 14:27:09:	UDP: Opening socket on port 61650
[7] 2007/12/28 14:27:09:	UDP: Opening socket on port 61651
[7] 2007/12/28 14:27:09:	Calling extension 5600
[6] 2007/12/28 14:27:09:	Redirecting to external voicemail account 5600 destination sip:75600@pbxnsip.nexsip.com
[5] 2007/12/28 14:27:09:	Dialplan: Match 75600@pbxnsip.nexsip.com to <sip:5600@10.1.1.51;user=phone> on trunk exchange
[5] 2007/12/28 14:27:09:	Charge user 5600 for redirecting calls
[7] 2007/12/28 14:27:09:	UDP: Opening socket on port 58796
[7] 2007/12/28 14:27:09:	UDP: Opening socket on port 58797
[8] 2007/12/28 14:27:09:	UDP: recvfrom receives ICMP message
[3] 2007/12/28 14:27:10:	IVR Node: Unknown call

Link to comment
Share on other sites

  • 7 months later...

When I execute the script from http://wiki.pbxnsip.com/index.php/Linking_..._to_an_IVR_Node I'm getting the following error:

 

Notice: Undefined variable: HTTP_RAW_POST_DATA in C:\Program Files\EasyPHP 2.0b1\www\linkToIVRnode.php on line 20

Get XML error parsing : Invalid document end at line 1

 

Any idea?

 

Thanx!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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.

×
×
  • Create New...