Re: [SR-Users] SIP Outbound / t_next_contacts()

2016-07-24 Thread Colin Morelli
I'm not suggesting that t_next_contacts deviates from the README. I'm looking for its specific use case when combined with the outbound module. At the very least, the example registrar configuration here: http://www.kamailio.org/docs/modules/4.4.x/modules/outbound.html is incomplete, in that it wil

Re: [SR-Users] SIP Outbound / t_next_contacts()

2016-07-24 Thread Juha Heinanen
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 se

Re: [SR-Users] SIP Outbound / t_next_contacts()

2016-07-24 Thread Colin Morelli
Juha, I changed the message between when I copied the code and the logs. Those lines are the lines that produce the error message. As I mentioned in the original message - I'm aware that there's only one branch in the set. That is the case that this doesn't work. When there's one registration bin

[SR-Users] SIP Outbound / t_next_contacts()

2016-07-24 Thread Juha Heinanen
Colin Morelli writes: > 8(27) DEBUG: tm [t_serial.c:191]: t_load_contacts(): nr_branches is 0 > 8(27) DEBUG: tm [t_serial.c:194]: t_load_contacts(): nothing to do - only > one contact! > 8(27) DEBUG: tm [t_serial.c:455]: t_next_contacts(): no contacts in > contacts_avp - we are done! > 8(27) E

[SR-Users] SIP Outbound / t_next_contacts()

2016-07-24 Thread Colin Morelli
Hey all, I've got two layers of Kamailio proxies running. One set of edge proxies that are parking outbound connections and doing load balancing to a set of registrar/proxies. This is working well with one exception: I can't seem to get t_load_contacts/t_next_contacts working correctly for handli