Здравствуйте!
Усть 10 SIP номеров, зарегистрированных на Astere, настроен исходящий маршрут:
НАстройки PEER:
username=+7349493649465@349.rt.ru
host=IP адрес провайдера
fromdomain=349.rt.ru
fromuser=+7349493649465@349.rt.ru
outboundproxy=IP адрес провайдера
type=friend
secret=XXXXXXXXXXXXXX
qualify=no
port=5060
nat=no
insecure=port,invite
dtmfmode=rfc2833
disallow=all
context=from-internal
allow=alaw&ulaw&g729
Строка регистрации: +7349493649465@349.rt.ru:<ПАРОЛЬ>:+7349493649465@349.rt.ru@<IP адрес провайдера>:5060/+7349493649465
Линии все зарегистрированы!
Настрйоки Outbound ROUTES:
Route Name - rt.ru
Route CID - rt.ru
Dial Patterns that will use this Route:
prefix: 9
match pattern: .
Trunk Sequence for Matched Routes:
добавлен транк +7349493649465
Теперь самое главное: При исходящих вызовах в трубке тишина секунд 20, потом обрыв. Если в любом меню нажать Сохранить и применить то пару минут исходящая связь работает как ни в чем не бывало .... в чем может быть проблема?
При обрывах:
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/700-00000755", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/700-00000755", "USEROUTCID=700") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/700-00000755", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/700-00000755", "TRUNKOUTCID=+73494936152") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/700-00000755", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,14)
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/700-00000755", "1?Set(CALLERID(all)=+73494936152)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/700-00000755", "1?Set(CALLERID(all)=700)") in new stack
-- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/700-00000755", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/700-00000755", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:18] Set("SIP/700-00000755", "CDR(outbound_cnum)=700") in new stack
-- Executing [s@macro-outbound-callerid:19] Set("SIP/700-00000755", "CDR(outbound_cnam)=") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/700-00000755", "0?sub-flp-4,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/700-00000755", "OUTNUM=89222861078") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/700-00000755", "custom=SIP/+73494936151") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/700-00000755", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/700-00000755", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:17] Macro("SIP/700-00000755", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/700-00000755", "") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/700-00000755", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/700-00000755", "1?Set(CONNECTEDLINE(num,i)=89222861078)") in new stack
-- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/700-00000755", "1?Set(CONNECTEDLINE(name,i)=CID:700)") in new stack
-- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/700-00000755", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:22] Dial("SIP/700-00000755", "SIP/+73494936151/89222861078,300,Tt") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/+73494936151/89222861078
[2014-11-18 09:26:51] WARNING[1943]: chan_sip.c:21056 handle_response_invite: Received response: "Forbidden" from '"700" <sip:+73494936151@349.rt.ru>;tag=as1fb10a77'
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:23] NoOp("SIP/700-00000755", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 21") in new stack
-- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/700-00000755", "0?continue,1:s-CHANUNAVAIL,1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/700-00000755", "RC=21") in new stack
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/700-00000755", "21,1") in new stack
-- Goto (macro-dialout-trunk,21,1)
-- Executing [21@macro-dialout-trunk:1] Goto("SIP/700-00000755", "continue,1") in new stack
-- Goto (macro-dialout-trunk,continue,1)
-- Executing [continue@macro-dialout-trunk:1] NoOp("SIP/700-00000755", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 21 - failing through to other trunks") in new stack
-- Executing [continue@macro-dialout-trunk:2] Set("SIP/700-00000755", "CALLERID(number)=700") in new stack
-- Executing [989222861078@from-internal:22] Macro("SIP/700-00000755", "outisbusy,") in new stack
-- Executing [s@macro-outisbusy:1] Progress("SIP/700-00000755", "") in new stack
-- Executing [s@macro-outisbusy:2] GotoIf("SIP/700-00000755", "0?emergency,1") in new stack
-- Executing [s@macro-outisbusy:3] GotoIf("SIP/700-00000755", "0?intracompany,1") in new stack
-- Executing [s@macro-outisbusy:4] Playback("SIP/700-00000755", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
-- <SIP/700-00000755> Playing 'all-circuits-busy-now.ulaw' (language 'en')
После сохранение и применения, когда звонки проходят:
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/700-00000767", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/700-00000767", "USEROUTCID=700") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/700-00000767", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/700-00000767", "TRUNKOUTCID=+73494936151") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/700-00000767", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,14)
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/700-00000767", "1?Set(CALLERID(all)=+73494936151)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/700-00000767", "1?Set(CALLERID(all)=700)") in new stack
-- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/700-00000767", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/700-00000767", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:18] Set("SIP/700-00000767", "CDR(outbound_cnum)=700") in new stack
-- Executing [s@macro-outbound-callerid:19] Set("SIP/700-00000767", "CDR(outbound_cnam)=") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/700-00000767", "0?sub-flp-3,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/700-00000767", "OUTNUM=89222861078") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/700-00000767", "custom=SIP/+73494936151") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/700-00000767", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/700-00000767", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:17] Macro("SIP/700-00000767", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/700-00000767", "") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/700-00000767", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/700-00000767", "1?Set(CONNECTEDLINE(num,i)=89222861078)") in new stack
-- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/700-00000767", "1?Set(CONNECTEDLINE(name,i)=CID:700)") in new stack
-- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/700-00000767", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:22] Dial("SIP/700-00000767", "SIP/+73494936151/89222861078,300,Tt") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/+73494936151/89222861078
-- SIP/+73494936151-00000768 is ringing
-- SIP/+73494936151-00000768 is making progress passing it to SIP/700-00000767
== Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 'SIP/700-00000767' in macro 'dialout-trunk'
== Spawn extension (from-internal, 989222861078, 7) exited non-zero on 'SIP/700-00000767'
-- Executing [h@from-internal:1] Hangup("SIP/700-00000767", "") in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/700-00000767'
[2014-11-18 09:28:04] WARNING[1943]: chan_sip.c:25532 handle_request_subscribe: SUBSCRIBE failure: unrecognized format:'application/watcherinfo+xml' pvt: subscribed: 0, stateid: -1, laststate: 0,dialogver: 0, subscribecont: '', subscribeuri: ''