Skip to main content.
Luglio 22nd, 2006

Gtalk e freeswitch

Questo e’ un esempio di configurazione per ricevere le chiamate in ingresso di gtalk sul vostro cellulare.

Freeswitch permette di fare bridge fra il protocollo jingle, e sip/iax

Registratevi su freeswitch, e scaricate l’ ultima versione via svn

$  svn checkout --username username --password XXXXXX  
http://svn.freeswitch.org/svn/freeswitch/trunk freeswitch.trunk
$ cd freeswitch.trunk
$ ./configure --prefix=/usr/local/freeswitch
$ make && make install

configurare freeswitch:
editare /usr/local/freeswitch/conf/freeswitch.xml

abilitando

  1. <load module=“mod_dingaling”/>
  2.  
  3. <configuration name=“dingaling.conf” description=“XMPP Jingle Endpoint”>
  4. <settings>
  5. <param name=“debug” value=“1″/>
  6. <param name=“codec-prefs” value=“PCMU”/>
  7. </settings>
  8. <interface>
  9. <param name=“name” value=“jingle”/>
  10. <param name=“login” value=“username@freeswitch.org/talk”/>
  11. <param name=“password” value=“XXXXXXXXX”/>
  12. <param name=“dialplan” value=“XML”/>
  13. <param name=“message” value=“Jingle all the way”/>
  14. <param name=“rtp-ip” value=“vostroip”/>
  15. <param name=“auto-login” value=“true”/>
  16. <param name=“use-rtp-timer” value=“true”/>
  17. <param name=“exten” value=“7777″/>
  18. <param name=“vad” value=“both”/>
  19. </interface>
  20. </configuration>
  21.  
  22. <extension name=“7777″>
  23. <condition field=“destination_number” expression=“^7777$”>
  24. <action application=“bridge” data=“iax/guest@serveriax/730″/>
  25. <action application=“echo” />
  26. </condition>
  27. </extension>

il mio serveriax/estensione (che e’ un server asterisk) a questo punto fara’ la chiamata sul mio cellulare.

nel vostro dialplan asterisk mettere qualcosa del tipo
[default]
exten => 730,1,NoOp(Incoming call via from freeswitch)
exten => 730,2,Dial(IAX2/XXXX@voipjet/01139vostronumerodicellulare,50,R)
exten => 730,3,Hangup

e per usare voipjet, in iax.conf

[guest]
type=user
context=default
callerid=”Guest IAX User”
disallow=all
allow=ulaw

[voipjet]
type=peer
host=66.246.220.19
secret= XXXXXXXXXXXXXX
auth=md5
notransfer=yes
context=default
disallow=all
allow = speex
allow = gsm
allow = ilbc
allow = ulaw
allow = alaw

freeswitch nella registrazione offre gratuitamente anche un account jabber, a cui potete registrarvi. Potete cmq usare il vostro account jabber preferito, l’ importante e’ mettere la risorsa “/talk”

Aprire gtalk, e aggiungere il contatto vostrousername@freeswitch.org e dovrebbe squillarvi il cellulare… ;)

Posted by becks in Freeswitch, Voip, Tech, Asterisk

This entry was posted on Sabato, Luglio 22nd, 2006 at 5:07 pm and is filed under Freeswitch, Voip, Tech, Asterisk. You can follow any responses to this entry through the comments RSS 2.0 feed. You can leave a response, or trackback from your own site.

WordPress database error: [Can't open file: 'wp_comments.MYI'. (errno: 145)]
SELECT * FROM wp_comments WHERE comment_post_ID = '26' AND comment_approved = '1' ORDER BY comment_date

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

authimage