[rt-users] rt & asterisk

Emmanuel Lacour elacour at easter-eggs.com
Wed Nov 5 08:23:18 EST 2014


On Wed, Nov 05, 2014 at 05:20:52AM -0800, Shahab Sharifzadeh wrote:
> Thanks you...
> 
> i tried according to my search in web wrote the following code by php:
> 
> <?php
> 
> $attachment_1 = file_get_contents('/opt/app/test/1.jpg'); 
> $content = "id: 12\n"; 
> $content = $content . "Action: comment\n"; 
> $content = $content . "Text: Im adding some text\n And adding some more 
> text\n And some more\n"; 
> $content = $content . "TimeWorked: 30\n"; 
> $content = $content . "Attachment: 1.jpg\n"; 

$content = $content . "Attachment: 1\n";

I guess.


-- 
Easter-eggs                              Spécialiste GNU/Linux
44-46 rue de l'Ouest  -  75014 Paris  -  France -  Métro Gaité
Phone: +33 (0) 1 43 35 00 37    -   Fax: +33 (0) 1 43 35 00 76
mailto:elacour at easter-eggs.com  -   http://www.easter-eggs.com


More information about the rt-users mailing list