Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
UDP to TCP conversion for Speech Server
Author Message
KarlD
Brekeke Newbie


Joined: 18 Jul 2008
Posts: 2

PostPosted: Fri Jul 18, 2008 10:08 am    Post subject: UDP to TCP conversion for Speech Server Reply with quote

1. Brekeke Product Name and version: 2.2.1.6
2. Java version: 6
3. OS type and the version: Windows XP
4. UA (phone), gateway or other hardware/software involved:
Inbound SIP, Netgear firewall
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/networkpatterns.html : 8
6. Your problem:

I have a simple dial plan rule that sends all SIP invitations to Speech Server:

Matching Patterns
$request = ^INVITE

DeployPatterns
To=sip:99@192.168.2.201

I have tried using $transport=TCP and ';transport=tcp' at the end of the To address but neither option does the conversion. wireshark shows the call being delivered to the IP address but it is not processed.

When using $transport no Active session is created, when using transport= an Active session is created but the detail shows that the outgoing message is still UDP.

When using $transport, the call shows as Result Failure, Error 302. When using transport=, the call shows as Result Cancel, Error 487.

I've also tried &net.sip.transport.follow.request = true with both options but this made no difference.

All the Configurations SIP TCP options are set on (as default in 2.2).

Can someone please let me know what I'm missing...
Back to top
View user's profile
lakeview
Brekeke Master Guru


Joined: 15 Nov 2007
Posts: 319
Location: Florida

PostPosted: Fri Jul 18, 2008 4:24 pm    Post subject: Reply with quote

Hi,

Is the Speech Server working on 192.168.2.201 port 5060?


> When using $transport, the call shows as Result Failure, Error 302.

Can you paste the 302 response packet here?
Back to top
View user's profile
KarlD
Brekeke Newbie


Joined: 18 Jul 2008
Posts: 2

PostPosted: Mon Jul 21, 2008 2:18 am    Post subject: Reply with quote

Thanks for the reply, is this what you wanted...

No. Time Source Destination Protocol Info
1 0.000000 BelkinIn_3e:1e:15 Broadcast ARP Who has 192.168.2.200? Tell 192.168.2.1

Frame 1 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: BelkinIn_3e:1e:15 (00:1c:df:3e:1e:15), Dst: Broadcast (ff:ff:ff:ff:ff:ff)
Address Resolution Protocol (request)

No. Time Source Destination Protocol Info
2 0.993946 Microsof_34:0a:5d Broadcast ARP Who has 192.168.2.201? Tell 192.168.2.200

Frame 2 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: Microsof_34:0a:5d (00:03:ff:34:0a:5d), Dst: Broadcast (ff:ff:ff:ff:ff:ff)
Address Resolution Protocol (request)

No. Time Source Destination Protocol Info
3 0.993976 f2:00:00:35:0a:5f Microsof_34:0a:5d ARP 192.168.2.201 is at f2:00:00:35:0a:5f

Frame 3 (42 bytes on wire, 42 bytes captured)
Ethernet II, Src: f2:00:00:35:0a:5f (f2:00:00:35:0a:5f), Dst: Microsof_34:0a:5d (00:03:ff:34:0a:5d)
Address Resolution Protocol (reply)

No. Time Source Destination Protocol Info
4 0.994428 192.168.2.200 192.168.2.201 SIP/SDP Request: INVITE sip:99@192.168.2.201;transport=tcp, with session description

Frame 4 (1085 bytes on wire, 1085 bytes captured)
Ethernet II, Src: Microsof_34:0a:5d (00:03:ff:34:0a:5d), Dst: f2:00:00:35:0a:5f (f2:00:00:35:0a:5f)
Internet Protocol, Src: 192.168.2.200 (192.168.2.200), Dst: 192.168.2.201 (192.168.2.201)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol

No. Time Source Destination Protocol Info
5 0.994509 192.168.2.201 192.168.2.200 ICMP Destination unreachable (Port unreachable)

Frame 5 (190 bytes on wire, 190 bytes captured)
Ethernet II, Src: f2:00:00:35:0a:5f (f2:00:00:35:0a:5f), Dst: Microsof_34:0a:5d (00:03:ff:34:0a:5d)
Internet Protocol, Src: 192.168.2.201 (192.168.2.201), Dst: 192.168.2.200 (192.168.2.200)
Internet Control Message Protocol

No. Time Source Destination Protocol Info
6 1.514175 192.168.2.200 192.168.2.201 SIP/SDP Request: INVITE sip:99@192.168.2.201;transport=tcp, with session description

Frame 6 (1085 bytes on wire, 1085 bytes captured)
Ethernet II, Src: Microsof_34:0a:5d (00:03:ff:34:0a:5d), Dst: f2:00:00:35:0a:5f (f2:00:00:35:0a:5f)
Internet Protocol, Src: 192.168.2.200 (192.168.2.200), Dst: 192.168.2.201 (192.168.2.201)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol

No. Time Source Destination Protocol Info
7 1.514222 192.168.2.201 192.168.2.200 ICMP Destination unreachable (Port unreachable)

Frame 7 (190 bytes on wire, 190 bytes captured)
Ethernet II, Src: f2:00:00:35:0a:5f (f2:00:00:35:0a:5f), Dst: Microsof_34:0a:5d (00:03:ff:34:0a:5d)
Internet Protocol, Src: 192.168.2.201 (192.168.2.201), Dst: 192.168.2.200 (192.168.2.200)
Internet Control Message Protocol

No. Time Source Destination Protocol Info
8 1.660577 f2:00:00:35:0a:5f Broadcast ARP Who has 192.168.2.100? Tell 192.168.2.201

Frame 8 (42 bytes on wire, 42 bytes captured)
Ethernet II, Src: f2:00:00:35:0a:5f (f2:00:00:35:0a:5f), Dst: Broadcast (ff:ff:ff:ff:ff:ff)
Address Resolution Protocol (request)

No. Time Source Destination Protocol Info
9 1.660863 HewlettP_50:3d:39 f2:00:00:35:0a:5f ARP 192.168.2.100 is at 00:1c:c4:50:3d:39

Frame 9 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: HewlettP_50:3d:39 (00:1c:c4:50:3d:39), Dst: f2:00:00:35:0a:5f (f2:00:00:35:0a:5f)
Address Resolution Protocol (reply)

No. Time Source Destination Protocol Info
10 1.660887 192.168.2.201 192.168.2.100 SNMP get-request RFC1213-MIB::mib-2.25.3.2.1.5.1 RFC1213-MIB::mib-2.25.3.5.1.1.1 RFC1213-MIB::mib-2.25.3.5.1.2.1

Frame 10 (119 bytes on wire, 119 bytes captured)
Ethernet II, Src: f2:00:00:35:0a:5f (f2:00:00:35:0a:5f), Dst: HewlettP_50:3d:39 (00:1c:c4:50:3d:39)
Internet Protocol, Src: 192.168.2.201 (192.168.2.201), Dst: 192.168.2.100 (192.168.2.100)
User Datagram Protocol, Src Port: neod2 (1048), Dst Port: snmp (161)
Simple Network Management Protocol

No. Time Source Destination Protocol Info
11 1.675288 192.168.2.100 192.168.2.201 SNMP get-response RFC1213-MIB::mib-2.25.3.2.1.5.1 RFC1213-MIB::mib-2.25.3.5.1.1.1 RFC1213-MIB::mib-2.25.3.5.1.2.1

Frame 11 (134 bytes on wire, 134 bytes captured)
Ethernet II, Src: HewlettP_50:3d:39 (00:1c:c4:50:3d:39), Dst: f2:00:00:35:0a:5f (f2:00:00:35:0a:5f)
Internet Protocol, Src: 192.168.2.100 (192.168.2.100), Dst: 192.168.2.201 (192.168.2.201)
User Datagram Protocol, Src Port: snmp (161), Dst Port: neod2 (1048)
Simple Network Management Protocol

No. Time Source Destination Protocol Info
12 2.294634 192.168.2.101 192.168.2.255 BROWSER Host Announcement ND500, Workstation, Server, Windows for Workgroups, Potential Browser, Windows 95 or above

Frame 12 (243 bytes on wire, 243 bytes captured)
Ethernet II, Src: Goodman_02:5f:54 (00:11:41:02:5f:54), Dst: Broadcast (ff:ff:ff:ff:ff:ff)
Internet Protocol, Src: 192.168.2.101 (192.168.2.101), Dst: 192.168.2.255 (192.168.2.255)
User Datagram Protocol, Src Port: netbios-dgm (138), Dst Port: netbios-dgm (138)
NetBIOS Datagram Service
SMB (Server Message Block Protocol)
SMB MailSlot Protocol
Microsoft Windows Browser Protocol

No. Time Source Destination Protocol Info
13 2.294655 192.168.2.101 192.168.2.255 BROWSER Host Announcement ND500, Workstation, Server, Windows for Workgroups, Potential Browser, Windows 95 or above

Frame 13 (243 bytes on wire, 243 bytes captured)
Ethernet II, Src: Goodman_02:5f:54 (00:11:41:02:5f:54), Dst: Broadcast (ff:ff:ff:ff:ff:ff)
Internet Protocol, Src: 192.168.2.101 (192.168.2.101), Dst: 192.168.2.255 (192.168.2.255)
User Datagram Protocol, Src Port: netbios-dgm (138), Dst Port: netbios-dgm (138)
NetBIOS Datagram Service
SMB (Server Message Block Protocol)
SMB MailSlot Protocol
Microsoft Windows Browser Protocol

No. Time Source Destination Protocol Info
14 2.485852 192.168.2.200 192.168.2.201 SIP/SDP Request: INVITE sip:99@192.168.2.201;transport=tcp, with session description

Frame 14 (1085 bytes on wire, 1085 bytes captured)
Ethernet II, Src: Microsof_34:0a:5d (00:03:ff:34:0a:5d), Dst: f2:00:00:35:0a:5f (f2:00:00:35:0a:5f)
Internet Protocol, Src: 192.168.2.200 (192.168.2.200), Dst: 192.168.2.201 (192.168.2.201)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol

No. Time Source Destination Protocol Info
15 2.485906 192.168.2.201 192.168.2.200 ICMP Destination unreachable (Port unreachable)

Frame 15 (190 bytes on wire, 190 bytes captured)
Ethernet II, Src: f2:00:00:35:0a:5f (f2:00:00:35:0a:5f), Dst: Microsof_34:0a:5d (00:03:ff:34:0a:5d)
Internet Protocol, Src: 192.168.2.201 (192.168.2.201), Dst: 192.168.2.200 (192.168.2.200)
Internet Control Message Protocol

No. Time Source Destination Protocol Info
16 4.482789 192.168.2.200 192.168.2.201 SIP/SDP Request: INVITE sip:99@192.168.2.201;transport=tcp, with session description

Frame 16 (1085 bytes on wire, 1085 bytes captured)
Ethernet II, Src: Microsof_34:0a:5d (00:03:ff:34:0a:5d), Dst: f2:00:00:35:0a:5f (f2:00:00:35:0a:5f)
Internet Protocol, Src: 192.168.2.200 (192.168.2.200), Dst: 192.168.2.201 (192.168.2.201)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol

No. Time Source Destination Protocol Info
17 4.482874 192.168.2.201 192.168.2.200 ICMP Destination unreachable (Port unreachable)

Frame 17 (190 bytes on wire, 190 bytes captured)
Ethernet II, Src: f2:00:00:35:0a:5f (f2:00:00:35:0a:5f), Dst: Microsof_34:0a:5d (00:03:ff:34:0a:5d)
Internet Protocol, Src: 192.168.2.201 (192.168.2.201), Dst: 192.168.2.200 (192.168.2.200)
Internet Control Message Protocol

No. Time Source Destination Protocol Info
18 8.495984 192.168.2.200 192.168.2.201 SIP/SDP Request: INVITE sip:99@192.168.2.201;transport=tcp, with session description

Frame 18 (1085 bytes on wire, 1085 bytes captured)
Ethernet II, Src: Microsof_34:0a:5d (00:03:ff:34:0a:5d), Dst: f2:00:00:35:0a:5f (f2:00:00:35:0a:5f)
Internet Protocol, Src: 192.168.2.200 (192.168.2.200), Dst: 192.168.2.201 (192.168.2.201)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol

No. Time Source Destination Protocol Info
19 8.496042 192.168.2.201 192.168.2.200 ICMP Destination unreachable (Port unreachable)

Frame 19 (190 bytes on wire, 190 bytes captured)
Ethernet II, Src: f2:00:00:35:0a:5f (f2:00:00:35:0a:5f), Dst: Microsof_34:0a:5d (00:03:ff:34:0a:5d)
Internet Protocol, Src: 192.168.2.201 (192.168.2.201), Dst: 192.168.2.200 (192.168.2.200)
Internet Control Message Protocol

No. Time Source Destination Protocol Info
20 14.987140 192.168.2.200 192.168.2.201 SIP/SDP Request: INVITE sip:99@192.168.2.201;transport=tcp, with session description

Frame 20 (1085 bytes on wire, 1085 bytes captured)
Ethernet II, Src: Microsof_34:0a:5d (00:03:ff:34:0a:5d), Dst: f2:00:00:35:0a:5f (f2:00:00:35:0a:5f)
Internet Protocol, Src: 192.168.2.200 (192.168.2.200), Dst: 192.168.2.201 (192.168.2.201)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol

No. Time Source Destination Protocol Info
21 14.987206 192.168.2.201 192.168.2.200 ICMP Destination unreachable (Port unreachable)

Frame 21 (190 bytes on wire, 190 bytes captured)
Ethernet II, Src: f2:00:00:35:0a:5f (f2:00:00:35:0a:5f), Dst: Microsof_34:0a:5d (00:03:ff:34:0a:5d)
Internet Protocol, Src: 192.168.2.201 (192.168.2.201), Dst: 192.168.2.200 (192.168.2.200)
Internet Control Message Protocol

No. Time Source Destination Protocol Info
22 15.492021 192.168.2.200 192.168.2.201 SIP/SDP Request: INVITE sip:99@192.168.2.201;transport=tcp, with session description

Frame 22 (1085 bytes on wire, 1085 bytes captured)
Ethernet II, Src: Microsof_34:0a:5d (00:03:ff:34:0a:5d), Dst: f2:00:00:35:0a:5f (f2:00:00:35:0a:5f)
Internet Protocol, Src: 192.168.2.200 (192.168.2.200), Dst: 192.168.2.201 (192.168.2.201)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol

No. Time Source Destination Protocol Info
23 15.492069 192.168.2.201 192.168.2.200 ICMP Destination unreachable (Port unreachable)

Frame 23 (190 bytes on wire, 190 bytes captured)
Ethernet II, Src: f2:00:00:35:0a:5f (f2:00:00:35:0a:5f), Dst: Microsof_34:0a:5d (00:03:ff:34:0a:5d)
Internet Protocol, Src: 192.168.2.201 (192.168.2.201), Dst: 192.168.2.200 (192.168.2.200)
Internet Control Message Protocol

No. Time Source Destination Protocol Info
24 16.490698 192.168.2.200 192.168.2.201 SIP/SDP Request: INVITE sip:99@192.168.2.201;transport=tcp, with session description

Frame 24 (1085 bytes on wire, 1085 bytes captured)
Ethernet II, Src: Microsof_34:0a:5d (00:03:ff:34:0a:5d), Dst: f2:00:00:35:0a:5f (f2:00:00:35:0a:5f)
Internet Protocol, Src: 192.168.2.200 (192.168.2.200), Dst: 192.168.2.201 (192.168.2.201)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol

No. Time Source Destination Protocol Info
25 16.490755 192.168.2.201 192.168.2.200 ICMP Destination unreachable (Port unreachable)

Frame 25 (190 bytes on wire, 190 bytes captured)
Ethernet II, Src: f2:00:00:35:0a:5f (f2:00:00:35:0a:5f), Dst: Microsof_34:0a:5d (00:03:ff:34:0a:5d)
Internet Protocol, Src: 192.168.2.201 (192.168.2.201), Dst: 192.168.2.200 (192.168.2.200)
Internet Control Message Protocol

No. Time Source Destination Protocol Info
26 17.239805 192.168.2.101 192.168.2.255 BROWSER Host Announcement ND500, Workstation, Server, Windows for Workgroups, Potential Browser, Windows 95 or above

Frame 26 (243 bytes on wire, 243 bytes captured)
Ethernet II, Src: Goodman_02:5f:54 (00:11:41:02:5f:54), Dst: Broadcast (ff:ff:ff:ff:ff:ff)
Internet Protocol, Src: 192.168.2.101 (192.168.2.101), Dst: 192.168.2.255 (192.168.2.255)
User Datagram Protocol, Src Port: netbios-dgm (138), Dst Port: netbios-dgm (138)
NetBIOS Datagram Service
SMB (Server Message Block Protocol)
SMB MailSlot Protocol
Microsoft Windows Browser Protocol

No. Time Source Destination Protocol Info
27 17.239832 192.168.2.101 192.168.2.255 BROWSER Host Announcement ND500, Workstation, Server, Windows for Workgroups, Potential Browser, Windows 95 or above

Frame 27 (243 bytes on wire, 243 bytes captured)
Ethernet II, Src: Goodman_02:5f:54 (00:11:41:02:5f:54), Dst: Broadcast (ff:ff:ff:ff:ff:ff)
Internet Protocol, Src: 192.168.2.101 (192.168.2.101), Dst: 192.168.2.255 (192.168.2.255)
User Datagram Protocol, Src Port: netbios-dgm (138), Dst Port: netbios-dgm (138)
NetBIOS Datagram Service
SMB (Server Message Block Protocol)
SMB MailSlot Protocol
Microsoft Windows Browser Protocol

No. Time Source Destination Protocol Info
28 18.493530 192.168.2.200 192.168.2.201 SIP/SDP Request: INVITE sip:99@192.168.2.201;transport=tcp, with session description

Frame 28 (1085 bytes on wire, 1085 bytes captured)
Ethernet II, Src: Microsof_34:0a:5d (00:03:ff:34:0a:5d), Dst: f2:00:00:35:0a:5f (f2:00:00:35:0a:5f)
Internet Protocol, Src: 192.168.2.200 (192.168.2.200), Dst: 192.168.2.201 (192.168.2.201)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol

No. Time Source Destination Protocol Info
29 18.493587 192.168.2.201 192.168.2.200 ICMP Destination unreachable (Port unreachable)

Frame 29 (190 bytes on wire, 190 bytes captured)
Ethernet II, Src: f2:00:00:35:0a:5f (f2:00:00:35:0a:5f), Dst: Microsof_34:0a:5d (00:03:ff:34:0a:5d)
Internet Protocol, Src: 192.168.2.201 (192.168.2.201), Dst: 192.168.2.200 (192.168.2.200)
Internet Control Message Protocol
Back to top
View user's profile
lakeview
Brekeke Master Guru


Joined: 15 Nov 2007
Posts: 319
Location: Florida

PostPosted: Mon Jul 21, 2008 10:24 am    Post subject: Reply with quote

Hi..

Unfortunately, your pasted information doesn't include a 302 packet image you mentioned...

Can you paste SIP packets including 302?
Back to top
View user's profile
SOSAGES
Brekeke Newbie


Joined: 30 Jul 2008
Posts: 4

PostPosted: Wed Jul 30, 2008 2:54 am    Post subject: Reply with quote

Hi,

i have a speech server setup that i wish to be able to call using my VOIP phone.

To do this i am currently using PBXNSIP but as thats very expensive for my needs i am wondering can anyone provide some information on how to setup breke sip server to work with speech server?

I looked at the documentaion and that mentioned Office Comms Server but im just using SPeech server

Thanks in advance.
(sorry to hijack your post)
Back to top
View user's profile
lakeview
Brekeke Master Guru


Joined: 15 Nov 2007
Posts: 319
Location: Florida

PostPosted: Wed Jul 30, 2008 10:32 am    Post subject: Reply with quote

Hi SOSAGES,

Try the DialPlan below.

Matching Patterns
$request = ^INVITE
$registered = false
$outbound = false
To = sip:0(.+)@
Deploy Patterns
$transport = TCP
$auth = false
&net.sip.transport.follow.request = true
To = sip:+%1@<SPEECH-SERVER-IP>


If a call has the prefix "0", it will be forwarded to the SPEECH-SERVER's IP address.


>> (sorry to hijack your post)

You need to create new topic.. it is good idea.
Back to top
View user's profile
SOSAGES
Brekeke Newbie


Joined: 30 Jul 2008
Posts: 4

PostPosted: Fri Aug 01, 2008 4:48 am    Post subject: Reply with quote

hi lakeview, thanks for the help.

the line:
&net.sip.transport.follow.request = true

displays as a red line once its been entered and ok'd
i assume red is bad? Smile
Back to top
View user's profile
lakeview
Brekeke Master Guru


Joined: 15 Nov 2007
Posts: 319
Location: Florida

PostPosted: Fri Aug 01, 2008 11:05 am    Post subject: Reply with quote

Hi SOSAGES,

>> i assume red is bad?

you don't have to care about it.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1