Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Setting Contact Header in Register


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
lists at telefaks.de
Guest





PostPosted: Tue Jun 29, 2021 11:28 am    Post subject: [Freeswitch-users] Setting Contact Header in Register Reply with quote

Hello,


for a german SIP provider, I need to send the contact header in the
Register request the following way:

Contact: <sip:012345678@xx.yy.zz.aa:5080>

with 012345678 as the registered SIP trunk number

Today we send:

Contact: <sip:gw+dtst@xx.yy.zz.aa:5080;transport=udp;gw=dtst>

which is not accepted by them. The reason is: They filter SIP packets by
their phone numbers in the contact header for security reasons.

So my question is: Is there a way to set the desired behaviour in the
Register request:

Contact: <sip:012345678@xx.yy.zz.aa:5080>


--
With kind regards
Peter Steinbach

Telefaks Services GmbH
mailto:lists (att) telefaks.de
Internet: www.telefaks.de



_________________________________________________________________________

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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
Back to top
brian at freeswitch.com
Guest





PostPosted: Tue Jun 29, 2021 11:45 am    Post subject: [Freeswitch-users] Setting Contact Header in Register Reply with quote

set extension-in-contact in the gateway to prevent that.

On Tue, Jun 29, 2021 at 11:14 AM Peter Steinbach <lists@telefaks.de (lists@telefaks.de)> wrote:

Quote:
Hello,


for a german SIP provider, I need to send the contact header in the
Register request the following way:

Contact: <sip:012345678@xx.yy.zz.aa:5080>

with 012345678 as the registered SIP trunk number

Today we send:

Contact: <sip:gw+dtst@xx.yy.zz.aa:5080;transport=udp;gw=dtst>

which is not accepted by them. The reason is: They filter SIP packets by
their phone numbers in the contact header for security reasons.

So my question is: Is there a way to set the desired behaviour in the
Register request:

Contact: <sip:012345678@xx.yy.zz.aa:5080>


--
With kind regards
Peter Steinbach

Telefaks Services GmbH
mailto:lists ([email]lists[/email]) (att) telefaks.de
Internet: www.telefaks.de



_________________________________________________________________________

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@freeswitch.com (sales@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@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com



--



Brian West | Co-founder and Developer
Need Commercial support? email sales@freeswitch.com (sales@freeswitch.com)
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
Email: brian@freeswitch.com (brian@freeswitch.com)
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com
[/url] [url=https://twitter.com/freeswitch]
Back to top
lists at telefaks.de
Guest





PostPosted: Tue Jul 06, 2021 3:42 pm    Post subject: [Freeswitch-users] Setting Contact Header in Register Reply with quote

Thanks,


this worked very well


/Peter
Am 29.06.21 um 18:24 schrieb Brian West:

Quote:
set extension-in-contact in the gateway to prevent that.

On Tue, Jun 29, 2021 at 11:14 AM Peter Steinbach <lists@telefaks.de (lists@telefaks.de)> wrote:

Quote:
Hello,


for a german SIP provider, I need to send the contact header in the
Register request the following way:

Contact: <sip:012345678@xx.yy.zz.aa:5080> ([email]sip:012345678@xx.yy.zz.aa:5080[/email])

with 012345678 as the registered SIP trunk number

Today we send:

Contact: <sip:gw+dtst@xx.yy.zz.aa:5080;transport=udp;gw=dtst> ([email]sip:gw+dtst@xx.yy.zz.aa:5080;transport=udp;gw=dtst[/email])

which is not accepted by them. The reason is: They filter SIP packets by
their phone numbers in the contact header for security reasons.

So my question is: Is there a way to set the desired behaviour in the
Register request:

Contact: <sip:012345678@xx.yy.zz.aa:5080> ([email]sip:012345678@xx.yy.zz.aa:5080[/email])


--
With kind regards
Peter Steinbach

Telefaks Services GmbH
mailto:lists ([email]lists[/email]) (att) telefaks.de
Internet: www.telefaks.de



_________________________________________________________________________

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@freeswitch.com (sales@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@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com



--



Brian West | Co-founder and Developer
Need Commercial support? email sales@freeswitch.com (sales@freeswitch.com)
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
Email: brian@freeswitch.com (brian@freeswitch.com)
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com
[/url] [url=https://twitter.com/freeswitch]














Quote:
_________________________________________________________________________

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@freeswitch.com (sales@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@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
--
With kind regards
Peter Steinbach

Telefaks Services GmbH
mailto:lists ([email]lists[/email]) (att) telefaks.de
Internet: www.telefaks.de

Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services