our $IPPHONE = "<a href="http://172.16.0.152">172.16.0.152</a>";<br>our $USER = '9375522343';<br>our $PASSWORD = 'joshisthebestpersonintheworld';<br>our $display_colors="yellow,red";<br>
our $showgreen=1;<br>our $BBDISPLAY="<a href="http://bbserver.imaginenetworksllc.com">bbserver.imaginenetworksllc.com</a>";<br>our $BB="/home/shire/server/bin/bb";<br>our $CGI_HOST="74.218.x.x";<br>
our $CGI_URL="http://$CGI_HOST/perl/hobbit.cgi";<br>our $refresh_timer=0;<br>our $alert_sound="ring6.raw";<br>our $play_alert=1;<br><br>Does this configuration look right?  I execute it at the prompt as the cron job would and I don't get anything on my phone =(<br>
<br><br><div class="gmail_quote">On Wed, Mar 26, 2008 at 5:35 PM, Asif Iqbal <<a href="mailto:vadud3@gmail.com">vadud3@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Wed, Mar 26, 2008 at 6:27 AM, Detlef Stracke<br>
<<a href="mailto:Detlef.Stracke@mobilcom.de">Detlef.Stracke@mobilcom.de</a>> wrote:<br>
>  Hi Charles,<br>
><br>
>  if I execute "execute_push", then I get this Error:<br>
><br>
>  <CiscoIPPhoneError Number="6" /><br>
<br>
</div>I am getting the exact same error too<br>
<div><div></div><div class="Wj3C7c"><br>
><br>
><br>
><br>
>  Authorization seems to be ok.<br>
><br>
><br>
><br>
><br>
>  -----Ursprüngliche Nachricht-----<br>
>  Von: Charles Jones [mailto:<a href="mailto:jonescr@cisco.com">jonescr@cisco.com</a>]<br>
>  Gesendet: Freitag, 21. März 2008 22:29<br>
>  An: <a href="mailto:hobbit@hswn.dk">hobbit@hswn.dk</a><br>
>  Betreff: Re: [hobbit] Hobbit to IPPhone Beta<br>
><br>
><br>
><br>
>  Charles Jones wrote:<br>
>  > I've posted a beta of Hobbit2IPPhone here:<br>
>  > <a href="http://www.the-ownage.com/?p=620" target="_blank">http://www.the-ownage.com/?p=620</a><br>
>  ><br>
>  > This is a stable beta, I'm currently using it daily. There is still<br>
>  > lots of work I need to do to make a real portable release, and a<br>
>  > "services" version as well.<br>
>  ><br>
>  > Enjoy!<br>
>  ><br>
>  > -Charles<br>
>  I just realized that I forgot to mention in the "docs" at the top of the<br>
>  program that for this to work properly, you should run it out of cron<br>
>  every minute, ie:<br>
><br>
>  $ crontab -l<br>
>  * * * * * /var/www/perl/hobbit.cgi<br>
><br>
>  You can run it from command-line manually for testing purposes.<br>
>  Explanation of why it is run this way...You cannot just "push" XML to an<br>
>  IPPhone to create menus and such. However, you can push a bit of XML<br>
>  that instructs the phone to fetch a remote CGI, and that remote CGI can<br>
>  have the XML for menus and such. In other words, the phone will only act<br>
>  on code that IT fetches itself. The only thing you can push to it in one<br>
>  action is the command to execute a remote CGI.<br>
><br>
>  So, when hobbit.cgi is run from command-line (or cron), it does the<br>
>  initial authentication to the IPPhone, and tells it to execute a remote<br>
>  CGI, which happens to be the same hobbit.cgi program, except it passes<br>
>  along some parameters that tell it to do the Hobbit stuff.<br>
><br>
>  I know that is kind of confusing...its basically a cgi and command-line<br>
>  program all in one.  If run from the command-line, it tells the phone to<br>
>  fetch it via http along with parameters that make it act like a web CGI<br>
>  instead.<br>
><br>
>  Anyhow running it out of cron every minute is the best way to keep it<br>
>  running. I am experimenting with using meta-refresh instead, but so far<br>
>  I don't like that, because if you exit the hobbit menu, it stops<br>
>  refreshing and you have to kick it off again manually.<br>
><br>
>  Ahh..the fun of beta software :)<br>
><br>
>  To unsubscribe from the hobbit list, send an e-mail to<br>
>  <a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br>
><br>
><br>
><br>
>  To unsubscribe from the hobbit list, send an e-mail to<br>
>  <a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br>
><br>
><br>
><br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
Asif Iqbal<br>
PGP Key: 0xE62693C5 KeyServer: <a href="http://pgp.mit.edu" target="_blank">pgp.mit.edu</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Josh Luthman<br>Office: 937-552-2340<br>Direct: 937-552-2343<br>1100 Wayne St<br>Suite 1337<br>Troy, OH 45373<br><br>Those who don't understand UNIX are condemned to reinvent it, poorly.<br>
--- Henry Spencer