`
javatoyou
  • 浏览: 1068952 次
  • 性别: Icon_minigender_2
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论

Making Google Talk Work With Asterisk

 
阅读更多

Products based on proprietary technologies sometimes suck! That’s because you don’t have any choice but to subscribe to the service as the provider defines it. Most of the time, you cannot interface these with your own services or produts. In telephony, for instance, most proprietary systems cannot be easily interfaced with others. Skype, for example, cannot easily be interfaced with Asterisk without complicated set-ups (i.e., actually running Skype on one machine, or going through analog connections).

Some services that are based on open-source technologies (whether in full or loosely) will be easier to use, on the other hand. For example, Google Talk used to be a closed network, but then it opened itself to other Jabber networks (Google Talk is Jabber-based) so you can chat with other Jabber clients.

Since version 1.4, Asterisk has had support for Jingle, which is a protocol needed to “talk” with Google Talk. VoIP Info has a guide to setting up Asterisk for Google Talk here. This requires ikesmel, which can be downloaded here.

jabber.conf

This is where you set your gmail/gtalk account info and will register you with the google server.

[general]
debug=yes
autoprune=no
autoregister=no

[gtalk_account]
type=client
serverhost=talk.google.com
username=username@gmail.com/Talk
secret=*****
port=5222
usetls=yes
usesasl=yes
buddy=buddyusername@gmail.com
statusmessage=”This is an Asterisk server”
timeout=100

gtalk.conf

This is where the settings for the actual calls are made:

[general]
context=google-in
allowguest=yes

;
[guest]
disallow=all
allow=ulaw
context=google-in

[buddy]
username=buddyusername@gmail.com

disallow=all
allow=ulaw
context=google-in
connection=gtalk_account

extensions.conf


[google-in]
exten => s,1,NoOp( Call from Gtalk )
exten => s,n,Set(CALLERID(name)=”From Google Talk”)
exten => s,n,Dial(SIP/my_sip_phones)

[google-out]
exten => 200,1,Dial(gtalk/gtalk_account/buddyusername@gmail.com)

It is suggested that you create a new Gmail/Google account that Asterisk will use.

分享到:
评论

相关推荐

    FXO work with asterisk

    在"FXO work with asterisk"的场景中,Asterisk被配置为使用FXO接口连接到PSTN。以下是具体步骤: 1. **硬件安装**:安装带有FXO接口的VoIP Gateway或ATA(Analog Telephone Adapter),将其连接到Asterisk服务器,...

    Building Telephony Systems With Asterisk

    ### 使用Asterisk构建电话系统的关键知识点 #### 一、Asterisk简介 Asterisk是一款开源的电话通信平台,可以用来创建交互式语音响应(IVR)菜单、自动呼叫分配(ACD)、会议桥接等多种功能。它支持多种协议,如SIP...

    getting started with asterisk

    ### Asterisk入门指南 在数字化转型的浪潮下,企业通信系统的重要性日益凸显。Asterisk作为一款开源的语音通信平台,为企业提供了构建自定义电话系统的强大工具。本文将基于《Asterisk入门指南》的内容,深入探讨...

    Design and Implementation Voip Service On Open IMS and Asterisk Servers

    Open IMS is able to serve maximum 30 call/s with computer processor 1.55 GHz, while the Asterisk with computer processor 3.0 GHz, may serve up to 55 call/sec. Enum on server with 1.15 GHz computer ...

    Building Telephony Systems with Asterisk

    Asterisk 经典书籍 非常详细,而且很全面,是深入Asterisk不可缺少的书籍。

    Asterisk 1.6 - Build feature-rich telephony systems with Asterisk Sep 2009

    ### Asterisk 1.6 – 构建功能丰富的电话系统 #### 一、Asterisk 1.6 概览 Asterisk是一款开源的框架软件,用于构建通信应用程序和服务,如电话交换机(PBX)、IVR系统、会议桥接服务等。自2001年发布以来,...

    Build feature-rich telephony systems with Asterisk

    《构建功能丰富的电话系统:基于Asterisk 1.6》是唯一一本专注于Asterisk 1.6版本的专业书籍,由David Merel、Barrie Dempster和David Gomillion三位专家共同撰写,由Packt Publishing出版。这本书深入探讨了如何...

    Asterisk tips for integration with Avaya

    Asterisk tips for integration with Avaya

    Asterisk 之数据库配置方案 asterisk数据库

    Asterisk 之数据库配置方案 Asterisk 是一个开源的 PBX(Private Branch Exchange)系统,可以实现电话交换和语音网关的功能。在传统的 Asterisk 配置中,配置文件都是存储在文件系统中的,但是随着系统的复杂度和...

    Asterisk CookBook.pdf

    a lot, because with Asterisk, the number of solutions available for a particular problem are astounding. We have chosen to focus on using the tools available to us within Asterisk, so solutions ...

    通过asterisk-java操作asterisk

    Asterisk是一个开源的IP电话系统,而Asterisk-java则是一个Java库,它提供了与Asterisk服务器交互的能力。这个库使得开发者可以利用Java语言来控制和编程Asterisk PBX(Private Branch eXchange),执行诸如创建、...

    Asterisk.NET 1.6.3 控制Asterisk

    Asterisk.NET 1.6.3 是一个专门为.NET开发者设计的开源库,它提供了对Asterisk PBX系统的编程接口,使得用户可以方便地在C#、VB.NET或其他.NET支持的语言中控制和扩展Asterisk功能。这个库是基于Asterisk Manager ...

    Asterisk权威指南中文

    Asterisk权威指南中文(第3版) Asterisk权威指南(第3版)第15章自动话务员 Asterisk权威指南(第3版)第02章Asterisk体系结构 Asterisk权威指南(第3版)第05章用户设备配置 Asterisk权威指南(第3版)第06章Dialplan基础 ...

    Building.Telephony.Systems.With.Asterisk.2005

    《Building Telephony Systems with Asterisk》是一本专著,它深入探讨了如何使用开源通信平台Asterisk构建电话系统。这本书于2005年出版,对于当时的IT专业人士和爱好者来说,是理解Asterisk技术及其应用的重要资源...

    Asterisk 简介 Asterisk 架构 Asterisk程序框图

    Asterisk是一款开源的电话交换机软件,它允许用户创建高度自定义的通信系统,包括VoIP(Voice over IP)电话、会议桥、自动呼叫分配(ACD)以及许多其他电信功能。Asterisk的核心设计理念是灵活性和可扩展性,这使得...

    asterisk16版本安装包

    Asterisk是一款开源的IP电话系统,用于构建VoIP(Voice over Internet Protocol)通信平台。在本场景中,我们讨论的是Asterisk的16版本安装包,这将引导我们深入理解Asterisk的核心功能、安装流程以及如何进行编译和...

    asterisk info 录音实现方案

    标签“asterisk record”指的是与Asterisk录音相关的配置和功能,它表明文章将围绕如何在Asterisk中设置和实现录音功能。 在提供的部分内容中,提到了几个关键的配置文件和步骤,这些是实现Asterisk录音功能的核心...

    asterisk 安装教程

    ./configure --with-mysql --with-openssl --with-jansson --with-libedit --with-pjproject-bundled --with-xml ``` 编译并安装Asterisk: ```bash make menuselect.makefile make make install make samples ```...

    Asterisk AMI 接口代码

    Asterisk AMI(Asterisk Manager Interface)接口是Asterisk PBX系统提供的一种用于远程管理和监控的强大工具。这个接口允许开发者通过编程方式与Asterisk进行交互,执行诸如控制呼叫、获取状态、监听通话等多种操作...

    Asterisk学习必备资料

    Asterisk学习必备,共5本书籍,学习助手 Asterisk权威文档(第3版).pdf ...Building+Telephony+Systems+with+Asterisk.pdf Asterisk+For+Dummies+2006.pdf Asterisk_Developers_Documentation20060611.chm

Global site tag (gtag.js) - Google Analytics