VIDEOCHAT  ::   FAQ  ::   Поиск  ::   Регистрация  ::   Вход

При исходящем вызове не отправляет CallerID

Обо всем касательно FreePBX, MetPBX, TrixBox, Elastix, AstPBX и всех других дистрибутивов

Модераторы: april22, Zavr2008

Ответить
krek
Сообщения: 14
Зарегистрирован: 23 ноя 2021, 16:12

При исходящем вызове не отправляет CallerID

Сообщение krek »

Добрый день. Cитуация, не работают исходящие звонки, провайдер говорит, что от меня при исходящем вызове не отправляет CallerID, параметр Outbound CID у Extension стоит, все облазил, помогите куда копать?
Дебаг звонка

Код: Выделить всё

[2022-01-22 21:57:18] VERBOSE[2616][C-00000034] netsock2.c: Using SIP RTP TOS bits 184
[2022-01-22 21:57:18] VERBOSE[2616][C-00000034] netsock2.c: Using SIP RTP CoS mark 5
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [89035693445@from-internal:1] Macro("SIP/399-00000066", "user-callerid,LIMIT,EXTERNAL,") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-user-callerid:1] Set("SIP/399-00000066", "TOUCH_MONITOR=1642870638.102") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-user-callerid:2] Set("SIP/399-00000066", "CHANCONTEXT=") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-user-callerid:3] Set("SIP/399-00000066", "CHANCONTEXT=") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-user-callerid:4] Set("SIP/399-00000066", "CHANEXTENCONTEXT=399-00000066") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-user-callerid:5] Set("SIP/399-00000066", "CHANEXTEN=399-00000066") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-user-callerid:6] Set("SIP/399-00000066", "CALLERID(number)=399") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-user-callerid:7] Set("SIP/399-00000066", "AMPUSER=399") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-user-callerid:8] Set("SIP/399-00000066", "HOTDESCKCHAN=399-00000066") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-user-callerid:9] Set("SIP/399-00000066", "HOTDESKEXTEN=399") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-user-callerid:10] Set("SIP/399-00000066", "HOTDESKCALL=0") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-user-callerid:11] ExecIf("SIP/399-00000066", "0?Set(HOTDESKCALL=1)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-user-callerid:12] ExecIf("SIP/399-00000066", "0?Set(CALLERID(name)=)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-user-callerid:13] GotoIf("SIP/399-00000066", "0?report") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-user-callerid:14] ExecIf("SIP/399-00000066", "1?Set(REALCALLERIDNUM=399)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-user-callerid:15] Set("SIP/399-00000066", "AMPUSER=399") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-user-callerid:16] GotoIf("SIP/399-00000066", "0?limit") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-user-callerid:17] Set("SIP/399-00000066", "AMPUSERCIDNAME=Петя") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-user-callerid:18] ExecIf("SIP/399-00000066", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-user-callerid:19] GotoIf("SIP/399-00000066", "0?report") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-user-callerid:20] Set("SIP/399-00000066", "AMPUSERCID=399") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-user-callerid:21] Set("SIP/399-00000066", "__DIAL_OPTIONS=HhTtr") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-user-callerid:22] Set("SIP/399-00000066", "CALLERID(all)="Петя" <399>") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-user-callerid:23] ExecIf("SIP/399-00000066", "0?Set(CUSDIAL=)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-user-callerid:24] ExecIf("SIP/399-00000066", "0?Set(CALLERID(all)="Петя" <399>)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-user-callerid:25] GotoIf("SIP/399-00000066", "0?limit") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-user-callerid:26] ExecIf("SIP/399-00000066", "1?Set(GROUP(concurrency_limit)=399)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-user-callerid:27] ExecIf("SIP/399-00000066", "0?Set(CHANNEL(language)=)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-user-callerid:28] NoOp("SIP/399-00000066", "Macro Depth is 1") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-user-callerid:29] GotoIf("SIP/399-00000066", "1?report2:macroerror") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx_builtins.c: Goto (macro-user-callerid,s,30)
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-user-callerid:30] GotoIf("SIP/399-00000066", "1?continue") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx_builtins.c: Goto (macro-user-callerid,s,49)
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-user-callerid:49] Set("SIP/399-00000066", "CALLERID(number)=399") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-user-callerid:50] Set("SIP/399-00000066", "CALLERID(name)=Петя") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-user-callerid:51] GotoIf("SIP/399-00000066", "0?cnum") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-user-callerid:52] Set("SIP/399-00000066", "CDR(cnam)=Петя") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-user-callerid:53] Set("SIP/399-00000066", "CDR(cnum)=399") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-user-callerid:54] Set("SIP/399-00000066", "CHANNEL(language)=ru") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [89035693445@from-internal:2] Gosub("SIP/399-00000066", "sub-record-check,s,1(out,89035693445,force)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@sub-record-check:1] GotoIf("SIP/399-00000066", "0?initialized") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@sub-record-check:2] Set("SIP/399-00000066", "__REC_STATUS=INITIALIZED") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@sub-record-check:3] Set("SIP/399-00000066", "NOW=1642870638") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@sub-record-check:4] Set("SIP/399-00000066", "__DAY=22") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@sub-record-check:5] Set("SIP/399-00000066", "__MONTH=01") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@sub-record-check:6] Set("SIP/399-00000066", "__YEAR=2022") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@sub-record-check:7] Set("SIP/399-00000066", "__TIMESTR=20220122-215718") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@sub-record-check:8] Set("SIP/399-00000066", "__FROMEXTEN=399") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@sub-record-check:9] Set("SIP/399-00000066", "__MON_FMT=wav") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@sub-record-check:10] NoOp("SIP/399-00000066", "Recordings initialized") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@sub-record-check:11] ExecIf("SIP/399-00000066", "0?Set(ARG3=dontcare)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@sub-record-check:12] Set("SIP/399-00000066", "REC_POLICY_MODE_SAVE=") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@sub-record-check:13] ExecIf("SIP/399-00000066", "0?Set(REC_STATUS=NO)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@sub-record-check:14] GotoIf("SIP/399-00000066", "3?checkaction") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx_builtins.c: Goto (sub-record-check,s,17)
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@sub-record-check:17] GotoIf("SIP/399-00000066", "1?sub-record-check,out,1") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx_builtins.c: Goto (sub-record-check,out,1)
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [out@sub-record-check:1] NoOp("SIP/399-00000066", "Outbound Recording Check from 399 to 89035693445") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [out@sub-record-check:2] Set("SIP/399-00000066", "RECMODE=dontcare") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [out@sub-record-check:3] ExecIf("SIP/399-00000066", "1?Goto(routewins)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx_builtins.c: Goto (sub-record-check,out,7)
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [out@sub-record-check:7] Gosub("SIP/399-00000066", "recordcheck,1(force,out,89035693445)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp("SIP/399-00000066", "Starting recording check against force") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [recordcheck@sub-record-check:2] Goto("SIP/399-00000066", "force") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx_builtins.c: Goto (sub-record-check,recordcheck,5)
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [recordcheck@sub-record-check:5] Set("SIP/399-00000066", "__REC_POLICY_MODE=FORCE") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [recordcheck@sub-record-check:6] GotoIf("SIP/399-00000066", "1?startrec") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx_builtins.c: Goto (sub-record-check,recordcheck,16)
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [recordcheck@sub-record-check:16] NoOp("SIP/399-00000066", "Starting recording: out, 89035693445") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [recordcheck@sub-record-check:17] Set("SIP/399-00000066", "__CALLFILENAME=out-89035693445-399-20220122-215718-1642870638.102") in new stack
[2022-01-22 21:57:18] WARNING[106292][C-00000034] func_strings.c: EVAL requires an argument: EVAL(<string>)
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [recordcheck@sub-record-check:18] MixMonitor("SIP/399-00000066", "2022/01/22/out-89035693445-399-20220122-215718-1642870638.102.wav,abi(LOCAL_MIXMON_ID),") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [recordcheck@sub-record-check:19] Set("SIP/399-00000066", "__MIXMON_ID=0x7f4de002bc20") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [recordcheck@sub-record-check:20] Set("SIP/399-00000066", "__RECORD_ID=SIP/399-00000066") in new stack
[2022-01-22 21:57:18] VERBOSE[106293][C-00000034] app_mixmonitor.c: Begin MixMonitor Recording SIP/399-00000066
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [recordcheck@sub-record-check:21] Set("SIP/399-00000066", "__REC_STATUS=RECORDING") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [recordcheck@sub-record-check:22] Set("SIP/399-00000066", "CDR(recordingfile)=out-89035693445-399-20220122-215718-1642870638.102.wav") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [recordcheck@sub-record-check:23] Return("SIP/399-00000066", "") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [out@sub-record-check:8] Return("SIP/399-00000066", "") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [89035693445@from-internal:3] ExecIf("SIP/399-00000066", "0 ?Set(CDR(accountcode)=)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [89035693445@from-internal:4] Set("SIP/399-00000066", "_ROUTEID=1") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [89035693445@from-internal:5] Set("SIP/399-00000066", "_ROUTENAME=outside") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [89035693445@from-internal:6] Set("SIP/399-00000066", "MOHCLASS=default") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [89035693445@from-internal:7] Set("SIP/399-00000066", "_CALLERIDNAMEINTERNAL=Петя") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [89035693445@from-internal:8] Set("SIP/399-00000066", "_CALLERIDNUMINTERNAL=399") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [89035693445@from-internal:9] Set("SIP/399-00000066", "_EMAILNOTIFICATION=FALSE") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [89035693445@from-internal:10] Set("SIP/399-00000066", "_NODEST=") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [89035693445@from-internal:11] Macro("SIP/399-00000066", "dialout-trunk,1,89035693445,,off") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-dialout-trunk:1] Set("SIP/399-00000066", "DIAL_TRUNK=1") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-dialout-trunk:2] ExecIf("SIP/399-00000066", "0?Set(DIAL_OPTIONS=Hhtr)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-dialout-trunk:3] GosubIf("SIP/399-00000066", "0?sub-pincheck,s,1()") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-dialout-trunk:4] ExecIf("SIP/399-00000066", "0?Set(CALLERID(num)=399)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-dialout-trunk:5] GotoIf("SIP/399-00000066", "0?disabletrunk,1") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-dialout-trunk:6] Set("SIP/399-00000066", "DIAL_NUMBER=89035693445") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-dialout-trunk:7] Set("SIP/399-00000066", "DIAL_TRUNK_OPTIONS=HhTtr") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-dialout-trunk:8] Set("SIP/399-00000066", "OUTBOUND_GROUP=OUT_1") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-dialout-trunk:9] Set("SIP/399-00000066", "DIAL_TRUNK_OPTIONS=T") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-dialout-trunk:10] GotoIf("SIP/399-00000066", "1?nomax") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx_builtins.c: Goto (macro-dialout-trunk,s,12)
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-dialout-trunk:12] GotoIf("SIP/399-00000066", "0?skipoutcid") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-dialout-trunk:13] Macro("SIP/399-00000066", "outbound-callerid,1") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-outbound-callerid:1] NoOp("SIP/399-00000066", "399") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-outbound-callerid:2] NoOp("SIP/399-00000066", "") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-outbound-callerid:3] NoOp("SIP/399-00000066", "off") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-outbound-callerid:4] ExecIf("SIP/399-00000066", "0?Set(CALLERPRES(name-pres)=)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-outbound-callerid:5] ExecIf("SIP/399-00000066", "0?Set(CALLERPRES(num-pres)=)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-outbound-callerid:6] Set("SIP/399-00000066", "HOTDESCKCHAN=399-00000066") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-outbound-callerid:7] Set("SIP/399-00000066", "HOTDESKEXTEN=399") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-outbound-callerid:8] Set("SIP/399-00000066", "HOTDESKCALL=0") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-outbound-callerid:9] ExecIf("SIP/399-00000066", "0?Set(HOTDESKCALL=1)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-outbound-callerid:10] ExecIf("SIP/399-00000066", "0?Set(CALLERID(name)=)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-outbound-callerid:11] Set("SIP/399-00000066", "ALLOWTHISROUTE=NO") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-outbound-callerid:12] ExecIf("SIP/399-00000066", "0?Set(ALLOWTHISROUTE=YES)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-outbound-callerid:13] ExecIf("SIP/399-00000066", "0?Hangup()") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-outbound-callerid:14] ExecIf("SIP/399-00000066", "0?Set(REALCALLERIDNUM=399)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-outbound-callerid:15] ExecIf("SIP/399-00000066", "0?Set(AMPUSER=399)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-outbound-callerid:16] GotoIf("SIP/399-00000066", "1?normcid") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx_builtins.c: Goto (macro-outbound-callerid,s,20)
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-outbound-callerid:20] Set("SIP/399-00000066", "USEROUTCID=7XXXXXXXXXX") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-outbound-callerid:21] Set("SIP/399-00000066", "EMERGENCYCID=7XXXXXXXXXX") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-outbound-callerid:22] ExecIf("SIP/399-00000066", "0?Set(EMERGENCYCID=)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-outbound-callerid:23] Set("SIP/399-00000066", "TRUNKOUTCID=") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-outbound-callerid:24] GotoIf("SIP/399-00000066", "1?trunkcid") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx_builtins.c: Goto (macro-outbound-callerid,s,30)
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-outbound-callerid:30] ExecIf("SIP/399-00000066", "0?Set(CALLERID(all)=)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-outbound-callerid:31] ExecIf("SIP/399-00000066", "1?Set(CALLERID(all)=7XXXXXXXXXX)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-outbound-callerid:32] ExecIf("SIP/399-00000066", "0?Set(CALLERID(all)=)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-outbound-callerid:33] ExecIf("SIP/399-00000066", "0?Set(CALLERID(all)=399)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-outbound-callerid:34] ExecIf("SIP/399-00000066", "0?Set(CALLERID(all)=399)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-outbound-callerid:35] Set("SIP/399-00000066", "TIOHIDE=no") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-outbound-callerid:36] ExecIf("SIP/399-00000066", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-outbound-callerid:37] ExecIf("SIP/399-00000066", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-outbound-callerid:38] ExecIf("SIP/399-00000066", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-outbound-callerid:39] ExecIf("SIP/399-00000066", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-outbound-callerid:40] Set("SIP/399-00000066", "CDR(outbound_cnum)=7XXXXXXXXXX") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-outbound-callerid:41] Set("SIP/399-00000066", "CDR(outbound_cnam)=") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-dialout-trunk:14] GosubIf("SIP/399-00000066", "0?sub-flp-1,s,1()") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-dialout-trunk:15] Set("SIP/399-00000066", "OUTNUM=89035693445") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-dialout-trunk:16] Set("SIP/399-00000066", "custom=SIP/testtelecom") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-dialout-trunk:17] ExecIf("SIP/399-00000066", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-dialout-trunk:18] ExecIf("SIP/399-00000066", "0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-dialout-trunk:19] Macro("SIP/399-00000066", "dialout-trunk-predial-hook,") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/399-00000066", "") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-dialout-trunk:20] GotoIf("SIP/399-00000066", "0?skipcrm") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-dialout-trunk:21] Set("SIP/399-00000066", "__CRM_DIRECTION=OUTBOUND") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-dialout-trunk:22] Set("SIP/399-00000066", "__CRM_DESTINATION=89035693445") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-dialout-trunk:23] Set("SIP/399-00000066", "__CRM_SOURCE=399") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-dialout-trunk:24] AGI("SIP/399-00000066", "agi://127.0.0.1/sangomacrm.agi") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] res_agi.c: <SIP/399-00000066>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-dialout-trunk:25] Set("SIP/399-00000066", "CHANNEL(hangup_handler_push)=crm-hangup,s,1") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-dialout-trunk:26] NoOp("SIP/399-00000066", "CRM Finished") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-dialout-trunk:27] GotoIf("SIP/399-00000066", "0?bypass,1") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-dialout-trunk:28] ExecIf("SIP/399-00000066", "1?Set(CONNECTEDLINE(num,i)=89035693445)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-dialout-trunk:29] ExecIf("SIP/399-00000066", "1?Set(CONNECTEDLINE(name,i)=CID:7XXXXXXXXXX)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-dialout-trunk:30] ExecIf("SIP/399-00000066", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)7XXXXXXXXXX)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-dialout-trunk:31] GotoIf("SIP/399-00000066", "0?customtrunk") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-dialout-trunk:32] ExecIf("SIP/399-00000066", "0?Set(DIAL_TRUNK_OPTIONS=)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-dialout-trunk:33] Set("SIP/399-00000066", "HASH(__SIPHEADERS,Alert-Info)=unset") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-dialout-trunk:34] Dial("SIP/399-00000066", "SIP/testtelecom/89035693445,300,Tb(func-apply-sipheaders^s^1,(1))U(sub-send-obroute-email^89035693445^89035693445^1^1642870638^^7XXXXXXXXXX)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] netsock2.c: Using SIP RTP TOS bits 184
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] netsock2.c: Using SIP RTP CoS mark 5
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] app_stack.c: SIP/testtelecom-00000067 Internal Gosub(func-apply-sipheaders,s,1(1)) start
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@func-apply-sipheaders:1] ExecIf("SIP/testtelecom-00000067", "0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@func-apply-sipheaders:2] NoOp("SIP/testtelecom-00000067", "Applying SIP Headers to channel SIP/testtelecom-00000067") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@func-apply-sipheaders:3] Set("SIP/testtelecom-00000067", "TECH=SIP") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@func-apply-sipheaders:4] Set("SIP/testtelecom-00000067", "SIPHEADERKEYS=Alert-Info") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@func-apply-sipheaders:5] While("SIP/testtelecom-00000067", "1") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@func-apply-sipheaders:6] Set("SIP/testtelecom-00000067", "sipheader=unset") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@func-apply-sipheaders:7] ExecIf("SIP/testtelecom-00000067", "1?SIPRemoveHeader(Alert-Info:)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@func-apply-sipheaders:8] ExecIf("SIP/testtelecom-00000067", "0?Set(sipheader=<http://127.0.0.1>;info=unset)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@func-apply-sipheaders:9] ExecIf("SIP/testtelecom-00000067", "0?Set(sipheader=<http://127.0.0.1>unset)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@func-apply-sipheaders:10] ExecIf("SIP/testtelecom-00000067", "0?SIPAddHeader(Alert-Info:unset)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@func-apply-sipheaders:11] EndWhile("SIP/testtelecom-00000067", "") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@func-apply-sipheaders:5] While("SIP/testtelecom-00000067", "0") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@func-apply-sipheaders:12] Return("SIP/testtelecom-00000067", "") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] app_stack.c: Spawn extension (from-trunk, 89035693445, 1) exited non-zero on 'SIP/testtelecom-00000067'
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] app_stack.c: SIP/testtelecom-00000067 Internal Gosub(func-apply-sipheaders,s,1(1)) complete GOSUB_RETVAL=
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] chan_sip.c: Audio is at 13294
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] chan_sip.c: Adding codec alaw to SDP
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] chan_sip.c: Adding codec ulaw to SDP
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] chan_sip.c: Adding non-codec 0x1 (telephone-event) to SDP
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] chan_sip.c: Reliably Transmitting (NAT) to XXX.XXX.XXX.XXX:5060:
INVITE sip:89035693445@XXX.XXX.XXX.XXX SIP/2.0
Via: SIP/2.0/UDP XXX.XXX.XXX.XXX:5060;branch=z9hG4bK46454db2;rport
Max-Forwards: 70
From: <sip:test@XXX.XXX.XXX.XXX>;tag=as209fd90d
To: <sip:89035693445@XXX.XXX.XXX.XXX>
Contact: <sip:test@XXX.XXX.XXX.XXX:5060>
Call-ID: 6410ba65408a2b3f7bedab89556d0635@XXX.XXX.XXX.XXX
CSeq: 102 INVITE
User-Agent: FPBX-16.0.10.49(16.20.0)
Date: Sat, 22 Jan 2022 16:57:18 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 280

v=0
o=root 1910082379 1910082379 IN IP4 XXX.XXX.XXX.XXX
s=Asterisk PBX 16.20.0
c=IN IP4 XXX.XXX.XXX.XXX
t=0 0
m=audio 13294 RTP/AVP 8 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv

---
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] app_dial.c: Called SIP/testtelecom/89035693445
[2022-01-22 21:57:18] VERBOSE[2616] chan_sip.c: 
<--- SIP read from UDP:XXX.XXX.XXX.XXX:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP XXX.XXX.XXX.XXX:5060;branch=z9hG4bK46454db2;rport
From: <sip:test@XXX.XXX.XXX.XXX>;tag=as209fd90d
To: <sip:89035693445@XXX.XXX.XXX.XXX>;tag=503730408-17903-9718
Call-ID: 6410ba65408a2b3f7bedab89556d0635@XXX.XXX.XXX.XXX
CSeq: 102 INVITE
WWW-Authenticate: Digest realm="AlterPSS",nonce="c6e951afcb9713edfc52d1a40c31c432",algorithm=MD5
Content-Length: 0

<------------->
[2022-01-22 21:57:18] VERBOSE[2616] chan_sip.c: --- (8 headers 0 lines) ---
[2022-01-22 21:57:18] VERBOSE[2616][C-00000034] chan_sip.c: Transmitting (NAT) to XXX.XXX.XXX.XXX:5060:
ACK sip:89035693445@XXX.XXX.XXX.XXX SIP/2.0
Via: SIP/2.0/UDP XXX.XXX.XXX.XXX:5060;branch=z9hG4bK46454db2;rport
Max-Forwards: 70
From: <sip:test@XXX.XXX.XXX.XXX>;tag=as209fd90d
To: <sip:89035693445@XXX.XXX.XXX.XXX>;tag=503730408-17903-9718
Contact: <sip:test@XXX.XXX.XXX.XXX:5060>
Call-ID: 6410ba65408a2b3f7bedab89556d0635@XXX.XXX.XXX.XXX
CSeq: 102 ACK
User-Agent: FPBX-16.0.10.49(16.20.0)
Content-Length: 0


---
[2022-01-22 21:57:18] VERBOSE[2616][C-00000034] chan_sip.c: Audio is at 13294
[2022-01-22 21:57:18] VERBOSE[2616][C-00000034] chan_sip.c: Adding codec alaw to SDP
[2022-01-22 21:57:18] VERBOSE[2616][C-00000034] chan_sip.c: Adding codec ulaw to SDP
[2022-01-22 21:57:18] VERBOSE[2616][C-00000034] chan_sip.c: Adding non-codec 0x1 (telephone-event) to SDP
[2022-01-22 21:57:18] VERBOSE[2616][C-00000034] chan_sip.c: Reliably Transmitting (NAT) to XXX.XXX.XXX.XXX:5060:
INVITE sip:89035693445@XXX.XXX.XXX.XXX SIP/2.0
Via: SIP/2.0/UDP XXX.XXX.XXX.XXX:5060;branch=z9hG4bK02894380;rport
Max-Forwards: 70
From: <sip:test@XXX.XXX.XXX.XXX>;tag=as209fd90d
To: <sip:89035693445@XXX.XXX.XXX.XXX>
Contact: <sip:test@XXX.XXX.XXX.XXX:5060>
Call-ID: 6410ba65408a2b3f7bedab89556d0635@XXX.XXX.XXX.XXX
CSeq: 103 INVITE
User-Agent: FPBX-16.0.10.49(16.20.0)
Authorization: Digest username="test", realm="AlterPSS", algorithm=MD5, uri="sip:89035693445@XXX.XXX.XXX.XXX", nonce="c6e951afcb9713edfc52d1a40c31c432", response="549bd45adee9888651e3062cf1de43ae"
Date: Sat, 22 Jan 2022 16:57:18 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 280

v=0
o=root 1910082379 1910082380 IN IP4 XXX.XXX.XXX.XXX
s=Asterisk PBX 16.20.0
c=IN IP4 XXX.XXX.XXX.XXX
t=0 0
m=audio 13294 RTP/AVP 8 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv

---
[2022-01-22 21:57:18] VERBOSE[2616] chan_sip.c: 
<--- SIP read from UDP:XXX.XXX.XXX.XXX:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP XXX.XXX.XXX.XXX:5060;branch=z9hG4bK02894380;rport
From: <sip:test@XXX.XXX.XXX.XXX>;tag=as209fd90d
To: <sip:89035693445@XXX.XXX.XXX.XXX>;tag=503730408-17903-9718
Call-ID: 6410ba65408a2b3f7bedab89556d0635@XXX.XXX.XXX.XXX
CSeq: 103 INVITE
Content-Length: 0

<------------->
[2022-01-22 21:57:18] VERBOSE[2616] chan_sip.c: --- (7 headers 0 lines) ---
[2022-01-22 21:57:18] VERBOSE[2616] chan_sip.c: 
<--- SIP read from UDP:XXX.XXX.XXX.XXX:5060 --->
SIP/2.0 486 Busy Here
Via: SIP/2.0/UDP XXX.XXX.XXX.XXX:5060;branch=z9hG4bK02894380;rport
From: <sip:test@XXX.XXX.XXX.XXX>;tag=as209fd90d
To: <sip:89035693445@XXX.XXX.XXX.XXX>;tag=503730408-17903-9718
Call-ID: 6410ba65408a2b3f7bedab89556d0635@XXX.XXX.XXX.XXX
CSeq: 103 INVITE
Content-Length: 0

<------------->
[2022-01-22 21:57:18] VERBOSE[2616] chan_sip.c: --- (7 headers 0 lines) ---
[2022-01-22 21:57:18] VERBOSE[2616][C-00000034] chan_sip.c: Got SIP response 486 "Busy Here" back from XXX.XXX.XXX.XXX:5060
[2022-01-22 21:57:18] VERBOSE[2616][C-00000034] chan_sip.c: Transmitting (NAT) to XXX.XXX.XXX.XXX:5060:
ACK sip:89035693445@XXX.XXX.XXX.XXX SIP/2.0
Via: SIP/2.0/UDP XXX.XXX.XXX.XXX:5060;branch=z9hG4bK02894380;rport
Max-Forwards: 70
From: <sip:test@XXX.XXX.XXX.XXX>;tag=as209fd90d
To: <sip:89035693445@XXX.XXX.XXX.XXX>;tag=503730408-17903-9718
Contact: <sip:test@XXX.XXX.XXX.XXX:5060>
Call-ID: 6410ba65408a2b3f7bedab89556d0635@XXX.XXX.XXX.XXX
CSeq: 103 ACK
User-Agent: FPBX-16.0.10.49(16.20.0)
Content-Length: 0


---
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] app_dial.c: SIP/testtelecom-00000067 is busy
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] app_dial.c: Everyone is busy/congested at this time (1:1/0/0)
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-dialout-trunk:35] NoOp("SIP/399-00000066", "Dial failed for some reason with DIALSTATUS = BUSY and HANGUPCAUSE = 17") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-dialout-trunk:36] GotoIf("SIP/399-00000066", "0?continue,1:s-BUSY,1") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx_builtins.c: Goto (macro-dialout-trunk,s-BUSY,1)
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s-BUSY@macro-dialout-trunk:1] NoOp("SIP/399-00000066", "Dial failed due to trunk reporting BUSY - giving up") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s-BUSY@macro-dialout-trunk:2] PlayTones("SIP/399-00000066", "busy") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s-BUSY@macro-dialout-trunk:3] Busy("SIP/399-00000066", "20") in new stack
[2022-01-22 21:57:18] VERBOSE[2616] chan_sip.c: Really destroying SIP dialog '6410ba65408a2b3f7bedab89556d0635@XXX.XXX.XXX.XXX' Method: INVITE
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] app_macro.c: Spawn extension (macro-dialout-trunk, s-BUSY, 3) exited non-zero on 'SIP/399-00000066' in macro 'dialout-trunk'
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Spawn extension (from-internal, 89035693445, 11) exited non-zero on 'SIP/399-00000066'
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [h@from-internal:1] Macro("SIP/399-00000066", "hangupcall") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-hangupcall:1] GotoIf("SIP/399-00000066", "1?theend") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-hangupcall:3] ExecIf("SIP/399-00000066", "0?Set(CDR(recordingfile)=)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-hangupcall:4] NoOp("SIP/399-00000066", " montior file= /var/spool/asterisk/monitor/2022/01/22/out-89035693445-399-20220122-215718-1642870638.102.wav") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-hangupcall:5] GotoIf("SIP/399-00000066", "1?skipagi") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx_builtins.c: Goto (macro-hangupcall,s,7)
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@macro-hangupcall:7] Hangup("SIP/399-00000066", "") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] app_macro.c: Spawn extension (macro-hangupcall, s, 7) exited non-zero on 'SIP/399-00000066' in macro 'hangupcall'
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/399-00000066'
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] app_stack.c: SIP/399-00000066 Internal Gosub(crm-hangup,s,1) start
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@crm-hangup:1] NoOp("SIP/399-00000066", "Sending Hangup to CRM") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@crm-hangup:2] NoOp("SIP/399-00000066", "HANGUP CAUSE: 17") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@crm-hangup:3] ExecIf("SIP/399-00000066", "0?Set(__CRM_VOICEMAIL=)") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@crm-hangup:4] NoOp("SIP/399-00000066", "MASTER CHANNEL: 1642870638.102 = 1642870638.102") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@crm-hangup:5] GotoIf("SIP/399-00000066", "0?return") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@crm-hangup:6] Set("SIP/399-00000066", "__CRM_HANGUP=1") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@crm-hangup:7] AGI("SIP/399-00000066", "agi://127.0.0.1/sangomacrm.agi") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] res_agi.c: <SIP/399-00000066>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] pbx.c: Executing [s@crm-hangup:8] Return("SIP/399-00000066", "") in new stack
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] app_stack.c: Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/399-00000066'
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] app_stack.c: SIP/399-00000066 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
[2022-01-22 21:57:18] VERBOSE[106293][C-00000034] app_mixmonitor.c: MixMonitor close filestream (mixed)
[2022-01-22 21:57:18] VERBOSE[106293][C-00000034] app_mixmonitor.c: End MixMonitor Recording SIP/399-00000066
ded
Сообщения: 15621
Зарегистрирован: 26 авг 2010, 19:00

Re: При исходящем вызове не отправляет CallerID

Сообщение ded »

Судя по
From: <sip:test@XXX.XXX.XXX.XXX>;tag=as209fd90d
To: <sip:89035693445@XXX.XXX.XXX.XXX>
Contact: <sip:test@XXX.XXX.XXX.XXX:5060>
у вас неверно настроен транк к провайдеру. Поэтому нет никакого Caller ID
Изображение
Также непонятно: почему у вас выполнился входящий диалплан from-trunk, если вы звоните с внутреннего SIP/399 в мир на 89035693445 ?
[2022-01-22 21:57:18] VERBOSE[106292][C-00000034] app_stack.c: Spawn extension (from-trunk, 89035693445, 1) exited non-zero on 'SIP/testtelecom-00000067'
krek
Сообщения: 14
Зарегистрирован: 23 ноя 2021, 16:12

Re: При исходящем вызове не отправляет CallerID

Сообщение krek »

Спасибо, удалил fromuser привел транк к виду, теперь у каждого Extension свой Outbound CID.

Код: Выделить всё

username=xxxxx
type=peer
secret=xxxxxxxx
qualify=3000
host=xxx.xxx.xxx.xxx
fromdomain=xxx.xxx.xxx.xxx
dtmfmode=rfc2833
insecure=invite,port
directmedia=yes
disallow=all
context=from-pstn
canreinvite=no
allow=alaw&ulaw
ded еще есть одна ошибка в логах можешь расшифровать ее, она проскакивает во время звонка.

Код: Выделить всё

[2022-01-23 16:06:17] WARNING[6146][C-00000058] func_strings.c: EVAL requires an argument: EVAL(<string>)
Аватара пользователя
Zavr2008
Сообщения: 2211
Зарегистрирован: 27 янв 2011, 00:35
Контактная информация:

Re: При исходящем вызове не отправляет CallerID

Сообщение Zavr2008 »

Не в тему но:
если secret есть, то нужен insecure=invite

И еще directmedia=yes советую поменять на no если за nat.
Российские E1 шлюзы Alvis. Модернизация УПАТС с E1,Подключение к ИС "Антифрод" E1 PRI/SS#7 УВР Телестор, Грифин и др..
Ответить
© 2008 — 2024 Asterisk.ru
Digium, Asterisk and AsteriskNOW are registered trademarks of Digium, Inc.
Design and development by PostMet-Netzwerk GmbH