[SR-Users] SIP Outbound / t_next_contacts()
Juha Heinanen
jh at tutpro.com
Sun Jul 24 18:51:38 CEST 2016
Colin Morelli writes:
> When there's one registration binding in the locations table,
> t_load_contacts doesn't seem to do anything and as a result
> t_next_contacts fails.
t_next_contacts() does work as specified in README:
Function returns 1 if contacts_avp was not empty and a destination set
was successfully added, returns -2 if contacts_avp was empty and thus
there was nothing to do, and returns -1 in case of an error (see
syslog).
so you just have to test the return value accordingly.
-- juha
More information about the sr-users
mailing list