我一直在开发一个 asterisk-java 应用程序,到目前为止,我已经能够弄清楚如何从一部手机呼叫另一部手机,以及如何从一部手机呼叫另一台计算机。现在我想要它,以便我可以使用手机拨打号码,如果前面的号码是某些特殊字符,则该号码将通过 Skype 服务器拨打,并使用 Skype 拨打该号码。当然,我将支付所有适用的费用等。
例如:
如果我拨打诸如 #1234567888 之类的号码,# 将意味着我想要进行 Skype 呼叫,因此将使用 Skype 的服务器调用拨号字符串 1234567888。
这可能吗?任何提示或技巧将不胜感激!
感谢您提前提供的任何帮助!
I've been working on an asterisk-java application and so far I've been able to figure out how to call from one phone to another phone and also one phone to another computer. Now I want it so that I can use my phone to dial a number and if a preceding number is some special character, that number will be dialed through the skype server and call that number using Skype. Of course I will pay for all fees that apply and such.
For example:
If I dial a number such as #1234567888, the # will mean I would want to do a skype out call so the dial string 1234567888 will be called using skype's server.
Is this possible? Any hints or tips would be much appreciated!
Thank you for any help in advance!!
发布评论
评论(2)
我使用 Digium 的“Skype for Asterisk”(商业版)。
当我想呼叫某个 Skype 用户时,我使用他/她的 ID 加上
Skype/
前缀,因此您可以将#
替换为该前缀并拨打该 ID。在 Asterisk wiki 上,有包含免费/开源的 Asterisk 网关列表:Skype 网关,但我没试过。
I use "Skype for Asterisk" by Digium (commercial).
When I want to call some skype user I use his/her id with
Skype/
prefix, so you can replace#
into this prefix and dial such id.On Asterisk wiki there is list of Asterisk gateways including free/opensource: Skype Gateways, but I haven't tried it.
Skype for Asterisk 将在 7 月 26 日之后不再可用
我尝试了很多,终于幸运地使用了 freeswitch + skypopen(前 skypiax)
http://wiki.freeswitch.org/wiki/Mod_skypopen_Skype_Endpoint_and_Trunk#What_is_Skypopen
(实现起来并不简单)
Skype for Asterisk will no longer be available after July 26th
I've tried a lot, and finally had luck with freeswitch + skypopen (ex skypiax)
http://wiki.freeswitch.org/wiki/Mod_skypopen_Skype_Endpoint_and_Trunk#What_is_Skypopen
( not trivial to implement )