englercj / node-esl

FreeSWITCH ESL implementation for Node.js; implements the full Event Socket Library specified in: http://wiki.freeswitch.org/wiki/Esl

Home Page:http://englercj.github.com/node-esl/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do I properly use the originate function

andrewvmail opened this issue · comments

In the CLI I can run something like this originate sofia/external/17788888888@flowroute.com 5000 .
I cant seem to get the originate function parameter right.
I suppose it should be like so

conn.originate('profilename', 'gateway', 'number')
Would profile name be the 'sofia/external/number@flowroute.com'? gateway name is flowroute? and number is 5000?

Thanks in advance

oh my bad everything works as expected nevermind i just forgot to add 5000 to the command string after flowroute.com. closing comment.

Thanks for a great module!

No problem!