Re: [Freeswitch-users] Setting outbound callerid using js

2009-02-13 Thread Anthony Minessale
1) session.originate is depricated. 2) the first arg to session.originate is *another* session (not the same one) *or* undefined. session.originate(undefined, dial string); session.originate(a_leg_session, dial string); session.originate(session, dial string) is asking the session to

Re: [Freeswitch-users] Setting outbound callerid using js

2009-02-13 Thread Nik Middleton
To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Setting outbound callerid using js 1) session.originate is depricated. 2) the first arg to session.originate is *another* session (not the same one) *or* undefined. session.originate(undefined, dial string

Re: [Freeswitch-users] Setting outbound callerid using js

2009-02-13 Thread Alexandru Nedelcu
Of Anthony Minessale Sent: 13 February 2009 14:06 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Setting outbound callerid using js 1) session.originate is depricated. 2) the first arg to session.originate is *another* session (not the same one

Re: [Freeswitch-users] Setting outbound callerid using js

2009-02-13 Thread Anthony Minessale
-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Setting outbound callerid using js 1) session.originate is depricated. 2) the first arg to session.originate is *another* session (not the same one) *or* undefined. session.originate(undefined, dial string

Re: [Freeswitch-users] Setting outbound callerid using js

2009-02-13 Thread Michael Collins
This is perhaps the 4th time i have seen someone do this, can you point out where this is incorrectly documented? FYI, I've updated this html file for the orig author and sent it to him for review. -MC ___ Freeswitch-users mailing list

[Freeswitch-users] Setting outbound callerid using js

2009-02-11 Thread Nik Middleton
Hi Guys I'm trying to set the outbound caller-id in js. The params seem to be acceptable, except I'm getting the default +0 caller-ID sent. Should the below work with js? session.originate(session,'{accountcode=54321,ignore_early_media=true,or

Re: [Freeswitch-users] Setting outbound callerid using js

2009-02-11 Thread Michael Collins
session.originate(session,'{accountcode=54321,ignore_early_media=true,origination_caller_id_number=0763060,originate_timeout=25}sofia/gateway/mygw/01XXX'); (this works using lua BTW) h... how about using effective_caller_id_number instead? I think the JavaScript paradigm is a