elastix не работает перевод звонка:
Помогите пожалуйста разобраться, почему не работает перевод звонка с уведомлением?
Поставил elastix из коробки, версию Elastix 2.0.0-57.
Звоню с софтфона ekiga пытаюсь переключить на внутренний номер, для этого набираю в софтфоне * и номер. И я не слышу слово TRANSFER?
То есть не работает перевод. Помогите понять что произошло?
-- Executing [6268339@from-internal:1] Macro("SIP/921-0000000b", "user-callerid,SKIPTTL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/921-0000000b", "AMPUSER=921") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/921-0000000b", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/921-0000000b", "1?Set(REALCALLERIDNUM=921)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/921-0000000b", "AMPUSER=921") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/921-0000000b", "AMPUSERCIDNAME=Mariya-Biryukova") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/921-0000000b", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/921-0000000b", "AMPUSERCID=921") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/921-0000000b", "CALLERID(all)="Mariya-Biryukova" <921>") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/921-0000000b", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/921-0000000b", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("SIP/921-0000000b", "Using CallerID "Mariya-Biryukova" <921>") in new stack
-- Executing [6268339@from-internal:2] Set("SIP/921-0000000b", "EMERGENCYROUTE=YES") in new stack
-- Executing [6268339@from-internal:3] Set("SIP/921-0000000b", "MOHCLASS=acc_1") in new stack
-- Executing [6268339@from-internal:4] Set("SIP/921-0000000b", "_NODEST=") in new stack
-- Executing [6268339@from-internal:5] Macro("SIP/921-0000000b", "record-enable,921,OUT,") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/921-0000000b", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/921-0000000b", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/921-0000000b", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("SIP/921-0000000b", "0?IN") in new stack
-- Executing [s@macro-record-enable:16] ExecIf("SIP/921-0000000b", "1?MacroExit()") in new stack
-- Executing [6268339@from-internal:6] Macro("SIP/921-0000000b", "dialout-trunk,5,6268339,,") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/921-0000000b", "DIAL_TRUNK=5") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/921-0000000b", "0?sub-pincheck,s,1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/921-0000000b", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/921-0000000b", "DIAL_NUMBER=6268339") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/921-0000000b", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/921-0000000b", "OUTBOUND_GROUP=OUT_5") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/921-0000000b", "0?nomax") in new stack
-- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/921-0000000b", "0?chanfull") in new stack
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/921-0000000b", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/921-0000000b", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/921-0000000b", "outbound-callerid,5") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/921-0000000b", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/921-0000000b", "0?Set(REALCALLERIDNUM=921)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/921-0000000b", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/921-0000000b", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/921-0000000b", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/921-0000000b", "TRUNKOUTCID=5851052") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/921-0000000b", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/921-0000000b", "1?Set(CALLERID(all)=5851052)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/921-0000000b", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/921-0000000b", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/921-0000000b", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/921-0000000b", "1?AGI(fixlocalprefix)") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
== fixlocalprefix: Dialpattern . matched. 6268339 -> 6268339
-- <SIP/921-0000000b>AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk:13] Set("SIP/921-0000000b", "OUTNUM=6268339") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/921-0000000b", "custom=SIP/mango_585") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/921-0000000b", "1?Set(DIAL_TRUNK_OPTIONS=M(setmusic^acc_1))") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/921-0000000b", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/921-0000000b", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/921-0000000b", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/921-0000000b", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/921-0000000b", "SIP/mango_585/6268339,300,M(setmusic^acc_1)") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
-- Called mango_585/6268339
-- SIP/mango_585-0000000c is ringing
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
-- Executing [79260952508@from-internal:1] Macro("SIP/906-0000000d", "user-callerid,SKIPTTL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/906-0000000d", "AMPUSER=906") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/906-0000000d", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/906-0000000d", "1?Set(REALCALLERIDNUM=906)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/906-0000000d", "AMPUSER=906") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/906-0000000d", "AMPUSERCIDNAME=Tatiana-Brichenko") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/906-0000000d", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/906-0000000d", "AMPUSERCID=906") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/906-0000000d", "CALLERID(all)="Tatiana-Brichenko" <906>") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/906-0000000d", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/906-0000000d", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("SIP/906-0000000d", "Using CallerID "Tatiana-Brichenko" <906>") in new stack
-- Executing [79260952508@from-internal:2] Set("SIP/906-0000000d", "EMERGENCYROUTE=YES") in new stack
-- Executing [79260952508@from-internal:3] Set("SIP/906-0000000d", "MOHCLASS=acc_1") in new stack
-- Executing [79260952508@from-internal:4] Set("SIP/906-0000000d", "_NODEST=") in new stack
-- Executing [79260952508@from-internal:5] Macro("SIP/906-0000000d", "record-enable,906,OUT,") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/906-0000000d", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/906-0000000d", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/906-0000000d", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("SIP/906-0000000d", "0?IN") in new stack
-- Executing [s@macro-record-enable:16] ExecIf("SIP/906-0000000d", "1?MacroExit()") in new stack
-- Executing [79260952508@from-internal:6] Macro("SIP/906-0000000d", "dialout-trunk,5,79260952508,,") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/906-0000000d", "DIAL_TRUNK=5") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/906-0000000d", "0?sub-pincheck,s,1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/906-0000000d", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/906-0000000d", "DIAL_NUMBER=79260952508") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/906-0000000d", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/906-0000000d", "OUTBOUND_GROUP=OUT_5") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/906-0000000d", "0?nomax") in new stack
-- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/906-0000000d", "0?chanfull") in new stack
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/906-0000000d", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/906-0000000d", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/906-0000000d", "outbound-callerid,5") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/906-0000000d", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/906-0000000d", "0?Set(REALCALLERIDNUM=906)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/906-0000000d", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/906-0000000d", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/906-0000000d", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/906-0000000d", "TRUNKOUTCID=5851052") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/906-0000000d", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/906-0000000d", "1?Set(CALLERID(all)=5851052)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/906-0000000d", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/906-0000000d", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/906-0000000d", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/906-0000000d", "1?AGI(fixlocalprefix)") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
== fixlocalprefix: Dialpattern . matched. 79260952508 -> 79260952508
-- <SIP/906-0000000d>AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk:13] Set("SIP/906-0000000d", "OUTNUM=79260952508") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/906-0000000d", "custom=SIP/mango_585") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/906-0000000d", "1?Set(DIAL_TRUNK_OPTIONS=M(setmusic^acc_1))") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/906-0000000d", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/906-0000000d", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/906-0000000d", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/906-0000000d", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/906-0000000d", "SIP/mango_585/79260952508,300,M(setmusic^acc_1)") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
-- Called mango_585/79260952508
-- SIP/mango_585-0000000e is making progress passing it to SIP/906-0000000d
-- SIP/mango_585-0000000c answered SIP/921-0000000b
-- Executing [s@macro-setmusic:1] NoOp("SIP/mango_585-0000000c", "Setting Outbound Route MoH To: acc_1") in new stack
-- Executing [s@macro-setmusic:2] SetMusicOnHold("SIP/mango_585-0000000c", "acc_1") in new stack
-- SIP/mango_585-0000000e is making progress passing it to SIP/906-0000000d
-- SIP/mango_585-0000000e is making progress passing it to SIP/906-0000000d
-- SIP/mango_585-0000000e answered SIP/906-0000000d
-- Executing [s@macro-setmusic:1] NoOp("SIP/mango_585-0000000e", "Setting Outbound Route MoH To: acc_1") in new stack
-- Executing [s@macro-setmusic:2] SetMusicOnHold("SIP/mango_585-0000000e", "acc_1") in new stack
-- Executing [h@macro-dialout-trunk:1] Macro("SIP/906-0000000d", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/906-0000000d", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] NoOp("SIP/906-0000000d", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/906-0000000d", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/906-0000000d", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,10)
-- Executing [s@macro-hangupcall:10] GotoIf("SIP/906-0000000d", "1?theend") in new stack
-- Goto (macro-hangupcall,s,12)
-- Executing [s@macro-hangupcall:12] Hangup("SIP/906-0000000d", "") in new stack
== Spawn extension (macro-hangupcall, s, 12) exited non-zero on 'SIP/906-0000000d' in macro 'hangupcall'
== Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/906-0000000d' in macro 'dialout-trunk'
== Spawn extension (from-internal, 79260952508, 6) exited non-zero on 'SIP/906-0000000d'
ats*CLI>
При этом ничего не происходит когда нажимаю * в консоли ничего не меняется
Подскажите как решить проблему?
если ничего сам не менял, то ## переводит звонок в elastix.
1)*CLI> features show в студию
2)так же добавить в logger.conf :
messages => notice,warning,error,verbose,dtmf затем logger reload и посмотрите что в messages во время набора *
3) не забудьте про опции dial
включил дебаг
<------------->
--- (12 headers 2 lines) ---
Receiving INFO!
* DTMF-relay event received: *
<--- Transmitting (NAT) to 192.168.10.54:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.10.54:5060;branch=z9hG4bK-b251d2d3;received=192.168.10.54
From: "906" <sip:906@192.168.10.124>;tag=d3427ed58bbd6ac8o0
To: <sip:79260952508@192.168.10.124>;tag=as440530f4
Call-ID: bfa31599-e54622d4@192.168.10.54
CSeq: 142 INFO
Server: Asterisk PBX 1.6.2.13
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0
Вот что в момент тона * в логах
cat /etc/asterisk/features_featuremap_additional.conf
;--------------------------------------------------------------------------------;
; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to ;
; this file must be done via the web gui. There are alternative files to make ;
; custom modifications, details at: http://freepbx.org/configuration_files ;
;--------------------------------------------------------------------------------;
;
blindxfer=#
atxfer=*
automon=*1
disconnect=**
cat /etc/asterisk/featuresfeaturemapadditional.conf чето нижние подчеркивания режет! features нижнее featuremap нижнее additional.conf
Запросто может не работать, во многих версиях трансфер тупо сломан, пользуйтесь функционало SIP-телефонов
asterisk -rvvv
и вывод консоли сюда.
Задан: 2011-03-14 15:26:19 +0400
Просмотрен: 3,710 раз
Обновлен: Sep 28 '11
Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании
Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией
GNU GPL.