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 <[email protected]> wrote:

From: Bogdan-Andrei Iancu <[email protected]>
Subject: Re: [OpenSIPS-Users] List of online users
To: "OpenSIPS users mailling list" <[email protected]>
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:[email protected]>;tag=24872646-f6e3-4d57-89c1- fc75e2e9c618 >>> To: <sip: [email protected]>;tag=c97b4d1cb1f3d0da549e06a8d482ef63.4989
>>> Call-ID: 8ad183d2-9111-47b0-bf6d-a9cf7e5c1c82
>>> CSeq: 20315 REGISTER
>>> Contact: <sip:[email protected]: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 /<bog...@voice- system.ro>/*
>>> wrote:
>>>
>>>
>>>     From: Bogdan-Andrei Iancu <[email protected]>
>>>     Subject: Re: [OpenSIPS-Users] List of online users
>>>     To: "OpenSIPS users mailling list" <[email protected]>
>>>     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
>>> > [email protected] </mc/[email protected] >
>>>     > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>     >
>>>
>>>
>>>     _______________________________________________
>>>     Users mailing list
>>> [email protected] </mc/[email protected] >
>>>     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
>>> [email protected]
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>> _______________________________________________
>> Users mailing list
>> [email protected]
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>
>


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

From cricket scores to your friends. Try the Yahoo! India Homepage! _______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to