[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Partysip-dev] Not responding to REGISTER message
From: |
Tim Na |
Subject: |
Re: [Partysip-dev] Not responding to REGISTER message |
Date: |
Thu, 23 May 2002 10:07:52 +0900 |
I believe the issue here is not as simple as you said...
When I tried it in Linux, partysip responds to the register message.
I also asked Ralf for he is using the same platform to run the partysip.
He also mentioned of the same symptom.
Somehow partysip is not working properly in Solaris environment.
I am gdbing the partysip and so far I see that it is "hanging" after the
psp_core_start(),
not returning from read() in pspm_tlp_execute() thread.
I wonder what the difference it makes in Solaris than Linux.
if (FD_ISSET(s, &tlp_fdset))
{ /* time to wake up: we receive "q" to quit and any other char to read all
socket */
char tmp[2];
i = ppl_pipe_read(pspm->module->wakeup, tmp, 1); <======= thread is not
returning here even after the register message.
if ( i==1 && tmp[0]=='q')
{
TRACE(trace(__FILE__,__LINE__,TRACE_LEVEL1,NULL,"INFO: Exiting tlp
module!\n"));
return 0;
}
}
----- Original Message -----
From: "Aymeric Moizard" <address@hidden>
To: "Tim Na" <address@hidden>
Cc: <address@hidden>
Sent: Tuesday, May 21, 2002 5:07 PM
Subject: Re: [Partysip-dev] Not responding to REGISTER message
>
> partysip is NOT receiving any message.
> Check your linphone configuration.
>
> Also, I tested the CVS version of linphone...
>
> Simon? when do you plan to release the *highly
> wanted* linphone updates?
>
> Aymeric
>
> On Tue, 21 May 2002, Tim Na wrote:
>
> > The below is all the log info that I got.
> > I have already sent a register message from the linphone.
> >
> > htna_view:htna$ more partysip.log
> > L0 -1021942366- <../../partysip-0.4.3/src/psp_utils.c: 171> INFO: registrar
> > plug
> > in: Number of auth rules: 0. Number of user entries: 5
> > L2 -1021942366- <../../../partysip-0.4.3/plugin/udp/udp_core.c: 61> INFO:
> > udp pl
> > ugin: plugin_init()!
> > L2 -1021942366- <../../../partysip-0.4.3/plugin/syntax/syntax_core.c: 51>
> > INFO:
> > syntax plugin: plugin_init()!
> > L2 -1021942366- <../../../partysip-0.4.3/plugin/filter/filter_core.c: 62>
> > INFO:
> > filter plugin: plugin_init()!
> > L3 -1021942366- <../../../partysip-0.4.3/plugin/filter/filter_core.c: 141>
> > INFO:
> > filter plugin: Authentication is turned off!
> > L2 -1021942366- <../../../partysip-0.4.3/plugin/auth/auth_core.c: 64> INFO:
> > auth
> > plugin: plugin_init()!
> > L3 -1021942366- <../../../partysip-0.4.3/plugin/auth/auth_core.c: 77> INFO:
> > auth
> > plugin: Authentication is turned off!
> > L2 -1021942366- <../../../partysip-0.4.3/plugin/rgstrar/rgstrar_core.c: 63>
> > INFO
> > : rgstrar plugin: plugin_init()!
> > L2 -1021942366- <../../../partysip-0.4.3/plugin/ls_sless/ls_sless_core.c:
> > 61> IN
> > FO: ls_sless plugin: plugin_init()!
> > L2 -1021942366-
> > <../../../partysip-0.4.3/plugin/ls_localdb/ls_localdb_core.c: 54
> > > INFO: ls_localdb plugin: plugin_init()!
> > htna_view:htna$
> >
> > Since there was no message retrieving info, I doubted about the message
> > reception, but
> > when I used libosip-0.7.3's example_mt ua, the ua was returning OK for the
> > same register message
> > from linphone. So I assume that the message is reaching to port 5060 for
> > sure, but perhaps the
> > partysip is not respoding to the message..??
> >
> > ----- Original Message -----
> > From: "Aymeric Moizard" <address@hidden>
> > To: "Tim Na" <address@hidden>
> > Cc: <address@hidden>
> > Sent: Monday, May 20, 2002 7:50 PM
> > Subject: Re: [Partysip-dev] Not responding to REGISTER message
> >
> >
> > >
> > > You registrar configuration seems OK.
> > > May be old linphone release does not work?
> > >
> > > Can you run partysip this way
> > > partysip -d 6 -l partysip.log
> > >
> > > and please send the log file?
> > > Ay
> > >
> > > On Mon, 20 May 2002, Tim Na wrote:
> > >
> > > > 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
> > > >
> > > >
> > >
> > >
> >
> > _______________________________________________
> > Partysip-dev mailing list
> > address@hidden
> > http://mail.freesoftware.fsf.org/mailman/listinfo/partysip-dev
> >
>
>
- [Partysip-dev] Not responding to REGISTER message, Tim Na, 2002/05/20
- Re: [Partysip-dev] Not responding to REGISTER message, Aymeric Moizard, 2002/05/20
- Re: [Partysip-dev] Not responding to REGISTER message, Tim Na, 2002/05/20
- Re: [Partysip-dev] Not responding to REGISTER message, Aymeric Moizard, 2002/05/21
- Re: [Partysip-dev] Not responding to REGISTER message,
Tim Na <=
- Re: [Partysip-dev] Not responding to REGISTER message, Aymeric Moizard, 2002/05/23
- Re: [Partysip-dev] Not responding to REGISTER message, Tim Na, 2002/05/27
- Re: [Partysip-dev] Not responding to REGISTER message, Aymeric Moizard, 2002/05/27
- Re: [Partysip-dev] Not responding to REGISTER message, Tim Na, 2002/05/27
- Re: [Partysip-dev] Not responding to REGISTER message, Aymeric Moizard, 2002/05/28