Вход | Регистрация
Вы здесь: Главная / Форум / Главный форум по Asterisk / Конфигурация и настройка / Голос из * не доходит в GTalk-клиента

Голос из * не доходит в GTalk-клиента

Trixbox 2.8, Asterisk - с внешним IP, GTalk - за натом.
Avatara of zepps
Откуда: Москва
Сообщений: 770

Голос из * не доходит в GTalk-клиента

Конфиг вот такой:

jabber.conf:

[general]
debug=yes ;;Turn on debugging by default.
autoprune=yes ;;Auto remove users from buddy list. Depending on your
;;setup (ie, using your personal Gtalk account for a test)
;;you might lose your contacts list. Default is 'no'.
autoregister=yes ;;Auto register users from buddy list.

[asterisk] ;;label
type=client ;;Client or Component connection
serverhost=talk.google.com ;;Route to server for example,
;; talk.google.com
username=talk@zepps.ru ;;Username with optionalresource.
secret=blabla ;;Password
;priority=1 ;;Resource priority
port=5222 ;;Port to use defaults to 5222
usetls=yes ;;Use tls or not
usesasl=yes ;;Use sasl or not
status=available ;;One of: chat, available, away,
;; xaway, or dnd
statusmessage="IT-Satellite. You can call us" ;;Have custom status message for
;;Asterisk.
timeout=100 ;;Timeout on the message stack.


gtalk.conf:

[general]
context=from-trunk ;;Context to dump call into
bindaddr=213.133.130.251 ;;Address to bind to
allowguest=yes ;;Allow calls from people not in
;;list of peers
;
[guest] ;;special account for options on guest account
disallow=all
allow=ulaw
allow=alaw
allow=g729
allow=gsm
context=from-trunk
connection=asterisk
;
;[blabla]
; ;;username of the peer your
;;calling or accepting calls from
;disallow=all
;allow=ulaw
;context=default
;connection=asterisk ;;client or component in jabber.conf
;;for the call to leave on.
;

Есть какие-нибудь соображения?
2010-01-03 20:03

Avatara of zzuz
Откуда: SPb
Сообщений: 1307

Re: Голос из * не доходит в GTalk-клиента

а в CLI что интересного при соединении?
http://линия24.рф - Астериск и прочие бубны!
2010-01-03 20:52

Avatara of zepps
Откуда: Москва
Сообщений: 770

Re: Голос из * не доходит в GTalk-клиента

JABBER: asterisk INCOMING: <iq to="ast-talk@zepps.ru/talk1E33F7FF" type="set" id="41" from="ast-me@zepps.ru/Talk.v104E3E7C0ED"><session type="initiate" id="1132342159" initiator="ast-me@zepps.ru/Talk.v104E3E7C0ED" xmlns="http://www.google.com/session"><description xml:lang="en" xmlns="http://www.google.com/session/phone"><payload-type id="103" name="ISAC" clockrate="16000"/><payload-type id="97" name="IPCMWB" clockrate="16000" bitrate="80000"/><payload-type id="99" name="speex" clockrate="16000" bitrate="22000"/><payload-type id="4" name="G723" clockrate="8000" bitrate="6300"/><payload-type id="98" name="speex" clockrate="8000" bitrate="11000"/><payload-type id="100" name="EG711U" clockrate="8000" bitrate="64000"/><payload-type id="101" name="EG711A" clockrate="8000" bitrate="64000"/><payload-type id="0" name="PCMU" clockrate="8000" bitrate="64000"/><payload-type id="8" name="PCMA" clockrate="8000" bitrate="64000"/><payload-type id="13" name="CN" clockrate="8000"/><payload-type id="102" name="iLBC" clockrate="8000" bitrate="

JABBER: asterisk INCOMING: 13300"/><payload-type id="106" name="telephone-event" clockrate="8000"/></description><transport xmlns="http://www.google.com/transport/p2p"/></session></iq>

JABBER: asterisk OUTGOING: <iq type='result' from='ast-talk@zepps.ru/talk1E33F7FF' to='ast-me@zepps.ru/Talk.v104E3E7C0ED' id='41'/>

JABBER: asterisk OUTGOING: <iq from='ast-talk@zepps.ru/talk1E33F7FF' to='ast-me@zepps.ru/Talk.v104E3E7C0ED' type='set' id='aaabq'><session type='transport-accept' id='1132342159' initiator='ast-me@zepps.ru/Talk.v104E3E7C0ED' xmlns='http://www.google.com/session'><transport xmlns='http://www.google.com/transport/p2p'/></session></iq>

JABBER: asterisk OUTGOING: <iq from='ast-talk@zepps.ru/talk1E33F7FF' to='ast-me@zepps.ru/Talk.v104E3E7C0ED' type='set' id='aaabr'><session type='transport-info' id='1132342159' initiator='ast-me@zepps.ru/Talk.v104E3E7C0ED' xmlns='http://www.google.com/session'><transport xmlns='http://www.google.com/transport/p2p'><candidate name='rtp' address='213.33.160.251' port='14498' username='09ebf63520ed8e1b' password='2607058701421c4c' preference='1.00' protocol='udp' type='local' network='0' generation='0'/></transport></session></iq>
-- Executing [ast-talk@zepps.ru@from-trunk:1] NoOp("Gtalk/me-4072", "Catch-All DID Match - Found ast-talk@zepps.ru - You probably want a DID for this.") in new stack
-- Executing [ast-talk@zepps.ru@from-trunk:2] Goto("Gtalk/me-4072", "ext-did,s,1") in new stack
-- Goto (ext-did,s,1)
-- Executing [s@ext-did:1] Set("Gtalk/me-4072", "__FROM_DID=s") in new stack
-- Executing [s@ext-did:2] Gosub("Gtalk/me-4072", "app-blacklist-check,s,1") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("Gtalk/me-4072", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Return("Gtalk/me-4072", "") in new stack
-- Executing [s@ext-did:3] ExecIf("Gtalk/me-4072", "0 ?Set(CALLERID(name)=)") in new stack
-- Executing [s@ext-did:4] Set("Gtalk/me-4072", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [s@ext-did:5] Set("Gtalk/me-4072", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [s@ext-did:6] Goto("Gtalk/me-4072", "ext-group,600,1") in new stack
-- Goto (ext-group,600,1)
-- Executing [600@ext-group:1] Macro("Gtalk/me-4072", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("Gtalk/me-4072", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("Gtalk/me-4072", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("Gtalk/me-4072", "1?Set(REALCALLERIDNUM=)") in new stack
-- Executing [s@macro-user-callerid:4] Set("Gtalk/me-4072", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("Gtalk/me-4072", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("Gtalk/me-4072", "1?report") in new stack
-- Goto (macro-user-callerid,s,11)
-- Executing [s@macro-user-callerid:11] GotoIf("Gtalk/me-4072", "0?continue") in new stack
-- Executing [s@macro-user-callerid:12] Set("Gtalk/me-4072", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:13] GotoIf("Gtalk/me-4072", "1?continue") in new stack
-- Goto (macro-user-callerid,s,20)
-- Executing [s@macro-user-callerid:20] NoOp("Gtalk/me-4072", "Using CallerID "ast-me@zepps.ru/Talk.v104E3E7C0ED" <>") in new stack
-- Executing [600@ext-group:2] GotoIf("Gtalk/me-4072", "1?skipdb") in new stack
-- Goto (ext-group,600,4)
-- Executing [600@ext-group:4] Set("Gtalk/me-4072", "__NODEST=") in new stack
-- Executing [600@ext-group:5] Set("Gtalk/me-4072", "__BLKVM_OVERRIDE=BLKVM/600/Gtalk/me-4072") in new stack
-- Executing [600@ext-group:6] Set("Gtalk/me-4072", "__BLKVM_BASE=600") in new stack
-- Executing [600@ext-group:7] Set("Gtalk/me-4072", "DB(BLKVM/600/Gtalk/me-4072)=TRUE") in new stack
-- Executing [600@ext-group:8] Set("Gtalk/me-4072", "RRNODEST=") in new stack
-- Executing [600@ext-group:9] Set("Gtalk/me-4072", "__NODEST=600") in new stack
-- Executing [600@ext-group:10] Set("Gtalk/me-4072", "RecordMethod=Group") in new stack
-- Executing [600@ext-group:11] Macro("Gtalk/me-4072", "record-enable,20-11,Group") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("Gtalk/me-4072", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("Gtalk/me-4072", "recordingcheck,20100103-211442,1262542482.38") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck,20100103-211442,1262542482.38: Recording enable for 20
recordingcheck,20100103-211442,1262542482.38: CALLFILENAME=g20-20100103-211442-1262542482.38
-- <Gtalk/me-4072>AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:999] MixMonitor("Gtalk/me-4072", "g20-20100103-211442-1262542482.38.wav,,") in new stack
-- Executing [600@ext-group:12] Set("Gtalk/me-4072", "RingGroupMethod=ringall") in new stack
-- Executing [600@ext-group:13] Macro("Gtalk/me-4072", "dial,60,m(default)t,20-11") in new stack
-- Executing [s@macro-dial:1] GotoIf("Gtalk/me-4072", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("Gtalk/me-4072", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
== Begin MixMonitor Recording Gtalk/me-4072
dialparties.agi: Starting New Dialparties.agi
== Manager 'admin' logged on from 127.0.0.1
dialparties.agi: Caller ID name is 'ast-me@zepps.ru/Talk.v104E3E7C0ED' number is 'unknown'
dialparties.agi: Methodology of ring is 'ringall'
-- dialparties.agi: Added extension 20 to extension map
-- dialparties.agi: Added extension 11 to extension map
-- dialparties.agi: Extension 20 cf is disabled
-- dialparties.agi: Extension 11 cf is disabled
-- dialparties.agi: Extension 20 do not disturb is disabled
-- dialparties.agi: Extension 11 do not disturb is disabled
sip*CLI>
JABBER: asterisk INCOMING: <iq to="ast-talk@zepps.ru/talk1E33F7FF" type="set" id="43" from="ast-me@zepps.ru/Talk.v104E3E7C0ED"><session type="transport-info" id="1132342159" initiator="ast-me@zepps.ru/Talk.v104E3E7C0ED" xmlns="http://www.google.com/session"><transport xmlns="http://www.google.com/transport/p2p"><candidate name="rtp" address="192.168.0.222" port="4141" preference="1" username="PUIVffy1oH3waF6s" protocol="udp" generation="0" password="VRl+kVKCHhGq1grW" type="local" network="0"/></transport></session></iq>

JABBER: asterisk OUTGOING: <iq type='result' from='ast-talk@zepps.ru/talk1E33F7FF' to='ast-me@zepps.ru/Talk.v104E3E7C0ED' id='43'/>

JABBER: asterisk INCOMING: <iq to="ast-talk@zepps.ru/talk1E33F7FF" type="set" id="44" from="ast-me@zepps.ru/Talk.v104E3E7C0ED"><session type="transport-info" id="1132342159" initiator="ast-me@zepps.ru/Talk.v104E3E7C0ED" xmlns="http://www.google.com/session"><transport xmlns="http://www.google.com/transport/p2p"><candidate name="rtp" address="169.254.146.14" port="4143" preference="1" username="XjkkP9WNS2bru+3D" protocol="udp" generation="0" password="oQDXFsS/PIT7VD5I" type="local" network="1"/></transport></session></iq>

JABBER: asterisk OUTGOING: <iq type='result' from='ast-talk@zepps.ru/talk1E33F7FF' to='ast-me@zepps.ru/Talk.v104E3E7C0ED' id='44'/>

JABBER: asterisk INCOMING: <iq to="ast-talk@zepps.ru/talk1E33F7FF" type="set" id="45" from="ast-me@zepps.ru/Talk.v104E3E7C0ED"><session type="transport-info" id="1132342159" initiator="ast-me@zepps.ru/Talk.v104E3E7C0ED" xmlns="http://www.google.com/session"><transport xmlns="http://www.google.com/transport/p2p"><candidate name="rtp" address="95.24.31.172" port="4142" preference="0.9" username="hLel9c9L8GFkdjzJ" protocol="udp" generation="0" password="luqgryV4aCNVzr9I" type="stun" network="0"/></transport></session></iq>

JABBER: asterisk OUTGOING: <iq type='result' from='ast-talk@zepps.ru/talk1E33F7FF' to='ast-me@zepps.ru/Talk.v104E3E7C0ED' id='45'/>
-- dialparties.agi: DbDel CALLTRACE/20 - Caller ID is not defined
-- dialparties.agi: DbDel CALLTRACE/11 - Caller ID is not defined
-- dialparties.agi: Filtered ARG3: 20-11
== Manager 'admin' logged off from 127.0.0.1
sip*CLI>
JABBER: asterisk INCOMING: <iq to="ast-talk@zepps.ru/talk1E33F7FF" id="aaabq" type="result" from="ast-me@zepps.ru/Talk.v104E3E7C0ED"/>
sip*CLI>
JABBER: asterisk INCOMING: <iq to="ast-talk@zepps.ru/talk1E33F7FF" id="aaabr" type="result" from="ast-me@zepps.ru/Talk.v104E3E7C0ED"/>
-- <Gtalk/me-4072>AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:7] Dial("Gtalk/me-4072", "SIP/20&SIP/11,60,m(default)tM(auto-blkvm)") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
-- Called 20
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
-- Called 11
-- Started music on hold, class 'default', on Gtalk/me-4072
-- SIP/20-098d2fb0 is ringing
-- SIP/11-0983b268 is ringing
-- SIP/11-0983b268 answered Gtalk/me-4072
-- Executing [s@macro-auto-blkvm:1] Set("SIP/11-0983b268", "__MACRO_RESULT=") in new stack
-- Executing [s@macro-auto-blkvm:2] DBdel("SIP/11-0983b268", "BLKVM/600/Gtalk/me-4072") in new stack
-- DBdel: family=BLKVM, key=600/Gtalk/me-4072
-- Stopped music on hold on Gtalk/me-4072

JABBER: asterisk OUTGOING: <iq type='set' to='ast-me@zepps.ru/Talk.v104E3E7C0ED' from='ast-talk@zepps.ru/talk1E33F7FF' id='aaabs'><session xmlns='http://www.google.com/session' type='accept' initiator='ast-me@zepps.ru/Talk.v104E3E7C0ED' id='1132342159'><description xmlns='http://www.google.com/session/phone' xml:lang='en'><payload-type id='0' name='PCMU' clockrate='8000' bitrate='64000'/><payload-type id='100' name='EG711U' clockrate='8000' bitrate='64000'/><payload-type id='8' name='PCMA' clockrate='8000' bitrate='64000'/><payload-type id='101' name='EG711A' clockrate='8000' bitrate='64000'/><payload-type id='103' name='gsm'/><payload-type id='106' name='telephone-event' clockrate='8000'/></description><transport xmlns='http://www.google.com/transport/p2p'/></session></iq>
sip*CLI>
JABBER: asterisk INCOMING: <iq to="ast-talk@zepps.ru/talk1E33F7FF" id="aaabs" type="result" from="ast-me@zepps.ru/Talk.v104E3E7C0ED"/>
-- Executing [h@macro-dial:1] Macro("Gtalk/me-4072", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] ResetCDR("Gtalk/me-4072", "vw") in new stack
-- Executing [s@macro-hangupcall:2] NoCDR("Gtalk/me-4072", "") in new stack
-- Executing [s@macro-hangupcall:3] GotoIf("Gtalk/me-4072", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing [s@macro-hangupcall:6] GotoIf("Gtalk/me-4072", "0?skipblkvm") in new stack
-- Executing [s@macro-hangupcall:7] NoOp("Gtalk/me-4072", "Cleaning Up Block VM Flag: BLKVM/600/Gtalk/me-4072") in new stack
-- Executing [s@macro-hangupcall:8] DBdel("Gtalk/me-4072", "BLKVM/600/Gtalk/me-4072") in new stack
-- DBdel: family=BLKVM, key=600/Gtalk/me-4072
-- DBdel: Error deleting key from database.
-- Executing [s@macro-hangupcall:9] GotoIf("Gtalk/me-4072", "1?theend") in new stack
-- Goto (macro-hangupcall,s,11)
-- Executing [s@macro-hangupcall:11] Hangup("Gtalk/me-4072", "") in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'Gtalk/me-4072' in macro 'hangupcall'
== Spawn extension (macro-dial, h, 1) exited non-zero on 'Gtalk/me-4072'
== Spawn extension (macro-dial, s, 7) exited non-zero on 'Gtalk/me-4072' in macro 'dial'
== Spawn extension (ext-group, 600, 13) exited non-zero on 'Gtalk/me-4072'

JABBER: asterisk OUTGOING: <iq type='set' from='ast-talk@zepps.ru/talk1E33F7FF' to='ast-me@zepps.ru/Talk.v104E3E7C0ED' id='aaabt'><session type='terminate' id='1132342159' initiator='ast-me@zepps.ru/Talk.v104E3E7C0ED' xmlns='http://www.google.com/session'/></iq>
== End MixMonitor Recording Gtalk/me-4072
sip*CLI>
JABBER: asterisk INCOMING: <iq to="ast-talk@zepps.ru/talk1E33F7FF" id="aaabt" type="result" from="ast-me@zepps.ru/Talk.v104E3E7C0ED"/>
s
2010-01-03 21:17

Avatara of mike.zh
Откуда: Санкт-Петербург
Сообщений: 46

Re: Голос из * не доходит в GTalk-клиента

А есть ли доступ до gtalk сервера с этой машины? клиентом не пробовали цепляться?
2010-01-05 23:04

Avatara of zepps
Откуда: Москва
Сообщений: 770

Re: Голос из * не доходит в GTalk-клиента

Доступ конечно есть. Астериск как клиент успешно регается на talk.google.com и так же успешно соединяет обоих абонентов.

Вот только от Астериска в сторону клиента GTalk голос не идет.
2010-01-06 03:11

Avatara of zepps
Откуда: Москва
Сообщений: 770

Re: Голос из * не доходит в GTalk-клиента

Сам GTalk-клиент успешно пускает голос в обе стороны.
2010-01-06 03:13

Сообщений: 2

Re: Голос из * не доходит в GTalk-клиента

Если GTalk-клиент русский, то попробуй поставить английский, у меня с русским такая же проблемма. (
2010-01-07 10:01

Avatara of zepps
Откуда: Москва
Сообщений: 770

Re: Голос из * не доходит в GTalk-клиента

Дык вот изначально то и стоял английский. Все осложняется тем, что звонить будут с разных GTalk-ов.
2010-01-07 12:07

Сообщений: 63

Re: Голос из * не доходит в GTalk-клиента

JABBER: asterisk INCOMING: <iq to="ast-talk@zepps.ru/talk1E33F7FF" type="set" id="43" from="ast-me@zepps.ru/Talk.v104E3E7C0ED"><session type="transport-info" id="1132342159" initiator="ast-me@zepps.ru/Talk.v104E3E7C0ED" xmlns="http://www.google.com/session"><transport xmlns="http://www.google.com/transport/p2p"><candidate name="rtp" address="192.168.0.222" port="4141" preference="1" username="PUIVffy1oH3waF6s" protocol="udp" generation="0" password="VRl+kVKCHhGq1grW" type="local" network="0"/></transport></session></iq>

JABBER: asterisk OUTGOING: <iq type='result' from='ast-talk@zepps.ru/talk1E33F7FF' to='ast-me@zepps.ru/Talk.v104E3E7C0ED' id='43'/>

JABBER: asterisk INCOMING: <iq to="ast-talk@zepps.ru/talk1E33F7FF" type="set" id="44" from="ast-me@zepps.ru/Talk.v104E3E7C0ED"><session type="transport-info" id="1132342159" initiator="ast-me@zepps.ru/Talk.v104E3E7C0ED" xmlns="http://www.google.com/session"><transport xmlns="http://www.google.com/transport/p2p"><candidate name="rtp" address="169.254.146.14" port="4143" preference="1" username="XjkkP9WNS2bru+3D" protocol="udp" generation="0" password="oQDXFsS/PIT7VD5I" type="local" network="1"/></transport></session></iq>

JABBER: asterisk OUTGOING: <iq type='result' from='ast-talk@zepps.ru/talk1E33F7FF' to='ast-me@zepps.ru/Talk.v104E3E7C0ED' id='44'/>

JABBER: asterisk INCOMING: <iq to="ast-talk@zepps.ru/talk1E33F7FF" type="set" id="45" from="ast-me@zepps.ru/Talk.v104E3E7C0ED"><session type="transport-info" id="1132342159" initiator="ast-me@zepps.ru/Talk.v104E3E7C0ED" xmlns="http://www.google.com/session"><transport xmlns="http://www.google.com/transport/p2p"><candidate name="rtp" address="95.24.31.172" port="4142" preference="0.9" username="hLel9c9L8GFkdjzJ" protocol="udp" generation="0" password="luqgryV4aCNVzr9I" type="stun" network="0"/></transport></session></iq>


esli wnimatelno posmotrish na eti logi to widno chto na odnogo i togoze klienta (gtalk) prixoditsya neskolko IP.

U menya toze bila takaya situacia, ya udalil w klientskom compe wse ne nuznie IP, i wse normalno zarabotalo.
nastroyki w asteriske u tebya normalno
2010-06-12 11:52

Добавить страницу в закладки:  Delicious Google Slashdot Yahoo Yandex.ru Reddit Digg Technorati Bobrdobr.ru Newsland.ru Smi2.ru Rumarkz.ru Vaau.ru Memori.ru Rucity.com Moemesto.ru News2.ru Mister-Wong.ru Myscoop.ru 100zakladok.ru