<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/4.4.4">
</HEAD>
<BODY>
Can you try:<BR>
<BR>
{absolute_codec_string=PCMA,PCMU,GSM} ===> without ' <BR>
<BR>
<BR>
<BR>
On Fri, 2014-06-06 at 11:36 +0300, Ričardas Stoma wrote: <BR>
<BLOCKQUOTE TYPE=CITE>
I have created the following extension:<BR>
<BR>
<BR>
<extension name="my_test"><BR>
<condition><BR>
<action application="bridge" data="{absolute_codec_string='PCMA,PCMU,GSM'}sofia/external/<A HREF="mailto:1001@192.168.1.78">1001@192.168.1.78</A>"/><BR>
<action application="hangup"/><BR>
</condition><BR>
</extension><BR>
<BR>
<BR>
then i call to this extension, freeswitch dials to <A HREF="mailto:1001@192.168.1.78">1001@192.168.1.78</A> and when i check the content of SDP, included in a SIP packet, i see something like this:<BR>
<BR>
<BR>
v=0<BR>
o=FreeSWITCH 1401972565 1401972566 IN IP4 192.168.1.65<BR>
s=FreeSWITCH<BR>
c=IN IP4 192.168.1.65<BR>
t=0 0<BR>
m=audio 17262 RTP/AVP 8 0 101 13<BR>
a=rtpmap:101 telephone-event/8000<BR>
a=fmtp:101 0-16<BR>
a=ptime:20<BR>
<BR>
<BR>
why my codecs from 'absolute_codec_string' are not included in SDP? I would expect to see these lines included:<BR>
<BR>
a=rtpmap:8 PCMA/8000<BR>
a=rtpmap:0 PCMU/8000<BR>
a=rtpmap:3 GSM/8000
<PRE>
_________________________________________________________________________
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>
<BR>
</BODY>
</HTML>