[Freeswitch-users] variable_sip_outgoing_contact_uri question

Brian West brian at freeswitch.org
Thu Jul 7 00:47:27 MSD 2016


Reviewing the code, no way it would seem, maybe you should us TLS?

On Wed, Jul 6, 2016 at 3:45 PM, Brian West <brian at freeswitch.org> wrote:

> I think your concerns are misplaced.  You can keep your messages smaller
> via other methods.  Are you needing this on INVITE or REGISTER?
>
> On Wed, Jul 6, 2016 at 3:23 PM, Anonim Stefan <fanx07 at gmail.com> wrote:
>
>> Hi,
>>
>> The reasons I want to play with the Contact header parts are:
>>
>> 1. I want to give as less info as I can in my SIP headers.
>> 2. I want to keep my SIP message as small as I can
>>
>> I was wondering if there are ways to manipulate(i.e. trim) Contact header
>> parts.
>>
>> Thanks,
>> Stefan
>>
>> On Wed, Jul 6, 2016 at 5:56 PM, Brian West <brian at freeswitch.org> wrote:
>>
>>> What is your reasoning behind this request?  What exactly are you trying
>>> to accomplish or talk to?
>>>
>>> On Wed, Jul 6, 2016 at 7:07 AM, Anonim Stefan <fanx07 at gmail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> In my scenario, that variable looks like this:
>>>> variable_sip_outgoing_contact_uri: [<sip:gw+mygw1 at 10.1.1.1:5060
>>>> ;transport=udp;gw=mygw1>]
>>>>
>>>> Is it possible, to make it look like this? :
>>>> variable_sip_outgoing_contact_uri: [<sip:10.1.1.1:5060>]
>>>>
>>>> So far, the things I've found for the gateway configuration are:
>>>>            <param name="extension-in-contact" value="true"/>
>>>>            <param name="extension" value="contact_username_part"/>
>>>> ...which only replaces the username part, and:
>>>>            <param name="contact-params" value="new_contact_parameter"/>
>>>> ... which only adds to the contact parameters.
>>>>
>>>> I tried "" and "_undef_" combinations without success.
>>>>
>>>> Can you give me some clues about how to trim those contact header
>>>> parts, if possible?
>>>>
>>>> Thanks,
>>>> Stefan
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> 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
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> *Brian West*
>>> brian at freeswitch.org
>>>
>>>
>>> *Twitter: @FreeSWITCH , @briankwest*
>>> http://www.freeswitchbook.com
>>> http://www.freeswitchcookbook.com
>>> https://www.gofundme.com/freeswitch_ubuntu
>>>
>>> Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
>>> /r/freeswitch <https://www.reddit.com/r/freeswitch>
>>>
>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
>>>
>>> _________________________________________________________________________
>>> 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
>>
>
>
>
> --
>
> *Brian West*
> brian at freeswitch.org
>
>
> *Twitter: @FreeSWITCH , @briankwest*
> http://www.freeswitchbook.com
> http://www.freeswitchcookbook.com
> https://www.gofundme.com/freeswitch_ubuntu
>
> Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
> /r/freeswitch <https://www.reddit.com/r/freeswitch>
>
> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
>



-- 

*Brian West*
brian at freeswitch.org


*Twitter: @FreeSWITCH , @briankwest*
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
https://www.gofundme.com/freeswitch_ubuntu

Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
/r/freeswitch <https://www.reddit.com/r/freeswitch>

*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160706/276657e1/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list