THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Klaus Darilion (klaus3000)
Attached to Project - sip-router
Summary - bug in $snd and $sndto pseudo variable
Task Type - Bug Report
Category - Core
Status - Assigned
Assigned To - Andrei Pelinescu-Onciul
Operating System - All
Severity - Low
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - According to
http://www.kamailio.org/dokuwiki/doku.php/pseudovariables:3.1.x#send_addr_a…
$snd(ip) should print the IP address, but it prints "IP:port". Thus, checks as
described in the manual do not work: if($sndto(ip)=="10.10.10.10") ...
INFO: <script>: $snd(ip) = 8.16.33.239:5060
INFO: <script>: $snd(port) = 5060
INFO: <script>: $snd(proto) = 1
INFO: <script>: $snd(af) = 2
INFO: <script>: $sndto(ip) = 8.16.33.239:5060
INFO: <script>: $sndto(port) = 5060
INFO: <script>: $sndto(proto) = 1
INFO: <script>: $sndto(af) = 2
INFO: <script>: $sndfrom(ip) = 8.16.32.159
INFO: <script>: $sndfrom(port) = 5060
INFO: <script>: $sndfrom(proto) = 1
INFO: <script>: $sndfrom(af) = 2
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=140
You are receiving this message because you have requested it from the Flyspray bugtracking
system. If you did not expect this message or don't want to receive mails in future,
you can change your notification settings at the URL shown above.