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 <[email protected]> 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
> [email protected]
> 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:[email protected] <msn%[email protected]>
GTALK/JABBER/PAYPAL:[email protected]<paypal%[email protected]>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:[email protected] <sip%[email protected]>
iax:[email protected]/888
googletalk:[email protected]<googletalk%3aconf%[email protected]>
pstn:213-799-1400
_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to