<div dir="ltr"><br><br><div class="gmail_quote">On Thu, Jul 29, 2010 at 1:38 AM, Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br><br><div class="gmail_quote"><div class="im">On Wed, Jul 28, 2010 at 8:09 AM, ovvenkat <span dir="ltr"><<a href="mailto:ovvenkatesan@gmail.com" target="_blank">ovvenkatesan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr">Hi. <br><br>I am doing outbound call using below lua script <br><br><br><pre style="font-family: arial,helvetica,sans-serif;"><font style="background-color: rgb(255, 204, 153);" size="2">obSession = freeswitch.Session("sofia/</font><font style="background-color: rgb(255, 204, 153);" size="2">gateway/voipms/14165555555");<br>
<br><br><br>if obSession:ready() then<br>obSession:execute("sched_</font><font style="background-color: rgb(255, 204, 153);" size="2">hangup","+60 alloted_timeout");<br>freeswitch.bridge(session,</font><font style="background-color: rgb(255, 204, 153);" size="2">obSession);<br>
<br>else<br><br> local obCause = obSession:hangupCause()<br><br> freeswitch.consoleLog("info", "obSession:hangupCause() = " .. obCause )<br><br> if ( obCause == "USER_BUSY" ) then <br>
<br> elseif ( obCause == "NO_ANSWER" ) then<br> -- Call them back in an hour<br> elseif ( obCause == "ORIGINATOR_CANCEL" ) then <br><br> -- May need to check for network congestion or problems<br>
else<br> -- Log these issues<br> end<br>end</font></pre><br>After call established (phone is ringing not answered) , immediately its get getting disconnected after that. <br>Since, I could not able to use patebin ( Its asking user name and password again and again , no success )<br>
</div></blockquote></div><div>Haha, you fail! The username and password are displayed in the dialog. :)<br>Also, I like the name of your variable ("obsession") :P<br><br>Where is this Lua script actually getting called from? I don't see any reference to it in the call trace you supplied.<br>
-MC<br></div></div><br>
<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></blockquote><div><br> </div></div><br>Hi Mic,<br><br>Sorry for my mistake. Created fresh logs and here is the link of the pastebin. <br>
<br><a href="http://pastebin.freeswitch.org/13547" target="_blank">http://pastebin.freeswitch.org/13547</a> <br><br>Regards,<br>
Venkat. <br clear="all"><br><br>Any one plz help me to solve my problem plz :) <br><br><br>Regards,<br>Venkat. <br>
</div>