Пожалуйста, войдите здесь. Часто задаваемые вопросы О нас
Задайте Ваш вопрос

проходит два вызова в pstn одновременно

0

вообще ситуация такая: юзер позвонил через pstn и говорит...

в этот момент другому юзеру взбрело кому то позвонить и он звонит... asterisk говорит что все линии заняты, и выдает короткие гутки... через несколько секунд первый юзер слышит короткие гутки, но разговор не прервался... и ещё через несколько секунд звонок сбрасывается...

вот что в логах *

  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Executing [ХХХХХХХХХХ@from-internal:1] Macro("SIP/106-000000c8", "user-callerid,LIMIT,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/106-000000c8", "AMPUSER=106") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/106-000000c8", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/106-000000c8", "1?Set(REALCALLERIDNUM=106)") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/106-000000c8", "AMPUSER=106") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/106-000000c8", "AMPUSERCIDNAME=EUGENY pk") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/106-000000c8", "0?report") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/106-000000c8", "AMPUSERCID=106") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/106-000000c8", "CALLERID(all)="EUGENY pk" <106>") in new stack
    -- Executing [s@macro-user-callerid:9] GotoIf("SIP/106-000000c8", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:10] ExecIf("SIP/106-000000c8", "1?Set(GROUP(concurrency_limit)=106)") in new stack
    -- Executing [s@macro-user-callerid:11] ExecIf("SIP/106-000000c8", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@macro-user-callerid:12] GosubIf("SIP/106-000000c8", "7?sub-ccss,s,1(from-internal,ХХХХХХХХХХ)") in new stack
    -- Executing [s@sub-ccss:1] ExecIf("SIP/106-000000c8", "0?Return()") in new stack
    -- Executing [s@sub-ccss:2] Set("SIP/106-000000c8", "CCSS_SETUP=TRUE") in new stack
    -- Executing [s@sub-ccss:3] GosubIf("SIP/106-000000c8", "0?monitor_config,1(from-internal,ХХХХХХХХХХ):monitor_default,1(from-internal,ХХХХХХХХХХ)") in new stack
    -- Executing [monitor_default@sub-ccss:1] GotoIf("SIP/106-000000c8", "0?is_exten") in new stack
    -- Executing [monitor_default@sub-ccss:2] StackPop("SIP/106-000000c8", "") in new stack
    -- Executing [monitor_default@sub-ccss:3] Return("SIP/106-000000c8", "FALSE") in new stack
    -- Executing [s@macro-user-callerid:13] GotoIf("SIP/106-000000c8", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,26)
    -- Executing [s@macro-user-callerid:26] Set("SIP/106-000000c8", "CALLERID(number)=106") in new stack
    -- Executing [s@macro-user-callerid:27] Set("SIP/106-000000c8", "CALLERID(name)=EUGENY pk") in new stack
    -- Executing [s@macro-user-callerid:28] Set("SIP/106-000000c8", "CHANNEL(language)=ru") in new stack
    -- Executing [ХХХХХХХХХХ@from-internal:2] Set("SIP/106-000000c8", "MOHCLASS=default") in new stack
    -- Executing [ХХХХХХХХХХ@from-internal:3] Set("SIP/106-000000c8", "_NODEST=") in new stack
    -- Executing [ХХХХХХХХХХ@from-internal:4] Gosub("SIP/106-000000c8", "sub-record-check,s,1(out,ХХХХХХХХХХ,)") in new stack
    -- Executing [s@sub-record-check:1] GotoIf("SIP/106-000000c8", "1?check") in new stack
    -- Goto (sub-record-check,s,6)
    -- Executing [s@sub-record-check:6] Set("SIP/106-000000c8", "__MON_FMT=wav") in new stack
    -- Executing [s@sub-record-check:7] GotoIf("SIP/106-000000c8", "1?next") in new stack
    -- Goto (sub-record-check,s,10)
    -- Executing [s@sub-record-check:10] ExecIf("SIP/106-000000c8", "0?Return()") in new stack
    -- Executing [s@sub-record-check:11] GotoIf("SIP/106-000000c8", "0?out,1") in new stack
    -- Executing [s@sub-record-check:12] Set("SIP/106-000000c8", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [s@sub-record-check:13] ExecIf("SIP/106-000000c8", "0?Set(__REC_POLICY_MODE=)") in new stack
    -- Executing [s@sub-record-check:14] Set("SIP/106-000000c8", "NOW=1349026013") in new stack
    -- Executing [s@sub-record-check:15] Set("SIP/106-000000c8", "__DAY=30") in new stack
    -- Executing [s@sub-record-check:16] Set("SIP/106-000000c8", "__MONTH=09") in new stack
    -- Executing [s@sub-record-check:17] Set("SIP/106-000000c8", "__YEAR=2012") in new stack
    -- Executing [s@sub-record-check:18] Set("SIP/106-000000c8", "__TIMESTR=20120930-212653") in new stack
    -- Executing [s@sub-record-check:19] Set("SIP/106-000000c8", "__FROMEXTEN=106") in new stack
    -- Executing [s@sub-record-check:20] Set("SIP/106-000000c8", "__CALLFILENAME=out-ХХХХХХХХХХ-106-20120930-212653-1349026013.200") in new stack
    -- Executing [s@sub-record-check:21] Goto("SIP/106-000000c8", "out,1") in new stack
    -- Goto (sub-record-check,out,1)
    -- Executing [out@sub-record-check:1] ExecIf("SIP/106-000000c8", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
    -- Executing [out@sub-record-check:2] GosubIf("SIP/106-000000c8", "0?record,1(exten,ХХХХХХХХХХ,106)") in new stack
    -- Executing [out@sub-record-check:3] Return("SIP/106-000000c8", "") in new stack
    -- Executing [ХХХХХХХХХХ@from-internal:5] Macro("SIP/106-000000c8", "dialout-trunk,1,ХХХХХХХХХХ,") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/106-000000c8", "DIAL_TRUNK=1") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/106-000000c8", "0?sub-pincheck,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/106-000000c8", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/106-000000c8", "DIAL_NUMBER=ХХХХХХХХХХ") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/106-000000c8", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/106-000000c8", "OUTBOUND_GROUP=OUT_1") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/106-000000c8", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/106-000000c8", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/106-000000c8", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/106-000000c8", "outbound-callerid,1") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/106-000000c8", "0?Set(CALLERPRES()=)") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/106-000000c8", "0?Set(REALCALLERIDNUM=106)") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/106-000000c8", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/106-000000c8", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/106-000000c8", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/106-000000c8", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/106-000000c8", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/106-000000c8", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/106-000000c8", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/106-000000c8", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/106-000000c8", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
    -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/106-000000c8", "0?sub-flp-1,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/106-000000c8", "OUTNUM=ХХХХХХХХХХ") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/106-000000c8", "custom=AMP") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/106-000000c8", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
    -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/106-000000c8", "0?Set(DIAL_TRUNK_OPTIONS=M(confirm))") in new stack
    -- Executing [s@macro-dialout-trunk:17] Macro("SIP/106-000000c8", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/106-000000c8", "") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/106-000000c8", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/106-000000c8", "1?Set(CONNECTEDLINE(num,i)=ХХХХХХХХХХ)") in new stack
    -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/106-000000c8", "1?Set(CONNECTEDLINE(name,i)=CID:106)") in new stack
    -- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/106-000000c8", "1?customtrunk") in new stack
    -- Goto (macro-dialout-trunk,s,25)
    -- Executing [s@macro-dialout-trunk:25] Set("SIP/106-000000c8", "pre_num=AMP:SIP/100/") in new stack
    -- Executing [s@macro-dialout-trunk:26] Set("SIP/106-000000c8", "the_num=OUTNUM") in new stack
    -- Executing [s@macro-dialout-trunk:27] Set("SIP/106-000000c8", "post_num=") in new stack
    -- Executing [s@macro-dialout-trunk:28] GotoIf("SIP/106-000000c8", "1?outnum:skipoutnum") in new stack
    -- Goto (macro-dialout-trunk,s,29)
    -- Executing [s@macro-dialout-trunk:29] Set("SIP/106-000000c8", "the_num=ХХХХХХХХХХ") in new stack
    -- Executing [s@macro-dialout-trunk:30] Dial("SIP/106-000000c8", "SIP/100/ХХХХХХХХХХ,300,") in new stack
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Called SIP/100/ХХХХХХХХХХ
[2012-09-30 21:26:53] WARNING[3378]: chan_sip.c:8982 process_sdp: Ignoring video media offer because port number is zero
    -- SIP/100-000000c9 answered SIP/106-000000c8


  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Executing [XXXXXXXXXX@from-internal:1] Macro("SIP/123-000000ca", "user-callerid,LIMIT,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/123-000000ca", "AMPUSER=123") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/123-000000ca", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/123-000000ca", "1?Set(REALCALLERIDNUM=123)") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/123-000000ca", "AMPUSER=123") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/123-000000ca", "AMPUSERCIDNAME=EUGENY") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/123-000000ca", "0?report") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/123-000000ca", "AMPUSERCID=123") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/123-000000ca", "CALLERID(all)="EUGENY" <123>") in new stack
    -- Executing [s@macro-user-callerid:9] GotoIf("SIP/123-000000ca", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:10] ExecIf("SIP/123-000000ca", "1?Set(GROUP(concurrency_limit)=123)") in new stack
    -- Executing [s@macro-user-callerid:11] ExecIf("SIP/123-000000ca", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@macro-user-callerid:12] GosubIf("SIP/123-000000ca", "7?sub-ccss,s,1(from-internal,XXXXXXXXXX)") in new stack
    -- Executing [s@sub-ccss:1] ExecIf("SIP/123-000000ca", "0?Return()") in new stack
    -- Executing [s@sub-ccss:2] Set("SIP/123-000000ca", "CCSS_SETUP=TRUE") in new stack
    -- Executing [s@sub-ccss:3] GosubIf("SIP/123-000000ca", "0?monitor_config,1(from-internal,XXXXXXXXXX):monitor_default,1(from-internal,XXXXXXXXXX)") in new stack
    -- Executing [monitor_default@sub-ccss:1] GotoIf("SIP/123-000000ca", "0?is_exten") in new stack
    -- Executing [monitor_default@sub-ccss:2] StackPop("SIP/123-000000ca", "") in new stack
    -- Executing [monitor_default@sub-ccss:3] Return("SIP/123-000000ca", "FALSE") in new stack
    -- Executing [s@macro-user-callerid:13] GotoIf("SIP/123-000000ca", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,26)
    -- Executing [s@macro-user-callerid:26] Set("SIP/123-000000ca", "CALLERID(number)=123") in new stack
    -- Executing [s@macro-user-callerid:27] Set("SIP/123-000000ca", "CALLERID(name)=EUGENY") in new stack
    -- Executing [s@macro-user-callerid:28] Set("SIP/123-000000ca", "CHANNEL(language)=ru") in new stack
    -- Executing [XXXXXXXXXX@from-internal:2] Set("SIP/123-000000ca", "MOHCLASS=default") in new stack
    -- Executing [XXXXXXXXXX@from-internal:3] Set("SIP/123-000000ca", "_NODEST=") in new stack
    -- Executing [XXXXXXXXXX@from-internal:4] Gosub("SIP/123-000000ca", "sub-record-check,s,1(out,XXXXXXXXXX,)") in new stack
    -- Executing [s@sub-record-check:1] GotoIf("SIP/123-000000ca", "1?check") in new stack
    -- Goto (sub-record-check,s,6)
    -- Executing [s@sub-record-check:6] Set("SIP/123-000000ca", "__MON_FMT=wav") in new stack
    -- Executing [s@sub-record-check:7] GotoIf("SIP/123-000000ca", "1?next") in new stack
    -- Goto (sub-record-check,s,10)
    -- Executing [s@sub-record-check:10] ExecIf("SIP/123-000000ca", "0?Return()") in new stack
    -- Executing [s@sub-record-check:11] GotoIf("SIP/123-000000ca", "0?out,1") in new stack
    -- Executing [s@sub-record-check:12] Set("SIP/123-000000ca", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [s@sub-record-check:13] ExecIf("SIP/123-000000ca", "0?Set(__REC_POLICY_MODE=)") in new stack
    -- Executing [s@sub-record-check:14] Set("SIP/123-000000ca", "NOW=1349026039") in new stack
    -- Executing [s@sub-record-check:15] Set("SIP/123-000000ca", "__DAY=30") in new stack
    -- Executing [s@sub-record-check:16] Set("SIP/123-000000ca", "__MONTH=09") in new stack
    -- Executing [s@sub-record-check:17] Set("SIP/123-000000ca", "__YEAR=2012") in new stack
    -- Executing [s@sub-record-check:18] Set("SIP/123-000000ca", "__TIMESTR=20120930-212719") in new stack
    -- Executing [s@sub-record-check:19] Set("SIP/123-000000ca", "__FROMEXTEN=123") in new stack
    -- Executing [s@sub-record-check:20] Set("SIP/123-000000ca", "__CALLFILENAME=out-XXXXXXXXXX-123-20120930-212719-1349026039.202") in new stack
    -- Executing [s@sub-record-check:21] Goto("SIP/123-000000ca", "out,1") in new stack
    -- Goto (sub-record-check,out,1)
    -- Executing [out@sub-record-check:1] ExecIf("SIP/123-000000ca", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
    -- Executing [out@sub-record-check:2] GosubIf("SIP/123-000000ca", "0?record,1(exten,XXXXXXXXXX,123)") in new stack
    -- Executing [out@sub-record-check:3] Return("SIP/123-000000ca", "") in new stack
    -- Executing [XXXXXXXXXX@from-internal:5] Macro("SIP/123-000000ca", "dialout-trunk,1,XXXXXXXXXX,") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/123-000000ca", "DIAL_TRUNK=1") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/123-000000ca", "0?sub-pincheck,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/123-000000ca", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/123-000000ca", "DIAL_NUMBER=XXXXXXXXXX") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/123-000000ca", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/123-000000ca", "OUTBOUND_GROUP=OUT_1") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/123-000000ca", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/123-000000ca", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/123-000000ca", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/123-000000ca", "outbound-callerid,1") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/123-000000ca", "0?Set(CALLERPRES()=)") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/123-000000ca", "0?Set(REALCALLERIDNUM=123)") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/123-000000ca", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/123-000000ca", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/123-000000ca", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/123-000000ca", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/123-000000ca", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/123-000000ca", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/123-000000ca", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/123-000000ca", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/123-000000ca", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
    -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/123-000000ca", "0?sub-flp-1,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/123-000000ca", "OUTNUM=XXXXXXXXXX") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/123-000000ca", "custom=AMP") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/123-000000ca", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
    -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/123-000000ca", "0?Set(DIAL_TRUNK_OPTIONS=M(confirm))") in new stack
    -- Executing [s@macro-dialout-trunk:17] Macro("SIP/123-000000ca", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/123-000000ca", "") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/123-000000ca", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/123-000000ca", "1?Set(CONNECTEDLINE(num,i)=XXXXXXXXXX)") in new stack
    -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/123-000000ca", "1?Set(CONNECTEDLINE(name,i)=CID:123)") in new stack
    -- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/123-000000ca", "1?customtrunk") in new stack
    -- Goto (macro-dialout-trunk,s,25)
    -- Executing [s@macro-dialout-trunk:25] Set("SIP/123-000000ca", "pre_num=AMP:SIP/100/") in new stack
    -- Executing [s@macro-dialout-trunk:26] Set("SIP/123-000000ca", "the_num=OUTNUM") in new stack
    -- Executing [s@macro-dialout-trunk:27] Set("SIP/123-000000ca", "post_num=") in new stack
    -- Executing [s@macro-dialout-trunk:28] GotoIf("SIP/123-000000ca", "1?outnum:skipoutnum") in new stack
    -- Goto (macro-dialout-trunk,s,29)
    -- Executing [s@macro-dialout-trunk:29] Set("SIP/123-000000ca", "the_num=XXXXXXXXXX") in new stack
    -- Executing [s@macro-dialout-trunk:30] Dial("SIP/123-000000ca", "SIP/100/XXXXXXXXXX,300,") in new stack
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Called SIP/100/XXXXXXXXXX
    -- Got SIP response 503 "Service Unavailable" back from 10.0.0.5:5061
    -- SIP/100-000000cb is circuit-busy
  == Everyone is busy/congested at this time (1:0/1/0)
    -- Executing [s@macro-dialout-trunk:31] NoOp("SIP/123-000000ca", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 34") in new stack
    -- Executing [s@macro-dialout-trunk:32] Goto("SIP/123-000000ca", "s-CONGESTION,1") in new stack
    -- Goto (macro-dialout-trunk,s-CONGESTION,1)
    -- Executing [s-CONGESTION@macro-dialout-trunk:1] Set("SIP/123-000000ca", "RC=34") in new stack
    -- Executing [s-CONGESTION@macro-dialout-trunk:2] Goto("SIP/123-000000ca", "34,1") in new stack
    -- Goto (macro-dialout-trunk,34,1)
    -- Executing [34@macro-dialout-trunk:1] Goto("SIP/123-000000ca", "continue,1") in new stack
    -- Goto (macro-dialout-trunk,continue,1)
    -- Executing [continue@macro-dialout-trunk:1] GotoIf("SIP/123-000000ca", "1?noreport") in new stack
    -- Goto (macro-dialout-trunk,continue,3)
    -- Executing [continue@macro-dialout-trunk:3] NoOp("SIP/123-000000ca", "TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 34 - failing through to other trunks") in new stack
    -- Executing [continue@macro-dialout-trunk:4] Set("SIP/123-000000ca", "CALLERID(number)=123") in new stack
    -- Executing [XXXXXXXXXX@from-internal:6] Macro("SIP/123-000000ca", "outisbusy,") in new stack
    -- Executing [s@macro-outisbusy:1] Progress("SIP/123-000000ca", "") in new stack
    -- Executing [s@macro-outisbusy:2] GotoIf("SIP/123-000000ca", "0?emergency,1") in new stack
    -- Executing [s@macro-outisbusy:3] GotoIf("SIP/123-000000ca", "0?intracompany,1") in new stack
    -- Executing [s@macro-outisbusy:4] Playback("SIP/123-000000ca", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
    -- <sip 123-000000ca=""> Playing 'all-circuits-busy-now.ulaw' (language 'ru')
    -- <sip 123-000000ca=""> Playing 'pls-try-call-later.alaw' (language 'ru')
    -- Executing [s@macro-outisbusy:5] Congestion("SIP/123-000000ca", "20") in new stack
[2012-09-30 21:27:24] WARNING[5828]: channel.c:4674 ast_prod: Prodding channel 'SIP/123-000000ca' failed
  == Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'SIP/123-000000ca' in macro 'outisbusy'
  == Spawn extension (from-internal, XXXXXXXXXX, 6) exited non-zero on 'SIP/123-000000ca'
    -- Executing [h@from-internal:1] Hangup("SIP/123-000000ca", "") in new stack
  == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/123-000000ca'
    -- Executing [h@macro-dialout-trunk:1] Macro("SIP/106-000000c8", "hangupcall,") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/106-000000c8", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,3)
    -- Executing [s@macro-hangupcall:3] ExecIf("SIP/106-000000c8", "0?Set(CDR(recordingfile)=)") in new stack
    -- Executing [s@macro-hangupcall:4] Hangup("SIP/106-000000c8", "") in new stack
  == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/106-000000c8' in macro 'hangupcall'
  == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/106-000000c8'
  == Spawn extension (macro-dialout-trunk, s, 30) exited non-zero on 'SIP/106-000000c8' in macro 'dialout-trunk'
  == Spawn extension (from-internal, ХХХХХХХХХХ, 5) exited non-zero on 'SIP/106-000000c8'
aster*CLI>

почему когда шлюз выдал сигнал занято, астериск все равно набирает номер ?

удалить закрыть спам изменить тег редактировать

спросил 2012-09-30 21:40:59 +0400

jone31 Gravatar jone31
16 13 3 8

обновил 2012-09-30 21:46:08 +0400

1 Ответ

0

почему когда шлюз выдал сигнал занято, астериск все равно набирает номер ?

во-первых, шлюз выдал не занято (BUSY), а перегруженность канала (DIALSTATUS = CONGESTION and HANGUPCAUSE = 34")... во-вторых, в каком месте этих логов видно, что астериск все равно набирает номер?

ссылка удалить спам редактировать

ответил 2012-10-01 01:31:18 +0400

Olpag Gravatar Olpag
2024 3 6 30

Comments

по логам незнаю... а пор факту юзер который уже разговаривает по внешке слышит что набирается номер...

jone31 ( 2012-10-01 20:36:40 +0400 )редактировать

в логах также написано что юзеру 123 играет уведомление "all-circuits-busy-now....", а по факту просто короткие гудки...

jone31 ( 2012-10-01 20:39:04 +0400 )редактировать

Ваш ответ

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[скрыть предварительный просмотр]

Закладки и информация

Добавить закладку

подписаться на rss ленту новостей

Статистика

Задан: 2012-09-30 21:40:59 +0400

Просмотрен: 586 раз

Обновлен: Oct 01 '12

Похожие вопросы:

Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией GNU GPL.