Connecting with ITSP, registration problem

Discuss any topic about Brekeke PBX.

Moderator: Brekeke Support Team

Post Reply
costinha
Posts: 8
Joined: Sun Jul 27, 2008 12:33 pm

Connecting with ITSP, registration problem

Post by costinha »

Hi,

I want to use an itsp SIP account. I created a new ARS with my account informations, like it's written in the Brekeke PBX administror's guide.

I captured the network trafic with wireshark and when Brekeke tries to register to my itsp, it sends a DNS request with:
-queries : _sip._udp.my_itsp_domain

Of course this domain doesn't exist so brekeke returns "Register failed (403 forbiden)"

Can you help me please?
SIP, the way of the futur
peng
Posts: 110
Joined: Wed Jul 20, 2005 7:06 pm

Post by peng »

> -queries : _sip._udp.my_itsp_domain

This will not cause any problem.
Did you change any dialplan rules? Did you see any SIP REGISTR requests in your wireshark?
costinha
Posts: 8
Joined: Sun Jul 27, 2008 12:33 pm

Post by costinha »

hi, tks for answering!

No I didn't change any dial plan. And no, that's weird, I don't see any SIP REGISTER to my itsp, with wireshark. I thought it was because the dns queries didn't match?

tks
SIP, the way of the futur
costinha
Posts: 8
Joined: Sun Jul 27, 2008 12:33 pm

Post by costinha »

is it possible to avoid to send this part ( _sip._udp ) in the DNS querry?
SIP, the way of the futur
taitan
Posts: 237
Joined: Sat Mar 15, 2008 10:39 pm

Post by taitan »

which ITSP are u using??
costinha
Posts: 8
Joined: Sun Jul 27, 2008 12:33 pm

Post by costinha »

I m using a Free Telecom (France) sip account. Obviously, it doesn't like these sort of DNS queries.
SIP, the way of the futur
Beenie
Posts: 10
Joined: Mon Jul 28, 2008 10:30 am

Post by Beenie »

I think _sip._udp isn't a reason of your problem.
but.. What domain name did you set for Free Telecom (France)?
costinha
Posts: 8
Joined: Sun Jul 27, 2008 12:33 pm

Post by costinha »

the domain for Free Telecom is freephonie.net
SIP, the way of the futur
Beenie
Posts: 10
Joined: Mon Jul 28, 2008 10:30 am

Post by Beenie »

Write the following at [Configuration] -> [Advanced].
net.dns.srv = false
The requesting will be disabled.



For your info, "_sip._udp " is for DNS SRV.
http://en.wikipedia.org/wiki/SRV_record
costinha
Posts: 8
Joined: Sun Jul 27, 2008 12:33 pm

Post by costinha »

tks. Now it doesn't send any dns queries. But it doesn't send any SIP REGISTER queries to my itsp neither...
SIP, the way of the futur
Beenie
Posts: 10
Joined: Mon Jul 28, 2008 10:30 am

Post by Beenie »

Are you using Upper Registration?

Where did you set "freephonie.net" in your settings?
Is it in the SIP Server? or is it in the ARS?

Also.. check the username/password again..
costinha
Posts: 8
Joined: Sun Jul 27, 2008 12:33 pm

Post by costinha »

No I m not using Upper registration. Should I?

I set freephonie.net in a new ARS and nothing about freephonie in the sip server.
I also set pattern IN and OUT in this ARS.

tks
SIP, the way of the futur
Beenie
Posts: 10
Joined: Mon Jul 28, 2008 10:30 am

Post by Beenie »

umm.

Are you still getting 403 forbiden?

Can you resolve "freephonie.net" by DNS at your PC?
e.g. > nslookup freephonie.net
costinha
Posts: 8
Joined: Sun Jul 27, 2008 12:33 pm

Post by costinha »

Yes I m still getting 403 forbiden.
Now, Brekeke send a simple DNS queries and the answer is OK. But I still have 403 forbiden...

No REGISTER is send by Brekeke after the dns queries.
SIP, the way of the futur
Beenie
Posts: 10
Joined: Mon Jul 28, 2008 10:30 am

Post by Beenie »

is your PBX behind NAT??
if your pbx behind NAT, you need to set a global side IP address as an interface at the SIP Server's settings.
aarrow
Posts: 8
Joined: Thu Aug 28, 2008 10:25 pm

SIP registration with ITSP

Post by aarrow »

If your ITSP accepts registrations, then you are better served to use upper registration. This will cause Brekeke to pass the registration packet directly from your UA to the ITSP.
Post Reply