Hi Everybody,
I guess i just found a bug record_route_preset(). Everything worked fine, until i replaced record_route() with record_route_preset(). I have noticed, that it is not possible to store any Parameters with add_rr_param(), if you use record_route_preset().
Carsten
Hi Carsten,
it's not a bug. The route hdrs added via the rr_preset() function are pre-defined (preset), so they are not affected by add_rr_param().
But if are people considering that add_rr_param() functionality makes sense to be extended over rr_preset(), we can do it.
regards, bogdan
Carsten Bock wrote:
Hi Everybody,
I guess i just found a bug record_route_preset(). Everything worked fine, until i replaced record_route() with record_route_preset(). I have noticed, that it is not possible to store any Parameters with add_rr_param(), if you use record_route_preset().
Carsten
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Hi Bogdan,
I see your point, that's right. For my purpose add_rr_param() for rr_preset() makes sense. I want to use rr_preset() for making SIP-Messages go through my loadBalancer (e. g. "rr_preset(<loadbalancer-ip>)"), which decides to which SIP-Proxy the request is beeing sent (if this is a right approach for loadbalancing with fail-over is another discussion). Keep up the great work!
Carsten
Bogdan-Andrei Iancu schrieb:
Hi Carsten,
it's not a bug. The route hdrs added via the rr_preset() function are pre-defined (preset), so they are not affected by add_rr_param().
But if are people considering that add_rr_param() functionality makes sense to be extended over rr_preset(), we can do it.
regards, bogdan
Carsten Bock wrote:
Hi Everybody,
I guess i just found a bug record_route_preset(). Everything worked fine, until i replaced record_route() with record_route_preset(). I have noticed, that it is not possible to store any Parameters with add_rr_param(), if you use record_route_preset().
Carsten
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Hi Bogdan,
I just thought about my issue. Fixing Bug #1459668 (advertised_address not used in record_route) would of course solve my problem better and would be, i guess, a nicer way to do it...
Carsten
Carsten Bock schrieb:
Hi Bogdan,
I see your point, that's right. For my purpose add_rr_param() for rr_preset() makes sense. I want to use rr_preset() for making SIP-Messages go through my loadBalancer (e. g. "rr_preset(<loadbalancer-ip>)"), which decides to which SIP-Proxy the request is beeing sent (if this is a right approach for loadbalancing with fail-over is another discussion). Keep up the great work!
Carsten
Bogdan-Andrei Iancu schrieb:
Hi Carsten,
it's not a bug. The route hdrs added via the rr_preset() function are pre-defined (preset), so they are not affected by add_rr_param().
But if are people considering that add_rr_param() functionality makes sense to be extended over rr_preset(), we can do it.
regards, bogdan
Carsten Bock wrote:
Hi Everybody,
I guess i just found a bug record_route_preset(). Everything worked fine, until i replaced record_route() with record_route_preset(). I have noticed, that it is not possible to store any Parameters with add_rr_param(), if you use record_route_preset().
Carsten
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users