Forums Read-only archive

response 404 to PSTN

11 posts · Brekeke SIP Server Forum

ferchu Original post
1. Brekeke Product Name and version:
ondo sip server 1.5.3.0/172
2. Java version:

3. OS type and the version:
Windows
4. UA (phone), gateway or other hardware/software involved:

5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html :

6. Your problem:
need response 404 to trunk to PSTN. It´s to send option to brekeke.
james
Does the trunk send OPTIONS request to your SIP Server?
And you want to reply with 404 response ?

Here is the DialPlan rule..
=================================
[Matching Patterns]
$request = ^OPTIONS

[Deploy Patterns]
$action = 404
=================================
ferchu
Yes, the trunk send OPTIONS request
Sorry , I need response with 200, no 404.

Now, with your Dial Plan

first response 100
two response 200
OPTION --> <-- 100 <-- 200

Why?

My Dial plan is

request=^INVITE
To=sip:(9.+)@ To=sip:%1@172.18.42.126
$target=172.18.42.126


$request=^OPTIONS $action=200
james
Response 100 is a provisional response . So you don't have to worry about it..

If you want to disable 100, you can do it with "100 Trying = only for initial INVITE" in the SIP settings.
ferchu
James

Where do configure it?
"100 Trying = only for initial INVITE in the SIP settings."
james
Yes.
You can find it under Config's SIP Settings.
ferchu
James
I don`t find ?
Where? :?:
Config --> System
Config --> SIp (General)
Config --> SIp (Advanced)
Config --> RTP

Brekeke Ondo Sip Server
Ver 1.5.3.0/172
Haddas
wow. you are using OnDO 1.5... it is very very old version..
upgrade it to 2.2!
2.2 is more secure and stable.
ferchu
ok,
now, this the only way too solve the problem?
thank you
james
Yes,
Version 2.x has the GUI field "100 Trying = only for initial INVITE".
It will solve your problem.
ferchu
thank tou , JAme It is the solutions
:lol: