Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Forbidden message 403 from ITSP
Author Message
mrir65
Brekeke Member


Joined: 18 Feb 2011
Posts: 11

PostPosted: Thu Feb 24, 2011 6:54 am    Post subject: Forbidden message 403 from ITSP Reply with quote

1. Brekeke Product Name and version:2.4.7.3/286.1

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

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

6. Your problem:
I'm using SIP server to send calls to a voip carrier which accepts calls through IP authentication.so traffic is going to voip carrier in following way:
Xlite >> Brekeke SIP server >> voip carrier

also i'm using this dial plan in my sip server:

Matching Patterns
$request = ^INVITE
To = sip:00(.+)@
Deploy Patterns
To = sip:%1@CARRIER_IP_ADDRESS

Unfortunately calls rejected from my carrier,Wireshark shows me my carrier sends Forbidden message 403 .
Also I decided to make sure about my carrier to accepts my calls so I tested with my quintum gateway in following way

ISDN >> quintum >> carrier

And it worked for me ,connection established without any error message.I set the quintum register expire time= -1 (means no registration required).

Also I tested my sip server with another voip carrier (voipms).It worked for me too.

But I have problem with my main voip carrier which accept calls though ip authentication.

Any help to solve this problem.
Thanks
Back to top
View user's profile
Haddas
Brekeke Guru


Joined: 17 Jan 2008
Posts: 170

PostPosted: Thu Feb 24, 2011 2:11 pm    Post subject: Reply with quote

Set the [B2B-UA mode] = "on" at the [Configuration] > [SIP] page.
It may solve the issue.
Back to top
View user's profile
mrir65
Brekeke Member


Joined: 18 Feb 2011
Posts: 11

PostPosted: Thu Feb 24, 2011 4:19 pm    Post subject: Reply with quote

B2B-UA Mode turned on but the problem is still there and was not solved.

another thing I want to mention is when i tried to send my calls using Quintum(ISDN>> quintum >> voip carrier) and see my call log, every time calls routed to voip carrier it uses a new ip address of my carrier.It seems carrier reply the sip with new Ip address.

Maybe it can guide you well.
Back to top
View user's profile
james
Brekeke Master Guru


Joined: 10 Dec 2007
Posts: 495

PostPosted: Fri Feb 25, 2011 11:15 am    Post subject: Reply with quote

if you connect X-Lite to the carrier directly , does the same issue happen?
Back to top
View user's profile
mrir65
Brekeke Member


Joined: 18 Feb 2011
Posts: 11

PostPosted: Fri Feb 25, 2011 11:30 am    Post subject: Reply with quote

Carrier accepts calls using IP authentication so X-lite can't communicate with the my voip carrier because x-lite needs username and password to be registered with server.

But when using quintum to send call to my carier it doesn't have problem.

I guess my carrier can't accept my contact URI because it is different with my "From" section of my dial plan.

My sip server has 2 ip addresses(one public and one private).
Contact URI when calls going out is the private one but "From" contains public IP .
How can i change contact URI to the same as From ip address.

I tried following dial plan but it doesn't works

Matching Patterns
$request = ^INVITE
To = sip:00(.+)@
Deploy Patterns
To = sip:%1@VOIP_carrier_IP address
From = sip:annonymous@MY_SERVER_PUBLIC_IP
Contact = %1@MY_SERVER_PUBLIC_IP

It is still shown my private ip address in contact URI when capturing by WireShark.
Back to top
View user's profile
Haddas
Brekeke Guru


Joined: 17 Jan 2008
Posts: 170

PostPosted: Sat Feb 26, 2011 1:20 am    Post subject: Reply with quote

> Contact URI when calls going out is the private one but "From" contains public IP .

It seems you didn't configure the SIP Server correctly.

Put MY_SERVER_PUBLIC_IP in the [Config] page's Interface settings.

You don't have to define "Contact" in the Deploy pattern.
Back to top
View user's profile
mrir65
Brekeke Member


Joined: 18 Feb 2011
Posts: 11

PostPosted: Wed Mar 02, 2011 5:10 pm    Post subject: Reply with quote

Thanks.I solved that problem by disabling one of my extra NIC.

Thanks again
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