On Tuesday 05 February 2008 11:35:30 Daniel-Constantin Mierla wrote:
There is bug mistakenly introduced about 2 years ago, if I could spot it right on the svn log. A wrong variable for registrar address was used. I have just made a commit on trunk. Can you test and let me know if works now? If you need patch for 1.3 I can send it to you -- I will backport after some testing is done.
I can confirm that it works. This is the OpenSer generated MESSAGE notification:
------------------ U 2008/02/05 11:57:18.836256 88.99.0.110:5060 -> 89.99.0.110:5060 MESSAGE sip:ibc@domain.org SIP/2.0 Via: SIP/2.0/UDP 88.98.0.110;branch=z9hG4bKa5c8.2002ba97.0 To: sip:ibc@domain.org From: sip:user-offline@openser.domain.org;tag=8e8dc05fff8d3172da4bb428a9d4a223-faf8 CSeq: 10 MESSAGE Call-ID: 5ddfefd8-24012@80.94.0.110 Content-Length: 91 User-Agent: OpenSER (1.4.0dev2-tls (i386/linux)) Content-Type: text/plain Contact: sip:user-offline@openser.domain.org;msilo=yes
User [sip:angel@domain.org] is offline. The message will be delivered when user goes online. ------------------
As a suggestion, wouldn't be better is the From in the notification MESSAGE would be the destination in order to avoid a new IM window in the sender? It's not cool that for each message I send and is stored I receive a new IM.
Maybe this could be a feature request? :)
Thanks a lot for all.