On Tuesday 27 October 2015 07:36:15 Bruno Salzano wrote:
It seems that when i route the call outbound, i get a 407. So i would like to react to this using uac_auth() as described here: http://kamailio.org/docs/modules/4.3.x/modules/uac.html#uac.f.uac_auth()
Is this the right way? Can someone help me, giving hints and some working example?
Based on the info you have given I'd say this is correct. The working code is in the URL you provide. Adding a specific failure route in the FROMASTERISK when ds_is_from_list matches to the uac_auth() function is the way to go.