Forward incoming calls to SIP (local asterisk) - Networking

Hello everyone,
Is it possible, on an Android phone, to forward incoming calls (from the GSM network) to a local asterisk server (via SIP)?
I know that Android supports SIP as an extension, but that is not useful to me. Currently, the only way I've found, is to use a Bluetooth adaptor on the asterisk server. I'd prefer the SIP solution instead, if one existed.
Thank you!

Andr0ides said:
Hello everyone,
Is it possible, on an Android phone, to forward incoming calls (from the GSM network) to a local asterisk server (via SIP)?
I know that Android supports SIP as an extension, but that is not useful to me. Currently, the only way I've found, is to use a Bluetooth adaptor on the asterisk server. I'd prefer the SIP solution instead, if one existed.
Thank you!
Click to expand...
Click to collapse
I've got the same question.
"Y U dig up old thread?"
See above
So far, I've only found information, that you COULD compile Asterisk for Android. And that the RIL WOULD be difficult to handle.
Has anyone ever tried it? Did you manage to get it working or not?

No I couldn't find a way to do it. In theory, someone could create an app that redirects a call to the PBX, but nobody has done it, afaik.
What I've done instead, I've got a Grandstream VoIP phone with bluetooth support. So all my incoming mobile calls actually ring on the Grandstream. While the calls don't go through the PBX, at least I don't have to bother with the mobile phone anymore.

Related

Data Call between two XDA's

Hi
I am new to this form.
I had a look at the tsril.zip example as it seems from this forum that to make/receive a data call the ril is the only option. Unfortunately the documentation for ril is nonexistent and I want to ask if someone has done an example of a client/server data call, data transfer between to XDA's.
Thanks in advance.
Anton
It all depends on what type of data you want to transfer. I have never used RIL so I don't know the advantages of it, over the normal programming interface. I say normal, not thinking there is anything wrong with RIL but the little I do know is that RIL is operating system level and is normally hidden from the application programmer. There must be times when RIL must be used if Microsoft forgot functions in the normal APIs.
However I would say that for a data link between 2 devices then RAS seems the way forward. One device would be the Server and the other the Client. I have only ever programmed RAS from the client side, making a Telnet link to an already running server.
I just had a look at the help on Embedded Visual C++ 3.0 and under 'Creating a TCP Stream Socket Application' it explains the server side and then links to the client side. Have a read there.
RAS is not an option as it is a server consept, which I think does not even exist as a service on the desktop windows os let alone on a Pocket PC.
What I am looking for is something similar that you would be able to do with a landline modem or a gsm modem connected to a serial port of a pc (even a usb modem) which is to send AT commands to make/accept a call and then to make use of the serial port as if it is an io stream. This is possible on windows, linux using either c#, c++ or java. I can even do this with an embedded gsm module like the siemens TC45 java module.
What I can not understand is why Microsoft and the XDA suppliers (I am using a Qtex running Pocket PC 2002) is making it so difficult to make/answer a data call and let you run your own protocol over the connected stream.
RAS (Remote Access Services) is built into all Windows Operating Systems, including Windows CE. Did you look up the help example I pointed to ? What you do with RAS on an application level is for you to code but the connection itself is handled by the operating system.
As to making a connection similer to a modem and using AT commands. Then no you can't use AT commands directly, but you don't need to. To get that type of connection you need to use TAPI. Once Tapi has made a DATA_MODEM type connection, you use the TAPI callback connect event to then ask for a file handle that you can use with the normal WriteFile and ReadFile commands.
I already have something on this forum about that see:-
http://forum.xda-developers.com/viewtopic.php?p=7857&highlight=#7857
The problem is not so much making the data call but it is accepting/answering the data call that I can not get working on the XDA
Not sure if this is your problem, but in Australia they have a seperate "data" phone number for the same SIM. If yo call one number you get voice, if you call another number you get data on the same sim. Not sure if this may be effecting you.
I just looked into all this ras stuff a bit deeper, and yes I think I may of been talking rubbish. Although RAS does exist in PPC2002, it can't see any functions that allow the device to answer the line. I can see that PPC2003 has a Ras Server and RasIOControl that looks like the answer there.
Also looking into Tapi, I can't see how you answer a data call using that.
So I now understand your problem. It seems PPC is made as a client device.
Is GPRS the answer ? With that the link is always present and then you can use the built in Ras functions on seperate devices. Since you only pay for data actually sent then would it matter if the network link was always present ?
I have only worked out Tapi and Ras from the client side so I have never had this problem, but I agree it is an interesting one. I will have a bow out of this thread for a bit and see if anybody else knows how to Answer a Call.
Thanks for trying.
GPRS is also not the answer as you need a server in between that both XDA's can connect too and use as a router as the XDA's do not get fixed IP adresses but actually a NAT adres from the APN so you can not connect directly between the two.
Now that's an interesting thought, how about using some free web space to act as a pigion hole for your data ?
Believer: A seperate number? How do you know this, and what would the number be?
I can actually make two XDA connecting to each other using TCP. The trick is that I have one client always connect to a server to register it IP address with an ID. Then the caller send a query to the server to look up the callee's IP address.
In this way, accept() and connect() work fine.
I am using AT&T network and not sure about if other networks behave the same.
I wrote two application using TAPI. One is ModemDial and the other is ModemWatch, if I make a voice call the ModemDial dials the number successfully and ModemWatch reports that an incoming call exist. But when I change the behavior of call to DATAMODEM, the ModemWatch couldn't track any incoming call.
Is there any one, had some experience with pick a call for DataModem?
Best regards,
A. Riazi
riazi said:
I wrote two application using TAPI. One is ModemDial and the other is ModemWatch, if I make a voice call the ModemDial dials the number successfully and ModemWatch reports that an incoming call exist. But when I change the behavior of call to DATAMODEM, the ModemWatch couldn't track any incoming call.
Is there any one, had some experience with pick a call for DataModem?
Best regards,
A. Riazi
Click to expand...
Click to collapse
In your ModemWatch application make sure you are calling lineOpen with dwPrivileges (the 7th parameter, 1 based) equal to LINECALLPRIVILEGE_OWNER and dwMediaModes (the 8th parameter) equal to LINEMEDIAMODE_DATAMODEM.
If you're able to answer a voice call successfully, making these changes to the ModemWatch application should allow you to answer a data call.

SIP VoIP on TyTN

My first post in this outstanding forum
I've spent quite some time looking for programs able to run my SIP VoIP desktop client on Tynt. On WinXP I use X-Lite with VoIPDiscount and I know for sure it's possible to configure X-Lite with many other SIP based services like VoIP Stunt.
Is there a tested client for Tynt? All I've found was for PPC2003 and I got errors all over. Ideal'd be a client working with both UMTS and WiFi, but WiFi would suffice completely.
On the other hand, Skype works flowlessly
I use SJPhone:
http://www.sjphone.org/preview/ce/
You need to adjust settings to make it work correctly, also audio is a lot better with the USB headset, see this thread for right settings:
http://forum.xda-developers.com/viewtopic.php?t=59131
You can also use x-lite CE 1.01, find it here:
http://forum.xda-developers.com/viewtopic.php?t=58154
SJPhone all the way here too. It also works as a Vonage Softphone!
thanks guys. I saw SJphone but somehow I didn't manage access to the beta page.
I'll let you know
If your provider supports IAX protocol (which is much better while on hostile firewalled networks) my choice is http://www.voipsurfer.net/
My sincere thanks, guys I'm gonna try them all. At this point I created correctly the profile with SJPhone; the same profile works great with the windows client (after creating the profile I copied it to my desktop and the XP client accepted the profile like it was its own). After applying the profile the PDA client asks for id & pw, but I cannot register. Explorer is online so I know the internet connection is fine. I think I need some working yet.
I have managed to instal the pocketpc version of xlite and it works ok from the point of view of me trying to ring my home phone, it connecting and disconnecting ok and it registering as a broadband phone call through my isp when I check my online records.
The sound quality on the device is unusable.
When I use the supplied mini usb headphones I can hear the person I am calling very clearly but they can not hear me properly.
Can someone talk me through anything I can do to improve the settings so that I have a chance of using my device for voip calls whilst at home. I am not in the realms of anything to techincal though.

VoIP Compatible Dialer ( SIP ) with TyTn?

Hello,
I've been using the TyTn for a few months now and I still haven't found a good quality SIP compatible Dialer...
Of course i've tried all the well known voip applications ( SJPhone, Skype and even Bewip etc. ) but none of them come close to a good replacement of the default TyTn dialer.
Actually I though bewip would do the trick as it integrates well with the contacts but quality sucks, I have to use the headset to have acceptable quality call...
I just wanted to know if any of you were using their TyTn as a VoIP device over WiFi and been satified with their software...
Thanks
Not SIP, bux IAX...I travel a lot and use VoIP in airport lounges etc. SIP usually does not get me through the local firewall. IAX protocol is much better and smarter in that regard, so I would recommend you to look at it if you like: http://www.voipsurfer.net/, around 25 euros and a simple interface.
use sjphone, is free and it use the stunt server!!!Free phone for all home number!!!
5n0rk said:
use sjphone, is free and it use the stunt server!!!Free phone for all home number!!!
Click to expand...
Click to collapse
Can u tell me ur Sjphone settings? I got an account with VoipBuster for SJPhone but when i try it 2 use it in my TYTN, I always get a registratio error message... Thank you!
Usually when the internet access is "locked" I redirect all the trafic through an openvpn server that runs on port 443...
The problems with voipsurfer and SJPhone is that they aren't replacement dialers. You don't have access to the Phonebook. If you want a good quality call, you absolutely need a headset ( you can't use them as a phone ).
I just wonder why there is no such software on the Windows Mobile plateform : The lateste nokia/sony-erricson etc. handset features well integrated VoIP solutions...
jinkazama007 said:
Usually when the internet access is "locked" I redirect all the trafic through an openvpn server that runs on port 443...
The problems with voipsurfer and SJPhone is that they aren't replacement dialers. You don't have access to the Phonebook. If you want a good quality call, you absolutely need a headset ( you can't use them as a phone ).
I just wonder why there is no such software on the Windows Mobile plateform : The lateste nokia/sony-erricson etc. handset features well integrated VoIP solutions...
Click to expand...
Click to collapse
Anyone know of voip software that works with a bluetooth headset and mic (R35), as my wired headset is broken (I don't like it anyway as the buds are too big for my ears), and SJPhone doesn't seem to work with it (I hear no sound, nobody hears me).
AGEPHONE
it was an never ending story for me untill i found agephone. http://www.ageet.com/us/agephone/index.htm
you can try it with - there is a shareware version with that you can do calls for one minute, so you are able to check out the bluetooth compability.
STUN Support is given here too!
apokryphus said:
it was an never ending story for me untill i found agephone. http://www.ageet.com/us/agephone/index.htm
you can try it with - there is a shareware version with that you can do calls for one minute, so you are able to check out the bluetooth compability.
STUN Support is given here too!
Click to expand...
Click to collapse
I would appreciate it if you could help me with configuration settings for free world dialup, or point me to comprehensive documentation. I have completely failed to make the correct settings using the support settings on the ageet site, also from the fwd help. The problem is that I don't understand which information to add in the configuration screens, as the labels to the forms are unfamiliar to me and do not seem to equate to the account and server information which fwd provide.
I would like to use STUN.
Any help you can provide would be appreciated.
No SJPhone client for WM5?
I couldn't find the WM5 SJPhone client on their site.
Only for PPC2003.
Anybody can tell me where it does reside?
Thanks,
Arnie
Checkout the WM5 version under this URL
http://www.sjphone.org/preview/SJphone-1.60-WindowsCE(preview)/
thanks.. however
Thanks
Found it.. however...
It doesn't work through my Draytek NAT.
Skype does work flawlessly.
Will try again when my new router arrives.
Might work better.
Thanks!
Arnie
One last call before abandonning.
I have very few of the problems most people associate with the tytn. No screen issues, no problems with skipping under a2dp, nada.
apart from one....
I cannot find a functional voip program using either the handset mic and speaker, or a bluetooth headset. I cannot use the wired headset.
Somebody recommended agephone but I am completely unable to configure the phone to owrk with free world dialup.
Can anybody recommend a suitable solution, or help me configure agephone?
I am using SJPhone gladly with success.
I just would like to have video support.
Any SIP client with video support ?
http://www.microsoft.com/downloads/...5E-5F3B-47D2-955B-B0C1DEAC94D8&displaylang=en
thank you.
Microsoft Office Communicator Mobile may be a good choice, but I think it only runs with an LCS server which I don't have.
Do you know if it works with generic SIP server/proxy ?
mrmrmrmr said:
I am using SJPhone gladly with success.
I just would like to have video support.
Any SIP client with video support ?
Click to expand...
Click to collapse
#
Without the wired headset? It doesn't work even close to acceptably with the speaker and mic, for me, and I can't get it to work at all with a bluetooth headset.
hi trentend,
SJphone works with my mono bluetooth headset if I use the patch supplied by cybertron at following thread:
http://forum.xda-developers.com/showthread.php?t=278778
try it...
now, I only need video support. real video SIP support.
I tried Wengophone before worked good with my S200 now that i've got an vario II i'm gonna try and look if it's still as good.
Go to wengophone.com and look under download tab.
think this is one of the better ones.
works great
http://forum.xda-developers.com/showthread.php?t=596682 . d

VOIP/SIP Clients for HD2

Hi Guys,
Looking for some VOIP/SIP clients for HD2, anything other than PortSIP, Fring or AGEMobile would be preferable!
Going overseas tomorrow and my PortSIP stopped working and wont start working again so trying to find a program that's just as good AND easy to setup as PortSIP (Agemobile confused the hell out of me)
thanks,
Zhuk86
+1 I am in a similar boat. Looking for a stable VoIP solution to work on my HD2.
Ideally, I would love tight integration with the standard WinMo dialer.
+1. Same here!
sip client for hd2
need also a stable sip sofrware for hd2 +1
thnks for help
I tried PortSIP recently on my phoneset, and it works fine. However, as in my grief with all these SIP clients products, I fancy very tight SIP integration with existing Phone Dialer, with the option of editing Dial Plans to define outgoing call rules (was it IPDialPlan.xml ?). I heard this is how it used to be with WM5, but somehow operators have scrapped it out of ROMs in WM6.5.
Ideally, I should just dial my telephone numbers from phone, and based on the dial plan, the phone should direct calls either on SIP or Mobile Network. Am I asking for too much here?
[Loud Thinking]
I am going to bring my trusty old O2 XDA Exec out and put WM5 back on it, and then see if the SIP client can be (easily) configured on it.
bym007 said:
I tried PortSIP recently on my phoneset, and it works fine. However, as in my grief with all these SIP clients products, I fancy very tight SIP integration with existing Phone Dialer, with the option of editing Dial Plans to define outgoing call rules (was it IPDialPlan.xml ?). I heard this is how it used to be with WM5, but somehow operators have scrapped it out of ROMs in WM6.5.
Ideally, I should just dial my telephone numbers from phone, and based on the dial plan, the phone should direct calls either on SIP or Mobile Network. Am I asking for too much here?
Click to expand...
Click to collapse
+1 for me too!
Check my signature for an alternative voip client

[Q] Help requested with HTC S620

I am trying to get the "internet calling" on the HTC (unlocked version from BT in the UK) working. I have sucessfully got Agephone to do sip, but, would prefer to use the phone's native Sip client. I have followed threads on this on this forum including http://forum.xda-developers.com/showthread.php?t=299950&page=173 to the extent that I have changed the settiungs to use sip gate by creating a _setup.xml file in a cab file. The phone managed to contact sip gate and login and show as registered on sip gate. It does this both over WiFi and GRPR/EDGE. However, incomming calls and outcomming calls do not work, nor do calls to 50000 (Sipgate's voice mail). It tries to call out ~(including 50000) but never gets connected. Calls with AGEphone work fine.
Much googling and searching on here has not lead me to a solution. Can anyone assoist or point me in the right direction
Thanks in advance.
RB

Categories

Resources