englercj / node-esl

FreeSWITCH ESL implementation for Node.js; implements the full Event Socket Library specified in: http://wiki.freeswitch.org/wiki/Esl
http://englercj.github.com/node-esl/
MIT License
170 stars 111 forks source link

How do I properly use the originate function #39

Closed andrewvmail closed 9 years ago

andrewvmail commented 9 years ago

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

andrewvmail commented 9 years ago

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!

englercj commented 9 years ago

No problem!