AF
Asterisk Forum
обсуждения телефонии, VoIP и IP-PBX
12разделов
5 423тем
34 385сообщений
← К списку тем

Теряется внешний CallerID при Unattended (Blind) Transfer

Asterisk GUI 1 сообщений -
#1

К секретарю поступают внешние звонки из OOH323-транка, и когда она переключает их на внутренние номера, вместо внешнего CID приходит её собственный. AFAIK, Unattended Transfer так работать не должен..

В CDR такой звонок пишется примерно с такими данными:
Код:

calldate clid src dst dcontext channel dstchannel lastapp lastdata duration billsec disposition amaflags accountcode uniqueid userfield
27.08.2008 15:02 1107 1107 s from-internal SIP/1010-0a382778 OOH323/195.14.50.82-0a12 DBdel BLKVM/1010/SIP/1107-b7c004e8 484 479 ANSWERED 3 1219834971.1133

(1107 - её добавочный, 1010 - мой).

По логам, вроде бы подстановка CID проходит здесь:
Цитата:
[Aug 27 15:02:51] VERBOSE[1030] logger.c: -- Executing [s@macro-user-callerid:1] NoOp("Local/FMPR-1010@from-internal-c593,2", "user-callerid: xxxxx_n 1107") in new stack
[Aug 27 15:02:51] DEBUG[1030] app_macro.c: Executed application: Noop
[Aug 27 15:02:51] VERBOSE[1030] logger.c: -- Executing [s@macro-user-callerid:2] Set("Local/FMPR-1010@from-internal-c593,2", "AMPUSER=1107") in new stack
[Aug 27 15:02:51] DEBUG[1030] app_macro.c: Executed application: Set
[Aug 27 15:02:51] VERBOSE[1030] logger.c: -- Executing [s@macro-user-callerid:3] GotoIf("Local/FMPR-1010@from-internal-c593,2", "1?report") in new stack
[Aug 27 15:02:51] VERBOSE[1030] logger.c: -- Goto (macro-user-callerid,s,13)
[Aug 27 15:02:51] DEBUG[1030] app_macro.c: Executed application: GotoIf
[Aug 27 15:02:51] VERBOSE[1030] logger.c: -- Executing [s@macro-user-callerid:13] NoOp("Local/FMPR-1010@from-internal-c593,2", "TTL: 64 ARG1: SKIPTTL") in new stack
[Aug 27 15:02:51] DEBUG[1030] app_macro.c: Executed application: Noop
[Aug 27 15:02:51] VERBOSE[1030] logger.c: -- Executing [s@macro-user-callerid:14] GotoIf("Local/FMPR-1010@from-internal-c593,2", "1?continue") in new stack
[Aug 27 15:02:51] VERBOSE[1030] logger.c: -- Goto (macro-user-callerid,s,23)
[Aug 27 15:02:51] DEBUG[1030] app_macro.c: Executed application: GotoIf
[Aug 27 15:02:51] VERBOSE[1030] logger.c: -- Executing [s@macro-user-callerid:23] NoOp("Local/FMPR-1010@from-internal-c593,2", "Using CallerID "xxxxxx_n" ") in new stack