Hi, I am new here on this list, and have a problem of which I hope that somebody here can help me with it. I have a Voipbuster account, with which I would like to make phone calls via my Asterisk PBX. If I let X-Lite register directly at voipbuster.com, everything is OK, but if I let Asterisk register there, it says "registration for XXXXXX@sip.voipbuster.com timed out, trying again", even though all settings are precisely as in X-Lite (username, password, and sip-proxy settings). Also I am sure the right ports are forwarded or open, both in my router and in iptables (firewall of Asterisk server). The log files of X-Lite and the output of "sip debug" show no differences, except this one: Contact: Remko <sip:XXXXXX@[INTERN IP OF X-LITE-PC]:5060> in the log of X-lite and the following line in sip debug: Contact:<sip:s@[MY EXTERN IP]> I don't know whether this is a significant difference. For further info, here is my sip.conf: bindport=5060 bindaddr=0.0.0.0 externip=EXTERNIP localnet=192.168.1.0/255.255.255.0 srvlookup=yes maxexpirey=180 ; Maximum length of incoming registration we allow defaultexpirey=160 ; Default length of incoming/outgoing registration language=nl ;register to the voipbuster service register => XXXXXX:YYYYYY@sip.voipbuster.com ;Add an extension for our softphone ;Copy this and change 1234 into 1235 for a second softphone (etc) [1234] type=friend username=1234 secret=ZZZZZZ ; this is the .password. Change this !! callerid=Remko notransfer=yes insecure=very host=dynamic ;canreinvite=no context=default [1235] type=friend username=1235 secret=ZZZZZZ; this is the .password. Change this !! callerid=Remko notransfer=yes insecure=very host=dynamic ;canreinvite=no context=default ;Configure the incoming calls connection [voipbuster-in] type=user host=sip.voipbuster.com secret=YYYYYY realm=voipbuster.com fromuser=XXXXXX fromdomain=sip.voipbuster.com context=incoming canreinvite=no insecure=very qualify=no nat=yes dtmfmode=inband disallow=all allow=alaw allow=ulaw call-limit=5 ;Configure the outgoing calls connection [voipbuster-out] type=peer host=sip.voipbuster.com username=XXXXXX fromuser=XXXXXX fromdomain=sip.voipbuster.com secret=YYYYYY realm=voipbuster.com call-limit=5 dtmfmode=inband context=default insecure=very qualify=no nat=yes canreinvite=no disallow=all allow=alaw allow=ulaw I am completely at a loss, hope somebody can help me here! Yours sincerely, Remko -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060529/e26f4bff/attachment.htm
Attilla de Groot
2006-May-29 06:38 UTC
[Asterisk-Users] registration at Voipbuster times out
Remko Muis wrote:> Hi, > > I am new here on this list, and have a problem of which I hope that > somebody here can help me with it. > I have a Voipbuster account, with which I would like to make phone > calls via my Asterisk PBX. If I let X-Lite register directly at > voipbuster.com, everything is OK, but if I let Asterisk register > there, it says "registration for XXXXXX@sip.voipbuster.com > <mailto:XXXXXX@sip.voipbuster.com> timed out, trying again", even > though all settings are precisely as in X-Lite (username, password, > and sip-proxy settings). Also I am sure the right ports are forwarded > or open, both in my router and in iptables (firewall of Asterisk > server). The log files of X-Lite and the output of "sip debug" show no > differences, except this one: > <cut>Hi Remko, If the account is working properly most of the time registration timeouts are because of wrong time settings. So check the time and date on your server. :) Greetings, Attilla
Maybe a silly question but can you ping sip.voipbuster.com from your asterisk box? Second question and probably the answer, what is your dial statement in extensions.conf? Contact:<sip:s@[MY EXTERN IP]> One way to test is to create a dial statement like this exten = _.,1,Dial(SIP/username:password@sip.voipbuster.com/15555555555) The s in the above is suspect. Turn on SIP debugging in the asterisk console, make a call and see whats up. Thanks, Steve Totaro Remko Muis wrote:> Hi, > > I am new here on this list, and have a problem of which I hope that > somebody here can help me with it. > I have a Voipbuster account, with which I would like to make phone > calls via my Asterisk PBX. If I let X-Lite register directly at > voipbuster.com, everything is OK, but if I let Asterisk register > there, it says "registration for XXXXXX@sip.voipbuster.com > <mailto:XXXXXX@sip.voipbuster.com> timed out, trying again", even > though all settings are precisely as in X-Lite (username, password, > and sip-proxy settings). Also I am sure the right ports are forwarded > or open, both in my router and in iptables (firewall of Asterisk > server). The log files of X-Lite and the output of "sip debug" show no > differences, except this one: > > Contact: Remko <sip:XXXXXX@[INTERN IP OF X-LITE-PC]:5060> > > in the log of X-lite and the following line in sip debug: > > Contact:<sip:s@[MY EXTERN IP]> > > I don't know whether this is a significant difference. > For further info, here is my sip.conf: > > bindport=5060 > bindaddr=0.0.0.0 > externip=EXTERNIP > localnet=192.168.1.0/255.255.255.0 > srvlookup=yes > maxexpirey=180 ; Maximum length of incoming registration we allow > defaultexpirey=160 ; Default length of incoming/outgoing registration > language=nl > > ;register to the voipbuster service > register => XXXXXX:YYYYYY@sip.voipbuster.com > > ;Add an extension for our softphone > ;Copy this and change 1234 into 1235 for a second softphone (etc) > [1234] > type=friend > username=1234 > secret=ZZZZZZ ; this is the .password. Change this !! > callerid=Remko > notransfer=yes > insecure=very > host=dynamic > ;canreinvite=no > context=default > > [1235] > type=friend > username=1235 > secret=ZZZZZZ; this is the .password. Change this !! > callerid=Remko > notransfer=yes > insecure=very > host=dynamic > ;canreinvite=no > context=default > > ;Configure the incoming calls connection > [voipbuster-in] > type=user > host=sip.voipbuster.com > secret=YYYYYY > realm=voipbuster.com > fromuser=XXXXXX > fromdomain=sip.voipbuster.com > context=incoming > canreinvite=no > insecure=very > qualify=no > nat=yes > dtmfmode=inband > disallow=all > allow=alaw > allow=ulaw > call-limit=5 > > ;Configure the outgoing calls connection > [voipbuster-out] > type=peer > host=sip.voipbuster.com > username=XXXXXX > fromuser=XXXXXX > fromdomain=sip.voipbuster.com > secret=YYYYYY > realm=voipbuster.com > call-limit=5 > dtmfmode=inband > context=default > insecure=very > qualify=no > nat=yes > canreinvite=no > disallow=all > allow=alaw > allow=ulaw > I am completely at a loss, hope somebody can help me here! > > Yours sincerely, > Remko > ers >
do you have any problems with audio connection mine connection is just fine but audio from voipbuster.com is poor (breaking) with any other SIP client audio is OK fpeeters pravi:> Josep Aguilar wrote: >> Is it possible that voipbuster refuses to connect to asterisk?, perhaps >> asterisk agent is blacklistet by them >> Josep >> > Unlikely, as mine connects just fine...
Matic wrote:> do you have any problems with audio connection > mine connection is just fine but audio from voipbuster.com is poor > (breaking) > with any other SIP client audio is OK > > > fpeeters pravi: >> Josep Aguilar wrote: >>> Is it possible that voipbuster refuses to connect to asterisk?, perhaps >>> asterisk agent is blacklistet by them >>> Josep >>> >> Unlikely, as mine connects just fine...It varies, but usually the audio is fine... -- Francesco