hello,
iam new to this list and i have a question about the presence Server in openser. We are currently using asterisk for a hosted pbx solution with the feature so show active and also ringing lines on a snom360 phone. This feature uses the Asterisk hint, subscriber and notify handling.
i havent found if i could use the presence server for this solution. The problem is that if i just pass through the subscriber and notify messages from the client via openser to the asterisk server that the server doesnt know if the client which should be watched is registered or not (registrations are made with openser). So i have to find a solution where openser could handle subscriptions for clients which are registered and also send notifys on every invite, ringing and bye of a watched client to the subscriber.
could i use the presence server for that or should i search for another solution?
Best regards
Steve Smith
Hello,
On 03/17/08 10:48, Stefan Schmidt wrote:
hello,
iam new to this list and i have a question about the presence Server in openser. We are currently using asterisk for a hosted pbx solution with the feature so show active and also ringing lines on a snom360 phone. This feature uses the Asterisk hint, subscriber and notify handling.
i havent found if i could use the presence server for this solution. The problem is that if i just pass through the subscriber and notify messages from the client via openser to the asterisk server that the server doesnt know if the client which should be watched is registered or not (registrations are made with openser). So i have to find a solution where openser could handle subscriptions for clients which are registered and also send notifys on every invite, ringing and bye of a watched client to the subscriber.
could i use the presence server for that or should i search for another solution?
openser presence server as it is now won't help you much -- it is for presence states. What you want to have is dialog states -- openser is by default just a proxy, does not keep dialog states. However, by using dialog module, you can improve openser behavior in this matter, but that module is not yet integrated with presence server.
Check if it is possible to instruct asterisk to send notify messages to openser when the user is not registered with it -- I got it for MWI, but not sure if works for this case. If that is possible, then you can have your solution. Redirect the subscribe messages for dialog states to asterisk. Configure asterisk to use real-time peers as it is in: http://www.voip-info.org/wiki/view/Realtime+Integration+Of+Asterisk+With+Ope...
Make sure you do record routing in openser, for subscribes.
Cheers. Daniel
Best regards
Steve Smith
Hi,
thank you for your ideas. I have asterisk allready running on a real-time setup but the problem is that because the account isnt registered at the asterisk its not in the asterisk cache and so i get a 404 replied.
so i think there is no way then coding it byself.
best regards
Steve Smith
Daniel-Constantin Mierla schrieb:
Hello,
On 03/17/08 10:48, Stefan Schmidt wrote:
hello,
iam new to this list and i have a question about the presence Server in openser. We are currently using asterisk for a hosted pbx solution with the feature so show active and also ringing lines on a snom360 phone. This feature uses the Asterisk hint, subscriber and notify handling.
i havent found if i could use the presence server for this solution. The problem is that if i just pass through the subscriber and notify messages from the client via openser to the asterisk server that the server doesnt know if the client which should be watched is registered or not (registrations are made with openser). So i have to find a solution where openser could handle subscriptions for clients which are registered and also send notifys on every invite, ringing and bye of a watched client to the subscriber.
could i use the presence server for that or should i search for another solution?
openser presence server as it is now won't help you much -- it is for presence states. What you want to have is dialog states -- openser is by default just a proxy, does not keep dialog states. However, by using dialog module, you can improve openser behavior in this matter, but that module is not yet integrated with presence server.
Check if it is possible to instruct asterisk to send notify messages to openser when the user is not registered with it -- I got it for MWI, but not sure if works for this case. If that is possible, then you can have your solution. Redirect the subscribe messages for dialog states to asterisk. Configure asterisk to use real-time peers as it is in: http://www.voip-info.org/wiki/view/Realtime+Integration+Of+Asterisk+With+Ope...
Make sure you do record routing in openser, for subscribes.
Cheers. Daniel
Best regards
Steve Smith
Hello,
On 03/18/08 11:41, Stefan Schmidt wrote:
Hi,
thank you for your ideas. I have asterisk allready running on a real-time setup but the problem is that because the account isnt registered at the asterisk its not in the asterisk cache and so i get a 404 replied.
so i think there is no way then coding it byself.
I see no reason why it requires to be registered in asterisk. The dialog for presence is created upon SUBSCRIBE -- and there will get the Route set and the address (from the contact header) where to deliver the NOTIFYs. As said, the approach worked for MWI subscriptions, some time ago, when I tried -- don't recall if I had to do some hacks in the configuration, but I am pretty sure was not coding the C in asterisk.
Cheers, Daniel
best regards
Steve Smith
Daniel-Constantin Mierla schrieb:
Hello,
On 03/17/08 10:48, Stefan Schmidt wrote:
hello,
iam new to this list and i have a question about the presence Server in openser. We are currently using asterisk for a hosted pbx solution with the feature so show active and also ringing lines on a snom360 phone. This feature uses the Asterisk hint, subscriber and notify handling.
i havent found if i could use the presence server for this solution. The problem is that if i just pass through the subscriber and notify messages from the client via openser to the asterisk server that the server doesnt know if the client which should be watched is registered or not (registrations are made with openser). So i have to find a solution where openser could handle subscriptions for clients which are registered and also send notifys on every invite, ringing and bye of a watched client to the subscriber.
could i use the presence server for that or should i search for another solution?
openser presence server as it is now won't help you much -- it is for presence states. What you want to have is dialog states -- openser is by default just a proxy, does not keep dialog states. However, by using dialog module, you can improve openser behavior in this matter, but that module is not yet integrated with presence server.
Check if it is possible to instruct asterisk to send notify messages to openser when the user is not registered with it -- I got it for MWI, but not sure if works for this case. If that is possible, then you can have your solution. Redirect the subscribe messages for dialog states to asterisk. Configure asterisk to use real-time peers as it is in: http://www.voip-info.org/wiki/view/Realtime+Integration+Of+Asterisk+With+Ope...
Make sure you do record routing in openser, for subscribes.
Cheers. Daniel
Best regards
Steve Smith
hello Stefan,
The 'dialog' event is handled in an end-to-end mode by the snom phones. So, what you need to do is forward the Subscribe to the other client and it will generate Notify messages.
regards, Anca Vamanu
Stefan Schmidt wrote:
hello,
iam new to this list and i have a question about the presence Server in openser. We are currently using asterisk for a hosted pbx solution with the feature so show active and also ringing lines on a snom360 phone. This feature uses the Asterisk hint, subscriber and notify handling.
i havent found if i could use the presence server for this solution. The problem is that if i just pass through the subscriber and notify messages from the client via openser to the asterisk server that the server doesnt know if the client which should be watched is registered or not (registrations are made with openser). So i have to find a solution where openser could handle subscriptions for clients which are registered and also send notifys on every invite, ringing and bye of a watched client to the subscriber.
could i use the presence server for that or should i search for another solution?
Best regards
Steve Smith