[Asterisk-Users] Click-to-Talk with Asterisk? => TACI

Michiel van Baak michiel at vanbaak.info
Mon Mar 28 15:02:42 MST 2005


On 11:51, Mon 28 Mar 05, Nitesh Divecha wrote:
> Any idea where I could find this "Asterisk Asterisk" parameter.

Modify the tool so besides the "Originate" command it sends
a line like this:
CallerID: num_you_are_dialing

I made a php script and had the same thing with the snom and
cisco phones. I added the CallerID in my script and that
solved it.

The php part of the manager command I use:
$this->_write($fp, "Action: Originate");
$this->_write($fp, "Channel: ".$this->user_device);
$this->_write($fp, "Context: ".$this->context);
$this->_write($fp, "CallerID: ".$this->whotocall);
$this->_write($fp, "Timeout: 30000");
$this->_write($fp, "Exten: ".$this->whotocall);
$this->_write($fp, "Priority: 1");
$this->_write($fp, "");
$this->_write($fp, "Action: Logoff");

Hope this helps.

-- 
Michiel van Baak
http://lunteren.vanbaak.info
michiel at vanbaak.info
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7E0B9A2D

"Two of the most famous products of Berkeley are LSD and BSD. I don't think that this is a coincidence."




More information about the asterisk-users mailing list