Добрый день. Имеется такой вопрос: Есть многоканальный транк подайющий по sip(на н число внешних номеров), при исходящем звонке передается транковый Outbound CID. Если же к каждому екстеншену прописать свой внешний Outbound CID, то при звонке все линии заняты.
-- Executing [XXXXXXX@CONTEXT:1] Macro("SIP/1750-00003772", "user-callerid,SKIPTTL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/1750-00003772", "AMPUSER=1750") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/1750-00003772", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/1750-00003772", "1?Set(REALCALLERIDNUM=1750)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/1750-00003772", "AMPUSER=1750") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/1750-00003772", "AMPUSERCIDNAME=Test Phone1") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/1750-00003772", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/1750-00003772", "AMPUSERCID=1750") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/1750-00003772", "CALLERID(all)="Test Phone1" <1750>") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/1750-00003772", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/1750-00003772", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("SIP/1750-00003772", "Using CallerID "Test Phone1" <1750>") in new stack
-- Executing [XXXXXXX@CONTEXT:2] Set("SIP/1750-00003772", "_NODEST=") in new stack
-- Executing [XXXXXXX@CONTEXT:3] Macro("SIP/1750-00003772", "record-enable,1750,OUT,") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/1750-00003772", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/1750-00003772", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/1750-00003772", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("SIP/1750-00003772", "0?IN") in new stack
-- Executing [s@macro-record-enable:16] ExecIf("SIP/1750-00003772", "1?MacroExit()") in new stack
-- Executing [XXXXXXX@CONTEXT:4] Macro("SIP/1750-00003772", "dialout-trunk,47,XXXXXXX,,") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/1750-00003772", "DIAL_TRUNK=47") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/1750-00003772", "0?sub-pincheck,s,1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/1750-00003772", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/1750-00003772", "DIAL_NUMBER=XXXXXXX") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/1750-00003772", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/1750-00003772", "OUTBOUND_GROUP=OUT_47") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/1750-00003772", "0?nomax") in new stack
-- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/1750-00003772", "0?chanfull") in new stack
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/1750-00003772", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/1750-00003772", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/1750-00003772", "outbound-callerid,47") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/1750-00003772", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/1750-00003772", "0?Set(REALCALLERIDNUM=1750)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/1750-00003772", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/1750-00003772", "USEROUTCID=XXXXXXXX64") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/1750-00003772", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/1750-00003772", "TRUNKOUTCID=XXXXXXXXXX") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/1750-00003772", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/1750-00003772", "1?Set(CALLERID(all)=XXXXXXXXXX)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/1750-00003772", "1?Set(CALLERID(all)=XXXXXXXX64)") in new stack
-- Executing [s@macro-outbound-callerid:14] GotoIf("SIP/1750-00003772", "1?macro-dialout-trunk,continue,4") in new stack
-- Goto (macro-dialout-trunk,continue,4)
== Channel 'SIP/1750-00003772' jumping out of macro 'outbound-callerid'
-- Executing [continue@macro-dialout-trunk:4] Set("SIP/1750-00003772", "CALLERID(number)=1750") in new stack
-- Executing [XXXXXXX@CONTEXT:5] Macro("SIP/1750-00003772", "outisbusy,") in new stack
-- Executing [s@macro-outisbusy:1] Progress("SIP/1750-00003772", "") in new stack
-- Executing [s@macro-outisbusy:2] GotoIf("SIP/1750-00003772", "0?emergency,1") in new stack
-- Executing [s@macro-outisbusy:3] GotoIf("SIP/1750-00003772", "0?intracompany,1") in new stack
-- Executing [s@macro-outisbusy:4] Playback("SIP/1750-00003772", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
-- <SIP/1750-00003772> Playing 'all-circuits-busy-now.ulaw' (language 'en')
== Spawn extension (macro-outisbusy, s, 4) exited non-zero on 'SIP/1750-00003772' in macro 'outisbusy'
== Spawn extension XXXXXXXX@CONTEXT:5, XXXXXXX, 5) exited non-zero on 'SIP/1750-00003772'
-- Executing [h@CONTEXT:1] Macro("SIP/1750-00003772", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GosubIf("SIP/1750-00003772", "0?FAXRET,1") in new stack
-- Executing [s@macro-hangupcall:2] GotoIf("SIP/1750-00003772", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,5)
-- Executing [s@macro-hangupcall:5] GotoIf("SIP/1750-00003772", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,8)
-- Executing [s@macro-hangupcall:8] GotoIf("SIP/1750-00003772", "1?theend") in new stack
-- Goto (macro-hangupcall,s,10)
-- Executing [s@macro-hangupcall:10] Hangup("SIP/1750-00003772", "") in new stack
== Spawn extension (macro-hangupcall, s, 10) exited non-zero on 'SIP/1750-00003772' in macro 'hangupcall'
== Spawn extension (CONTEXT, h, 1) exited non-zero on 'SIP/1750-00003772'
Надо же что бы некоторые екстеншены имели свой внешний callerid. Или может есть какой то другой способ в многоканальном транке передачи исходящего callerid ?
либо провайдер не дает вам меняь CID либо вы его не в том формате прописали.
провайдер ничего пока не говорит, ждем ответа от него. просто как такое может быть(я имею ввиду логи)? пытается передать транковый callerid, после него прописанный callerid, не получается и кидает на "all-circuits-busy-now&pls-try-call-later, noanswer"?
почему ? кстати провайдер так и не отвечает......ждем
mrak ( 2012-03-06 19:37:20 +0400 )редактироватьЗадан: 2012-03-05 18:11:53 +0400
Просмотрен: 3,025 раз
Обновлен: Mar 06 '12
Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании
Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией
GNU GPL.
А что говорит провайдер?
zzuz ( 2012-03-05 19:22:25 +0400 )редактировать