[OpenSIPS-Users] List of online users

Bogdan-Andrei Iancu bogdan at voice-system.ro
Fri Sep 25 13:28:31 CEST 2009


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
>>
>>
>>     
>
>   




More information about the Users mailing list