Anca, All,
I have the following scenario
UE - OpenSER Proxy/Presence Server - OpenSER Registrar
The proxy acts as proxy and presence server. If the UE sends a subscribe to user@registrar, it handles this subscription. If it publishes its state user@registrar it does as well. All registration/call control is proxied to the registrar.
I try now to use the PUA module API to create PUBLISH on the Proxy/Presence Server. This works fine, the only issue is that it has the request-uri user@registrar, like UE generated subscriptions. This is actually not an issue, but wanted. The problem is that the proxy forwards the package to the registrar acc. R-URI. I want it sent to another IP.
Is there the possibility to define the IP where the package should be sent to, i.e. presence server IP, to handle the packet there?
Thanks!
Best regards, Sebastian
Hello,
are you looking for outbound proxy feature? http://kamailio.org/docs/modules/1.4.x/pua.html#id2452910
Cheers, Daniel
On 11/03/08 18:42, Schumann Sebastian wrote:
Anca, All,
I have the following scenario
UE - OpenSER Proxy/Presence Server - OpenSER Registrar
The proxy acts as proxy and presence server. If the UE sends a subscribe to user@registrar mailto:user@registrar, it handles this subscription. If it publishes its state user@registrar mailto:user@registrar it does as well. All registration/call control is proxied to the registrar.
I try now to use the PUA module API to create PUBLISH on the Proxy/Presence Server. This works fine, the only issue is that it has the request-uri user@registrar mailto:user@registrar, like UE generated subscriptions. This is actually not an issue, but wanted. The problem is that the proxy forwards the package to the registrar acc. R-URI. I want it sent to another IP.
Is there the possibility to define the IP where the package should be sent to, i.e. presence server IP, to handle the packet there?
Thanks!
Best regards, Sebastian
Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
Hi Daniel,
I am - indeed.
Shame on me for not reading the doc carefully, I searched in the developers part, as I thought the API must be used by my module for this purpose.
Thanks a lot!
Best regards Sebastian
-----Original Message----- From: Daniel-Constantin Mierla [mailto:miconda@gmail.com] Sent: Monday, 03. November 2008 17:48 To: Schumann Sebastian Cc: Anca Vamanu; users@lists.kamailio.org Subject: Re: [Kamailio-Users] PUA API send to certain IP
Hello,
are you looking for outbound proxy feature? http://kamailio.org/docs/modules/1.4.x/pua.html#id2452910
Cheers, Daniel
On 11/03/08 18:42, Schumann Sebastian wrote:
Anca, All,
I have the following scenario
UE - OpenSER Proxy/Presence Server - OpenSER Registrar
The proxy acts as proxy and presence server. If the UE sends a subscribe to user@registrar mailto:user@registrar, it
handles this
subscription. If it publishes its state user@registrar mailto:user@registrar it does as well. All
registration/call control
is proxied to the registrar.
I try now to use the PUA module API to create PUBLISH on the Proxy/Presence Server. This works fine, the only issue is
that it has
the request-uri user@registrar mailto:user@registrar, like UE generated subscriptions. This is actually not an issue, but wanted. The problem is that the proxy forwards the package to the registrar acc. R-URI. I want it sent to another IP.
Is there the possibility to define the IP where the package
should be
sent to, i.e. presence server IP, to handle the packet there?
Thanks!
Best regards, Sebastian
--
Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
-- Daniel-Constantin Mierla http://www.asipto.com
Hello Sebastian,
On 11/03/08 18:51, Schumann Sebastian wrote:
Hi Daniel,
I am - indeed.
Shame on me for not reading the doc carefully, I searched in the developers part, as I thought the API must be used by my module for this purpose.
it is a lower level. The outbound proxy is provided by TM API, perhaps is not propagated by the pua API. I have few small projects to finish and then will be a lot of dedication for the presence server, I am having several features in the do-to for it. Maybe this make sense as well, to be controlled better, depending on the event/application type of PUA.
Cheers, Daniel
Thanks a lot!
Best regards Sebastian
-----Original Message----- From: Daniel-Constantin Mierla [mailto:miconda@gmail.com] Sent: Monday, 03. November 2008 17:48 To: Schumann Sebastian Cc: Anca Vamanu; users@lists.kamailio.org Subject: Re: [Kamailio-Users] PUA API send to certain IP
Hello,
are you looking for outbound proxy feature? http://kamailio.org/docs/modules/1.4.x/pua.html#id2452910
Cheers, Daniel
On 11/03/08 18:42, Schumann Sebastian wrote:
Anca, All,
I have the following scenario
UE - OpenSER Proxy/Presence Server - OpenSER Registrar
The proxy acts as proxy and presence server. If the UE sends a subscribe to user@registrar mailto:user@registrar, it
handles this
subscription. If it publishes its state user@registrar mailto:user@registrar it does as well. All
registration/call control
is proxied to the registrar.
I try now to use the PUA module API to create PUBLISH on the Proxy/Presence Server. This works fine, the only issue is
that it has
the request-uri user@registrar mailto:user@registrar, like UE generated subscriptions. This is actually not an issue, but wanted. The problem is that the proxy forwards the package to the registrar acc. R-URI. I want it sent to another IP.
Is there the possibility to define the IP where the package
should be
sent to, i.e. presence server IP, to handle the packet there?
Thanks!
Best regards, Sebastian
--
Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
-- Daniel-Constantin Mierla http://www.asipto.com
Hi Daniel,
-----Original Message----- From: Daniel-Constantin Mierla [mailto:miconda@gmail.com] Sent: Monday, 03. November 2008 18:05 To: Schumann Sebastian Cc: users@lists.kamailio.org Subject: Re: [Kamailio-Users] PUA API send to certain IP
Hello Sebastian,
On 11/03/08 18:51, Schumann Sebastian wrote:
Hi Daniel,
I am - indeed.
Shame on me for not reading the doc carefully, I searched
in the developers part, as I thought the API must be used by my module for this purpose.
it is a lower level. The outbound proxy is provided by TM API, perhaps is not propagated by the pua API. I have few small projects to finish and then will be a lot of dedication for the presence server, I am having several features in the do-to for it. Maybe this make sense as well, to be controlled better, depending on the event/application type of PUA.
Aha, good to know. I start slowly to look through more and more of the code :-)
Putting it to the PUA API makes sense, if you want to handle it per-module that uses the PUA API and not for all depending modules. Let's say, publishing via MI should go through the proxy while pua_usrloc should not. Makes sense for some scenarios.
Sebastian
Cheers, Daniel
Thanks a lot!
Best regards Sebastian
-----Original Message----- From: Daniel-Constantin Mierla [mailto:miconda@gmail.com] Sent: Monday, 03. November 2008 17:48 To: Schumann Sebastian Cc: Anca Vamanu; users@lists.kamailio.org Subject: Re: [Kamailio-Users] PUA API send to certain IP
Hello,
are you looking for outbound proxy feature? http://kamailio.org/docs/modules/1.4.x/pua.html#id2452910
Cheers, Daniel
On 11/03/08 18:42, Schumann Sebastian wrote:
Anca, All,
I have the following scenario
UE - OpenSER Proxy/Presence Server - OpenSER Registrar
The proxy acts as proxy and presence server. If the UE sends a subscribe to user@registrar mailto:user@registrar, it
handles this
subscription. If it publishes its state user@registrar mailto:user@registrar it does as well. All
registration/call control
is proxied to the registrar.
I try now to use the PUA module API to create PUBLISH on the Proxy/Presence Server. This works fine, the only issue is
that it has
the request-uri user@registrar mailto:user@registrar, like UE generated subscriptions. This is actually not an issue,
but wanted.
The problem is that the proxy forwards the package to the
registrar
acc. R-URI. I want it sent to another IP.
Is there the possibility to define the IP where the package
should be
sent to, i.e. presence server IP, to handle the packet there?
Thanks!
Best regards, Sebastian
--
Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
-- Daniel-Constantin Mierla http://www.asipto.com
-- Daniel-Constantin Mierla http://www.asipto.com
Hi Schuman,
If you want to specify the address where the PUBLISH message should be sent, you just have to set the presence_server parameter in pua_usrloc module. This is present in trunk for OpenSIPS. I will think about adding it to 1_4 as well. If you want to use the trunk version for pua_usrloc, you also have to take pua from there. This feature updates both modules.
regards, Anca Vamanu
Schumann Sebastian wrote:
Anca, All,
I have the following scenario
UE - OpenSER Proxy/Presence Server - OpenSER Registrar
The proxy acts as proxy and presence server. If the UE sends a subscribe to user@registrar mailto:user@registrar, it handles this subscription. If it publishes its state user@registrar mailto:user@registrar it does as well. All registration/call control is proxied to the registrar.
I try now to use the PUA module API to create PUBLISH on the Proxy/Presence Server. This works fine, the only issue is that it has the request-uri user@registrar mailto:user@registrar, like UE generated subscriptions. This is actually not an issue, but wanted. The problem is that the proxy forwards the package to the registrar acc. R-URI. I want it sent to another IP.
Is there the possibility to define the IP where the package should be sent to, i.e. presence server IP, to handle the packet there?
Thanks!
Best regards, Sebastian
Hi Anca
I am not using pua_usrloc but my own module. It is build on pua api. I need this parameter I think but it seemed to me the pua api did not provide the possibility to set the presence server parameter, at least in 1.4 that I am using.
Thanks for the hint, will check the pua api for the trunk version to figure it out. For now, the outbound_proxy for pua is fine for me, as I use only one submodule of pua.
Best regards Sebastian
-----Original Message----- From: Anca Vamanu [mailto:anca@voice-system.ro] Sent: Monday, 03. November 2008 18:27 To: Schumann Sebastian Cc: OpenSIPS users mailling list; users@lists.kamailio.org Subject: Re: PUA API send to certain IP
Hi Schuman,
If you want to specify the address where the PUBLISH message should be sent, you just have to set the presence_server parameter in pua_usrloc module. This is present in trunk for OpenSIPS. I will think about adding it to 1_4 as well. If you want to use the trunk version for pua_usrloc, you also have to take pua from there. This feature updates both modules.
regards, Anca Vamanu
Schumann Sebastian wrote:
Anca, All,
I have the following scenario
UE - OpenSER Proxy/Presence Server - OpenSER Registrar
The proxy acts as proxy and presence server. If the UE sends a subscribe to user@registrar mailto:user@registrar, it
handles this
subscription. If it publishes its state user@registrar mailto:user@registrar it does as well. All
registration/call control
is proxied to the registrar.
I try now to use the PUA module API to create PUBLISH on the Proxy/Presence Server. This works fine, the only issue is
that it has
the request-uri user@registrar mailto:user@registrar, like UE generated subscriptions. This is actually not an issue, but wanted. The problem is that the proxy forwards the package to the registrar acc. R-URI. I want it sent to another IP.
Is there the possibility to define the IP where the package
should be
sent to, i.e. presence server IP, to handle the packet there?
Thanks!
Best regards, Sebastian