Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
404 NOT FOUND
Author Message
raulbmjr
Brekeke Newbie


Joined: 19 Mar 2008
Posts: 3

PostPosted: Wed Mar 19, 2008 1:17 am    Post subject: 404 NOT FOUND Reply with quote

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
View user's profile Yahoo Messenger
james
Brekeke Master Guru


Joined: 10 Dec 2007
Posts: 494

PostPosted: Fri Mar 21, 2008 10:45 am    Post subject: Reply with quote

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
View user's profile
raulbmjr
Brekeke Newbie


Joined: 19 Mar 2008
Posts: 3

PostPosted: Sun Mar 23, 2008 6:47 pm    Post subject: Reply with quote

Thank you James it is now working Smile
Back to top
View user's profile Yahoo Messenger
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