Re: [SR-Users] Kamailio as SUBCRIBE client

2021-10-08 Thread Olle E. Johansson


> On 8 Oct 2021, at 08:47, Daniel-Constantin Mierla  wrote:
> 
> Hello,
> 
> presence service are decoupled from registration service in SIP. To get
> notified on a specific event, then the UA has to send a SUBSCRIBE to the
> presentity for that event. Even the SUBSCRIBE comes to Kamailio, you can
> route it to another SIP system. It is quite common for Kamailio to
> handle SUBSCRIBE for user presence event and route SUBSCRIBE for MWI to
> media server (e.g., Asterisk or FreeSwitch). Just to routing based on
> Event header conditions.
> 
For scalability, a media server can PUBLISH events to Kamailio that will
handle a large amount of subscribers that get the events.

I think there was some work done in Asterisk to get this done. I had an early
implementation many years ago. Don’t know the current state though.

/O 
> Cheers,
> Daniel
> 
> On 07.10.21 18:05, Jerry Kendall wrote:
>> 
>> Hi there...
>> 
>> Is there a way for Kamailio to proxy the presence status of items on
>> FreeSWITCH???
>> 
>> for example:
>> 
>> x201 registers via Kamailio and subscribes to the presence of 'Night
>> Mode' (normally, BLF set to *21)
>> Night Mode is on the FreeSWITCH server and toggled by dialing a
>> feature code (*21)
>> How can I get the status of Night Mode sent to the BLFs on x201 when
>> the device is reg'd to Kamailio and not FS ?
>> 
>> 
>> Can it be done? (likely but how)
>> 
>> 
>> Jerry
>> 
>> __
>> Kamailio - Users Mailing List - Non Commercial Discussions
>>  * sr-users@lists.kamailio.org
>> Important: keep the mailing list in the recipients, do not reply only
>> to the sender!
>> Edit mailing list options or unsubscribe:
>>  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
> 
> -- 
> Daniel-Constantin Mierla -- www.asipto.com
> www.twitter.com/miconda -- www.linkedin.com/in/miconda
> Kamailio Advanced Training - Online
> Nov 08-11, 2021 (Europe Timezone) - Nov 22-25, 2021 (America Timezone)
>  * https://www.asipto.com/sw/kamailio-advanced-training-online/
> 
> 
> __
> Kamailio - Users Mailing List - Non Commercial Discussions
>  * sr-users@lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to the 
> sender!
> Edit mailing list options or unsubscribe:
>  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


__
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamailio as SUBCRIBE client

2021-10-08 Thread Daniel-Constantin Mierla
Hello,

presence service are decoupled from registration service in SIP. To get
notified on a specific event, then the UA has to send a SUBSCRIBE to the
presentity for that event. Even the SUBSCRIBE comes to Kamailio, you can
route it to another SIP system. It is quite common for Kamailio to
handle SUBSCRIBE for user presence event and route SUBSCRIBE for MWI to
media server (e.g., Asterisk or FreeSwitch). Just to routing based on
Event header conditions.

Cheers,
Daniel

On 07.10.21 18:05, Jerry Kendall wrote:
>
> Hi there...
>
> Is there a way for Kamailio to proxy the presence status of items on
> FreeSWITCH???
>
> for example:
>
> x201 registers via Kamailio and subscribes to the presence of 'Night
> Mode' (normally, BLF set to *21)
> Night Mode is on the FreeSWITCH server and toggled by dialing a
> feature code (*21)
> How can I get the status of Night Mode sent to the BLFs on x201 when
> the device is reg'd to Kamailio and not FS ?
>
>
> Can it be done? (likely but how)
>
>
> Jerry
>
> __
> Kamailio - Users Mailing List - Non Commercial Discussions
>  * sr-users@lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only
> to the sender!
> Edit mailing list options or unsubscribe:
>  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Online
Nov 08-11, 2021 (Europe Timezone) - Nov 22-25, 2021 (America Timezone)
  * https://www.asipto.com/sw/kamailio-advanced-training-online/


__
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Kamailio as SUBCRIBE client

2021-10-07 Thread Jerry Kendall



Hi there...

Is there a way for Kamailio to proxy the presence status of items on 
FreeSWITCH???


for example:

x201 registers via Kamailio and subscribes to the presence of 'Night 
Mode' (normally, BLF set to *21)
Night Mode is on the FreeSWITCH server and toggled by dialing a feature 
code (*21)
How can I get the status of Night Mode sent to the BLFs on x201 when the 
device is reg'd to Kamailio and not FS ?



Can it be done? (likely but how)


Jerry

__
Kamailio - Users Mailing List - Non Commercial Discussions
 * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
 * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users