<p dir="ltr">My experiance say that Call-ID change is required to prevent message loops.<br>
Looks like need to use other header or field to correlate messages.</p>
<br><div class="gmail_quote"><div dir="ltr">вт, 14 нояб. 2017 г., 13:44 Marko Djuric <<a href="mailto:Marko.Djuric@amphinicy.com">Marko.Djuric@amphinicy.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
We're using mod_sms for SIP SIMPLE messaging with delivery notifications<br>
(message/imdn+xml).<br>
The Call-ID is changed in the chatplan, and this causes issues with matching<br>
the delivery notifications to the original message.<br>
<br>
Changing the Call-ID itself is not an issue, but I'm wondering if it is<br>
possible to read the original Call-ID and/or manually set the Call-ID in the<br>
chatplan.<br>
<br>
The message:getHeader("sip_call_id") does not contain the Call-ID. My<br>
understanding is that this is due to skip_global_process=false variable set<br>
by mod_sms.<br>
Setting the sip_call_id variable also does not produce a desired effect, as<br>
it is added as another header instead of setting the Call-ID one.<br>
<br>
The question is - how to match the messages before and after the chatplan?<br>
<br>
Any help is appreciated.<br>
<br>
Thank you!<br>
Marko<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a></blockquote></div>