5
tmux
8y

!rant

Hello all, I'm not too experienced with open sourcing code, so here is my first attempt with a small script that initiates a phone call using php.

If someone has the time, please let me know what you think, any important things I'm missing or any advice you might have.

Thank you devRanters!

https://gist.github.com/anpel/...

Comments
  • 1
    You should consider adding a license. Without a license very few people will be able to use your code.
  • 1
    @brukernavn32 indeed, I added that. Thank you!
  • 0
    Why are you doing two calls to usleep? I don't know what it would be off the top of my head but surely there must be a better way...
  • 0
    @Zaphod65 It seems without delay half the times the server hasn't sent the full response so the execution fails.

    That might be due to my company's super old pbx server though.

    Any ideas on how to work around that without usleep?
Add Comment