<p>Not at the moment.  If everyone is going to start doing this we may have to change something.  </p>
<div class="gmail_quote">On Jul 31, 2012 12:41 AM, &quot;SamyGo&quot; &lt;<a href="mailto:govoiper@gmail.com">govoiper@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Though the problem is solved but is there any corresponding WARN or anything in the logs so that anyone can pick the problem right away. <div>This fixing of codecs took alot of time and I was never expecting that this could be the cause Thinking that its Bridge() which is not doing its part.</div>

<div><br></div><div>Thanks a lot for your time on this.<br><div><br></div><div>Regards,</div><div>Sammy</div><div><br><br><div class="gmail_quote">On Mon, Jul 30, 2012 at 6:22 PM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This script is actually a bit over-complicated<br>
<br>
 dialA = &quot;sofia/gateway/fs1/9903&quot;<br>
 dialB = &quot;user/1001&quot;<br>
 legA = freeswitch.Session(dialA)<br>
<br>
if (legA:ready()) {<br>
 legA:execute(&quot;bridge&quot;, dialB)<br>
}<br>
<br>
I think the problem is that we don&#39;t support dealing with many codecs<br>
in the 200ok<br>
They send gsm and ulaw and then choose ulaw and we go with the first one gsm<br>
<div><div><br>
<br>
<br>
On Sat, Jul 28, 2012 at 11:23 AM, SamyGo &lt;<a href="mailto:govoiper@gmail.com" target="_blank">govoiper@gmail.com</a>&gt; wrote:<br>
&gt; Hi again,<br>
&gt;<br>
&gt; So, It was a very minor change in configuration and it was working.<br>
&gt; Basically FreeSwicth was bridging the two legs BUT there was a codec issue.<br>
&gt; All I had to do was in Asterisk (serving as my gateway) to allow only ulaw<br>
&gt; and alaw<br>
&gt; i.e<br>
&gt;<br>
&gt; disallow=all<br>
&gt; allow=ulaw<br>
&gt; allow=alaw<br>
&gt;<br>
&gt; What I really really wish to know is that why there was no indication of<br>
&gt; codec mismatch or ptime mismatch or sample rate mismatch while transcoding<br>
&gt; or anything.<br>
&gt;<br>
&gt; It will be fine if  none replies but it will be great to know the real<br>
&gt; reason behind this and from where in logs can I verify this !!<br>
&gt;<br>
&gt; Thanks<br>
&gt; Sammy<br>
&gt;<br>
&gt;<br>
&gt; On Sat, Jul 28, 2012 at 8:18 PM, SamyGo &lt;<a href="mailto:govoiper@gmail.com" target="_blank">govoiper@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Here are the FS console logs:<br>
&gt;&gt; <a href="http://pastebin.freeswitch.org/19595" target="_blank">http://pastebin.freeswitch.org/19595</a><br>
&gt;&gt;<br>
&gt;&gt; Please suggest what am I missing here.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Sat, Jul 28, 2012 at 7:59 PM, SamyGo &lt;<a href="mailto:govoiper@gmail.com" target="_blank">govoiper@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Hello,<br>
&gt;&gt;&gt; I wanted to make a lua script which just dials out two different numbers<br>
&gt;&gt;&gt; via some external gateway and when both calls are answered they are just<br>
&gt;&gt;&gt; bridged. For this a very impressive Lua example<br>
&gt;&gt;&gt; <a href="http://wiki.freeswitch.org/wiki/Mod_lua#Example:_Call_Control" target="_blank">http://wiki.freeswitch.org/wiki/Mod_lua#Example:_Call_Control</a> is copied and<br>
&gt;&gt;&gt; all I had to do was change the dialA and dialB strings and its working great<br>
&gt;&gt;&gt; as far as the SIP signalling is concerned.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; execute this string and I get calls on two different number but things<br>
&gt;&gt;&gt; get interesting when Freeswitch bridge() the two legs. No AUDIO..not even<br>
&gt;&gt;&gt; one-way. I could see on my own gateway  that RTPs for both the legs are<br>
&gt;&gt;&gt; actually forwarded to Freeswitch !<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On my sip pcap traces analyzing on wireshark I could actually hear the<br>
&gt;&gt;&gt; two persons saying Hello but neither could hear anything.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; The above example lua call_control script is used as it is.<br>
&gt;&gt;&gt; Please suggest.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Regards<br>
&gt;&gt;&gt; Sammy Go.<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; Join Us At ClueCon - Aug 7-9, 2012<br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
<br>
<br>
<br>
--<br>
Anthony Minessale II<br>
<br>
FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
<br>
AIM: anthm<br>
<a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
<br>
FreeSWITCH Developer Conference<br>
<a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:<a href="tel:%2B19193869900" value="+19193869900" target="_blank">+19193869900</a><br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
Join Us At ClueCon - Aug 7-9, 2012<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
Join Us At ClueCon - Aug 7-9, 2012<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div>