4/10/2023 0 Comments Phone amego windows dThus all of my entries in my address book have a in them for country code. Something to do with how the script editor sets up the file headers.Ģ: on my Mac I call a lot of international numbers and it's synced with my phone that often has an international SIM in it when I travel. (this at least on Yosemite) When I used the script editor all was fine. If you use anything else it won't work and register. This worked so well I set it up on the wife's MacBookĮxcellent post, I just made this work (after a bit of effort) on Mac OS X Yosemite and Asterisk 11 on my Raspberry PiĪ couple of things for someone else trying to make this work:ġ: when you enter the script above use the Apple script editor. The sum total of all this is that you can open address book, click the gray field name of a phone number, then choose "Dial with Asterisk" which will send a http request to the php page on your PBX.which then dials the number you chose.and then calls your home phone when the dialed number is connecting. Chown will make asterisk own the file chmod will make the file read only by all users. Sudo nano -w asterisk-dial.php //edit the file with nanoĪfter copying the php file to your PBX, chown the file to asterisk:asterisk and then chmod to 444. Sudo chmod u w asterisk-dial.php //if it's not already, make the file writable If you need to edit this file just do this: Users//Library/Address Book Plug-Ins/Asterisk Dial.scpt ~/Library/Address Book Plug-Ins/Asterisk Dial.scptįYI: The ~ tilde means your home/user folder the absolute path would be: Once you're done editing the files, save them locally and then copy them to the locations listed below. I like to keep a log of the calls I've made this way.įwrite($fp,strftime("%Y-%m-%d %H:%M:%S"). You'll need to enter the password you entered in the applescript above see the line "$GETREQUEST_KEY." Īlso be sure to set the extension number you want to ring at the line "ASTERISK_EXTEN." I set this to the extension of my main "normal" phone connected via the SPA2102 Here's the code from the asterisk-dial.php file Set theTextEnc to theTextEnc
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |