[OpenSIPS-Users] List of online users
smadhoo6
smadhoo6 at yahoo.com
Wed Sep 30 08:28:37 CEST 2009
Thanks for the link.
I think I've understood the concept better now..
Now what I would like to know is.:
If the usrloc MI function "ul_dump" can be exported so that I can make use
of it in the opensips.cfg file?!
What should I do?..
Adrian Georgescu wrote:
>
> You could start first by reading about how SIP is designed to work here:
>
> http://www.tech-invite.com/Ti-sip-CF3665.html
>
> After you spend some time understand what SIP is and how it works,
> then you will likely ask pertinent questions and people might be able
> to really help you. Otherwise you will ask alien questions and even
> good answers wil not satisfy you because you do not know the concepts
> behind them.
>
> --
> Adrian
>
>
>
> On Sep 25, 2009, at 1:52 PM, madhu mitha wrote:
>
>> 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
>>
>> From cricket scores to your friends. Try the Yahoo! India Homepage!
>> _______________________________________________
>> 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
>
>
--
View this message in context: http://n2.nabble.com/List-of-online-users-tp3711302p3740980.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
More information about the Users
mailing list