[Asterisk-Users] budgetphone

Bert Haverkamp bert at bertenselena.net
Sat Apr 30 16:11:00 MST 2005


Dear all,

I'm trying to get asterisk to register to budgetphone.nl. In several threads
 I saw people who got this to work:
http://www.voip-info.org/wiki-Talkin2ya
http://lists.digium.com/pipermail/asterisk-users/2005-March/092850.html

But I've spent a whole saturday on it now and didn't get any further.
I also have a granstrema handytone 486. This thing manages to register.

I've tried to look into the differences between the sip messages with
ethereal. In ethereal I see the following sip conversation for the handytone:
192.168.0.60->81.23.228.150   SIP Request: REGISTER sip:budgetphone.nl
81.23.228.150->192.168.0.60  SIP Status: 401 Unauthorized    (0 bindings)
192.168.0.60->81.23.228.150  SIP Request: REGISTER sip:budgetphone.nl
81.23.228.150->192.168.0.60  SIP Status: 200 OK    (1 bindings)

In the first message the handytone tries to register, but it gets a request
for authentication (second packet) with a challenge. The third packet is a
retry to register, but this time with the response to the challenge. The
fourth packet is then the confirmation that all went well.

When I do the same with asterisk I get the following
192.168.0.35->81.23.228.150   SIP Request: REGISTER sip:budgetphone.nl
81.23.228.150->192.168.0.35  SIP Status: 401 Unauthorized    (0 bindings)
192.168.0.35->81.23.228.150  SIP Request: REGISTER sip:budgetphone.nl
192.168.0.35->81.23.228.150  SIP Request: REGISTER sip:budgetphone.nl
192.168.0.35->81.23.228.150  SIP Request: REGISTER sip:budgetphone.nl
...
Asterisk gives a response to the challenge, but never gets an answer back.
What is going wrong?
Hope someone can shed some light here..

; SIP Configuration for Asterisk
;
[general]
context=default ; Default context for incoming calls
recordhistory=yes ; Record SIP history by default
srvlookup=yes ; Enable DNS SRV lookups on outbound calls
language=en ; Default language setting for all users/peers
nat=no
defaultexpirey=1200
disallow=all
allow=g729
allow=gsm
allow=ulaw
allow=alaw

register => 31437110310:PASSWD at budgetphone.nl/31437110310

[31437110310]
type=friend
context=from-budgetphone
host=budgetphone.nl
callerid="John Doe"
fromuser=31437110310
fromdomain=budgetphone.nl
username=31437110310
insecure=very
secret=PASSWD
qualify=no
canreinvite=no
nat=yes
port=5060

-------------------------------------------------------



More information about the asterisk-users mailing list