Hi, I'm a newbie trying to configure freeswitch. Our needs are simple: for starters we need to call external phones from freeswitch and play a wav file. Now, we have the voice provider's IP (no user/password authentication), and we have the codec used (called "ulaw" in Asterisk, which I think is called PCMU?). And this is basically all that we specify in Asterisk. I compiled Freeswitch with the default settings, and I was wondering if you guys can give me some hits, point me in the right direction. Thanks, -- Alexandru Nedelcu http://alexn.org
Alexandru Nedelcu wrote:
Hi,
I'm a newbie trying to configure freeswitch.
Our needs are simple: for starters we need to call external phones from freeswitch and play a wav file.
Now, we have the voice provider's IP (no user/password authentication), and we have the codec used (called "ulaw" in Asterisk, which I think is called PCMU?). And this is basically all that we specify in Asterisk.
i think i answered all of this for you on irc yesterday.... use the bridge dialplan app to dial by ip similar to the following: <action application="bridge" data="sofia/${use_profile}/number@ip.address"/> http://wiki.freeswitch.org/wiki/Sofia#Syntax might also help you out a little
On Thu, 2008-12-11 at 09:55 -0500, Raymond Chandler wrote:
i think i answered all of this for you on irc yesterday....
Yes you did, thanks for your help. I'm a total newbie, but the good news is that I'm almost finished with my setup. FS is great :)
use the bridge dialplan app to dial by ip similar to the following: <action application="bridge" data="sofia/${use_profile}/number@ip.address"/>
I'm using "originate" initially. And I think I did something stupid. Is there anything wrong with the following code ... var new_session = new Session(); new_session.originate(session, URL); bridge(session, new_session);
http://wiki.freeswitch.org/wiki/Sofia#Syntax might also help you out a little
It worked great. Thanks.
participants (2)
-
Alexandru Nedelcu
-
Raymond Chandler