Chris wrote:
extensions.conf:
[default] exten => 5599,1,Set(TIMEOUT(response)=300) exten => 5599,2,Set(TIMEOUT(digit)=300) exten => 5599,3,Answer() exten => 5599,4,Read(digit,beep,1) exten => 5599,5,System(/path/to/osc.py 127.0.0.1 10000 ${digit}) ; HOST, PORT, VALUE exten => 5599,6,Goto(4) exten => 5599,7,Hangup
The digit is sent to the /sip message.
In Pd you would use something like: [dumpOSC 10000] | [OSCroute /sip] | [print]
Cool, thanks for sharing!
As I mentioned in another response to this thread, I'm going to try to make an interface like this that is native to Asterisk. Then, I'd like to extend it further so that audio (and video) processing of the call could be in done in Pd, as well.
If you have any ideas about what you'd like to see, please let me know.
-- Russell Bryant