[Freeswitch-users] Removing userpart of contact
David Villasmil Govea
david.villasmil at gmail.com
Sun Jun 11 16:08:10 UTC 2017
hello, here's the dialplan:
<action application="export"
data="sip-force-contact=$${local_ip_v4}:$${external_sip_port}"/>
<action application="bridge"
data="sip_h_aleg-callid=${variable_sip_call_id},sip
nolocal:rtp_secure_media=true,nolocal:sdp_secure_savp_only=true,absolute_codec_string=^^:OPUS:PCMA:PCMU}sofia/external/${destination_number}@9.8.7.6:5060;transport=tcp"
/>
I've tried several ways, but it seems everytime I set the contact to be
"sip:1.2.3.4:5060", fs adds a "mod_sofia" as the user part...
Thanks for any help
David
ᐧ
2017-06-11 6:21 GMT-04:00 Srigo Kana <ksrigo at gmail.com>:
> Hi,
>
> Cld u post ur dialplan where you are doing your bridge?
>
> Srigo
>
> Sent from my iPhone
>
> On 11 Jun 2017, at 03:39, David Villasmil <david.villasmil.work at gmail.com>
> wrote:
>
> Any thoughts on this, guys?
> On Fri, Jun 9, 2017 at 6:49 PM David Villasmil Govea <
> david.villasmil at gmail.com> wrote:
>
>> Hello,
>>
>> thanks for your help, but i had already tried that, and it doesn't do
>> what i need, the contact still is like "mod_sofia at 1.2.3.4"
>>
>> I was looking at the source, and it seems to me, if the contact begins
>> with "@" which i assume is added somewhere i couldn't find, then fs adds
>> the "mod_sofia"...
>>
>> Any thoughts?
>>
>> Regards,
>>
>> David
>>
>>
>> On Fri, Jun 9, 2017 at 6:31 AM Marcel Haldemann <
>> marcel.haldemann at convercom.ch> wrote:
>>
>>> U should be able to change it via:
>>>
>>>
>>>
>>> sip_contact_uri
>>>
>>>
>>>
>>> <action application="export" data="
>>> sip_contact_uri=1.2.3.4:5060" />
>>>
>>>
>>>
>>> Not sure wheter u need to add sip: or not.
>>>
>>>
>>>
>>> *From:* FreeSWITCH-users [mailto:freeswitch-users-
>>> bounces at lists.freeswitch.org] *On Behalf Of *David Villasmil
>>> *Sent:* Friday, June 9, 2017 7:48 AM
>>> *To:* FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
>>> *Subject:* [Freeswitch-users] Removing userpart of contact
>>>
>>>
>>>
>>> Hello guys,
>>>
>>>
>>>
>>> I ran into a situation where I need the contact to be like:
>>>
>>> <sip:1.2.3.4:5060>
>>>
>>>
>>>
>>> Meaning I need to remove the username, i've trying doing this but FS
>>> adds the user as "mod_sofia"... is it possible to do this?
>>>
>>>
>>>
>>>
>>>
>>> Thanks and Regards,
>>>
>>>
>>>
>>> David Villasmil
>>>
>>> email: david.villasmil.work at gmail.com
>>>
>>> phone: +34669448337
>>>
>>> ᐧ
>>> ____________________________________________________________
>>> _____________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://confluence.freeswitch.org
>>> http://www.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
>>> http://www.freeswitch.org
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.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
>> http://www.freeswitch.org
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.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
> http://www.freeswitch.org
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.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
> http://www.freeswitch.org
>
--
DVG
--
Imagination is more important than knowledge
Albert Einstein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170611/a2e5e144/attachment-0001.html>
More information about the FreeSWITCH-users
mailing list