<div dir="rtl"><div dir="ltr">hi dan,</div><div dir="ltr">thanks.</div><div dir="ltr"><br></div><div dir="ltr">about questions 2,3 :<br></div><div dir="ltr"><br></div><div dir="ltr">my question is how and where creating  and sending the massages soap?</div><div dir="ltr">i ask because i know that all changes in cpe has been done by send of http post massage that include soap format, it's correct?</div><div dir="ltr"><br></div><div dir="ltr">about question 4, exaclly like you said,</div><div dir="ltr"><span style="font-size:12.8px">how i push a new firmware/config file to a CPE? </span></div><div dir="ltr"><span style="font-size:12.8px">the file is the xml file that i download from cpe config and than i will save it in my server?</span><br></div><div dir="ltr"><span style="font-size:12.8px"><br></span></div><div dir="ltr"><span style="font-size:12.8px">thanks dan!!</span></div><div> </div></div><div class="gmail_extra"><br><div class="gmail_quote"><div dir="ltr">2017-05-04 13:52 GMT+03:00 Dan Morphis <span dir="ltr"><<a href="mailto:dan@milkcarton.com" target="_blank">dan@milkcarton.com</a>></span>:</div><blockquote class="gmail_quote" style="margin:0 .8ex;border-left:1px #ccc solid;border-right:1px #ccc solid;padding-left:1ex;padding-right:1ex"><div dir="auto"><div>See below </div><span class=""><div>On May 4, 2017, at 12:52 AM, רמי בן דוד <<a href="mailto:rabeda123@gmail.com" target="_blank">rabeda123@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="rtl"><div dir="ltr">Hi zaid,</div><div dir="ltr"><br></div><div dir="ltr">Thanks about your code, it's very usefull.</div><div dir="ltr"><br></div><div dir="ltr">I am new in Ruby and tr069, so i want to ask you some questions.</div><div dir="ltr"><br></div><div dir="ltr">My main problam is to understand how the soap massage are send.</div><div dir="ltr"><br></div><div dir="ltr">So it's in 4 part:</div><div dir="ltr"><br></div><div dir="ltr">1) Can i use in mysql/oracle database and not in mongodb?</div></div></div></blockquote><div><br></div></span>No<div><span class=""><br><blockquote type="cite"><div><div dir="rtl"><div dir="ltr">2) In where files i can to see the soap massages that build and send?</div></div></div></blockquote><blockquote type="cite"><div><div dir="rtl"><div dir="ltr">3) You use in "<span style="color:rgb(0,0,0);font-family:"courier new";font-size:12pt">create_api_conn()</span>" to open http post/response, so i ask, this action it's build method in Ruby or your, and where i can see that.</div></div></div></blockquote><div><br></div></span>I'm not sure what you're asking. </div><div><span class=""><br><blockquote type="cite"><div><div dir="rtl"><div dir="ltr">4) After you open connect to server, you use ( foe example )  in "<span style="font-family:"courier new";font-size:12pt;color:rgb(0,60,90);font-style:italic">res </span><span style="color:rgb(0,0,0);font-family:"courier new";font-size:12pt">= </span><span style="font-family:"courier new";font-size:12pt;color:rgb(0,60,90);font-style:italic">http</span><span style="color:rgb(0,0,0);font-family:"courier new";font-size:12pt">.</span><span style="color:rgb(0,0,0);font-family:"courier new";font-size:12pt;font-style:italic">get</span><span style="color:rgb(0,0,0);font-family:"courier new";font-size:12pt">(</span><span style="font-family:"courier new";font-size:12pt;color:rgb(0,128,0);font-weight:bold">"/files/?</span><span style="color:rgb(0,0,0);font-family:"courier new";font-size:12pt;background-color:rgb(235,235,235)">#{</span><span style="font-family:"courier new";font-size:12pt;color:rgb(0,60,90);font-style:italic">q</span><span style="color:rgb(0,0,0);font-family:"courier new";font-size:12pt">.to_query</span><span style="color:rgb(0,0,0);font-family:"courier new";font-size:12pt;background-color:rgb(235,235,235)"><wbr>}</span><span style="font-family:"courier new";font-size:12pt;color:rgb(0,128,0);font-weight:bold">"</span><span style="color:rgb(0,0,0);font-family:"courier new";font-size:12pt">)</span>" - so than you return "<span style="font-family:"courier new";font-size:12pt;color:rgb(102,14,122);font-weight:bold;font-style:italic">ActiveSupport</span><span style="color:rgb(0,0,0);font-family:"courier new";font-size:12pt">::</span><span style="font-family:"courier new";font-size:12pt;color:rgb(102,14,122);font-weight:bold;font-style:italic">JSON</span><span style="color:rgb(0,0,0);font-family:"courier new";font-size:12pt">.decode(</span><span style="font-family:"courier new";font-size:12pt;color:rgb(0,60,90);font-style:italic">re<wbr>s</span><span style="color:rgb(0,0,0);font-family:"courier new";font-size:12pt">.body)</span>" , my q is how from this code the data save and sent to cpe?</div></div></div></blockquote><div><br></div></span>This code is for the GUI. Are you asking how you push a new firmware/config file to a CPE?</div></div><br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.genieacs.com">Users@lists.genieacs.com</a><br>
<a href="http://lists.genieacs.com/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.genieacs.com/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>