Собсно вопрос в следующем нужно чтобы с Avaya шлюза звонок приходящий с нужным префиксом попадал в транк оператора отрезая префикс и подставляя нужный мне Outbound CallerID
Звонок приходит c префиксом 000110 попадает в inbound routers и вот тут начинается чихорда .... если в inbound routers в поле DID Number прописать полностью весь номер тоесть допустим 00011084956103456 то он согласно правилу уходит прекрасно в нужный транк и все прекрасно звонит. Если оставить поле DID Number пустое и указать CallerID Number то звонок так же прекрасно уходит куда нужно и осуществляется звонок, но тебя слышат, а ты нет. если оставить все поля пустыми, то есть inbound routers - any DID / any CID тогда вообще происходит непонятное ....
Код: Выделить всё
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [00011089030037589@from-trunk-sip-avayag430:1] Set("SIP/avayag430-00000060", "GROUP()=OUT_3") in new stack
-- Executing [00011089030037589@from-trunk-sip-avayag430:2] Goto("SIP/avayag430-00000060", "from-trunk,00011089030037589,1") in new stack
-- Goto (from-trunk,00011089030037589,1)
-- Executing [00011089030037589@from-trunk:1] NoOp("SIP/avayag430-00000060", "Catch-All DID Match - Found 00011089030037589 - You probably want a DID for this.") in new stack
-- Executing [00011089030037589@from-trunk:2] Goto("SIP/avayag430-00000060", "ext-did,s,1") in new stack
-- Goto (ext-did,s,1)
-- Executing [s@ext-did:1] ExecIf("SIP/avayag430-00000060", "1?Set(__FROM_DID=s)") in new stack
-- Executing [s@ext-did:2] Set("SIP/avayag430-00000060", "CDR(did)=s") in new stack
-- Executing [s@ext-did:3] ExecIf("SIP/avayag430-00000060", "0 ?Set(CALLERID(name)=4956209448)") in new stack
-- Executing [s@ext-did:4] Set("SIP/avayag430-00000060", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [s@ext-did:5] Set("SIP/avayag430-00000060", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [s@ext-did:6] Goto("SIP/avayag430-00000060", "ext-trunk,2,1") in new stack
-- Goto (ext-trunk,2,1)
-- Executing [2@ext-trunk:1] Set("SIP/avayag430-00000060", "TDIAL_STRING=SIP/orandge") in new stack
-- Executing [2@ext-trunk:2] Set("SIP/avayag430-00000060", "DIAL_TRUNK=2") in new stack
-- Executing [2@ext-trunk:3] Goto("SIP/avayag430-00000060", "ext-trunk,tdial,1") in new stack
-- Goto (ext-trunk,tdial,1)
-- Executing [tdial@ext-trunk:1] Set("SIP/avayag430-00000060", "OUTBOUND_GROUP=OUT_2") in new stack
-- Executing [tdial@ext-trunk:2] GotoIf("SIP/avayag430-00000060", "0?nomax") in new stack
-- Executing [tdial@ext-trunk:3] GotoIf("SIP/avayag430-00000060", "0?hangit") in new stack
-- Executing [tdial@ext-trunk:4] ExecIf("SIP/avayag430-00000060", "1?Set(CALLERPRES()=allowed_not_screened)") in new stack
-- Executing [tdial@ext-trunk:5] Set("SIP/avayag430-00000060", "DIAL_NUMBER=s") in new stack
-- Executing [tdial@ext-trunk:6] GosubIf("SIP/avayag430-00000060", "1?sub-flp-2,s,1()") in new stack
-- Executing [s@sub-flp-2:1] ExecIf("SIP/avayag430-00000060", "0?Set(TARGET_FLP_2=)") in new stack
-- Executing [s@sub-flp-2:2] GotoIf("SIP/avayag430-00000060", "0?match") in new stack
-- Executing [s@sub-flp-2:3] ExecIf("SIP/avayag430-00000060", "0?Set(TARGET_FLP_2=)") in new stack
-- Executing [s@sub-flp-2:4] GotoIf("SIP/avayag430-00000060", "0?match") in new stack
-- Executing [s@sub-flp-2:5] Return("SIP/avayag430-00000060", "") in new stack
-- Executing [tdial@ext-trunk:7] Set("SIP/avayag430-00000060", "OUTNUM=s") in new stack
-- Executing [tdial@ext-trunk:8] Set("SIP/avayag430-00000060", "DIAL_TRUNK_OPTIONS=Tt") in new stack
-- Executing [tdial@ext-trunk:9] Dial("SIP/avayag430-00000060", "SIP/orandge/s,300,Tt") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/orandge/s
-- Got SIP response 484 "Address Incomplete" back from 172.16.217.145:5060
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [tdial@ext-trunk:10] Set("SIP/avayag430-00000060", "CALLERID(number)=4956209448") in new stack
-- Executing [tdial@ext-trunk:11] Set("SIP/avayag430-00000060", "CALLERID(name)=\") in new stack
-- Executing [tdial@ext-trunk:12] Hangup("SIP/avayag430-00000060", "") in new stack
== Spawn extension (ext-trunk, tdial, 12) exited non-zero on 'SIP/avayag430-00000060'