Replace 503 to 404

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
akinea
Posts: 4
Joined: Tue May 22, 2007 7:52 am

Replace 503 to 404

Post by akinea »

1. Brekeke Product Name and version:

1.5.3.0/172

2. Java version:

1.5.0_09

3. OS type and the version:

Windows 2000 5.0 Server SP4

4. UA (phone), gateway or other hardware/software involved:

all :)

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

Pattern9

6. Your problem:

One of my SIP provider answer to my SIP-server a 503 (Service Unavailable) when I provide to it a bad number, but I want a 404 (Not Found) in this case...

How can I catch the 503 error in a "Matching Pattern" and "Deploy" a 404 error to the UA ?
voipwell.com
Posts: 528
Joined: Tue Sep 20, 2005 9:10 am
Location: Tannersville, Pennsylvania

Post by voipwell.com »

Hi,

I tried to match the pattern $action = 503 but it appears you can not use the $action variable in matching patterns. I have never seen anyone successfully intercepting the status code and performing an action on it. Brekeke makes no mention of this in any documentation. Matching patterns appear to be based on requests not status. This was an interesting question and I hope someone else has some feedback on it.

Nick
akinea
Posts: 4
Joined: Tue May 22, 2007 7:52 am

Post by akinea »

Thanks !
I hope too :)

Before to post my question, I tried the same tests, and I never intercepted a status code too....

Come on everybody, we need you !
Image
Post Reply