Hallo
When trying to unregister SER response the 200 OK contact header contains
expire=3392 shouldent it be 0.
According to RFC 3261:
8. The registrar returns a 200 (OK) response. The response MUST
contain Contact header field values enumerating all current
bindings. Each Contact value MUST feature an "expires"
parameter indicating its expiration interval chosen by the
registrar. The response SHOULD include a Date header field.
Trace from the unregister:
Session Initiation Protocol
Request line: REGISTER sip:172.18.3.164;transport=UDP SIP/2.0
Message Header
Via: SIP/2.0/UDP
172.18.1.66:5061;branch=z9hG4bK7cd705dd53972643a94681a4ce431160
Contact: "w" <sip:w@172.18.1.66:5061>;methods="MESSAGE";expires=0
Call-Id: de06a67588716c53ac5521929699d262(a)172.18.1.66
CSeq: 3 REGISTER
From: "w" <sip:w@e-horizon.se>;tag=8331
To: "w(a)e-horizon.se" <sip:w@e-horizon.se>
Content-Length: 0
Status line: SIP/2.0 200 OK
Message Header
Via: SIP/2.0/UDP
172.18.1.66:5061;branch=z9hG4bK7cd705dd53972643a94681a4ce431160
Call-Id: de06a67588716c53ac5521929699d262(a)172.18.1.66
CSeq: 3 REGISTER
From: "w" <sip:w@e-horizon.se>;tag=8331
To: "w(a)e-horizon.se"
<sip:w@e-horizon.se>;tag=a12148d613273d13cea75bbc18673103.bac8
Contact: <sip:w@172.18.1.66:5061>;q=0.00;expires=3392
Server: Sip EXpress router (0.8.11pre13 (i386/linux))
Content-Length: 0
Regards Magnus
"dul" was an outdated call to "delete user location", which cleared all
user contacts. I updated it on CVS to "ul rm". Thanks for reporting this.
-Jiri
At 09:47 PM 5/22/2003, Alejandro Olchik wrote:
>Looking at the serctl rm command the followin shell
>script is found:
>
> rm)
> if [ $# -ne 2 ] ; then
> usage
> exit 1
> fi
> shift
> prompt_pw
>
> is_user $1
> if [ $? -ne 0 ] ; then
> echo non-existent user
> exit 1
> fi
>
> QUERY="delete from $TABLE where
>$TABLE.$SUBSCRIBER_COLUMN='$1'"
> sql_query "$QUERY"
>
> $0 acl revoke $1 > /dev/null 2>&1
> $0 dul $1 > /dev/null 2>&1
> ;;
>
>What does $0 dul $1... do?
>
>Anybody knows?
>
>
>Alejandro
>
>
>_______________________________________________
>Serusers mailing list
>serusers(a)lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
--
Jiri Kuthan http://iptel.org/~jiri/
Dear all !!
Here I have some questions in using the SER to configure my network environment.
First,I would ask you how to do the registration process from the UA to SER.
I have used serctl script to add some user account along with password and email in my database(mysql)
What I have done is like that "serctl add bob 12345 bob@IP address [my server's IP address(public)]
After that,when I keyin "mysql" and enter the ser database,I can see the user account what I add just exist.
Then, I try to use the "SipSet" which is a user agent developed and provided by "vovida.org" to set some
configuration parameters which include User Name , Password, SIP Proxy Server,etc in order to make a phone
call to other users, but it seems I can't logon my ser which can be observed by using "serctl monitor" showing failures
and "SipSet" user agent log file.
In this log file,it says that the UA can't find the the registration server and try again to proxy server instead which is
still can't be found. But I feel so strange that the "serctl monitor" showing the ser is on although have some failures
messages received from UA. So,why the UA's log file says that the server can't find ser?
So,according to the above description and problems.
I would like to ask some questions to all and would be grateful for your help.
1.Can I use "SipSet" user agent as the UA to make calls from one to another through ser?
Have any one used "SipSet" before.
2.How to do registration process from UA to ser?
Also,what I have configured ser to manage user account and password above to let UA registers to ser is correct?
If it is wrong,please tell me how to use serctl script to manage registration process?
Or I just must need serweb to manage registration process?
And how to change ser proxy mode to registrator mode and also inversely?
3. Can I let the SIP URL to be the format as username@IP address ?
Or I must set it as username@domain name
^^^^^^^^^^^^^^ <------ like "iptel.org"
4. I have thought that is it the database I have created have some problems??
Can somebody tell me what the relationship between mysql and ser-mysql??
PS. I have installed packages "mysql , mysql-bench, mysql-client, mysql-devel, mysql-shared"
and ser-mysql from iptel.org's web in my machine.
I will be grateful for your reply and help.
Thank you all very much !!
Best regards !!
Hello All,
I made the changes in config.php, pointed from the Apache to it.
But still its not working ,,,
I want to be sure of the changes to be made in the config.php
May any one please ,,, point them out for me
Thank you
regards
rami
I'm experiencing some strange behaviour on SER.
When an enpoint sends an INVITE and after some 180 Ringing
messages cancels the call, SER forwards the CANCEL message to the
destination and replies with a 200 Cancelling message.
(this seems to be OK up to this point)
20ms after the Cancelling message was sent, SER sends a 487
Request cancelled message twice with 80ms of difference
(any ide of why this is done?)
Part newbie error, part real problem. The config directory isn't in
/etc/ser, but /usr/local/etc/ser and the config file I thought it
was using, it wasn't.
The second problem is I don't have a copy of mysql.h on my system,
which I'll take to be part of the MySQL development headers, as
included in con_mysql.h
Dan
-----Original Message-----
From: Nils Ohlmeier [mailto:nils@iptel.org]
Sent: Sunday, May 25, 2003 12:33 PM
To: Dan Austin
Cc: serusers(a)lists.iptel.org
Subject: Re: [Serusers] Latest tarball...
Hi,
On Sunday 25 May 2003 21:11, Dan Austin wrote:
> I'm not on the Ser Developers list, so if this is way out of place, I
> apologize.
yes this is the wrong list for CVS snapshots :-)
> I just downloaded the latest tarball (5/25), backed up my original setup
> and compiled/installed.
>
> The Install seemed to go OK. The compile complained about
> Makefile.rules:77 missing directory for just about every module. That was
> the extent of the errors, and the compile finished.
This is normal. It complains about missing dependency files. But this files
are generated right after the error message.
> When trying to start Ser, I am getting this error:
> May 25 10:34:00 gateway ser: parse error (74,19-20): unknown command,
> missing lo admodule?
> May 25 10:34:00 gateway ser: INFO: signal 15 received
We can not say what is wrong without the config file. Please ether send us
your config file, or take a look at your config file at line 74. Their is
something wrong.
> I'm using the sample config, with MySQL support enabled.
>
> Any pointers to what I screwed up?
If you read the included documentation (INSTALL) you should be aware that the
database and config files from version 0.8.10 are not compatible with the CVS
snapshot (upcomming 0.8.11). Their are modules splitted up, some commands are
obsoleted, and you have to update your database as well.
Regards
Nils Ohlmeier
I'm not on the Ser Developers list, so if this is way out of place, I apologize.
I just downloaded the latest tarball (5/25), backed up my original setup and
compiled/installed.
The Install seemed to go OK. The compile complained about Makefile.rules:77
missing directory for just about every module. That was the extent of the errors,
and the compile finished.
When trying to start Ser, I am getting this error:
May 25 10:34:00 gateway ser: parse error (74,19-20): unknown command, missing lo
admodule?
May 25 10:34:00 gateway ser: INFO: signal 15 received
I'm using the sample config, with MySQL support enabled.
Any pointers to what I screwed up?
Dan
Hi,
I have some 7960 phones all behind Firewalls. I came up with a semi-elligent DynamicDNS hack to solve NAT problems, but it had a variety of problems -
I'm now looking at using the 7960 command:
nat_received_processing: 1
Any one with any experience using it? According the Admin manual for the 7960:
Use 0 to disable NAT received processing and 1 to enable
NAT received processing. Default is 0.
If nat_received_processing is enabled, and received= tag
is in the Via header of the 200 OK response from a
REGISTER, the IP address in the received= tag is used
instead of the nat_address in the Contact header. If this
switch occurs, the phone unregisters the old IP address
and reregisters with the new IP address.
I have this enabled, and I can see the received= flag SER is sending back upon registration, but the 7960 seems to totally ignore it? Any ideas?
Sean Watkins