Звонки Исходяшие Входяшие Перенаправление
Привет ВСЕМ! Уважаемые Господа помоги запарился искать в гугле хотел решить сам но не получилось!
Мне дали такие данные для меня.
username-matafo
AUTHusername-matafon
pass-P84_55sS2
domain-sip2.telecom.ru
proxy/outpoundproxy-15.56.41.21
номер у этого логина 3303030
подключаюсь через xlite все ок. Настроил работает
Поднял TrixBox на VMware ip локальные
Настроил по доке
1 EXTEN = 200 и 100 все ок внутри
2 Когда звоню на внешний телефон 3303030 он у меня переадресовывает на врутринний 100 ВСЕ ОК работает
ВОПРОС ПОЧЕМУ НЕ ПОЛУЧАЕТЬСЯ ЗДЕЛАТЬ ИСХОД. ЗВОНКИ?? пример 9 и номер городской 2266297 в чем загвозка?
2 Trunk Name: to_telecom
username=matafo
type=peer
secret=P84_55sS2
nat=yes
insecure=invite
host=15.56.41.21
fromuser=matafon
fromdomain=sip2.telecom.ru
from=matafon
disallow=all
allow=alaw&g729&g726&speex&ulaw
canreinvite=no
dtmfmode=inband
qualify=yes
3 INCOMING PEER from_telecom
username=matafo
type=peer
secret=P84_55sS2
nat=yes
insecure=invite
host=15.56.41.21
fromuser=mtafon
fromdomain=sip2.telecom.ru
from=mtatafon
disallow=all
allow=alaw&alaw&g729&g726&speex&ulaw
context=from-trunk
canreinvite=no
dtmfmode=rfc2833
qualify=yes
REGISTER : matafo:P84_55sS2$:matafon@15.56.41.21/matafo
DIAL PLAN
9|XXXXXXX
sip show peers
Name/username Host Dyn Nat ACL Port Status
to_telecom/matafo 15.56.41.21 N 5060 OK (6 ms)
from_telecom/matafo 15.56.41.21 N 5060 OK (5 ms)
100/100 192.168.241.1 D N 54528 OK (102 ms)
3 sip peers [Monitored: 3 online, 0 offline Unmonitored: 0 online, 0 offline]
trixbox1*CLI> sip show registry
Host Username Refresh State Reg.Time
to_telecom:5060 matafo 25 Registered Thu, 18 Dec 2008 01:51:52
trixbox1*CLI>
log
[Dec 18 01:53:16] DEBUG[5834] app_macro.c: Executed application: GotoIf
[Dec 18 01:53:16] VERBOSE[5834] logger.c: -- Executing [s@macro-dialout-trunk:20] Dial("SIP/100-b794e4e8", "SIP/to_telecom/2266297|300|") in new stack
[Dec 18 01:53:16] VERBOSE[5834] logger.c: -- Called to_telecom/2266297
[Dec 18 01:53:16] WARNING[3079] chan_sip.c: Received response: "Forbidden" from '"100" <sip:matafo@sip2.telecom.ru>;tag=as54e241b7'
[Dec 18 01:53:16] VERBOSE[5834] logger.c: -- SIP/to_telecom-09fae620 is circuit-busy
[Dec 18 01:53:16] VERBOSE[5834] logger.c: == Everyone is busy/congested at this time (1:0/1/0)
[Dec 18 01:53:16] DEBUG[5834] app_macro.c: Executed application: Dial
[Dec 18 01:53:16] VERBOSE[5834] logger.c: -- Executing [s@macro-dialout-trunk:21] Goto("SIP/100-b794e4e8", "s-CONGESTION|1") in new stack
[Dec 18 01:53:16] VERBOSE[5834] logger.c: -- Goto (macro-dialout-trunk,s-CONGESTION,1)
[Dec 18 01:53:16] DEBUG[5834] app_macro.c: Executed application: Goto
[Dec 18 01:53:16] VERBOSE[5834] logger.c: -- Executing [s-CONGESTION@macro-dialout-trunk:1] GotoIf("SIP/100-b794e4e8", "0?noreport") in new stack
[Dec 18 01:53:16] DEBUG[5834] app_macro.c: Executed application: GotoIf
[Dec 18 01:53:16] VERBOSE[5834] logger.c: -- Executing [s-CONGESTION@macro-dialout-trunk:2] AGI("SIP/100-b794e4e8", "555") in new stack
[Dec 18 01:53:16] VERBOSE[5834] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/555
[Dec 18 01:53:16] VERBOSE[5834] logger.c: == 555: Failed to execute '/var/lib/asterisk/agi-bin/555': No such file or directory
[Dec 18 01:53:16] DEBUG[5834] app_macro.c: Executed application: AGI
[Dec 18 01:53:16] VERBOSE[5834] logger.c: -- Executing [s-CONGESTION@macro-dialout-trunk:3] NoOp("SIP/100-b794e4e8", "TRUNK Dial failed due to CONGESTION - failing through to other trunks") in new stack
[Dec 18 01:53:16] DEBUG[5834] app_macro.c: Executed application: Noop
[Dec 18 01:53:17] VERBOSE[5834] logger.c: -- Executing [92266297@from-internal:5] Macro("SIP/100-b794e4e8", "outisbusy|") in new stack
[Dec 18 01:53:17] VERBOSE[5834] logger.c: -- Executing [s@macro-outisbusy:1] Playback("SIP/100-b794e4e8", "all-circuits-busy-now|noanswer") in new stack
[Dec 18 01:53:17] VERBOSE[5834] logger.c: -- <SIP/100-b794e4e8> Playing 'all-circuits-busy-now' (language 'en')
[Dec 18 01:53:18] DEBUG[5834] app_macro.c: Executed application: Playback
[Dec 18 01:53:18] VERBOSE[5834] logger.c: -- Executing [s@macro-outisbusy:2] Playback("SIP/100-b794e4e8", "pls-try-call-later|noanswer") in new stack
[Dec 18 01:53:18] VERBOSE[5834] logger.c: -- <SIP/100-b794e4e8> Playing 'pls-try-call-later' (language 'en')
[Dec 18 01:53:20] VERBOSE[5834] logger.c: == Spawn extension (macro-outisbusy, s, 2) exited non-zero on 'SIP/100-b794e4e8' in macro 'outisbusy'
[Dec 18 01:53:20] VERBOSE[5834] logger.c: == Spawn extension (macro-outisbusy, s, 2) exited non-zero on 'SIP/100-b794e4e8'
И заметил на веб интерфейсе какойто странный адрес 11.16.0.3 что за адрес так и не поля
2008-12-18 00:25:13 100 92266297 SIP/100-b7940a10 SIP/to_telecom-09fae620 FAILED 0 Not Recorded
2008-12-18 00:25:38 2266297 100 SIP/11.16.0.3-b7950ed0 SIP/100-09fae620 NO ANSWER 0 Not Recorded
2008-12-18 00:30:21 2266297 100 SIP/11.16.0.3-b794fa78 SIP/100-09fae620 NO ANSWER 0 Not Recorded
2008-12-18 00:30:45 100 92266297 SIP/100-b794e4e8 SIP/to_telecom-09fae620 FAILED 0 Not Recorded
|