Skip to content

Commit

Permalink
update the fs_path to reflect the IP of the interface that recieved t…
Browse files Browse the repository at this point in the history
…he request
  • Loading branch information
k-anderson committed Mar 2, 2015
1 parent fd0b64b commit 2680dfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kamailio/registrar-role.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ route[ATTEMPT_AUTHORIZATION]
$var(return_port) = "5060";
}

$var(params) = "fs_path=<sip:MY_IP_ADDRESS:" + $var(return_port) + ";lr;received='" + $rz + ":" + $si + ":" + $sp + ";transport=" + $proto + "'>";
$var(params) = "fs_path=<sip:" + $Ri + ":" + $var(return_port) + ";lr;received='" + $rz + ":" + $si + ":" + $sp + ";transport=" + $proto + "'>";

## TODO: fix escaping, some phones send us -- reg-id=1;+sip.instance="urn:uuid:9b8bd513-0e6e-4660-ad5e-5e35d88cc68f";
## and if we can store it but not use it because it looses the escapes (that weren't there...)
Expand Down

0 comments on commit 2680dfe

Please sign in to comment.