Need help automating sip uri for "Wakeup calls"

(1/3) > >>

QBZappy:
Typing "sip:" + "phone number" in the browser brings up my jitsi soft phone and makes an out going call. The following sip uri will do it for me: sip:5145551234@192.16.240.3:5060 (PBX). A voip service provider would work as well.

I am certain some bright light out there knows how to automate this into the task scheduler in order to create a wakeup call service. A bat file or a vbs script, cURL maybe?

infin8loop:

I found https://gist.github.com/802764

It's in perl and I'm not really a perl coder and the comments look to be French which is Greek to me. 

An online French translator at http://translation.babylon.com/french/to-english/ translates comment:

probablement mieux à faire pour le cacher d'un ps 
to
Probably better to do for the hide of a ps

Gee, thanks.  Now I have something else to waste time on.

LOL



pc44:
Quote from: QBZappy on April 04, 2012, 03:42:40 pm

Typing "sip:" + "phone number" in the browser brings up my jitsi soft phone and makes an out going call. The following sip uri will do it for me: sip:5145551234@192.16.240.3:5060 (PBX). A voip service provider would work as well.

I am certain some bright light out there knows how to automate this into the task scheduler in order to create a wakeup call service. A bat file or a vbs script, cURL maybe?


Hi QBZappy,

Try this out and let me know what you think.

Open notepad, paste following contents:
     start http://sip:5145551234@192.16.240.3:5060 (or whatever number you are using)

Then, go to File, Save As.  Here save the file as follows:  "test.bat"  The quotation mark eliminates the default .txt extension on Notepad files and should provide you with a true batch file extension.

Now, go to wherever you saved this file and double-click it.  It should launch your default browser.  If this works, then all you need to do is place the batch file in your Task Scheduler as desired.

Let me know if you are successful :o
pc44

pc44:
Edit:   If that doesn't work (I don't really know how the jitsi program interprets the web browser urls), then two other things come to mind.

1) Open desired sip address in browser, and then drag the address from the address bar to your desktop to make a shortcut.
-or-
2) Drag Internet Explorer (or Firefox or Chrome) icon from the Start Menu to your Desktop.  This should a nice, easily-accessible shortcut to your web browser.  Now, right-clicking on that, going to properties should give you the target.  Mine is "C:\Program Files (x86)\Internet Explorer\iexplore.exe"  I would just paste your sip:address link at the end of this.  Click Ok.  And test.

Do you think it'll work?

infin8loop:
After posting the link to the perl script I realized I probably misread the request.   The suggestions from pc44 are probably close to what you requested.

However, will launching jitsi simply place a call (ie: ring the phone) and when answered no one will be on the line (assuming the script is running unmanned)?  Also, I'm not sure, but I think maybe orphan open browser windows might be left open for each run.  These might not be issues, but are something to think about. 

The perl script looks like it will actually send an audio file over RTP as part of the call.  This makes my head spin with possibilities if it actually works.  Imagine a "Wake up" audio recording,  "Grandma take your medicine", etc.  I'm a bit "developmentally challenged" at the moment for time (and brain power) for non-work related activities, so I'm just tossing out ideas.




     

Navigation

[0] Message Index

[#] Next page