On 12/4/12 6:43 PM, Daniel Tryba wrote:
On Tuesday 04 December 2012 17:49:43 Daniel-Constantin Mierla wrote:
The only difference is that there is no error in syslog since the uac_* commands aren't executed a second time. The second subscribe will not be rewritten when restore mode is either manual or auto if uac_* are conditional:
Can you get a ngrep of the first and second SUBSCRIBE? It will help to troubleshoot and see what could be the issue.
Those were attached to my mail that started this thread: http://lists.sip-router.org/pipermail/sr-users/2012-November/075839.html
I see it now -- first time I read only the top of the message, replying to the part related to the error messages.
Quick look over the sources, I can't see a reason of not changing the headers. Can you set debug=3 and then give the log messages printed when the re-SUBSCRIBE is processed?
Cheers, Daniel
But it might be better if I create a simple config that reproduces my problem. I'll try to find the time to create one tomorrow.
My current workaround is to have the username on woth Kamailio and Asterisk to be the same, but it might be useful to have multiple Kamailio subscribers with the same mailbox, so this should work with uac rewriting.