I've been working on an asterisk-java application and so far I've been able to figure out how to call from one phone to another phone and also one phone to another computer. Now I want it so that I can use my phone to dial a number and if a preceding number is some special character, that number will be dialed through the skype server and call that number using Skype. Of course I will pay for all fees that apply and such.
For example:
If I dial a number such as #1234567888, the # will mean I would want to do a skype out call so the dial string 1234567888 will be called using skype's server.
Is this possible? Any hints or tips would be much appreciated!
Thank you for any help in advance!!
I use "Skype for Asterisk" by Digium (commercial).
When I want to call some skype user I use his/her id with Skype/ prefix, so you can replace # into this prefix and dial such id.
On Asterisk wiki there is list of Asterisk gateways including free/opensource: Skype Gateways, but I haven't tried it.
Skype for Asterisk will no longer be available after July 26th
I've tried a lot, and finally had luck with freeswitch + skypopen (ex skypiax)
http://wiki.freeswitch.org/wiki/Mod_skypopen_Skype_Endpoint_and_Trunk#What_is_Skypopen
( not trivial to implement )
Related
I am trying to do something like the picture below of just eat app using android studio. I am yet to start building my app but I would like to know how to implement getting user postcode and showing it in the edittext field. Any help will do.
![img1] https://drive.google.com/file/d/186D7fjSvJOhEQdep_fU4dnkUGV-Yi8Ya/view?usp=drivesdk
If you are looking to allow users to identify their post code from their address you might find the Post Office Adress File (PAF) useful although this is a paid for service.
https://en.wikipedia.org/wiki/Postcode_Address_File
https://www.royalmail.com/business/services/marketing/data-optimisation/paf
Some developers may be able to get free sample data for developing their application
https://www.poweredbypaf.com/access-to-free-paf-sample-data/
If you want to allow users to graphically find their postcode e.g. by clicking on a map you would need a map which returns a National Grid Reference and then use Codepoint data (https://digimap.edina.ac.uk/webhelp/os/data_information/os_products/supporting/codepoint_guidance.htm) which is also (an expensive) paid for service to find the nearest postcode co-ordinate using some data structure e.g. quadtree. This will not work correctly in all cases as post code boundaries are not always convex.
Hope that helps
I have a web app, which connects user to asterisk box via SIP and allow user to call any mobile or landlines number, Now I want to make it automatic, in current scenario User have to manually click on a html button called Dial to dial a number,
Now what I want to achieve is "as soon as user logged in, Asterisk will automatically call 3 nos from the campaign list which is allocated to the user and gives the user call only when the client connected to it. That means caller will be given the call only when receiver receives it.
Any configuration or java code will help, even any algorithm will help also, i know my English is poor so, sorry for any mistakes, I hope people will understand what I am trying to achieve from the above para.
I higly recomend you use dialler code. becuase there are much more issues you never thought about.
http://www.vicidial.org
or other.
If you still think you are qualified enought to write your own code, you can read this page:
http://www.voip-info.org/wiki/view/Asterisk+auto-dial+out
I am currently developing an Android anti-theft application and I am new in Android development. My apps is able to remotely lock the lost phone, so during configuration, user needs to enter a valid phone number, but how I determine whether the phone number entered is valid? Thanks
-Option one : read(get) the phone number from the sim card (if available, not all operators enable this)
-Option two : If sim card changed(sim serial number) lock the phone and send sms to an other phone number (since the thief will throw away the sim card )
-Option three : use what WHatApp android application uses to identify a person (sending an sms to a specified phone number and detect the incoming sms)
Option 3 seems a bit complicated since you will need a sever side with an sms gateway.
Well here's what comes to my mind .Good luck.
If you connect a data base so, compare to the phone number with to enter a phone number in field. I hope help you. :)
I did a project for a client where a same scenario was raised. Here is what we came to conclusion.
Send an SMS to the Number input and ask the number to send an sms code in reply.
eg. CONFIRM
If the number is valid and known to the user he will call them up
and ask them to SMS back.
If the number is valid and in use the message will get deliverd.
The client agreed the above scenario. Unless you have a really big Database of working numbers (updated so often), it will be a bypass solution.
I believe it is impossible to verify whether a phone number exists unless you call it. You could create a procedure where the app would call the entered phone number, and timed its connection. If the connections last longer than X amount of seconds, it is a valid phone number.
I have a group that needs to send out announcements and current events via phone text message. I want to have a central phone number that when it receives a text message, it rebroadcasts that message to a growing list of subscribers. I'm hoping to use a Google Voice number to avoid buying an actual phone number.
Any ideas? I've thought about some type of Java/HTMLunit that continually parses the GVoice html inbox, but I just have that computer-gut feeling that there is a more intuitive way. I haven't been able to find a GVoice API, as I imagine that would be the trick.
Thanks
I've used a different approach. There's a number of E-mail to SMS services out there. So you send an e-mail (using standard JavaMail) to a specific address that is then associated with mobile phone numbers. I use TextMagic, but there are also other similar services out there. They also have API support, if thats what you'd prefer.
I want to call a number in below format using platformRequest:
platformRequest("tel:*123*33584744#");
But it gives me error Invalid number on the phone.
But if i call this number manually by typing on phone then it works fine. Even below works fine:
platformRequest("tel:33584744");
So i suspect problem lies when i put * or # chars in the number. As i said when i type these chars in the number manually and press the call button on the mobile it works fine but not with platformrequest.
What is wrong I am doing?
Any alternative to platformrequest method?
How to call a number in below format:
*123*33584744#
Details: CLDC 1.0, MIDP 2.0
Thanks
I found the solution myself:
I simply changed the text box type to:
mTextBox = new TextBox("Magic Dialler", "", 25, TextField.ANY);
// The below line does the trick !!
// 1: Adds Import From Contacts option
// 2: Adds Call button for calling just about any number with any special chars !
mTextBox.setConstraints(3);
http://sarfraznawaz.wordpress.com/2010/03/27/magic-dialler-my-first-j2me-application/
according to my and some others knowledge, you cannot use platformRequest to do network service requests (tel:*123*...). besides, there is no way to access the service reply from JavaME.
ax is right you can't give numbers starting with special characters in the
request.
But if i am understanding your problem, i have a workaround
you can use DTMF post dial code for this.
like:
("tel:123/p333584744#");
where /p for DTMF and first 3 where voice operator ask for number and after that number ends with #.for more information see