[asterisk-commits] mmichelson: branch group/CCSS r237063 - /team/group/CCSS/channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Dec 30 17:14:57 CST 2009
Author: mmichelson
Date: Wed Dec 30 17:14:55 2009
New Revision: 237063
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=237063
Log:
Make a copy of the original request URI so that we can find it properly.
Modified:
team/group/CCSS/channels/chan_sip.c
Modified: team/group/CCSS/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS/channels/chan_sip.c?view=diff&rev=237063&r1=237062&r2=237063
==============================================================================
--- team/group/CCSS/channels/chan_sip.c (original)
+++ team/group/CCSS/channels/chan_sip.c Wed Dec 30 17:14:55 2009
@@ -15346,7 +15346,7 @@
if (sip_cfg.pedanticsipchecking)
ast_uri_decode(tmp);
- uri = get_in_brackets(tmp);
+ uri = ast_strdupa(get_in_brackets(tmp));
if (!strncasecmp(uri, "sip:", 4)) {
uri += 4;
@@ -15444,7 +15444,7 @@
if (!oreq)
ast_string_field_set(p, exten, decoded_uri);
return 0;
- } else if ((agent = find_sip_cc_agent_by_notify_uri(decoded_uri))) {
+ } else if ((agent = find_sip_cc_agent_by_notify_uri(tmp))) {
struct sip_cc_agent_pvt *agent_pvt = agent->private_data;
/* This is a CC recall. We can set p's extension to the exten from
* the original INVITE
More information about the asterisk-commits
mailing list