You can use the OPTIONS method to find out if a user is available or not.
More details can be found in the SIP standard: RFC 3261
regards,
klaus
Kapil Dhawan wrote:
> na its not clear to me..pls write atleast a line or two
>
>
>> From: Klaus Darilion <klaus.mailinglists(a)pernau.at>
>> To: Kapil Dhawan <sersavvy(a)hotmail.com>
>> CC: serusers(a)lists.iptel.org
>> Subject: Re: [Serusers] SER Notify
>> Date: Mon, 22 Mar 2004 15:38:34 +0100
>>
>> not NOTIFY, but OPTIONS.
>>
>> Klaus
>>
>> Kapil Dhawan wrote:
>>
>>> is there any way i can check the status of a user by sending some
>>> request from the server....like some NOTIFY kid of thing ...and come
>>> to know the status of user whether he is busy with some call or
>>> anything like......
>>>
>>> regards
>>>
>>> _________________________________________________________________
>>> Contact brides & grooms FREE!
>>> http://www.shaadi.com/ptnr.php?ptnr=hmltag Only on www.shaadi.com.
>>> Register now!
>>>
>>> _______________________________________________
>>> Serusers mailing list
>>> serusers(a)lists.iptel.org
>>> http://lists.iptel.org/mailman/listinfo/serusers
>>>
>>>
>>
>
> _________________________________________________________________
> Easiest Money Transfer to India. Send Money To 6000 Indian Towns.
> http://go.msnserver.com/IN/42198.asp Easiest Way To Send Money Home!
>
>
Hi there,
I installed the latest SER on a Suse box and I run it with the shipped sample
config. As far I can remember this config should allow to do basic SIP
actions like REGISTER. As UA I installed the latest Kphone release 4.0.1.
After starting kphone I try to register but it doesn't work. You can find the
complete exchange above. Does anybody know what I am doing wrong?
Thanks for any help,
Thomas
######### This is the first try without a "maxforward" parameter.
thomas@th-ux:~> kphone
Found 2 interfaces.
SipClient: Listening UDP on port: 5060
SipClient: Our address: 192.168.10.99
SipRegister: Auth is '(null)'
SipRegister: Proxy Auth is '(null)'
SipClient: Sending: 13:17:47.039
--------------------------------
REGISTER sip:office.dns SIP/2.0
Via: SIP/2.0/UDP 192.168.10.99;rport
CSeq: 296 REGISTER
To: "Thomas" <sip:bothom@office.dns>
Expires: 900
From: "Thomas" <sip:bothom@office.dns>
Call-ID: 1384896833(a)192.168.10.99
Content-Length: 0
User-Agent: kphone/4.0
Event: registration
Allow-Events: presence
Contact: "Thomas Bohnert"
<sip:bothom@192.168.10.99;transport=udp>;methods="INVITE, MESSAGE, INFO,
SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK"
res_search OK (len=215)
NAPTR: _sip._tcp.office.dns
NAPTR: _sip._udp.office.dns
NAPTR: _sips._tcp.office.dns
res_search OK (len=176)
SRV: 0,0,5060
SRV: sipgate.office.dns
SRV: 1,0,5060
SRV: sipgate.office.dns
SipClient: Sending to 'sipgate.office.dns:5060'
SipClient: Receiving message...
SipClient: Received: 13:17:47.154
---------------------------------
SIP/2.0 483 Too Many Hops
Via: SIP/2.0/UDP 192.168.10.99;rport=5060
CSeq: 296 REGISTER
To: "Thomas" <sip:bothom@office.dns>;tag=b27e1a1d33761e85846fc98f5f3a7e58.67a9
From: "Thomas Bohnert" <sip:bothom@office.dns>
Call-ID: 1384896833(a)192.168.10.99
Server: Sip EXpress router (0.8.12 (i386/linux))
Content-Length: 0
Warning: 392 192.168.10.253:5060 "Noisy feedback tells: pid=1375
req_src_ip=192.168.10.253 req_src_port=5060 in_uri=sip:office.dns
out_uri=sip:office.dns via_cnt==12"
SipCall: Incoming response
SipTransaction: Incoming Response
############### This is a second try with the maxforward parameter of 70 like
proposed in RFC 3261 Page 38
SipClient: Sending: 13:50:58.729
--------------------------------
REGISTER sip:office.dns SIP/2.0
Via: SIP/2.0/UDP 192.168.10.99;rport
CSeq: 297 REGISTER
To: "Thomas" <sip:bothom@office.dns>
Expires: 900
From: "Thomas" <sip:bothom@office.dns>
Call-ID: 1384896833(a)192.168.10.99
Content-Length: 0
User-Agent: kphone/4.0
Event: registration
Allow-Events: presence
Max-Forwards: 70
Contact: "Thomas" <sip:bothom@192.168.10.99;transport=udp>;methods="INVITE,
MESSAGE, INFO, SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK"
SipClient: Sending to 'sipgate.office.dns:5060'
SipClient: Receiving message...
SipClient: Received: 13:50:59.536
---------------------------------
SIP/2.0 483 Too Many Hops
Via: SIP/2.0/UDP 192.168.10.99;rport=5060
CSeq: 297 REGISTER
To: "Thomas" <sip:bothom@office.dns>;tag=b27e1a1d33761e85846fc98f5f3a7e58.ba70
From: "Thomas" <sip:bothom@office.dns>
Call-ID: 1384896833(a)192.168.10.99
Server: Sip EXpress router (0.8.12 (i386/linux))
Content-Length: 0
Warning: 392 192.168.10.253:5060 "Noisy feedback tells: pid=1377
req_src_ip=192.168.10.253 req_src_port=5060 in_uri=sip:office.dns
out_uri=sip:office.dns via_cnt==71"
is there any way i can check the status of a user by sending some request
from the server....like some NOTIFY kid of thing ...and come to know the
status of user whether he is busy with some call or anything like......
regards
_________________________________________________________________
Contact brides & grooms FREE! http://www.shaadi.com/ptnr.php?ptnr=hmltag
Only on www.shaadi.com. Register now!
Hi,
Do anyone know what is the command to start sems? The configuration of
voicemail is the same ser.cfg file in /usr/local/etc/ser/ser.cfg right?
Please help.....
Regards,
Shirley
hello people...
im in trouble ...
I am new is this...
my problem is that i can not access the ser with serweb , i have let the
username and pass for admin default.. but im getting username or pass is
wrong....damn
Anyway .... i have to study this more ... but if i get some help ..THX
then
Cristi
At 02:07 AM 3/21/2004, oliver vermeulen wrote:
>Hi,
>
>I got the webinterface working! After going over the php info I solved it.
>
>But im still getting this errors :
>
>Warning: Unable to include 'prolog.html' - request execution failed in
>/var/www/html/ser/page.php on line 77
That's for customizing look and feel of your web. see INSTALL as on CVS:
" [3] Open the file config.php in your favourite editor and change
the values for host, database name, user and password and
other values to fit your environment. Refer to and define files
(prolog, separator, epilog) that define layout of your webpages.
A simplistic layout can be defined as follows:
echo "<body><h1>" > html/prolog.html
echo "</h1><hr>" > html/separator.html
echo "</body>" > html/epilog.html
"
>68.153.153.227 User Management
>Warning: Unable to include 'blah.html' - request execution failed in
>/var/www/html/ser/page.php on line 79
I don't recall we had it -- didn't you insert it :)
-jiri