Adam Goryachev wrote:
Also, you can use something like (untested code): exten => 200,2,System(/bin/echo -e 'Incoming Call From: ${CALLERID}'\n Received: ${DATETIME}\n > /tmp/asterisk/${UNIQUEID} exten => 200,3,System(/usr/bin/smbclient -M target_netbios_name < /tmp/asterisk/${UNIQUEID})
why dump to a file?
exten => 200,2,System(/bin/echo -e 'Incoming Call From: ${CALLERID}\n Received: ${DATETIME}'|/usr/bin/smbclient -M target_netbios_name)
--
Best regards, Duane
http://www.cacert.org - Free Security Certificates http://www.nodedb.com - Think globally, network locally http://www.sydneywireless.com - Telecommunications Freedom http://happysnapper.com.au - Sell your photos over the net! http://e164.org - Using Enum.164 to interconnect asterisk servers
"I do not try to dance better than anyone else. I only try to dance better than myself." _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users