Author |
Message |
raulbmjr Brekeke Newbie
Joined: 19 Mar 2008 Posts: 3
|
Posted: Wed Mar 19, 2008 1:17 am Post subject: 404 NOT FOUND |
|
|
1. Brekeke Product Name and version: 2.1.6.6
2. Java version:
3. OS type and the version: windows xp
4. UA (phone), gateway or other hardware/software involved: Nextone, xlite
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/networkpatterns.html :
Pattern 8
6. Your problem:
I got the following trace with 404 Not found error coming from 203.172.11.205 which is my Brekeke server, Note that 192.168.1.205 is the private IP of Brekeke while 203.172.11.205 is its public IP. 202.163.239.36 is Sip provider which is Nextone.
I want to know how to automatically replace the 192.168.1.205 in the SIP invite with 202.163.239.36 when caller dials any number. It gets error "404 not found" because SIP invite is 192.168.1.205 which should be 202.163.239.36
My dial plan is:
Matching Patterns | $request = ^INVITE
| Deploy Patterns | $target = 202.163.239.36
|
Here's the trace of the call
====
5.140886 203.172.11.205 -> 202.163.239.36 SIP/SDP Request: INVITE sip:16046068888@192.168.1.205, with session description
5.141631 202.163.239.36 -> 203.172.11.205 SIP Status: 100 Trying
5.142845 202.163.239.36 -> 203.172.11.205 SIP Status: 404 Not Found
5.339639 203.172.11.205 -> 202.163.239.36 SIP Request: ACK sip:16046068888@192.168.1.205 |
|
Back to top |
|
james Brekeke Master Guru
Joined: 10 Dec 2007 Posts: 494
|
Posted: Fri Mar 21, 2008 10:45 am Post subject: |
|
|
I think you need to set "To" in the Deploy Patterns.
Matching Patterns | $request = ^INVITE To = sip:(.+)@
| Deploy Patterns | To = sip:%1@202.163.239.36
|
|
|
Back to top |
|
raulbmjr Brekeke Newbie
Joined: 19 Mar 2008 Posts: 3
|
Posted: Sun Mar 23, 2008 6:47 pm Post subject: |
|
|
Thank you James it is now working |
|
Back to top |
|
|