[OpenSIPS-Users] List of online users
madhu mitha
smadhoo6 at yahoo.com
Fri Sep 25 13:52:46 CEST 2009
Well, I am not sure if this is possible but want to know if the server can add in it's 200/OK response msg , the list of online users with content-type as text?!
Or can the client communicate with the server using "MESSAGE" request?..
The latter would be better so that the client can ask the server about new registrations by sending messages anytime..!..
Thanks!
--- On Fri, 25/9/09, Bogdan-Andrei Iancu <bogdan at voice-system.ro> wrote:
From: Bogdan-Andrei Iancu <bogdan at voice-system.ro>
Subject: Re: [OpenSIPS-Users] List of online users
To: "OpenSIPS users mailling list" <users at lists.opensips.org>
Date: Friday, 25 September, 2009, 4:58 PM
As Stanisław asked you, how do you want to send back this information to
the client?
Regards,
Bogdan
smadhoo6 wrote:
> Orite.. So is it possible to show the other registered users ?
> Thanks!
>
> Bogdan-Andrei Iancu wrote:
>
>> It contains all the contacts of *that* user (the one who registers), not
>> from all the subscribers.
>>
>> Regards,
>> Bogdan
>>
>> madhu mitha wrote:
>>
>>> Is it so?.. The contact header seems to show only the URI of the
>>> sender who wants to register.. And not those of others who are
>>> registered with that domain.. Lik this..
>>>
>>> SIP/2.0 200 OK
>>> Via: SIP/2.0/UDP
>>> 192.168.1.104:5074;rport=5074;branch=z9hG4bKPj408df03d-4ebe-404f-b7a0-4001bb5fa661
>>> From: <sip:2000 at 192.168.1.104>;tag=24872646-f6e3-4d57-89c1-fc75e2e9c618
>>> To: <sip:2000 at 192.168.1.104>;tag=c97b4d1cb1f3d0da549e06a8d482ef63.4989
>>> Call-ID: 8ad183d2-9111-47b0-bf6d-a9cf7e5c1c82
>>> CSeq: 20315 REGISTER
>>> Contact: <sip:2000 at 192.168.1.104:5074>;expires=300
>>> Server: OpenSIPS (1.5.0-notls (i386/linux))
>>> Content-Length: 0
>>>
>>> What should I do?
>>> Thanks for the prompt reply!..
>>>
>>>
>>>
>>> --- On *Fri, 25/9/09, Bogdan-Andrei Iancu /<bogdan at voice-system.ro>/*
>>> wrote:
>>>
>>>
>>> From: Bogdan-Andrei Iancu <bogdan at voice-system.ro>
>>> Subject: Re: [OpenSIPS-Users] List of online users
>>> To: "OpenSIPS users mailling list" <users at lists.opensips.org>
>>> Date: Friday, 25 September, 2009, 3:16 PM
>>>
>>> Hi,
>>>
>>> but any registrar (including opensips), automatically sends back
>>> in the
>>> 200OK of a REGISTER request all the registered contacts (in the
>>> Contact
>>> hdr of the reply). Do you need something more?
>>>
>>> Regards,
>>> Bogdan
>>>
>>> madhu mitha wrote:
>>> > Is there any method to send the list of online registered users
>>> to a
>>> > SIP-phone/client as soon as a user registers with the opensips
>>> > server?.. What changes should be made in the config script?. Cuz
>>> I'm
>>> > given to understand that functions like ul_dump or ul show or
>>> the MI
>>> > command "online" cannot be exported to be used in scripts.. I'm
>>> using
>>> > Opensips 1.5..0 (no-tls) on Fedora without mysql.. Thanks in
>>> advance.. :)
>>> >
>>> >
>>> >
>>>
>>> ------------------------------------------------------------------------
>>> > From cricket scores to your friends. Try the Yahoo! India Homepage!
>>> >
>>> <http://in.rd.yahoo.com/tagline_metro_4/*http://in.yahoo.com/trynew>
>>> >
>>>
>>> ------------------------------------------------------------------------
>>> >
>>> > _______________________________________________
>>> > Users mailing list
>>> > Users at lists.opensips.org </mc/compose?to=Users at lists.opensips.org>
>>> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>> >
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org </mc/compose?to=Users at lists.opensips.org>
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>> ------------------------------------------------------------------------
>>> From cricket scores to your friends. Try the Yahoo! India Homepage!
>>> <http://in.rd.yahoo.com/tagline_metro_4/*http://in.yahoo.com/trynew>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>
>
_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Add whatever you love to the Yahoo! India homepage. Try now! http://in.yahoo.com/trynew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090925/e085bddf/attachment.htm
More information about the Users
mailing list