[sr-dev] assigning $rd buggy?

Klaus Darilion klaus.mailinglists at pernau.at
Mon Jul 4 13:43:22 CEST 2011


version: kamailio 3.1.4 (i386/linux)

FAILURE_ROUTE:

xlogl("L_NOTICE","failure to PSTN gateway: Call to $ru\n");
$rd = "81.209.128.132:5060";
xlogl("L_NOTICE","next gateway. Call to $ru\n");
route(RELAY);

results in:


NOTICE: <script>: 1089:failure to PSTN gateway: Call to
sip:00431505641636 at 1.2.3.4:5060
ERROR: pv [pv_core.c:186]: failed to parse the R-URI
NOTICE: <script>: 1097:next gateway. Call to <null>
...
ERROR: uri2dst: bad_uri: sip:00431505641636 at 81.209.128.132:5060:5060

Looks like the assignment to $rd is buggy (double port)

regards
klaus



More information about the sr-dev mailing list