Сообщений: 21
|
Из sipnet на trixbox не идет
Добрый день. Не могу справиться - помогайте
Имеею trixbox. Настроил транк на sipnet. С телефона во внешний мир звоню прекрасно, а вот наоборот когда пытаюсь позвонить, то звонок идет на телефон (идет вызов на мой IP телефон). НО!!!! когда беру трубку, то все заканчивается - в трубке гудки. А там, откуда дозванивался говорят: "доступ в систему заблокирован. сеанс связи окончен" и гудки...
Я в панике - уже третий день бьюсь головой об стену, куда копать?
Вот основные настройки и трайс с asterisk'а:
Peer detais:
dtmfmode=rfc2833
type=friend
host=sipnet.ru
fromuser=3100783
fromdomain=sipnet.ru
secret=xxxxx
username=3100783
insecure=port,invite
context=from-pstn
disallow=all
nat=yes
allow=g723&g723.1&gsm&ulaw&alaw
register string:
3100783:xxxxx@sipnet.ru/3100783
Трайс с *
-- Executing [s@from-pstn:1] Set("SIP/3100783-0891fdf8", "__FROM_DID=s") in new stack
-- Executing [s@from-pstn:2] Gosub("SIP/3100783-0891fdf8", "app-blacklist-check|s|1") in new stack
-- Executing [s@app-blacklist-check:1] LookupBlacklist("SIP/3100783-0891fdf8", "") in new stack
-- Executing [s@app-blacklist-check:2] GotoIf("SIP/3100783-0891fdf8", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:3] Return("SIP/3100783-0891fdf8", "") in new stack
-- Executing [s@from-pstn:3] ExecIf("SIP/3100783-0891fdf8", "0 |Set|CALLERID(name)=84232345774") in new stack
-- Executing [s@from-pstn:4] Set("SIP/3100783-0891fdf8", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [s@from-pstn:5] SetCallerPres("SIP/3100783-0891fdf8", "allowed_not_screened") in new stack
-- Executing [s@from-pstn:6] Goto("SIP/3100783-0891fdf8", "from-did-direct|100|1") in new stack
-- Goto (from-did-direct,100,1)
-- Executing [100@from-did-direct:1] Macro("SIP/3100783-0891fdf8", "exten-vm|novm|100") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/3100783-0891fdf8", "user-callerid") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/3100783-0891fdf8", "AMPUSER=84232345774") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/3100783-0891fdf8", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/3100783-0891fdf8", "1|Set|REALCALLERIDNUM=84232345774") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/3100783-0891fdf8", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/3100783-0891fdf8", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/3100783-0891fdf8", "1?report") in new stack
-- Goto (macro-user-callerid,s,11)
-- Executing [s@macro-user-callerid:11] GotoIf("SIP/3100783-0891fdf8", "0?continue") in new stack
-- Executing [s@macro-user-callerid:12] Set("SIP/3100783-0891fdf8", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:13] GotoIf("SIP/3100783-0891fdf8", "1?continue") in new stack
-- Goto (macro-user-callerid,s,20)
-- Executing [s@macro-user-callerid:20] NoOp("SIP/3100783-0891fdf8", "Using CallerID "Vladivostok" <84232345774>") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/3100783-0891fdf8", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/3100783-0891fdf8", "VMBOX=novm") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/3100783-0891fdf8", "EXTTOCALL=100") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/3100783-0891fdf8", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("SIP/3100783-0891fdf8", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("SIP/3100783-0891fdf8", "RT=""") in new stack
-- Executing [s@macro-exten-vm:8] Macro("SIP/3100783-0891fdf8", "record-enable|100|IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/3100783-0891fdf8", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/3100783-0891fdf8", "recordingcheck|20090619-173637|1245393397.34") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20090619-173637|1245393397.34: Inbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] MacroExit("SIP/3100783-0891fdf8", "") in new stack
-- Executing [s@macro-exten-vm:9] Macro("SIP/3100783-0891fdf8", "dial||tr|100") in new stack
-- Executing [s@macro-dial:1] GotoIf("SIP/3100783-0891fdf8", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("SIP/3100783-0891fdf8", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_additional.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'admin' logged on from 127.0.0.1
dialparties.agi: Caller ID name is 'Vladivostok' number is '84232345774'
dialparties.agi: USE_CONFIRMATION: 'FALSE'
dialparties.agi: RINGGROUP_INDEX: ''
dialparties.agi: Methodology of ring is 'none'
-- dialparties.agi: Added extension 100 to extension map
> dialparties.agi: Extension 100 has call screening off
-- dialparties.agi: Extension 100 cf is disabled
-- dialparties.agi: Extension 100 do not disturb is disabled
> dialparties.agi: extnum 100 has: cw: 1; hascfb: 0 [] hascfu: 0 []
> dialparties.agi: ExtensionState: 0
-- dialparties.agi: dbset CALLTRACE/100 to 84232345774
-- dialparties.agi: Filtered ARG3: 100
== Manager 'admin' logged off from 127.0.0.1
-- AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:7] Dial("SIP/3100783-0891fdf8", "SIP/100||tr") in new stack
-- Called 100
!!!!ВОТ ВИДИТЕ - ОН ЗВОНИТ
-- SIP/100-08904fe8 is ringing
!!!!ТЕПЕРЬ Я БЕРУ ТРУБКУ
-- SIP/100-08904fe8 answered SIP/3100783-0891fdf8
== Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/3100783-0891fdf8' in macro 'dial'
== Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/3100783-0891fdf8' in macro 'exten-vm'
== Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/3100783-0891fdf8'
-- Executing [h@macro-dial:1] Macro("SIP/3100783-0891fdf8", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] ResetCDR("SIP/3100783-0891fdf8", "w") in new stack
-- Executing [s@macro-hangupcall:2] NoCDR("SIP/3100783-0891fdf8", "") in new stack
-- Executing [s@macro-hangupcall:3] GotoIf("SIP/3100783-0891fdf8", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing [s@macro-hangupcall:6] GotoIf("SIP/3100783-0891fdf8", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] GotoIf("SIP/3100783-0891fdf8", "1?theend") in new stack
-- Goto (macro-hangupcall,s,11)
-- Executing [s@macro-hangupcall:11] Hangup("SIP/3100783-0891fdf8", "") in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/3100783-0891fdf8' in macro 'hangupcall'
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/3100783-0891fdf8'
А ПОСЛЕ ЭТОГО ГУДКИ И "доступ в систему заблокирован. сеанс связи окончен"
ПАМАГИТЕ!!! НЕМАГУ БОЛЬШЕ!!!
|