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
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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org