1) proxy_media mode does not work with anything but sip right now.<br>2) for t38 we do have a struct and we parse it and insert it into the channel (look for it in mod_sofia code)<br>3) if you set late negotiation in sofia you get a var called ep_codec_string which is the codecs from the sdp normalized into the codec_string elements that we pass (it's still not what you want but easier to parse)<br>
4) if you are wiling to enhance the code yourself and it meets our standards you are welcome to work on it but if you are just asking us to do it we are not in a big hurry right now.<br>5) use more polite description besides ugly when talking about somone else's work you are using for yourself even if you don't agree with it. The only protocol we use in this mode is sip so far which only needs sdp so the ugly way worked quite well.<br>
<br><br><br><br><br><br><div class="gmail_quote">2009/10/31 Georgiewskiy Yuriy <span dir="ltr"><<a href="mailto:bottleman@icf.org.ru">bottleman@icf.org.ru</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 2009-10-31 13:26 -0400, Michael Jerris wrote freeswitch-dev@lists.freesw...:<br>
<br>
MJ><br>
MJ>On Oct 31, 2009, at 1:11 PM, Georgiewskiy Yuriy wrote:<br>
MJ><br>
MJ>> On 2009-10-31 10:54 -0400, Michael Jerris wrote freeswitch-dev@lists.freesw<br>
MJ>> ...:<br>
MJ>><br>
MJ>> why not make some API for this?<br>
MJ>><br>
MJ><br>
MJ>There is an api, it is switch_channel_set_variable. We have not<br>
MJ>needed any api to convert to/from sdp yet and those would be specific<br>
MJ>to the endpoint that uses rtp but does not use sdp and should be<br>
MJ>specific to those modules.<br>
<br>
in my opinion, API is a programing interface but not one variable<br>
in some format and one procedure to set it. i think there need some<br>
kind of strukture and/or API to negotiate codecs between call legs,<br>
it solve my problem and problem with t38 in transcoding mode too.<br>
but it needed some changes in sofia too. construct sdp in endpoint<br>
module for this is ugly workaround i think.<br>
<div><div></div><div class="h5"><br>
C ีืมึลฮษลอ With Best Regards<br>
็ลฯาวษลืำหษส เาษส. Georgiewskiy Yuriy<br>
+7 4872 711666 +7 4872 711666<br>
ฦมหำ +7 4872 711143 fax +7 4872 711143<br>
๋ฯอะมฮษั ๏๏๏ "แส ๔ษ ๓ลาืษำ" IT Service Ltd<br>
<a href="http://nkoort.ru" target="_blank">http://nkoort.ru</a> <a href="http://nkoort.ru" target="_blank">http://nkoort.ru</a><br>
JID: <a href="mailto:GHhost@jabber.tula-ix.net.ru">GHhost@jabber.tula-ix.net.ru</a> JID: <a href="mailto:GHhost@jabber.tula-ix.net.ru">GHhost@jabber.tula-ix.net.ru</a><br>
YG129-RIPE YG129-RIPE</div></div><br>_______________________________________________<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>