[Freeswitch-users] Method getVariable cause error on FS 1.0.2 in javascript

Anthony Minessale anthony.minessale at gmail.com
Wed Jan 28 05:54:12 PST 2009


You *never* could get vars from channels that did not successfully
originate.
 Unless originate was a success there is nothing to get variables from.

What you probably did was get the variable from the existing session when a
failure occurs because pdd time from a failed
call is copied across to the A leg.

So try session.getVariable not newsession.getVariable


On Wed, Jan 28, 2009 at 5:54 AM, Brian West <brian at freeswitch.org> wrote:

> You really shouldn't be using the originate method.  You're doing more
> by hand then you should.  Care to post a little more detail about how
> you're using this?
>
> /b
>
> On Jan 21, 2009, at 1:10 AM, shehzad p wrote:
>
> > newsession.originate(session, dialstr);
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at 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/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090128/3cf8c2b8/attachment-0002.html 


More information about the FreeSWITCH-users mailing list