maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Yate SIP Server (Use GV via SIP) (https://talk.maemo.org/showthread.php?t=74568)

xur17 2011-07-02 19:08

[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.deb
dpkg -i yate_3.3.2-1-1_armel.deb

3. I made a script that sets up the configuration files for Google Voice. You can find it here.
Code:

wget http://dl.dropbox.com/u/121443/yate-gv-setup.tar.gz
tar -xzvf yate-gv-setup.tar.gz

4. Edit yate-gv-setup.sh and fill in the configuration options at the top. Then run the following as root:
Code:

chmod +x yate-gv-setup.sh
./yate-gv-setup.sh

5. run 'yate' (as user) to start yate.

6. 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/

xur17 2011-07-02 20:33

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

somedude 2011-07-02 21:11

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?

xur17 2011-07-02 21:14

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.

rosh 2011-07-03 03:19

Re: [Announce] Yate SIP Server (Use GV via SIP)
 
Cant wait for this man. Great work +1

xur17 2011-07-03 03:29

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.

rosh 2011-07-03 03:47

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?

xur17 2011-07-03 03:48

Re: [Announce] Yate SIP Server (Use GV via SIP)
 
Quote:

Originally Posted by rosh (Post 1043671)
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

You need to install wget.

You will also need to make sure you have php5-cli installed.

Start yate by running 'yate' in terminal. Stop it using control-c.

rosh 2011-07-03 04:01

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

xur17 2011-07-03 04:02

Re: [Announce] Yate SIP Server (Use GV via SIP)
 
Quote:

Originally Posted by rosh (Post 1043678)
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

The username should be without the @gmail.com part (so xxxx). I'll add a comment to the script.


All times are GMT. The time now is 10:03.

vBulletin® Version 3.8.8