<html>
<body>
        
                
        
                <div style="height:1px;">
                </div>I have updated: FreeSWITCH Version 1.0.head (git-fbe4e64 2012-02-22 23-08-19 -0600)<br />
                <br /> After that, in vars.xml:<br /> <X-PRE-PROCESS cmd="set" data="sdp_secure_savp_only=true"/><br /> in sip_profiles/internal.xml:<br /> <param name="sdp_secure_savp_only" value="true"/><br /> in dialplan/public.xml:<br /> <action application="bridge" data="{sdp_secure_savp_only=true}sofia/internal/${dialed_extension}%${domain_name}"/><br /> or<br /> <action application="export" data="nolocal:sdp_secure_savp_only=true"/><br /> or<br /> <action application="set" data="nolocal:sdp_secure_savp_only=true"/><br />
                <br /> Debug output return:<br /> EXECUTE sofia/external/123456789@Y.Y.Y.Y bridge({sdp_secure_savp_only=true}sofia/internal/987654321%X.X.X.X)<br /> 2012-02-23 19:47:39.499280 [DEBUG] switch_event.c:1522 Parsing variable [sdp_secure_savp_only]=[true]<br />
                <br /> and two m= lines.<br />    v=0<br />    o=FreeSWITCH 1329990231 1329990232 IN IP4 X.X.X.X<br />    s=FreeSWITCH<br />    c=IN IP4 X.X.X.X<br />    t=0 0<br />    m=audio 29028 RTP/SAVP 0 8 101<br />    a=rtpmap:101 telephone-event/8000<br />    a=fmtp:101 0-16<br />    a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:u6q91ZUqwrEMnd8/w3YsLijAMYfvCoPc/63vJL5o<br />    a=silenceSupp:off - - - -<br />    a=ptime:20<br />    m=audio 29028 RTP/AVP 0 8 101<br />    a=rtpmap:101 telephone-event/8000<br />    a=fmtp:101 0-16<br />    a=silenceSupp:off - - - -<br />    a=ptime:20<br />
                <br />
                <br />
                <br />
                <div> --- Исходное сообщение ---<br /> От кого: "Anthony Minessale" <anthony.minessale@gmail.com><br /> Кому: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org><br /> Дата: 23 февраля 2012, 04:41:46<br /> Тема: Re: [Freeswitch-users] How to disable two 'm=' lines<br /> </div>
                <br />
                <br />
                <br />
                <blockquote class="ukr_editor_quotation" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;"><pre>
i missed the bit that it was related to srtp
this is a joke that they don't accept both its part of the specs.
anyway, Update to HEAD and try this new variable (i had to resist
calling it cmon_asterisk_really=true)
sdp_secure_savp_only=true
2012/2/22 Mihail <<a href="mailto:pazuzu@ukr.net">pazuzu@ukr.net</a>>:
> Thank you for replay.
> I tried to set up in ../conf/vars.xml
>
>
>
>
> <X-PRE-PROCESS cmd="set" data="sdp_m_per_ptime=false"/>
>
> After reloadxml and shutdown.
> It did not help. An issue still exist.
>
> --- Исходное сообщение ---
> От кого: "Anthony Minessale" <<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>>
> Кому: "FreeSWITCH Users Help" <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>>
> Дата: 21 февраля 2012, 18:29:21
> Тема: Re: [Freeswitch-users] How to disable two 'm=' lines
>
>
>
> set the global var sdp_m_per_ptime=false in vars.xml
>
>
> 2012/2/21 Mihail <<a href="mailto:pazuzu@ukr.net">pazuzu@ukr.net</a>>:
>>
>> Hello.
>>
>> I try to connect Asterisk as a client to Freeswitch using TLS and SRTP.
>> Outbound direction (from Asterisk) - TLS/SRTP works fine.
>> There is an SRTP issue with inbound calls.
>> FS in SDP offer sends two 'm=' lines:
>>
>> m=audio 23036 RTP/SAVP 0 8 101 13
>> a=rtpmap:101 telephone-event/8000
>> a=fmtp:101 0-16
>> a=crypto:1 AES_CM_128_HMAC_SHA1_32
>> inline:bdDpQbqc5iaGvVhCilOd5nXOKHLfGGm8J3mjsLIa
>> a=ptime:20
>> m=audio 23036 RTP/AVP 0 8 101 13
>> a=rtpmap:101 telephone-event/8000
>> a=fmtp:101 0-16
>> a=ptime:20
>>
>> Receiving that Asterisk reply:
>> WARNING[9480]: chan_sip.c:8847 process_sdp: Multiple audio streams are
>> not
>> supported
>>
>> How to solve it from Freeswitch side? I need to offer only RTP/SAVP.
>> Also, looking ahead, is it possible to add and modify a=crypto: line, I
>> need
>> to send SHA1_80 in offer or both?
>>
>> Asterisk 1.8.9.2
>> FreeSWITCH Version 1.0.head (git-e6bfa11 2012-02-09 16-47-32 -0600)
>>
>> SRTP enabled in dialplan/public.xml <action application="export"
>> data="nolocal:sip_secure_media=true"/>
>>
>> Please, advise.
>> Thanks!
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
>> <a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
>>
>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>> <a href="http://www.cudatel.com">http://www.cudatel.com</a>
>>
>> Official FreeSWITCH Sites
>> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a>
>> <a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
>> <a href="http://www.cluecon.com">http://www.cluecon.com</a>
>>
>> FreeSWITCH-users mailing list
>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
>> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a>
>>
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a>
> ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a>
> Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a>
>
> AIM: anthm
> MSN:<a href="mailto:anthony_minessale@hotmail.com">anthony_minessale@hotmail.com</a>
> GTALK/JABBER/PAYPAL:<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:<a href="mailto:888@conference.freeswitch.org">888@conference.freeswitch.org</a>
> googletalk:<a href="mailto:conf+888@conference.freeswitch.org">conf+888@conference.freeswitch.org</a>
> pstn:+19193869900
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
> <a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
> <a href="http://www.cudatel.com">http://www.cudatel.com</a>
>
> Official FreeSWITCH Sites
> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a>
> <a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
> <a href="http://www.cluecon.com">http://www.cluecon.com</a>
>
> FreeSWITCH-users mailing list
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
> <a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
> <a href="http://www.cudatel.com">http://www.cudatel.com</a>
>
> Official FreeSWITCH Sites
> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a>
> <a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
> <a href="http://www.cluecon.com">http://www.cluecon.com</a>
>
> FreeSWITCH-users mailing list
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a>
>
--
Anthony Minessale II
FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a>
ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a>
AIM: anthm
MSN:<a href="mailto:anthony_minessale@hotmail.com">anthony_minessale@hotmail.com</a>
GTALK/JABBER/PAYPAL:<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:<a href="mailto:888@conference.freeswitch.org">888@conference.freeswitch.org</a>
googletalk:<a href="mailto:conf+888@conference.freeswitch.org">conf+888@conference.freeswitch.org</a>
pstn:+19193869900
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre> </blockquote>
</body>
</html>