SearchSearch  Log in to check your private messagesLog in to check your private messages  recent posts Recent Posts
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
DougbkOffline



Joined: Sep 19, 2006
Posts: 2

Status: Offline
Posted: Sep 19, 2006 - 09:36 PM Reply with quote Back to top
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
View user's profile Send private message
DougbkOffline



Joined: Sep 19, 2006
Posts: 2

Status: Offline
Posted: Sep 19, 2006 - 09:40 PM Reply with quote Back to top
never mind i got it. thanks
View user's profile Send private message
anjelika2k5Offline



Joined: Oct 16, 2006
Posts: 8

Status: Offline
Posted: Oct 16, 2006 - 11:21 PM Reply with quote Back to top
hey,
I got the same problem, can you please let me know how work it out?
Thanks
View user's profile Send private message
rgowerOffline
Site Admin


Joined: Jan 21, 2005
Posts: 1335
Location: Wales
Status: Offline
Posted: Oct 16, 2006 - 11:36 PM Reply with quote Back to top
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
View user's profile Send private message
anjelika2k5Offline



Joined: Oct 16, 2006
Posts: 8

Status: Offline
Posted: Oct 17, 2006 - 12:23 AM Reply with quote Back to top
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.
View user's profile Send private message
rgowerOffline
Site Admin


Joined: Jan 21, 2005
Posts: 1335
Location: Wales
Status: Offline
Posted: Oct 17, 2006 - 12:31 AM Reply with quote Back to top
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.
View user's profile Send private message
anjelika2k5Offline



Joined: Oct 16, 2006
Posts: 8

Status: Offline
Posted: Oct 17, 2006 - 12:49 AM Reply with quote Back to top
hey,
I erased the comment (Wink 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) ...
View user's profile Send private message
rgowerOffline
Site Admin


Joined: Jan 21, 2005
Posts: 1335
Location: Wales
Status: Offline
Posted: Oct 17, 2006 - 01:02 AM Reply with quote Back to top
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
View user's profile Send private message
anjelika2k5Offline



Joined: Oct 16, 2006
Posts: 8

Status: Offline
Posted: Oct 17, 2006 - 01:21 AM Reply with quote Back to top
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!
View user's profile Send private message
kohar123Offline



Joined: May 10, 2008
Posts: 1

Status: Offline
Posted: May 10, 2008 - 12:32 PM Reply with quote Back to top
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
View user's profile Send private message


View previous topic Printable version Log in to check your private messages View next topic

Post new topic   Reply to topic
Forum Rules and Guidelines | About VoIP User | Privacy Policy


All logos and trademarks in this site are property of their respective owner.
Comments and posts are property of the poster, all the rest (c) 2003-2006 VoIP User.

No part of this site may be reproduced without our prior consent.