[asterisk-commits] mmichelson: branch mmichelson/outbound_auth r383325 - /team/mmichelson/outbou...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Mar 18 13:41:57 CDT 2013


Author: mmichelson
Date: Mon Mar 18 13:41:54 2013
New Revision: 383325

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=383325
Log:
Use the preferred request sending function for SIP sessions.


Modified:
    team/mmichelson/outbound_auth/res/res_sip_session.c

Modified: team/mmichelson/outbound_auth/res/res_sip_session.c
URL: http://svnview.digium.com/svn/asterisk/team/mmichelson/outbound_auth/res/res_sip_session.c?view=diff&rev=383325&r1=383324&r2=383325
==============================================================================
--- team/mmichelson/outbound_auth/res/res_sip_session.c (original)
+++ team/mmichelson/outbound_auth/res/res_sip_session.c Mon Mar 18 13:41:54 2013
@@ -782,8 +782,10 @@
 static int session_outbound_auth(pjsip_dialog *dlg, pjsip_tx_data *tdata, void *user_data)
 {
 	pjsip_inv_session *inv = pjsip_dlg_get_inv_session(dlg);
+	struct ast_sip_session *session = inv->mod_data[session_module.id];
+
 	pjsip_inv_uac_restart(inv, PJ_TRUE);
-	pjsip_inv_send_msg(inv, tdata);
+	ast_sip_session_send_request(session, tdata);
 	return 0;
 }
 




More information about the asterisk-commits mailing list