[asterisk-commits] mmichelson: branch group/pimp_my_sip r379268 - /team/group/pimp_my_sip/res/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jan 16 12:54:44 CST 2013
Author: mmichelson
Date: Wed Jan 16 12:54:40 2013
New Revision: 379268
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=379268
Log:
Remove commented out parts dealing with SIP endpoints.
Modified:
team/group/pimp_my_sip/res/res_sip_session.c
Modified: team/group/pimp_my_sip/res/res_sip_session.c
URL: http://svnview.digium.com/svn/asterisk/team/group/pimp_my_sip/res/res_sip_session.c?view=diff&rev=379268&r1=379267&r2=379268
==============================================================================
--- team/group/pimp_my_sip/res/res_sip_session.c (original)
+++ team/group/pimp_my_sip/res/res_sip_session.c Wed Jan 16 12:54:40 2013
@@ -331,8 +331,7 @@
pjsip_tx_data *tdata = NULL;
pjsip_dialog *dlg = NULL;
pjsip_inv_session *inv_session = NULL;
- /* XXX ast_sip_endpoint doesn't exist yet :( */
- /* ast_sip_endpoint *endpoint = NULL; */
+ struct ast_sip_endpoint *endpoint = NULL;
if (pjsip_inv_verify_request(rdata, NULL, NULL, NULL, ast_sip_get_pjsip_endpoint(), &tdata) != PJ_SUCCESS) {
if (tdata) {
@@ -367,7 +366,6 @@
return;
}
/* XXX ast_sip_endpoint doesn't exist yet :( */
-#if 0
endpoint = ast_sip_identify_endpoint(rdata);
if (!endpoint) {
if (pjsip_inv_end_session(inv_session, 403, NULL, &tdata) == PJ_SUCCESS) {
@@ -393,7 +391,6 @@
pjsip_inv_send_msg(inv_session, tdata);
}
}
-#endif
return;
}
More information about the asterisk-commits
mailing list