| Author |
Message |
Dougbk
Joined: Sep 19, 2006
Posts: 2
Status: Offline
|
| Posted:
Sep 19, 2006 - 09:36 PM |
|
|
Hello all, I am trying to register my account so that i can use this service for outbound calls.
In sip.conf i have this
register => username:password@voipuser.org
in the cli i still get the message
failed to authenicate. i know for a fact that i am using the correct password. any ideas? thanks |
|
|
|
 |
Dougbk
Joined: Sep 19, 2006
Posts: 2
Status: Offline
|
| Posted:
Sep 19, 2006 - 09:40 PM |
|
|
never mind i got it. thanks |
|
|
|
 |
anjelika2k5
Joined: Oct 16, 2006
Posts: 8
Status: Offline
|
| Posted:
Oct 16, 2006 - 11:21 PM |
|
|
hey,
I got the same problem, can you please let me know how work it out?
Thanks |
|
|
|
 |
rgower
Site Admin
Joined: Jan 21, 2005
Posts: 1335
Location: Wales
Status: Offline
|
| Posted:
Oct 16, 2006 - 11:36 PM |
|
|
Hi,
The correct register string is
register => username:password@voipuser.org/448449<i>rest of your VU number</i>
Please note that there is a 3 day delay between signing up for a number and being able to make outbound calls, though inbound should work almost straight away |
|
|
|
 |
anjelika2k5
Joined: Oct 16, 2006
Posts: 8
Status: Offline
|
| Posted:
Oct 17, 2006 - 12:23 AM |
|
|
thanks for the prompt reply!
here is my sip.conf file...
[general]
context=default
port=5060
bindaddr=0.0.0.0
srvlookup=yes
disallow=all
allow=ulaw
allow=gsm
nat=yes
;externip=87.239.XXX.XXX
;localnet=192.168.1.104
canreinvite=no
register => anjelika2k5:PASSWORD@voipuser.org/4493XXXXX
[voipuser]
type=friend
context=incoming_voipuser
username=anjelika2k5
secret=PASSWORD
host=sip.voipuser.org
fromuser=anjelika2k5
fromdomain=sip.voipuser.org
insecure=very
qualify=no
disallow=all
allow=ulaw
allow=alaw
allow=gsm
When I try to run the asterisk server I get the following warning:
Asterisk Ready.
*CLI> Oct 16 17:20:41 WARNING[8261]: chan_sip.c:9764 handle_response_register: Forbidden - wrong password on authentication for REGISTER for 'anjelika2k5' to 'sip.voipuser.org'
I am using the correct password (it works when I connect using X-Lite direct to voipuser's Asterisk server).
Also, when I try to connect using X-Lite to my Asterisk server (which is behind a Linksys firewall!!!) i receive the following warning in Asterisk's CLI:
Oct 16 17:23:17 NOTICE[8261]: chan_sip.c:11084 handle_request_register: Registration from '<sip:anjelika2k5@192.168.1.104>' failed for '192.168.1.101' - Username/auth name mismatch
192.168.1.104 is my local IP address inside the LAN.
I have to add that I am running the Asterisk server on a VMWare machine (Slackware 10.2) on top on Windows XP. |
|
|
|
 |
rgower
Site Admin
Joined: Jan 21, 2005
Posts: 1335
Location: Wales
Status: Offline
|
| Posted:
Oct 17, 2006 - 12:31 AM |
|
|
Hi
As your Asterisk system is inside your local network, you must supply the external IP (or a registered domain) for it to register to an external site.
Also make sure your system has your router set as the default gateway (saves problems elsewhere)
At the momment it is trying to register your private IP to the VU servers. |
|
|
|
 |
anjelika2k5
Joined: Oct 16, 2006
Posts: 8
Status: Offline
|
| Posted:
Oct 17, 2006 - 12:49 AM |
|
hey,
I erased the comment (  before the externip=xxx.xxx.xxx.xxx so I don't receive the "Could not register" warning when I launch asterisk, but I receive the following when I try to register my XLite soft phone to my asterisk server:
*CLI> Oct 16 17:47:02 NOTICE[8321]: chan_sip.c:11084 handle_request_register: Registration from '<sip:anjelika2k5@192.168.1.104>' failed for '192.168.1.101' - Username/auth name mismatch
Still I see that LAN addresses (192.xxx.xxx.xxx) ... |
|
|
|
 |
rgower
Site Admin
Joined: Jan 21, 2005
Posts: 1335
Location: Wales
Status: Offline
|
| Posted:
Oct 17, 2006 - 01:02 AM |
|
|
Localnet would normally be like
localnet:> 192.168.1.0/255.255.255.0 (covers everything between 192.168.1.1 to 255)
X-Lite settings at both ends should not be using nat to connect to your server |
|
|
|
 |
anjelika2k5
Joined: Oct 16, 2006
Posts: 8
Status: Offline
|
| Posted:
Oct 17, 2006 - 01:21 AM |
|
|
Yes, that's exactly what i've put for local address (192.168.1.0/255.255.255.0).
Still doesn't work but will try to install a Linux distribution on a computer directly connected to internet (no router between them) and see how is going.
Thanks for the help! |
|
|
|
 |
kohar123
Joined: May 10, 2008
Posts: 1
Status: Offline
|
| Posted:
May 10, 2008 - 12:32 PM |
|
|
Hi All,
I want to register my Lynsis PAP2T with asterisk server. so that i can make call within the extentions.
can any one guide me configuration of sip.conf
i want 20 user connected to my PAP2T ,and my pap2 is directly pointed to asterisk server.
kohar |
|
|
|
 |
|