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。 |