The first way is deprecated and will be removed. The 2nd way is the correct way. On Fri, Feb 13, 2009 at 5:48 AM, Alexandru Nedelcu <alex@sinapticode.ro>wrote:
On Fri, 2009-02-13 at 13:33 +0200, Alexandru Nedelcu wrote:
The problem with this setup is that origination_caller_id_number doesn't work from inside the JS file (when calling session.originate).
I just discovered something interesting.
When originating the call like this ... session = new Session("<connection_string>") instead of this ... session = new Session(); session.originate("<connection_string>")
... then it works. Is this some kind of bug, or what's the difference here?
Thanks,
-- Alexandru Nedelcu Software Developer, Sinapticode
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400