[rt-users] rt & asterisk

Emmanuel Lacour elacour at easter-eggs.com
Wed Nov 5 04:19:14 EST 2014


On Tue, Nov 04, 2014 at 11:11:53AM -0800, Shahab Sharifzadeh wrote:
>    Thanks...
>    I want to create a ticket with attachment...(callervoice.gsm)
>    But according to my search in web I can not use from Rest because when I
>    create ticket, the attach file was not sent with them...


You need to first create the ticket by rest and retrieve the user Id, then add
a correspondance or comment by rest including your gsm file as attachments. See
sample python code used here attached to this email.



-- 
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: peephonert.py
Type: text/x-python
Size: 2667 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20141105/76887d70/attachment.py>


More information about the rt-users mailing list