[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-users] Sending DTMF from a script
From: |
brian_p |
Subject: |
Re: [Linphone-users] Sending DTMF from a script |
Date: |
Fri, 12 Nov 2010 14:14:03 +0000 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Fri 12 Nov 2010 at 09:59:57 +0800, K.Kong wrote:
> I installed FreePBX+asterisk to achieve this. It's no simple task, but I
> managed to get it running with the help of a friend who has dabbled in this
> before. The documentation is hard to find as most of the stuff is in
> people's heads. And the lack of a critical mass on this subject can
> sometimes leave you scared.
Thank you for your reply. I eventually realised I had the solution to
hand all the time. That was after a night's sleep!
I was originally using linphonecsh but switched to using the --pipe
option with linphonec. This creates a unix socket (not a pipe) in /tmp
which can be accessed through another program. Sending 'echo 2', 'echo 9'
etc via this this program gets to linphonec.
Brief details if they help anyone:
empty -f -i in.fifo -o out.fifo nc -U /tmp/linphonec-1000
Linux, of course. empty is in Debian's empty-expect package and nc is
netcat, the openbsd version.
Cheers,
Brian.