iLBC to PCMU transcoding broken on windows?
I built freeswitch from the latest git on my windows machine, and it looks like transcoding from iLBC to PCMU is broken, and I hear only squeal on the line. I have only PCMU on my external profile and iLBC on my internal profiles, so no codec mismatch is possible, and all my codec settings are compatible with the devices that I'm using. I inspected the traffic flow with wireshark, and there is nothing incorrect there, SIP messages and SDP is ok, and traffic looks like my device <-> iLBC <-> freeswitch <-> PCMU <-> voip.ms. I've searched around and it looks like my issue is identical to the discussion here: http://lists.freeswitch.org/pipermail/freeswitch-users/2010-October/063891.h.... If I run PCMU on both ends, there are no problems and if I call into freeswitch voicemail on iLBC, there are no problems either.
I asked on that thread for someone to open a Jira at that time but nobody did. Please open a Jira about this problem so it doesnt get lost. I quickly checked the problem and I see the same thing as you. Not sure what is wrong yet. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/iLBC-to-PCMU-transcoding-broke... Sent from the freeswitch-users mailing list archive at Nabble.com.
can you try latest GIT? I HATE iLBC they do the codec negotiation special to the point that no matter how well we abstract codec negotiation we still need if (codec == iLBC) in the code grrr. On Thu, Feb 3, 2011 at 4:06 PM, Jeff Lenk <jeff@jefflenk.com> wrote:
I asked on that thread for someone to open a Jira at that time but nobody did. Please open a Jira about this problem so it doesnt get lost. I quickly checked the problem and I see the same thing as you. Not sure what is wrong yet. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/iLBC-to-PCMU-transcoding-broke... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
Nope, no dice - it still squeals. On Thu, Feb 3, 2011 at 5:39 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
can you try latest GIT? I HATE iLBC they do the codec negotiation special to the point that no matter how well we abstract codec negotiation we still need if (codec == iLBC) in the code grrr.
On Thu, Feb 3, 2011 at 4:06 PM, Jeff Lenk <jeff@jefflenk.com> wrote:
I asked on that thread for someone to open a Jira at that time but nobody did. Please open a Jira about this problem so it doesnt get lost. I
quickly
checked the problem and I see the same thing as you. Not sure what is wrong yet. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/iLBC-to-PCMU-transcoding-broke... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I don't see the same thing. can you enable the sip trace sofia global siptrace on console loglevel 7 and post the exchange to http://pastebin.freeswitch.org On Thu, Feb 3, 2011 at 6:19 PM, Marcin Wojtowicz <marcin321@gmail.com> wrote:
Nope, no dice - it still squeals.
On Thu, Feb 3, 2011 at 5:39 PM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
can you try latest GIT? I HATE iLBC they do the codec negotiation special to the point that no matter how well we abstract codec negotiation we still need if (codec == iLBC) in the code grrr.
On Thu, Feb 3, 2011 at 4:06 PM, Jeff Lenk <jeff@jefflenk.com> wrote:
I asked on that thread for someone to open a Jira at that time but nobody did. Please open a Jira about this problem so it doesnt get lost. I quickly checked the problem and I see the same thing as you. Not sure what is wrong yet. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/iLBC-to-PCMU-transcoding-broke... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
It's up. On Thu, Feb 3, 2011 at 7:26 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
I don't see the same thing.
can you enable the sip trace
sofia global siptrace on console loglevel 7
and post the exchange to http://pastebin.freeswitch.org
On Thu, Feb 3, 2011 at 6:19 PM, Marcin Wojtowicz <marcin321@gmail.com> wrote:
Nope, no dice - it still squeals.
On Thu, Feb 3, 2011 at 5:39 PM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
can you try latest GIT? I HATE iLBC they do the codec negotiation special to the point that no matter how well we abstract codec negotiation we still need if (codec == iLBC) in the code grrr.
On Thu, Feb 3, 2011 at 4:06 PM, Jeff Lenk <jeff@jefflenk.com> wrote:
I asked on that thread for someone to open a Jira at that time but nobody did. Please open a Jira about this problem so it doesnt get lost. I quickly checked the problem and I see the same thing as you. Not sure what is wrong yet. -- View this message in context:
http://freeswitch-users.2379917.n2.nabble.com/iLBC-to-PCMU-transcoding-broke...
Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I was the guy that was asked to make a jira but since I haven't find a time to try again on a real windows(I have windows in VM on Mac the sound input doesn't work) so I haven't report. Do you mix iLBC with 30ms and PCMU 20ms ? Are you happen to use portaudio? one thing I wanted to try is to change portaudio to use 30ms or iLBC to 20ms so they match, but as I said I never had a chance to try. It would be better to report a jira with as much info you found. btw I give up iLBC@30i and move to SILK, since most of our provider only do 20ms and I think a transcode of 20ms and 30 ms results to 60ms delay.... 7. On Fri, Feb 4, 2011 at 8:41 AM, Marcin Wojtowicz <marcin321@gmail.com> wrote:
It's up.
On Thu, Feb 3, 2011 at 7:26 PM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
I don't see the same thing.
can you enable the sip trace
sofia global siptrace on console loglevel 7
and post the exchange to http://pastebin.freeswitch.org
On Thu, Feb 3, 2011 at 6:19 PM, Marcin Wojtowicz <marcin321@gmail.com> wrote:
Nope, no dice - it still squeals.
On Thu, Feb 3, 2011 at 5:39 PM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
can you try latest GIT? I HATE iLBC they do the codec negotiation special to the point that no matter how well we abstract codec negotiation we still need if (codec == iLBC) in the code grrr.
On Thu, Feb 3, 2011 at 4:06 PM, Jeff Lenk <jeff@jefflenk.com> wrote:
I asked on that thread for someone to open a Jira at that time but nobody did. Please open a Jira about this problem so it doesnt get lost. I quickly checked the problem and I see the same thing as you. Not sure what is wrong yet. -- View this message in context:
http://freeswitch-users.2379917.n2.nabble.com/iLBC-to-PCMU-transcoding-broke... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- About: http://about.me/dujinfang Blog: http://www.dujinfang.com Proj: http://www.freeswitch.org.cn
Please try git head Commit:2d190b37abe00999a2e76861b8c88f0053e0b78f * fix iLBC under windows -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/iLBC-to-PCMU-transcoding-broke... Sent from the freeswitch-users mailing list archive at Nabble.com.
On 02/04/2011 01:48 PM, Jeff Lenk wrote:
Please try git head
Commit:2d190b37abe00999a2e76861b8c88f0053e0b78f
* fix iLBC under windows Interesting change. The original code is what most things use for rint(). It is what spandsp uses as well. If there is a problem with the code in ilbc, there are probably a number of things which need sorting out.
Steve
Hi Steve, Yes I see that spandsp has a similar definition but as far as I can see it is not used(unless my search failed) which is why we have no problems. fastconvert.c 282 __inline double rint(double dbl) { _asm { fld dbl frndint } } near as I can tell this code will not work because the result is never popped from the FPU thats of course what the fstp does. Please let me know your thoughts here. Thanks Jeff -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/iLBC-to-PCMU-transcoding-broke... Sent from the freeswitch-users mailing list archive at Nabble.com.
It works, however I might have a different problem now. When I'm calling out from my device to a regular phone, I see that iLBC is the only codec offered to voip.ms, but I have my external profile set up to offer only PCMU on that leg. The end result is that I have only silence when I'm calling out, but it works when I'm calling in. On Fri, Feb 4, 2011 at 12:48 AM, Jeff Lenk <jeff@jefflenk.com> wrote:
Please try git head
Commit:2d190b37abe00999a2e76861b8c88f0053e0b78f
* fix iLBC under windows -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/iLBC-to-PCMU-transcoding-broke... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
At this point I know the codec is working in windows(encode and decode) so you have a different problem now. You can repost your siptraces, debug log and configuration to pastebin (provide a link) and someone might see the problem. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/iLBC-to-PCMU-transcoding-broke... Sent from the freeswitch-users mailing list archive at Nabble.com.
participants (5)
-
Anthony Minessale
-
Jeff Lenk
-
Marcin Wojtowicz
-
Seven Du
-
Steve Underwood