<div dir="ltr">Hi, you should give those a try.<div><a href="https://freeswitch.org/confluence/display/FREESWITCH/sip_cid_type">https://freeswitch.org/confluence/display/FREESWITCH/sip_cid_type</a><br></div><div><a href="https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+privacy">https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+privacy</a><br></div><div><br></div><div>rgds,<br>Loi Dang</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 10, 2019 at 4:27 PM Igor Olhovskiy <<a href="mailto:igorolhovskiy@gmail.com">igorolhovskiy@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Hi!</div><br><div>I have a strange issue. Phone dials to Freeswitch with this INVITE</div><br><div>INVITE <a href="mailto:sip%3A012345678@mypbx.net" target="_blank">sip:012345678@mypbx.net</a>;user=phone SIP/2.0</div><div>...</div><div>Accept: application/sdp</div><div>Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK, MESSAGE, INFO, UPDATE</div><div>Allow-Events: talk, hold, refer, call-info</div><div>Supported: timer, 100rel, replaces, from-change</div><div>....</div><br><div>But than 200 OK from FS comes with Remote-Party-ID header</div><br><div>SIP/2.0 200 OK</div><div>....</div><div>User-Agent: FreeSWITCH</div><div>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE</div><div>Supported: path, replaces</div><div>...</div><div>Remote-Party-ID: "012345678" <<a href="https://link.getmailspring.com/link/171DA887-7BD6-4B11-A4A5-491E6BB82DFF@getmailspring.com/0?redirect=sip%3A12345678%40mypbx.net%3E%3Bparty%3Dcalling%3Bprivacy%3Doff%3Bscreen%3Dno&recipient=ZnJlZXN3aXRjaC11c2Vyc0BsaXN0cy5mcmVlc3dpdGNoLm9yZw%3D%3D" title="sip:12345678@mypbx.net>;party=calling;privacy=off;screen=no" target="_blank">sip:12345678@mypbx.net>;party=calling;privacy=off;screen=no</a><br></div><div>Main problem - in this header 0 is stripped from number and phone updates called number to without leading 0 and saves in a call list incorrect. (One of ideas why 0 is stripped - regular expression for this destination number is ^0([1-9]\d{4,30})$)</div><br><div>My question is - how to suppress adding RPID header in FS answers?</div><br><div><span>FS:</span> 1.8.7</div><br>_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://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="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div>