返回列表 發帖

Another workaround for problematic GV in Asterisk 1.8

本帖最後由 bubblestar 於 2011-11-1 18:03 編輯

儘管應用了GV patch,但有時候,利用GV撥打對方時,仍有機會遇到以下情況,就是雙方的電話都響起來,但卻沒法聽到對方說話,問題是buddy 來電,chan_gtalk.so 並沒有作出回應(或許偵測不到)。在CLI 之下,大家或會見到以下message。

*CLI> [Oct 31 20:05:30] ERROR[1262]: chan_gtalk.c:1006 gtalk_alloc: no gtalk capable clients to talk to.
[Oct 31 20:05:30] WARNING[1262]: app_dial.c:2042 dial_exec_full: Unable to create channel of type 'Gtalk' (cause 0 - Unknown)

OR

*CLI>[Oct 31 20:08:55] WARNING[1174]: chan_gtalk.c:624 gtalk_is_answered: Could not find session in iq
[Oct 31 20:08:58] NOTICE[1174]: chan_gtalk.c:804 gtalk_hangup_farend: Whoa, didn't find call during hangup!
[Oct 31 20:09:00] NOTICE[1174]: chan_gtalk.c:1977 gtalk_parser: Remote peer reported an error, trying to establish the call anyway
[Oct 31 20:09:00] NOTICE[1174]: chan_gtalk.c:804 gtalk_hangup_farend: Whoa, didn't find call during hangup!


解決辦法:

重新 reload chan_Gtalk.so 和 res_jabber.so 兩個modules,GV接收便回復正常了。

*CLI> module unload chan_gtalk.so
*CLI> module unload res_jabber.so
*CLI> module load res_jabber.so
*CLI> module load chan_gtalk.so


Loading res_jabber and chan_gtalk 最好相隔最少 10 秒,以便res_jabber 有充足時間 login 去 Server。

基本上,我估asterisk1.8 的stability 比1.4 差。

TOP

For information from External Services in The Definitive Guide

Unlike jabber that supports the use of reload command, the chan_gtalk module does not support reloading the configuration. If you change the configuration, you will have to either restart Asterisk or unload and reload the module, which can only be done when no GTalk calls are up. You can do that using the following commands:

*CLI> module unload chan_gtalk.so
*CLI> module load chan_gtalk.so

TOP

回復 5# ckleea


你這個情況,已是其中一個特徵了。我在同一SERVER 互撥,也偶然會有此情形。試一試reload gtalk and jabber,應有改善。

http://lists.digium.com/pipermai ... ebruary/048204.html

TOP

回復 4# bubblestar


    I did not find this problem. The problem for me in gtalk, jabber, etc is that if I dial from one gv to another gv within the same server, it won't ring the softphone that supposed to ring.

TOP

To verify:

CLI> jabber show connections
Jabber Users and their status:
       [username A] bstar_A@gmail.com/Talk     - Connected
       [username B] bstar_B@gmail.com/Talk     - Connected
       [username C] bstar_C@gmail.com/Talk     - Connected
----
   Number of users: 3

TOP

回復 2# ckleea


   
Not always but sometimes.  It happens when I need to reboot the system.  After the reloading, all gtalk and jabber works just fine.  Some foreign forum alleged this phenomenon has been existing since the launch of Asterisk 1.8 BETA.  This is only
temporal resolution before an effective method is introduced.

TOP

You still encounter problems?

TOP

返回列表