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@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@81.209.128.132:5060:5060
Looks like the assignment to $rd is buggy (double port)
regards klaus