RE: [Users] "uri == myself" matches when port is not port is different
I also went thought the same situation and found the best solution (fastest) to keep second application (in my case b2bua) on different IP (alias) -----Original Message----- From: users-bounces@openser.org [mailto:users-bounces@openser.org] On Behalf Of Tavis P Sent: Monday, October 31, 2005 7:34 PM To: users@openser.org Subject: [Users] "uri == myself" matches when port is not port is different This is a somewhat unique situation, but with my config i have some call features that are hosted on another SIP aware application running on the same system. In a branch_route block i am checking to see if destination is myself to avoid loops, however when i direct a message to, say "127.0.0.1:5090" and OpenSER is configured to listen on port 5060 only the "if (uri == mysql)" statment matches even though the port is different. It seems to me that this behaviour is not intuative given the use of the statment, can anyone else comment on this? _______________________________________________ Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Hello, what version of openser do you use? I just tested with the latest cvs version and the port is checked also: 0(6023) grep_sock_info - checking if host==us: 12==12 && [192.168.1.10] == [192.168.1.10] 0(6023) grep_sock_info - checking if port 5060 matches port 5070 0(6023) grep_sock_info - checking if host==us: 12==12 && [192.168.1.10] == [192.168.1.10] 0(6023) grep_sock_info - checking if port 5060 matches port 5070 0(6023) check_self: host != me Could you run it in debug=7 and log_stderror=yes and watch the debug messages? Cheers, Daniel On 11/01/05 07:16, Vitaly Nikolaev wrote:
I also went thought the same situation and found the best solution (fastest) to keep second application (in my case b2bua) on different IP (alias)
-----Original Message----- From: users-bounces@openser.org [mailto:users-bounces@openser.org] On Behalf Of Tavis P Sent: Monday, October 31, 2005 7:34 PM To: users@openser.org Subject: [Users] "uri == myself" matches when port is not port is different
This is a somewhat unique situation, but with my config i have some call features that are hosted on another SIP aware application running on the same system.
In a branch_route block i am checking to see if destination is myself to avoid loops, however when i direct a message to, say "127.0.0.1:5090" and OpenSER is configured to listen on port 5060 only the "if (uri == mysql)" statment matches even though the port is different.
It seems to me that this behaviour is not intuative given the use of the statment, can anyone else comment on this?
_______________________________________________ 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
participants (2)
-
Daniel-Constantin Mierla -
Vitaly Nikolaev