[SR-Users] reply when drop() in branch route

Juha Heinanen jh at tutpro.com
Sat Apr 17 11:51:24 CEST 2010


Daniel-Constantin Mierla writes:

 > i had it in mind by was busy yesterday. it needed a way to filter this 
 > case apart of adding branches errors. Can you give it a try? I committed 
 > on master brnach, if is ok, i will cherry pick to kamailio 3.0.

daniel,

now the error message is gone.  when i call drop() in branch route,
t_relay() fails with result code -6:

Apr 17 12:50:47 localhost /usr/sbin/sip-proxy[25815]: INFO: Routing initial INVITE <sip:0407058055 at gw1.test.fi> to <sip:192.98.100.2:5060>
Apr 17 12:50:47 localhost /usr/sbin/sip-proxy[25815]: INFO: dropping
Apr 17 12:50:47 localhost /usr/sbin/sip-proxy[25815]: INFO: t_relay failed with result -6

as inaki asked, do you know if these k 1.5 result codes are still valid
in sr?

-1 - generic internal error
-2 - bad message (parsing errors)
-3 - no destination available (no branches were added or request
already cancelled)
-4 - bad destination (unresolvable address)
-5 - destination filtered (black listed)
-6 - generic send failed

-- juha




More information about the sr-users mailing list