|
From: | Tim Na |
Subject: | [Partysip-dev] Not responding to REGISTER message |
Date: | Mon, 20 May 2002 17:09:55 +0900 |
Hi,
I have hard time running partysip as a registrar server.
I am not sure if the partysip.conf file is wrong or not, would anyone check
the
info below to see what's wrong.
Thanks in advance. :-)
# global config serverip = 165.213.84.84
servername = 165.213.84.84 serverport_udp = 5060 # use this for local test:
#serverip = 165.213.84.84 #serverip2 = 80.32.24.53 this could be the second interface. # this is used for generating random string and MUST BE AT LEAST 10
characters
magicstring = partysip_a45bc357 # this is used for generating random string and MUST BE AT LEAST 10 characters serverrealm = "partysip.org" # ask for authentication on/off
authentication = off # mode for ls_sless plugin
mode = stateless # sub configs
# - ALL GLOBAL CONFIGURATION MUST BE ABOVE - <filter>
# the first rule that match is taken!
# <rule> <return code> <header>
<string>
# reject request with domain.org in the from header and NOT domain.org in
the to
#reject 404 from !domain.org to !domain.org # reject request with holemail.net in the to header #reject 403 to holemail.net # reject request with holemail.net in the rquri header #reject 403 to holemail.net # reject request with holemail.net in the rquri header </filter>
<userinfo>
# static user list of known users # this would be better to retreive some of this config element # from /etc/passwd, an LDAP directory... # # for "user" type: # <user> <NAME> <DOMAINNAME> <auth_login> <auth_passwd> <URI> # user jack atosc.org jack secret sip:address@hidden<sip:anod e.atosc.org>;lr #user sip:address@hidden ua
ua sip:address@hidden
#user sip:address@hidden none none sip:address@hidden:5080 #user sip:address@hidden ua ua sip:address@hidden:5070 #user sip:address@hidden none none sip:address@hidden:5080 user sip:address@hidden adtech115
adtech115 sip:address@hidden
user sip:address@hidden adtech113 adtech113 sip:address@hidden user sip:address@hidden siemens 123456 sip:address@hidden user sip:address@hidden none none sip:address@hidden:5090 user sip:address@hidden tim none sip:address@hidden </userinfo>
#who needs authentication
auth from sip.wellx.org INVITE
REGISTER
auth from 127.0.0.1 INVITE REGISTER auth to gateway.org INVITE </registrar>
And I am using Linphone's register message as below.
REGISTER sip:165.213.84.84 SIP/2.0
Via: SIP/2.0/UDP 165.213.84.91:5060 From: <sip:address@hidden> To: <sip:address@hidden> Call-ID: address@hidden CSeq: 1 REGISTER Contact: <sip:address@hidden> expires: 60 user-agent: oSIP/Linphone-0.7.0 Content-Length: 0 |
[Prev in Thread] | Current Thread | [Next in Thread] |