crashtestdummy
New Member
- Joined
- Jan 27, 2009
- Messages
- 16
- Reaction score
- 0
Hello there,
I am attempting to follow either http://www.mythdora.com/?q=node/5001 or http://www.voip-info.org/wiki/view/Asterisk+config+extensions.conf to pass caller id information to xyac running on another system.
Following http://www.voip-info.org/wiki/view/Asterisk+tips+MythTV+integration seems to imply that one way to accomplish my goal is to get PIAF to issue a system call when someone dials my one extension in my simple home PIAF environment. The example given is:
exten => s,1,System(/bin/echo -n -e "'@CALL${CALLERIDNAME} ~${CALLERIDNUM}'" | nc -w 1 192.168.1.200 10629)
My basic question is where to place this. I assume this would be a manual entry in extensions_custom.conf, but I am unsure of the context ([????]) where it should go. Any thoughts on this? Since the priority is 1, I assume this line has to be the first line in the context, right?
http://www.mythdora.com/?q=node/5001 has a more complex solution which did not work for me. Looking at the /var/log/asterisk/full log file, I could not see the issue, but I am new to asterisk.
I have xyac installed on my other system, and a test command such as “echo -n -e "test" | nc -w 1 192.168.1.200 10629” works, so I know that I do not have any firewall or target machine issues.
Thanks for your help or pointers.
Mike
I am attempting to follow either http://www.mythdora.com/?q=node/5001 or http://www.voip-info.org/wiki/view/Asterisk+config+extensions.conf to pass caller id information to xyac running on another system.
Following http://www.voip-info.org/wiki/view/Asterisk+tips+MythTV+integration seems to imply that one way to accomplish my goal is to get PIAF to issue a system call when someone dials my one extension in my simple home PIAF environment. The example given is:
exten => s,1,System(/bin/echo -n -e "'@CALL${CALLERIDNAME} ~${CALLERIDNUM}'" | nc -w 1 192.168.1.200 10629)
My basic question is where to place this. I assume this would be a manual entry in extensions_custom.conf, but I am unsure of the context ([????]) where it should go. Any thoughts on this? Since the priority is 1, I assume this line has to be the first line in the context, right?
http://www.mythdora.com/?q=node/5001 has a more complex solution which did not work for me. Looking at the /var/log/asterisk/full log file, I could not see the issue, but I am new to asterisk.
I have xyac installed on my other system, and a test command such as “echo -n -e "test" | nc -w 1 192.168.1.200 10629” works, so I know that I do not have any firewall or target machine issues.
Thanks for your help or pointers.
Mike