[Freeswitch-users] Removing RPID header from 183/200 answer

Loi Dang loidang at hoiio.com
Tue Sep 10 09:37:38 UTC 2019


Hi, you should give those a try.
https://freeswitch.org/confluence/display/FREESWITCH/sip_cid_type
https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+privacy

rgds,
Loi Dang

On Tue, Sep 10, 2019 at 4:27 PM Igor Olhovskiy <igorolhovskiy at gmail.com>
wrote:

> Hi!
>
> I have a strange issue. Phone dials to Freeswitch with this INVITE
>
> INVITE sip:012345678 at mypbx.net;user=phone SIP/2.0
> ...
> Accept: application/sdp
> Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK,
> MESSAGE, INFO, UPDATE
> Allow-Events: talk, hold, refer, call-info
> Supported: timer, 100rel, replaces, from-change
> ....
>
> But than 200 OK from FS comes with Remote-Party-ID header
>
> SIP/2.0 200 OK
> ....
> User-Agent: FreeSWITCH
> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER,
> REFER, NOTIFY, PUBLISH, SUBSCRIBE
> Supported: path, replaces
> ...
> Remote-Party-ID: "012345678" <
> sip:12345678 at mypbx.net>;party=calling;privacy=off;screen=no
> <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>
> 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})$)
>
> My question is - how to suppress adding RPID header in FS answers?
>
> FS: 1.8.7
>
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190910/0088cb84/attachment.html>


More information about the FreeSWITCH-users mailing list