[Announce] Yate SIP Server (Use GV via SIP)
What is it?
Yate is a SIP server similar to asterisk. It also provides to ability to make and receive google voice calls through the a sip account directly on the n900. How do I install it? 1. Make sure you have wget and php5-cli installed. 2. Install this package: Code:
wget http://dl.dropbox.com/u/121443/yate_3.3.2-1-1_armel.debCode:
wget http://dl.dropbox.com/u/121443/yate-gv-setup.tar.gzCode:
chmod +x yate-gv-setup.sh6. Create a new sip account on the device with the sip username@localhost set in the script above, and the password set in the script above. Configuration Guide http://www.tuxguides.com/yate-server...voice-calling/ |
Re: [Announce] Yate SIP Server (Use GV via SIP)
Does anyone know how to remove a package from the extras-devel repositories? I previously uploaded a version that is newer than the currently released version at yate.com, and it is keeping me from uploading the newest version.
I need to remove 3.3.3.vir2011052702. Link |
Re: [Announce] Yate SIP Server (Use GV via SIP)
little confusion i have. is this using gmail call which doesnt need call back number. or google voice which will call u back on the forwarding number provided?
|
Re: [Announce] Yate SIP Server (Use GV via SIP)
This is using gmail call, so it won't need to call back. You setup yate to connect to google voice via jabber, and then you setup a sip account on the n900 to register to the yate server (localhost).
It's similar to using google voice through asterisk, but you are running it directly on your device. |
Re: [Announce] Yate SIP Server (Use GV via SIP)
Cant wait for this man. Great work +1
|
Re: [Announce] Yate SIP Server (Use GV via SIP)
I am still waiting on a response from the maemo mailing list so I can get this in extras-devel. In the meantime you can use the deb package listed in the first post.
I made a script that sets up the configuration files for you in the first post. Please leave feedback on whether or not this works for you. edit: what type of cpu useage are people getting for the yate process when it is idle (no calls in process)? It seems rather high to me. It looks like you can edit the yate.conf file (stored in /usr/etc/yate) and stop modules from loading. This may help the issue. |
Re: [Announce] Yate SIP Server (Use GV via SIP)
i geth the following, dont know y
/home/user$ ./yate-gv-setup.sh ./yate-gv-setup.sh: line 30: wget: not found sed: postanm_dtmf.php: No such file or directory chmod: postanm_dtmf.php: No such file or directory also how do i stop, and restart the yate server? |
Re: [Announce] Yate SIP Server (Use GV via SIP)
Quote:
You will also need to make sure you have php5-cli installed. Start yate by running 'yate' in terminal. Stop it using control-c. |
Re: [Announce] Yate SIP Server (Use GV via SIP)
my sip registers OK, however im getting "unable to establish the connection" when i dial a number.
as my gmail user id i have to type with gmail right? like xxxx@gmail.com |
Re: [Announce] Yate SIP Server (Use GV via SIP)
Quote:
|
Re: [Announce] Yate SIP Server (Use GV via SIP)
Tried like that. and checked all the conf files according to the site, they are fine, but im keep getting that error.
When i start yate, i see a warning in the middle, PHP warning: PHP startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/pdo.so' - usr/lib/php5/20060613+lfs/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0 |
Re: [Announce] Yate SIP Server (Use GV via SIP)
Quote:
You can just ignore that error message. I get the same thing, but it still works for me. |
Re: [Announce] Yate SIP Server (Use GV via SIP)
yea, both wget and php5-cli are installed
BTW im on PR1.1 becuase of the choppy issue. will that be a problem? |
Re: [Announce] Yate SIP Server (Use GV via SIP)
Quote:
Try stopping yate, then type 'killall yate' in the terminal, and try starting it again. Also, can you check /usr/etc/yate/accfile.conf and make sure the 'username=' line does not have a @gmail.com at the end of it? |
Re: [Announce] Yate SIP Server (Use GV via SIP)
sorry for making trouble for you,
i checked them, they are fine, but still doesnt work, not even incoming calls. Is there anyway to see registered sip and gv account in the yate server like in asterisk to check if they are registered? |
Re: [Announce] Yate SIP Server (Use GV via SIP)
Quote:
A shot in the dark - you could try rebooting and see if that fixes anything. Make sure you have gtalk enabled as a forwarding phone in google voice. Have you ever made an outgoing call from gmail? Somewhere I read said you had to before asterisk or yate would work through gtalk. Try running 'yate -vvvv' instead of just yate. A whole bunch of stuff should appear when you receive an incoming call - if not, What's the format of the outgoing number? I know there is a way to see registered sip and gv accounts in the yate server (I have done it before), but I am not sure how to off the top of my head. |
Re: [Announce] Yate SIP Server (Use GV via SIP)
looks like gv account doesnt connect with the yate server, heres what i get
----- <c2s/googlevoice:NOTE> Dropping xml=(0x12f9a5, stream:features) ns=http://etherx.jabber.org/streams in state=Features reason='required encryption not available' [0xa11d0] <c2s/Googlevoice:INFO> sending yo 'gmail.com' [0xa11d0] ------ <stream:error> <internal-server-error xmlns="urn:ietf:params:xml:ns:xmpp-streams"/> <stream:error> |
Re: [Announce] Yate SIP Server (Use GV via SIP)
Hi Xur17
Installed PR1.3 back and installed yate with your configs, boom, it works. Thanks man for your help :) BTW one questions though, Incoming calls work great, nice quality ans smooth. However the outgoing calls i make is extremely choppy and shuttering, any idea? |
Re: [Announce] Yate SIP Server (Use GV via SIP)
well, the CPU goes 100% when outgoing calls, thats may be the reason for choppiness, im gonna OC it and see
|
Re: [Announce] Yate SIP Server (Use GV via SIP)
Quote:
The CPU useage should be similar for incoming and outgoing calls. When I had yate hosted remotely it would transcode outgoing calls to ilbc (which would eat up CPU useage). I added the line format=mulaw to the bottom of regfile.conf for the n900. Can you make sure that exists? Quote:
|
Re: [Announce] Yate SIP Server (Use GV via SIP)
Is the sip experience better with on-device yate?
PS: see my signature for the bug |
Re: [Announce] Yate SIP Server (Use GV via SIP)
Quote:
Since I tried locking the frequency of the n900 during calls, I really haven't had any problems. I noticed that the default kernel does this, but the power kernel does not. |
Re: [Announce] Yate SIP Server (Use GV via SIP)
It works for outgoing calls, but incoming calls come over GSM. How do I get incoming calls over yate?
|
Re: [Announce] Yate SIP Server (Use GV via SIP)
Quote:
|
Re: [Announce] Yate SIP Server (Use GV via SIP)
I tried that, and my phone just didn't ring. I notice in terminal I have a lot of messages like
"<yrtp:WARN> Initial timeout in channel jingle/7 wrapper [0x176f80] <yrtp:WARN> Initial timeout in channel sip/8 wrapper [0x41001c78]" Might this be related? |
Re: [Announce] Yate SIP Server (Use GV via SIP)
Quote:
Also, make sure you disable and then re-enable the sip account on the n900 after you restart yate (so it re-registers). Otherwise I am going to need a more complete log and / or you may have to try posting to the yate mailing list. |
Re: [Announce] Yate SIP Server (Use GV via SIP)
Overclocking solved the choppiness totally.
BTW, as you have mentioned the idle cpu usage is kinda high , like 30% @ 250MHz, did you find any solution for that?. Asterisks idles like 2% @ 250Mhz IIRC, asterisk 1.8 support GV support, but unfortunately only asterisk 1.6 available in repositories for N900 |
Re: [Announce] Yate SIP Server (Use GV via SIP)
Quote:
|
Re: [Announce] Yate SIP Server (Use GV via SIP)
excellent! worked fine here. call went through. but i am getting different warnings in terminal. for example
Yate engine is initialized and starting up on Nokia-N900 <openssl:WARN> Certificate verify error 20: UNABLE_TO_GET_ISSUER_CERT_LOCALLY [0xa70d8] <yrtp:WARN> Initial timeout in channel sip/2 wrapper [0x41002758] <yrtp:WARN> Initial timeout in channel jingle/2 wrapper [0x1733a8] <WARN> RTP received SEQ 358 while current is 359 [0x1734c0] and also following warning during initialisation of yate <WARN> Failed to save config file '/usr/etc/yate/snmp_data.conf' (13: Permission denied) <snmpagent:WARN> Could not bind SNMP UDP Listener, error 13 Permission denied but calls are getting through with voice on both sides. will do some more testing tomorrow for cpu usage and call quality. |
Re: [Announce] Yate SIP Server (Use GV via SIP)
Can Yate be used with the n810. I can't find where to get php5-cli???
|
Re: [Announce] Yate SIP Server (Use GV via SIP)
thanks dear
but believe me i don't understand anymore do you mean that i will be bale to use google voice for free on net or what sorry understand me and teach me how to install all this things forgive me but i want to know and use |
Re: [Announce] Yate SIP Server (Use GV via SIP)
[QUOTE=xur17;1043503]What is it?
Yate is a SIP server similar to asterisk. It also provides to ability to make and receive google voice calls through the a sip account directly on the n900. How do I install it? 1. Make sure you have wget and php5-cli installed. 2. Install this package: Code:
wget http://dl.dropbox.com/u/121443/yate_3.3.2-1-1_armel.debCode:
wget http://dl.dropbox.com/u/121443/yate-gv-setup.tar.gz/home/user/MyDocs # tar -xzvf yate-gv-setup.tar.gz yate-gv-setup.sh tar: yate-gv-setup.sh: Cannot change ownership to uid 1000, gid 1000: Operation not permitted config_files/yate.conf tar: config_files/yate.conf: Cannot change ownership to uid 1000, gid 1000: Operation not permitted config_files/extmodule.conf tar: config_files/extmodule.conf: Cannot change ownership to uid 1000, gid 1000: Operation not permitted config_files/accfile.conf tar: config_files/accfile.conf: Cannot change ownership to uid 1000, gid 1000: Operation not permitted config_files/yjinglechan.conf tar: config_files/yjinglechan.conf: Cannot change ownership to uid 1000, gid 1000: Operation not permitted config_files/regexroute.conf tar: config_files/regexroute.conf: Cannot change ownership to uid 1000, gid 1000: Operation not permitted config_files/regfile.conf tar: config_files/regfile.conf: Cannot change ownership to uid 1000, gid 1000: Operation not permitted config_files/ysipchan.conf tar: config_files/ysipchan.conf: Cannot change ownership to uid 1000, gid 1000: Operation not permitted config_files/ tar: config_files: Cannot change ownership to uid 1000, gid 1000: Operation not permitted tar: Exiting with failure status due to previous errors /home/user/MyDocs # Can you give me some hints what to do? |
Re: [Announce] Yate SIP Server (Use GV via SIP)
[QUOTE=goverweg;1110999]
Quote:
|
Re: [Announce] Yate SIP Server (Use GV via SIP)
I did, but i gave in the command earlier with one letter wrong
|
Re: [Announce] Yate SIP Server (Use GV via SIP)
I am also getting "Dropping xml=(0xa9ee0,stream:features) ns=http://etherx.jabber.org/streams in state=Features reason='required encryption not available' [0xaa6e0]" when I run yate. I saw an earlier post where this was solved by reinstalling PR1,3 but have no clue what this is.
Any leads? Thank you. |
Re: [Announce] Yate SIP Server (Use GV via SIP)
Hello,
In case someone wants to use Yate with Google Voice for SIP try to follow our tutorial at: http://yate.ro/pmwiki/index.php?n=Ma...gToGoogleVoice Use Yate 4.1. Diana Cionoiu |
| All times are GMT. The time now is 23:16. |
vBulletin® Version 3.8.8