[asterisk-dev] sip register question

Zahid Mehmood zmofny at yahoo.com
Sun Jan 29 09:26:37 MST 2006


 	
Zahid Mehmood
	Jan 28, 10:05 am   show options
From: Zahid Mehmood <zmo... at yahoo.com> - Find messages by this author
Date: Sat, 28 Jan 2006 07:05:55 -0800 (PST)
Local: Sat, Jan 28 2006 10:05 am
Subject: [Asterisk-Users] sip registration question
Reply | Reply to Author | Forward | Print | Individual Message | Show
original | Report Abuse

I am a newbie and am having trouble trying to register with a voip
provider using sip.  I am able to connect using xlite softphone. in
xlite i use

domain/realm:   providerdomain.com
sip proxy:      host.providerdomain.com:9000

this difference in domain and sip proxy host is whats causing problem
for me.

section from sip.conf

[provider-out]
        type=peer
        secret=nnnnnn
        username=55439
        fromuser=55439
        fromdomain=providerdomain.com
        host=host.providerdomain.com
        port=9000
        nat=No
        canreinvite=no

when trying to make a call with xlite, i see that the "to" part in sip
messages is using @xyz.provider.com where as in asterisk it uses
host.xyz.provider.com  (sip proxy host, NOT the domain/realm host).

Another thing i notice is that if i use nat=yes then asterisk doesn't
seem to be using the port=9000 and uses default 5060 for remote host.

What am i doing wrong or missing?  Can someone point me in the right
direction?  What will be the register => line for this?  Also can
someone provide info on "[authentication]" in sip.conf?

any help will be greatly appreciated.

thanks. 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the asterisk-dev mailing list