On Tuesday 04 December 2012 19:09:18 Daniel-Constantin Mierla wrote:
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?
Attached is a fairly minimal .cfg (depends on mysql for subscriber data and changes to voicemail.srv_(ip|port)). Lines of interest are 780:801. Any username will be rewritten to test (which is a sip and voicemail user on the asterisk voicemail server).
subscribe.txt contains the 2 sequential subscriptions from the sip device connected to kamailio. First attempt works perfect, the second one fails.
Can't tell if anything useful is logged if uac_* is optional by checking has_to_tag(). See log.txt