<--- Received SIP request (1296 bytes) from UDP:217.0.21.1:5060 --->
INVITE sip:+494567890123@96.35.15.44:5061;line=ecnmdmw SIP/2.0
Max-Forwards: 60
Via: SIP/2.0/UDP 217.0.21.1:5060;branch=z9hG4bKg3Zqkv7ivtf9b68uwnlr8l6yberdjdikq
To: <sip:+499876543210@tel.t-online.de;user=phone>
From: <sip:+49654321789@1.siptg.t-systems.com;user=phone>;tag=h7g4Esbg_p65547t1531576932m204350c1100047124s1_184393336-471527295
Call-ID: p65547t1531576932m204350c1100047124s2
CSeq: 1 INVITE
Contact: <sip:sgc_c@217.0.21.1;transport=udp>;+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.mmtel"
Record-Route: <sip:217.0.21.1;transport=udp;lr>
Accept-Contact: *;+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.mmtel"
Min-Se: 900
P-Asserted-Identity: <sip:+49123456789@1.siptg.t-systems.com;user=phone>
Privacy: none
Session-Expires: 1800
Supported: timer
Supported: 100rel
Supported: histinfo
Content-Type: application/sdp
Content-Length: 233
Session-ID: f5d63ccb5033d7cac69c8bcbfaa55ecd
Allow: REGISTER, REFER, NOTIFY, SUBSCRIBE, INFO, PRACK, PUBLISH, UPDATE, INVITE, ACK, OPTIONS, CANCEL, BYE

v=0
o=- 427888033 184393114 IN IP4 217.0.21.1
s=SIP Media Capabilities
c=IN IP4 217.0.5.183
t=0 0
m=audio 26312 RTP/AVP 8 100
a=rtpmap:8 PCMA/8000
a=rtpmap:100 telephone-event/8000
a=fmtp:100 0-15
a=sendrecv
a=maxptime:20

[2018-07-14 16:02:12] DEBUG[27613]: res_pjsip/pjsip_distributor.c:383 find_dialog: Could not find matching transaction for Request msg INVITE/cseq=1 (rdata0x7f8a7003e278)
[2018-07-14 16:02:12] DEBUG[27613]: res_pjsip/pjsip_distributor.c:461 ast_sip_get_distributor_serializer: Calculated serializer pjsip/distributor-0000002f to use for Request msg INVITE/cseq=1 (rdata0x7f8a7003e278)
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_outbound_registration.c:503 line_identify: Determined relationship to outbound registration 'telekomPJSIP-226' based on line 'ecnmdmw', using configured endpoint 'telekomPJSIP-226'
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip/pjsip_distributor.c:461 ast_sip_get_distributor_serializer: Calculated serializer pjsip/distributor-0000002f to use for Request msg INVITE/cseq=1 (rdata0x7f8a70046f28)
  == Setting global variable 'SIPDOMAIN' to '96.35.15.44'
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2521 handle_outgoing_response: Method is INVITE, Response is 100 Trying
[2018-07-14 16:02:12] DEBUG[16754]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '217.0.21.1' into...
[2018-07-14 16:02:12] DEBUG[16754]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '217.0.21.1' and port ''.
<--- Transmitting SIP response (494 bytes) to UDP:217.0.21.1:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 217.0.21.1:5060;rport=5060;received=217.0.21.1;branch=z9hG4bKg3Zqkv7ivtf9b68uwnlr8l6yberdjdikq
Record-Route: <sip:217.0.21.1;transport=udp;lr>
Call-ID: p65547t1531576932m204350c1100047124s2
From: <sip:+49654321789@1.siptg.t-systems.com;user=phone>;tag=h7g4Esbg_p65547t1531576932m204350c1100047124s1_184393336-471527295
To: <sip:+499876543210@tel.t-online.de;user=phone>
CSeq: 1 INVITE
Server: FPBX-13.0.194.5(13.21.90)
Content-Length:  0


[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2405 __print_debug_details: Function session_inv_on_state_changed called on event TSX_STATE
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2419 __print_debug_details: The state change pertains to the endpoint 'telekomPJSIP-226()'
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2424 __print_debug_details: The inv session still has an invite_tsx (0x2ca88b8)
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2439 __print_debug_details: There is no transaction involved in this state change
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2441 __print_debug_details: The current inv state is INCOMING
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2632 session_inv_on_state_changed: Source of transaction state change is TX_MSG
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2405 __print_debug_details: Function session_inv_on_tsx_state_changed called on event TSX_STATE
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2419 __print_debug_details: The state change pertains to the endpoint 'telekomPJSIP-226()'
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2424 __print_debug_details: The inv session still has an invite_tsx (0x2ca88b8)
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2430 __print_debug_details: The UAS INVITE transaction involved in this state change is 0x2ca88b8
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2434 __print_debug_details: The current transaction state is Proceeding
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2436 __print_debug_details: The transaction state change event is TX_MSG
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2441 __print_debug_details: The current inv state is INCOMING
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:269 handle_incoming_sdp: Negotiating incoming SDP media stream 'audio' using audio SDP handler
[2018-07-14 16:02:12] DEBUG[16754]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '217.0.5.183' into...
[2018-07-14 16:02:12] DEBUG[16754]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '217.0.5.183' and port ''.
[2018-07-14 16:02:12] DEBUG[16754]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '0.0.0.0' into...
[2018-07-14 16:02:12] DEBUG[16754]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '0.0.0.0' and port ''.
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_sdp_rtp.c:226 create_rtp: Transport 0.0.0.0-udp bound to 0.0.0.0: Using it for RTP media.
[2018-07-14 16:02:12] DEBUG[16754]: rtp_engine.c:459 ast_rtp_instance_new: Using engine 'asterisk' for RTP instance '0x7f8a40031dd0'
[2018-07-14 16:02:12] DEBUG[16754]: res_rtp_asterisk.c:3185 ast_rtp_new: Allocated port 10070 for RTP instance '0x7f8a40031dd0'
[2018-07-14 16:02:12] DEBUG[16754]: res_rtp_asterisk.c:3216 ast_rtp_new: Creating ICE session 0.0.0.0:10070 (10070) for RTP instance '0x7f8a40031dd0'
[2018-07-14 16:02:12] DEBUG[16754]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '192.168.3.25' into...
[2018-07-14 16:02:12] DEBUG[16754]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '192.168.3.25' and port ''.
[2018-07-14 16:02:12] DEBUG[16754]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '192.168.3.25' into...
[2018-07-14 16:02:12] DEBUG[16754]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '192.168.3.25' and port ''.
[2018-07-14 16:02:12] DEBUG[16754]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '192.168.11.1' into...
[2018-07-14 16:02:12] DEBUG[16754]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '192.168.11.1' and port ''.
[2018-07-14 16:02:12] DEBUG[16754]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '192.168.11.1' into...
[2018-07-14 16:02:12] DEBUG[16754]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '192.168.11.1' and port ''.
[2018-07-14 16:02:12] DEBUG[16754]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '192.168.6.170' into...
[2018-07-14 16:02:12] DEBUG[16754]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '192.168.6.170' and port ''.
[2018-07-14 16:02:12] DEBUG[16754]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '192.168.6.170' into...
[2018-07-14 16:02:12] DEBUG[16754]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '192.168.6.170' and port ''.
[2018-07-14 16:02:12] DEBUG[16754]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '192.168.2.4' into...
[2018-07-14 16:02:12] DEBUG[16754]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '192.168.2.4' and port ''.
[2018-07-14 16:02:12] DEBUG[16754]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '192.168.2.4' into...
[2018-07-14 16:02:12] DEBUG[16754]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '192.168.2.4' and port ''.
[2018-07-14 16:02:12] DEBUG[16754]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '96.35.15.44' into...
[2018-07-14 16:02:12] DEBUG[16754]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '96.35.15.44' and port ''.
[2018-07-14 16:02:12] DEBUG[16754]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '96.35.15.44' into...
[2018-07-14 16:02:12] DEBUG[16754]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '96.35.15.44' and port ''.
[2018-07-14 16:02:12] DEBUG[16754]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '192.168.7.1' into...
[2018-07-14 16:02:12] DEBUG[16754]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '192.168.7.1' and port ''.
[2018-07-14 16:02:12] DEBUG[16754]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '192.168.7.1' into...
[2018-07-14 16:02:12] DEBUG[16754]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '192.168.7.1' and port ''.
[2018-07-14 16:02:12] DEBUG[16754]: rtp_engine.c:476 ast_rtp_instance_new: RTP instance '0x7f8a40031dd0' is setup and ready to go
  == Using SIP RTP Audio TOS bits 184
[2018-07-14 16:02:12] DEBUG[16754]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting 'myfw' into...
[2018-07-14 16:02:12] DEBUG[16754]: netsock2.c:226 ast_sockaddr_split_hostport: ...host 'myfw' and port ''.
[2018-07-14 16:02:12] DEBUG[16754]: acl.c:830 resolve_first: Multiple addresses. Using the first only
[2018-07-14 16:02:12] DEBUG[16754]: res_rtp_asterisk.c:5955 ast_rtp_prop_set: Setup RTCP on RTP instance '0x7f8a40031dd0'
[2018-07-14 16:02:12] DEBUG[16754]: rtp_engine.c:764 ast_rtp_codecs_payloads_set_m_type: Setting tx payload type 8 based on m type on 0x7f8a396db450
[2018-07-14 16:02:12] DEBUG[16754]: rtp_engine.c:764 ast_rtp_codecs_payloads_set_m_type: Setting tx payload type 100 based on m type on 0x7f8a396db450
[2018-07-14 16:02:12] DEBUG[16754]: rtp_engine.c:730 ast_rtp_codecs_payloads_copy: Copying payload 8 (0x7f8a4000c5a8) from 0x7f8a396db450 to 0x7f8a40031f98
[2018-07-14 16:02:12] DEBUG[16754]: rtp_engine.c:730 ast_rtp_codecs_payloads_copy: Copying payload 100 (0x7f8a4000bc78) from 0x7f8a396db450 to 0x7f8a40031f98
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:279 handle_incoming_sdp: Media stream 'audio' handled by audio
[2018-07-14 16:02:12] DEBUG[16754]: res_rtp_asterisk.c:5854 ast_rtp_prop_set: Ignoring duplicate RTCP property on RTP instance '0x7f8a40031dd0'
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_t38.c:752 create_outgoing_sdp_stream: Not creating outgoing SDP stream: T.38 not enabled
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2451 handle_incoming_request: Method is INVITE
[2018-07-14 16:02:12] DEBUG[27584]: threadpool.c:517 grow: Increasing threadpool stasis-core's size by 1
[2018-07-14 16:02:12] DEBUG[27604]: res_odbc.c:864 _ast_odbc_request_obj2: Reusing ODBC handle 0x7f8a7c4484b0 from class 'asteriskcdrdb'
[2018-07-14 16:02:12] DEBUG[27604]: cel_odbc.c:790 odbc_log: Executing SQL statement: [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,extra) VALUES ('CHAN_START',{ts '2018-07-14 16:02:12.299251'},'','+49654321789','','','','+499876543210','from-trunk','PJSIP/telekomPJSIP-226-0000005d','','',3,'','1531576932.947','1531576932.947','','','')]
[2018-07-14 16:02:12] DEBUG[27604]: res_odbc.c:713 ast_odbc_release_obj: Releasing ODBC handle 0x7f8a7c4484b0 into pool
[2018-07-14 16:02:12] DEBUG[16754]: channel.c:1005 __ast_channel_alloc_ap: Channel 0x7f8a40030b40 'PJSIP/telekomPJSIP-226-0000005d' allocated
[2018-07-14 16:02:12] DEBUG[16754]: chan_pjsip.c:2697 pbx_start_incoming_request: Started PBX on new PJSIP channel PJSIP/telekomPJSIP-226-0000005d
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [+499876543210@from-trunk:1] Set("PJSIP/telekomPJSIP-226-0000005d", "__DIRECTION=INBOUND") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'EXTEN' is '+499876543210'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Gosub'
    -- Executing [+499876543210@from-trunk:2] Gosub("PJSIP/telekomPJSIP-226-0000005d", "sub-record-check,s,1(in,+499876543210,dontcare)") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_stack.c:606 gosub_exec: Channel PJSIP/telekomPJSIP-226-0000005d has no datastore, so we're allocating one.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_stack.c:648 gosub_exec: Setting 'ARG1' to 'in'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_stack.c:648 gosub_exec: Setting 'ARG2' to '+499876543210'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_stack.c:648 gosub_exec: Setting 'ARG3' to 'dontcare'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'FROMEXTEN' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function LEN() result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [s@sub-record-check:1] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "0?initialized") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_builtins.c:1180 pbx_builtin_gotoif: Not taking any branch
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [s@sub-record-check:2] Set("PJSIP/telekomPJSIP-226-0000005d", "__REC_STATUS=INITIALIZED") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'EPOCH' is '1531576932'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [s@sub-record-check:3] Set("PJSIP/telekomPJSIP-226-0000005d", "NOW=1531576932") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'NOW' is '1531576932'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function STRFTIME(1531576932,,%d) result is '14'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [s@sub-record-check:4] Set("PJSIP/telekomPJSIP-226-0000005d", "__DAY=14") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'NOW' is '1531576932'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function STRFTIME(1531576932,,%m) result is '07'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [s@sub-record-check:5] Set("PJSIP/telekomPJSIP-226-0000005d", "__MONTH=07") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'NOW' is '1531576932'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function STRFTIME(1531576932,,%Y) result is '2018'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [s@sub-record-check:6] Set("PJSIP/telekomPJSIP-226-0000005d", "__YEAR=2018") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'YEAR' is '2018'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'MONTH' is '07'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DAY' is '14'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'NOW' is '1531576932'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function STRFTIME(1531576932,,%H%M%S) result is '160212'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [s@sub-record-check:7] Set("PJSIP/telekomPJSIP-226-0000005d", "__TIMESTR=20180714-160212") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'AMPUSER' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function LEN() result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'AMPUSER' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'REALCALLERIDNUM' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function LEN() result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'REALCALLERIDNUM' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function IF(0?:unknown) result is 'unknown'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function IF(0?:unknown) result is 'unknown'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [s@sub-record-check:8] Set("PJSIP/telekomPJSIP-226-0000005d", "__FROMEXTEN=unknown") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'MIXMON_FORMAT' is 'wav'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'MIXMON_FORMAT' is 'wav'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function IF(0?WAV:wav) result is 'wav'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [s@sub-record-check:9] Set("PJSIP/telekomPJSIP-226-0000005d", "__MON_FMT=wav") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'NoOp'
    -- Executing [s@sub-record-check:10] NoOp("PJSIP/telekomPJSIP-226-0000005d", "Recordings initialized") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ARG3' is 'dontcare'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function LEN(dontcare) result is '8'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'ExecIf'
    -- Executing [s@sub-record-check:11] ExecIf("PJSIP/telekomPJSIP-226-0000005d", "0?Set(ARG3=dontcare)") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'REC_POLICY_MODE' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [s@sub-record-check:12] Set("PJSIP/telekomPJSIP-226-0000005d", "REC_POLICY_MODE_SAVE=") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'BLINDTRANSFER' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'ATTENDEDTRANSFER' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'ExecIf'
    -- Executing [s@sub-record-check:13] ExecIf("PJSIP/telekomPJSIP-226-0000005d", "0?Set(REC_STATUS=NO)") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ARG1' is 'in'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function LEN(in) result is '2'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '2'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [s@sub-record-check:14] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "2?checkaction") in new stack
    -- Goto (sub-record-check,s,17)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ARG1' is 'in'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function DIALPLAN_EXISTS(sub-record-check,in) result is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ARG1' is 'in'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [s@sub-record-check:17] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "1?sub-record-check,in,1") in new stack
    -- Goto (sub-record-check,in,1)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ARG2' is '+499876543210'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'NoOp'
    -- Executing [in@sub-record-check:1] NoOp("PJSIP/telekomPJSIP-226-0000005d", "Inbound Recording Check to +499876543210") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [in@sub-record-check:2] Set("PJSIP/telekomPJSIP-226-0000005d", "FROMEXTEN=unknown") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function CALLERID(num) result is '+49654321789'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function LEN(+49654321789) result is '14'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '14'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function CALLERID(num) result is '+49654321789'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'ExecIf'
    -- Executing [in@sub-record-check:3] ExecIf("PJSIP/telekomPJSIP-226-0000005d", "14?Set(FROMEXTEN=+49654321789)") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ARG3' is 'dontcare'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ARG2' is '+499876543210'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Gosub'
    -- Executing [in@sub-record-check:4] Gosub("PJSIP/telekomPJSIP-226-0000005d", "recordcheck,1(dontcare,in,+499876543210)") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_stack.c:648 gosub_exec: Setting 'ARG1' to 'dontcare'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_stack.c:648 gosub_exec: Setting 'ARG2' to 'in'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_stack.c:648 gosub_exec: Setting 'ARG3' to '+499876543210'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ARG1' is 'dontcare'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'NoOp'
    -- Executing [recordcheck@sub-record-check:1] NoOp("PJSIP/telekomPJSIP-226-0000005d", "Starting recording check against dontcare") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ARG1' is 'dontcare'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Goto'
    -- Executing [recordcheck@sub-record-check:2] Goto("PJSIP/telekomPJSIP-226-0000005d", "dontcare") in new stack
    -- Goto (sub-record-check,recordcheck,3)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Return'
    -- Executing [recordcheck@sub-record-check:3] Return("PJSIP/telekomPJSIP-226-0000005d", "") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Return'
    -- Executing [in@sub-record-check:5] Return("PJSIP/telekomPJSIP-226-0000005d", "") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'EXTEN' is '+499876543210'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [+499876543210@from-trunk:3] Set("PJSIP/telekomPJSIP-226-0000005d", "__FROM_DID=+499876543210") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'FROM_DID' is '+499876543210'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [+499876543210@from-trunk:4] Set("PJSIP/telekomPJSIP-226-0000005d", "CDR(did)=+499876543210") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Gosub'
    -- Executing [+499876543210@from-trunk:5] Gosub("PJSIP/telekomPJSIP-226-0000005d", "app-blacklist-check,s,1()") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function CALLERID(number) result is '+49654321789'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [s@app-blacklist-check:1] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "0?check-blocked") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_builtins.c:1180 pbx_builtin_gotoif: Not taking any branch
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function CALLERID(number) result is '+49654321789'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [s@app-blacklist-check:2] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "0?check-blocked") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_builtins.c:1180 pbx_builtin_gotoif: Not taking any branch
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function CALLERID(number) result is '+49654321789'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [s@app-blacklist-check:3] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "0?check-blocked:check") in new stack
    -- Goto (app-blacklist-check,s,5)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: db.c:394 db_get_common: Unable to find key '+49654321789' in family 'blacklist'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function BLACKLIST() result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [s@app-blacklist-check:5] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "0?blacklisted") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_builtins.c:1180 pbx_builtin_gotoif: Not taking any branch
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [s@app-blacklist-check:6] Set("PJSIP/telekomPJSIP-226-0000005d", "CALLED_BLACKLIST=1") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Return'
    -- Executing [s@app-blacklist-check:7] Return("PJSIP/telekomPJSIP-226-0000005d", "") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function CALLERID(name) result is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function CALLERID(num) result is '+49654321789'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'ExecIf'
    -- Executing [+499876543210@from-trunk:6] ExecIf("PJSIP/telekomPJSIP-226-0000005d", "1 ?Set(CALLERID(name)=+49654321789)") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [+499876543210@from-trunk:7] Set("PJSIP/telekomPJSIP-226-0000005d", "__MOHCLASS=") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [+499876543210@from-trunk:8] Set("PJSIP/telekomPJSIP-226-0000005d", "__REVERSAL_REJECT=FALSE") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'REVERSAL_REJECT' is 'FALSE'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [+499876543210@from-trunk:9] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "1?post-reverse-charge") in new stack
    -- Goto (from-trunk,+499876543210,11)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'NoOp'
    -- Executing [+499876543210@from-trunk:11] NoOp("PJSIP/telekomPJSIP-226-0000005d", "") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function CALLERID(name-pres) result is 'allowed_not_screened'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [+499876543210@from-trunk:12] Set("PJSIP/telekomPJSIP-226-0000005d", "__CALLINGNAMEPRES_SV=allowed_not_screened") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function CALLERID(num-pres) result is 'allowed_not_screened'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [+499876543210@from-trunk:13] Set("PJSIP/telekomPJSIP-226-0000005d", "__CALLINGNUMPRES_SV=allowed_not_screened") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [+499876543210@from-trunk:14] Set("PJSIP/telekomPJSIP-226-0000005d", "CALLERID(name-pres)=allowed_not_screened") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [+499876543210@from-trunk:15] Set("PJSIP/telekomPJSIP-226-0000005d", "CALLERID(num-pres)=allowed_not_screened") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'NoOp'
    -- Executing [+499876543210@from-trunk:16] NoOp("PJSIP/telekomPJSIP-226-0000005d", "CallerID Entry Point") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Goto'
    -- Executing [+499876543210@from-trunk:17] Goto("PJSIP/telekomPJSIP-226-0000005d", "from-did-direct,98,1") in new stack
    -- Goto (from-did-direct,98,1)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'EXTEN' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function DB_EXISTS(AMPUSER/98/followme/ddial) result is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'EXTEN' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function DB(AMPUSER/98/followme/ddial) result is 'EXTENSION'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'EXTEN' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'EXTEN' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [98@from-did-direct:1] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "1?ext-local,98,1:followme-check,98,1") in new stack
    -- Goto (ext-local,98,1)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function DB(AMPUSER/98/ringtimer) result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function DB(AMPUSER/98/ringtimer) result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'RINGTIMER_DEFAULT' is '15'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function IF(0?0:15) result is '15'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [98@ext-local:1] Set("PJSIP/telekomPJSIP-226-0000005d", "__RINGTIMER=15") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Macro'
    -- Executing [98@ext-local:2] Macro("PJSIP/telekomPJSIP-226-0000005d", "exten-vm,novm,98,1,1,1") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Macro'
    -- Executing [s@macro-exten-vm:1] Macro("PJSIP/telekomPJSIP-226-0000005d", "user-callerid,") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'UNIQUEID' is '1531576932.947'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [s@macro-user-callerid:1] Set("PJSIP/telekomPJSIP-226-0000005d", "TOUCH_MONITOR=1531576932.947") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'AMPUSER' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function CALLERID(number) result is '+49654321789'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'AMPUSER' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function IF(1?+49654321789:) result is '+49654321789'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [s@macro-user-callerid:2] Set("PJSIP/telekomPJSIP-226-0000005d", "AMPUSER=+49654321789") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'CHANNEL' (from 'CHANNEL}' len 7)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'CHANNEL' is 'PJSIP/telekomPJSIP-226-0000005d'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function CUT(CHANNEL,@,2) result is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'AMPUSERCIDNAME' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function LEN() result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [s@macro-user-callerid:3] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "0?report") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_builtins.c:1180 pbx_builtin_gotoif: Not taking any branch
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GotoIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'REALCALLERIDNUM' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function CALLERID(number) result is '+49654321789'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'ExecIf'
    -- Executing [s@macro-user-callerid:4] ExecIf("PJSIP/telekomPJSIP-226-0000005d", "1?Set(REALCALLERIDNUM=+49654321789)") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: ExecIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'REALCALLERIDNUM:1:2' (from 'REALCALLERIDNUM:1:2}" = ""' len 19)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'REALCALLERIDNUM' is '+49654321789'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:607 ast_str_substitute_variables_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'CALLERID(number)' (from 'CALLERID(number)})' len 16)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:544 ast_str_substitute_variables_full: Function CALLERID(number) result is '+49654321789'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'REALCALLERIDNUM' is '+49654321789'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: db.c:394 db_get_common: Unable to find key '+49654321789/user' in family 'DEVICE'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: func_db.c:151 function_db_read: DB: DEVICE/+49654321789/user not found in database.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function DB(DEVICE/+49654321789/user) result is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [s@macro-user-callerid:5] Set("PJSIP/telekomPJSIP-226-0000005d", "AMPUSER=") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'AMPUSER' is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [s@macro-user-callerid:6] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "0?limit") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_builtins.c:1180 pbx_builtin_gotoif: Not taking any branch
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GotoIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'AMPUSER' is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: db.c:394 db_get_common: Unable to find key '/cidname' in family 'AMPUSER'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: func_db.c:151 function_db_read: DB: AMPUSER//cidname not found in database.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function DB(AMPUSER//cidname) result is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [s@macro-user-callerid:7] Set("PJSIP/telekomPJSIP-226-0000005d", "AMPUSERCIDNAME=") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'AMPUSERCIDNAME' is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [s@macro-user-callerid:8] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "1?report") in new stack
    -- Goto (macro-user-callerid,s,15)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GotoIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'MACRO_DEPTH' is '2'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'NoOp'
    -- Executing [s@macro-user-callerid:15] NoOp("PJSIP/telekomPJSIP-226-0000005d", "Macro Depth is 2") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Noop
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'MACRO_DEPTH' is '2'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'MACRO_DEPTH' is '2'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [s@macro-user-callerid:16] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "1?report2:macroerror") in new stack
    -- Goto (macro-user-callerid,s,17)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GotoIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ARG1' is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ARG1' is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [s@macro-user-callerid:17] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "0?continue") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_builtins.c:1180 pbx_builtin_gotoif: Not taking any branch
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GotoIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'CALLEE_ACCOUNCODE' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'MACRO_CONTEXT' is 'macro-exten-vm'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ARG2' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'MACRO_EXTEN' is 's'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function IF(1?98:s) result is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: db.c:394 db_get_common: Unable to find key '98/accountcode' in family 'AMPUSER'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: func_db.c:151 function_db_read: DB: AMPUSER/98/accountcode not found in database.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function DB(AMPUSER/98/accountcode) result is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'ExecIf'
    -- Executing [s@macro-user-callerid:18] ExecIf("PJSIP/telekomPJSIP-226-0000005d", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: ExecIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'CALLEE_ACCOUNCODE' (from 'CALLEE_ACCOUNCODE}" = ""' len 17)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'CALLEE_ACCOUNCODE' is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:607 ast_str_substitute_variables_full: Expression result is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'DB(AMPUSER/${IF($["${MACRO_CONTEXT}"="macro-exten-vm"]?${ARG2}:${MACRO_EXTEN})}/accountcode)' (from 'DB(AMPUSER/${IF($["${MACRO_CONTEXT}"="macro-exten-vm"]?${ARG2}:${MACRO_EXTEN})}/accountcode)})' len 92)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'IF($["${MACRO_CONTEXT}"="macro-exten-vm"]?${ARG2}:${MACRO_EXTEN})' (from 'IF($["${MACRO_CONTEXT}"="macro-exten-vm"]?${ARG2}:${MACRO_EXTEN})}/accountcode)' len 65)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'MACRO_CONTEXT' (from 'MACRO_CONTEXT}"="macro-exten-vm"' len 13)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'MACRO_CONTEXT' is 'macro-exten-vm'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:607 ast_str_substitute_variables_full: Expression result is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'ARG2' (from 'ARG2}:${MACRO_EXTEN})' len 4)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ARG2' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'MACRO_EXTEN' (from 'MACRO_EXTEN})' len 11)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'MACRO_EXTEN' is 's'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:544 ast_str_substitute_variables_full: Function IF(1?98:s) result is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: db.c:394 db_get_common: Unable to find key '98/accountcode' in family 'AMPUSER'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: func_db.c:151 function_db_read: DB: AMPUSER/98/accountcode not found in database.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:544 ast_str_substitute_variables_full: Function DB(AMPUSER/98/accountcode) result is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'TTL' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'TTL' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '-1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function IF(1?64:-1) result is '64'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [s@macro-user-callerid:19] Set("PJSIP/telekomPJSIP-226-0000005d", "__TTL=64") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'TTL' is '64'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [s@macro-user-callerid:20] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,36)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GotoIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function CALLERID(number) result is '+49654321789'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [s@macro-user-callerid:36] Set("PJSIP/telekomPJSIP-226-0000005d", "CALLERID(number)=+49654321789") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function CALLERID(name) result is '+49654321789'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [s@macro-user-callerid:37] Set("PJSIP/telekomPJSIP-226-0000005d", "CALLERID(name)=+49654321789") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function CALLERID(name) result is '+49654321789'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [s@macro-user-callerid:38] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "0?cnum") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_builtins.c:1180 pbx_builtin_gotoif: Not taking any branch
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GotoIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function CALLERID(name) result is '+49654321789'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [s@macro-user-callerid:39] Set("PJSIP/telekomPJSIP-226-0000005d", "CDR(cnam)=+49654321789") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function CALLERID(num) result is '+49654321789'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [s@macro-user-callerid:40] Set("PJSIP/telekomPJSIP-226-0000005d", "CDR(cnum)=+49654321789") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'CHANNEL(language)' (from 'CHANNEL(language)}' len 17)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:544 ast_str_substitute_variables_full: Function CHANNEL(language) result is 'de'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function MASTER_CHANNEL(CHANNEL(language)) result is 'de'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [s@macro-user-callerid:41] Set("PJSIP/telekomPJSIP-226-0000005d", "CHANNEL(language)=de") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Macro
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [s@macro-exten-vm:2] Set("PJSIP/telekomPJSIP-226-0000005d", "RingGroupMethod=none") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ARG2' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [s@macro-exten-vm:3] Set("PJSIP/telekomPJSIP-226-0000005d", "__EXTTOCALL=98") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ARG2' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [s@macro-exten-vm:4] Set("PJSIP/telekomPJSIP-226-0000005d", "__PICKUPMARK=98") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ARG1' is 'novm'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'EXTTOCALL' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: db.c:394 db_get_common: Unable to find key '98' in family 'CFU'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: func_db.c:151 function_db_read: DB: CFU/98 not found in database.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function DB(CFU/98) result is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'EXTTOCALL' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: db.c:394 db_get_common: Unable to find key '98' in family 'CFB'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: func_db.c:151 function_db_read: DB: CFB/98 not found in database.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function DB(CFB/98) result is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ARG3' is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ARG4' is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ARG5' is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'RINGTIMER' is '15'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function IF(1?15:) result is '15'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [s@macro-exten-vm:5] Set("PJSIP/telekomPJSIP-226-0000005d", "RT=15") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'EXTTOCALL' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Gosub'
    -- Executing [s@macro-exten-vm:6] Gosub("PJSIP/telekomPJSIP-226-0000005d", "sub-record-check,s,1(exten,98,dontcare)") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_stack.c:648 gosub_exec: Setting 'ARG1' to 'exten'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_stack.c:648 gosub_exec: Setting 'ARG2' to '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_stack.c:648 gosub_exec: Setting 'ARG3' to 'dontcare'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Gosub
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:476 _macro_exec: Incrementing gosub_level
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'FROMEXTEN' is '+49654321789'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function LEN(+49654321789) result is '14'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '14'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [s@sub-record-check:1] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "14?initialized") in new stack
    -- Goto (sub-record-check,s,10)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GotoIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'NoOp'
    -- Executing [s@sub-record-check:10] NoOp("PJSIP/telekomPJSIP-226-0000005d", "Recordings initialized") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Noop
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ARG3' is 'dontcare'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function LEN(dontcare) result is '8'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'ExecIf'
    -- Executing [s@sub-record-check:11] ExecIf("PJSIP/telekomPJSIP-226-0000005d", "0?Set(ARG3=dontcare)") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: ExecIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'LEN(${ARG3})' (from 'LEN(${ARG3})}' len 12)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'ARG3' (from 'ARG3})' len 4)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ARG3' is 'dontcare'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:544 ast_str_substitute_variables_full: Function LEN(dontcare) result is '8'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:607 ast_str_substitute_variables_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'REC_POLICY_MODE' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [s@sub-record-check:12] Set("PJSIP/telekomPJSIP-226-0000005d", "REC_POLICY_MODE_SAVE=") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'BLINDTRANSFER' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'ATTENDEDTRANSFER' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'ExecIf'
    -- Executing [s@sub-record-check:13] ExecIf("PJSIP/telekomPJSIP-226-0000005d", "0?Set(REC_STATUS=NO)") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: ExecIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'BLINDTRANSFER' (from 'BLINDTRANSFER}${ATTENDEDTRANSFER}" != ""' len 13)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'BLINDTRANSFER' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'ATTENDEDTRANSFER' (from 'ATTENDEDTRANSFER}" != ""' len 16)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'ATTENDEDTRANSFER' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:607 ast_str_substitute_variables_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ARG1' is 'exten'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function LEN(exten) result is '5'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '5'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [s@sub-record-check:14] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "5?checkaction") in new stack
    -- Goto (sub-record-check,s,17)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GotoIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ARG1' is 'exten'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function DIALPLAN_EXISTS(sub-record-check,exten) result is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ARG1' is 'exten'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [s@sub-record-check:17] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "1?sub-record-check,exten,1") in new stack
    -- Goto (sub-record-check,exten,1)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GotoIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'FROMEXTEN' is '+49654321789'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ARG2' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'NoOp'
    -- Executing [exten@sub-record-check:1] NoOp("PJSIP/telekomPJSIP-226-0000005d", "Exten Recording Check between +49654321789 and 98") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Noop
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'FROM_DID' is '+499876543210'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function LEN(+499876543210) result is '14'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '14'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function IF(14?external:internal) result is 'external'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [exten@sub-record-check:2] Set("PJSIP/telekomPJSIP-226-0000005d", "CALLTYPE=external") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'CALLTYPE_OVERRIDE' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function LEN() result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'CALLTYPE_OVERRIDE' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'ExecIf'
    -- Executing [exten@sub-record-check:3] ExecIf("PJSIP/telekomPJSIP-226-0000005d", "0?Set(CALLTYPE=)") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: ExecIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'LEN(${CALLTYPE_OVERRIDE})' (from 'LEN(${CALLTYPE_OVERRIDE})}?Set(CALLTYPE=${CALLTYPE_OVERRIDE})' len 25)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'CALLTYPE_OVERRIDE' (from 'CALLTYPE_OVERRIDE})' len 17)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'CALLTYPE_OVERRIDE' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:544 ast_str_substitute_variables_full: Function LEN() result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'CALLTYPE_OVERRIDE' (from 'CALLTYPE_OVERRIDE})' len 17)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'CALLTYPE_OVERRIDE' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ARG2' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'CALLTYPE' is 'external'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function DB(AMPUSER/98/recording/in/external) result is 'dontcare'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [exten@sub-record-check:4] Set("PJSIP/telekomPJSIP-226-0000005d", "CALLEE=dontcare") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'CALLEE' is 'dontcare'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function LEN(dontcare) result is '8'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'ExecIf'
    -- Executing [exten@sub-record-check:5] ExecIf("PJSIP/telekomPJSIP-226-0000005d", "0?Set(CALLEE=dontcare)") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: ExecIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'LEN(${CALLEE})' (from 'LEN(${CALLEE})}' len 14)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'CALLEE' (from 'CALLEE})' len 6)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'CALLEE' is 'dontcare'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:544 ast_str_substitute_variables_full: Function LEN(dontcare) result is '8'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:607 ast_str_substitute_variables_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'CALLTYPE' is 'external'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [exten@sub-record-check:6] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "1?callee") in new stack
    -- Goto (sub-record-check,exten,11)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GotoIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'CALLEE' is 'dontcare'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'CALLTYPE' is 'external'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ARG2' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Gosub'
    -- Executing [exten@sub-record-check:11] Gosub("PJSIP/telekomPJSIP-226-0000005d", "recordcheck,1(dontcare,external,98)") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_stack.c:648 gosub_exec: Setting 'ARG1' to 'dontcare'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_stack.c:648 gosub_exec: Setting 'ARG2' to 'external'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_stack.c:648 gosub_exec: Setting 'ARG3' to '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Gosub
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:476 _macro_exec: Incrementing gosub_level
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ARG1' is 'dontcare'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'NoOp'
    -- Executing [recordcheck@sub-record-check:1] NoOp("PJSIP/telekomPJSIP-226-0000005d", "Starting recording check against dontcare") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Noop
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ARG1' is 'dontcare'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Goto'
    -- Executing [recordcheck@sub-record-check:2] Goto("PJSIP/telekomPJSIP-226-0000005d", "dontcare") in new stack
    -- Goto (sub-record-check,recordcheck,3)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Goto
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Return'
    -- Executing [recordcheck@sub-record-check:3] Return("PJSIP/telekomPJSIP-226-0000005d", "") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Return
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:497 _macro_exec: Decrementing gosub_level
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Return'
    -- Executing [exten@sub-record-check:12] Return("PJSIP/telekomPJSIP-226-0000005d", "") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Return
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:497 _macro_exec: Decrementing gosub_level
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'CHANNEL' (from 'CHANNEL}' len 7)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'CHANNEL' is 'PJSIP/telekomPJSIP-226-0000005d'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function CUT(CHANNEL,@,2) result is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'AMPUSER' is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'FROM_DID' is '+499876543210'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function LEN(+499876543210) result is '14'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'EXTTOCALL' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function DB(AMPUSER/98/answermode) result is 'disabled'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'BLINDTRANSFER' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function LEN() result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'EXTTOCALL' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: devicestate.c:369 _ast_device_state: No provider found, checking channel drivers for IAX2 - 98
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: chan_iax2.c:14505 iax2_devicestate: Checking device state for device 98
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: chan_iax2.c:14514 iax2_devicestate: Found peer. What's device state of 98? addr=127.0.0.1:4570, defaddr=(null) maxms=2000, lastms=3
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: devicestate.c:365 _ast_device_state: Checking if I can find provider for "Custom" - number: DND98
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: devicestate.c:454 getproviderstate: Checking provider Custom with Custom
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: db.c:394 db_get_common: Unable to find key 'DND98' in family 'CustomDevstate'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function EXTENSION_STATE(98) result is 'NOT_INUSE'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'CC_RECALL' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [s@macro-exten-vm:7] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "1?macrodial") in new stack
    -- Goto (macro-exten-vm,s,13)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GotoIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'INTERCOM_CALL' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'BLINDTRANSFER' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function LEN() result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GosubIf'
    -- Executing [s@macro-exten-vm:13] GosubIf("PJSIP/telekomPJSIP-226-0000005d", "0?clrheader,1()") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GosubIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'INTERCOM_CALL' (from 'INTERCOM_CALL}"="TRUE" & ${LEN(${BLINDTRANSFER})}' len 13)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'INTERCOM_CALL' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'LEN(${BLINDTRANSFER})' (from 'LEN(${BLINDTRANSFER})}' len 21)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'BLINDTRANSFER' (from 'BLINDTRANSFER})' len 13)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'BLINDTRANSFER' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:544 ast_str_substitute_variables_full: Function LEN() result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:607 ast_str_substitute_variables_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'RT' is '15'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DIAL_OPTIONS' is 'Ttr'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'EXTTOCALL' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Macro'
    -- Executing [s@macro-exten-vm:14] Macro("PJSIP/telekomPJSIP-226-0000005d", "dial-one,15,Ttr,98") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ARG3' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [s@macro-dial-one:1] Set("PJSIP/telekomPJSIP-226-0000005d", "DEXTEN=98") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'EXTTOCALL' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function LEN(98) result is '2'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DEXTEN' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function LEN(98) result is '2'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DEXTEN' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'ExecIf'
    -- Executing [s@macro-dial-one:2] ExecIf("PJSIP/telekomPJSIP-226-0000005d", "0?Set(__EXTTOCALL=98)") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: ExecIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'LEN(${EXTTOCALL})' (from 'LEN(${EXTTOCALL})}=0 & ${LEN(${DEXTEN})}>0' len 17)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'EXTTOCALL' (from 'EXTTOCALL})' len 9)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'EXTTOCALL' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:544 ast_str_substitute_variables_full: Function LEN(98) result is '2'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'LEN(${DEXTEN})' (from 'LEN(${DEXTEN})}>0' len 14)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'DEXTEN' (from 'DEXTEN})' len 6)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DEXTEN' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:544 ast_str_substitute_variables_full: Function LEN(98) result is '2'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:607 ast_str_substitute_variables_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'DEXTEN' (from 'DEXTEN})' len 6)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DEXTEN' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [s@macro-dial-one:3] Set("PJSIP/telekomPJSIP-226-0000005d", "DIALSTATUS_CW=") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'FROM_DID' is '+499876543210'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'SCREEN' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DEXTEN' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: db.c:394 db_get_common: Unable to find key '98/screen' in family 'AMPUSER'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: func_db.c:151 function_db_read: DB: AMPUSER/98/screen not found in database.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function DB(AMPUSER/98/screen) result is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GosubIf'
    -- Executing [s@macro-dial-one:4] GosubIf("PJSIP/telekomPJSIP-226-0000005d", "0?screen,1()") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GosubIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'FROM_DID' (from 'FROM_DID}"!="" & "${SCREEN}"="" & "${DB(AMPUSER/${DEXTEN}/screen)}"!=""' len 8)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'FROM_DID' is '+499876543210'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'SCREEN' (from 'SCREEN}"="" & "${DB(AMPUSER/${DEXTEN}/screen)}"!=""' len 6)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'SCREEN' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'DB(AMPUSER/${DEXTEN}/screen)' (from 'DB(AMPUSER/${DEXTEN}/screen)}"!=""' len 28)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'DEXTEN' (from 'DEXTEN}/screen)' len 6)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DEXTEN' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: db.c:394 db_get_common: Unable to find key '98/screen' in family 'AMPUSER'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: func_db.c:151 function_db_read: DB: AMPUSER/98/screen not found in database.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:544 ast_str_substitute_variables_full: Function DB(AMPUSER/98/screen) result is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:607 ast_str_substitute_variables_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DEXTEN' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: db.c:394 db_get_common: Unable to find key '98' in family 'CF'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: func_db.c:151 function_db_read: DB: CF/98 not found in database.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function DB(CF/98) result is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GosubIf'
    -- Executing [s@macro-dial-one:5] GosubIf("PJSIP/telekomPJSIP-226-0000005d", "0?cf,1()") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GosubIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'DB(CF/${DEXTEN})' (from 'DB(CF/${DEXTEN})}"!=""' len 16)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'DEXTEN' (from 'DEXTEN})' len 6)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DEXTEN' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: db.c:394 db_get_common: Unable to find key '98' in family 'CF'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: func_db.c:151 function_db_read: DB: CF/98 not found in database.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:544 ast_str_substitute_variables_full: Function DB(CF/98) result is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:607 ast_str_substitute_variables_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DEXTEN' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DEXTEN' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: db.c:394 db_get_common: Unable to find key '98' in family 'DND'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: func_db.c:151 function_db_read: DB: DND/98 not found in database.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function DB(DND/98) result is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [s@macro-dial-one:6] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "1?skip1") in new stack
    -- Goto (macro-dial-one,s,9)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GotoIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DEXTEN' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [s@macro-dial-one:9] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "0?nodial") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_builtins.c:1180 pbx_builtin_gotoif: Not taking any branch
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GotoIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DEXTEN' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [s@macro-dial-one:10] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "0?continue") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_builtins.c:1180 pbx_builtin_gotoif: Not taking any branch
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GotoIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'CWIGNORE' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DEXTEN' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function DB(CW/98) result is 'ENABLED'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function IF(0? :ENABLED) result is 'ENABLED'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [s@macro-dial-one:11] Set("PJSIP/telekomPJSIP-226-0000005d", "EXTHASCW=ENABLED") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'EXTHASCW' is 'ENABLED'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DEXTEN' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: db.c:394 db_get_common: Unable to find key '98' in family 'CFB'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: func_db.c:151 function_db_read: DB: CFB/98 not found in database.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function DB(CFB/98) result is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DEXTEN' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: db.c:394 db_get_common: Unable to find key '98' in family 'CFU'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: func_db.c:151 function_db_read: DB: CFU/98 not found in database.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function DB(CFU/98) result is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [s@macro-dial-one:12] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "0?next1:cwinusebusy") in new stack
    -- Goto (macro-dial-one,s,24)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GotoIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'EXTHASCW' is 'ENABLED'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'CWINUSEBUSY' is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [s@macro-dial-one:24] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "0?next3:continue") in new stack
    -- Goto (macro-dial-one,s,26)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GotoIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DEXTEN' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [s@macro-dial-one:26] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "0?nodial") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_builtins.c:1180 pbx_builtin_gotoif: Not taking any branch
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GotoIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DEXTEN' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GosubIf'
    -- Executing [s@macro-dial-one:27] GosubIf("PJSIP/telekomPJSIP-226-0000005d", "1?dstring,1():dlocal,1()") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GosubIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'DEXTEN:-1' (from 'DEXTEN:-1}"!="#"' len 9)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DEXTEN' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:607 ast_str_substitute_variables_full: Expression result is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:487 _macro_exec: Incrementing gosub_level
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [dstring@macro-dial-one:1] Set("PJSIP/telekomPJSIP-226-0000005d", "DSTRING=") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DEXTEN' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function DB(AMPUSER/98/device) result is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [dstring@macro-dial-one:2] Set("PJSIP/telekomPJSIP-226-0000005d", "DEVICES=98") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DEVICES' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'ExecIf'
    -- Executing [dstring@macro-dial-one:3] ExecIf("PJSIP/telekomPJSIP-226-0000005d", "0?Return()") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: ExecIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'DEVICES' (from 'DEVICES}"=""' len 7)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DEVICES' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:607 ast_str_substitute_variables_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DEVICES' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DEVICES' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'ExecIf'
    -- Executing [dstring@macro-dial-one:4] ExecIf("PJSIP/telekomPJSIP-226-0000005d", "0?Set(DEVICES=8)") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: ExecIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'DEVICES:0:1' (from 'DEVICES:0:1}"="&"' len 11)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DEVICES' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:607 ast_str_substitute_variables_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'DEVICES:1' (from 'DEVICES:1})' len 9)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DEVICES' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'DEVICES' (from 'DEVICES}' len 7)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DEVICES' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function FIELDQTY(DEVICES,&) result is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [dstring@macro-dial-one:5] Set("PJSIP/telekomPJSIP-226-0000005d", "LOOPCNT=1") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [dstring@macro-dial-one:6] Set("PJSIP/telekomPJSIP-226-0000005d", "ITER=1") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ITER' is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'DEVICES' (from 'DEVICES}' len 7)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DEVICES' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function CUT(DEVICES,&,1) result is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function DB(DEVICE/98/dial) result is 'IAX2/98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [dstring@macro-dial-one:7] Set("PJSIP/telekomPJSIP-226-0000005d", "THISDIAL=IAX2/98") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ASTCHANDAHDI' is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GosubIf'
    -- Executing [dstring@macro-dial-one:8] GosubIf("PJSIP/telekomPJSIP-226-0000005d", "1?zap2dahdi,1()") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GosubIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'ASTCHANDAHDI' (from 'ASTCHANDAHDI}" = "1"' len 12)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ASTCHANDAHDI' is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:607 ast_str_substitute_variables_full: Expression result is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:487 _macro_exec: Incrementing gosub_level
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'THISDIAL' is 'IAX2/98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'ExecIf'
    -- Executing [zap2dahdi@macro-dial-one:1] ExecIf("PJSIP/telekomPJSIP-226-0000005d", "0?Return()") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: ExecIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'THISDIAL' (from 'THISDIAL}" = ""' len 8)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'THISDIAL' is 'IAX2/98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:607 ast_str_substitute_variables_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [zap2dahdi@macro-dial-one:2] Set("PJSIP/telekomPJSIP-226-0000005d", "NEWDIAL=") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'THISDIAL' (from 'THISDIAL}' len 8)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'THISDIAL' is 'IAX2/98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function FIELDQTY(THISDIAL,&) result is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [zap2dahdi@macro-dial-one:3] Set("PJSIP/telekomPJSIP-226-0000005d", "LOOPCNT2=1") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [zap2dahdi@macro-dial-one:4] Set("PJSIP/telekomPJSIP-226-0000005d", "ITER2=1") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ITER2' is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'THISDIAL' (from 'THISDIAL}' len 8)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'THISDIAL' is 'IAX2/98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function CUT(THISDIAL,&,1) result is 'IAX2/98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [zap2dahdi@macro-dial-one:5] Set("PJSIP/telekomPJSIP-226-0000005d", "THISPART2=IAX2/98") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'THISPART2' is 'IAX2/98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'THISPART2' is 'IAX2/98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'ExecIf'
    -- Executing [zap2dahdi@macro-dial-one:6] ExecIf("PJSIP/telekomPJSIP-226-0000005d", "0?Set(THISPART2=DAHDI2/98)") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: ExecIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'THISPART2:0:3' (from 'THISPART2:0:3}" = "ZAP"' len 13)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'THISPART2' is 'IAX2/98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:607 ast_str_substitute_variables_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'THISPART2:3' (from 'THISPART2:3})' len 11)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'THISPART2' is 'IAX2/98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'NEWDIAL' is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'THISPART2' is 'IAX2/98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [zap2dahdi@macro-dial-one:7] Set("PJSIP/telekomPJSIP-226-0000005d", "NEWDIAL=IAX2/98&") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ITER2' is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '2'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [zap2dahdi@macro-dial-one:8] Set("PJSIP/telekomPJSIP-226-0000005d", "ITER2=2") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ITER2' is '2'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'LOOPCNT2' is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [zap2dahdi@macro-dial-one:9] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "0?begin2") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_builtins.c:1180 pbx_builtin_gotoif: Not taking any branch
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GotoIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'NEWDIAL' is 'IAX2/98&'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function LEN(IAX2/98&) result is '8'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '7'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'NEWDIAL' is 'IAX2/98&'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [zap2dahdi@macro-dial-one:10] Set("PJSIP/telekomPJSIP-226-0000005d", "THISDIAL=IAX2/98") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Return'
    -- Executing [zap2dahdi@macro-dial-one:11] Return("PJSIP/telekomPJSIP-226-0000005d", "") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Return
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:497 _macro_exec: Decrementing gosub_level
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'THISDIAL' is 'IAX2/98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [dstring@macro-dial-one:9] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "1?docheck") in new stack
    -- Goto (macro-dial-one,dstring,14)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GotoIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'THISDIAL' is 'IAX2/98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [dstring@macro-dial-one:14] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "0?skipset") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_builtins.c:1180 pbx_builtin_gotoif: Not taking any branch
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GotoIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DSTRING' is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'THISDIAL' is 'IAX2/98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [dstring@macro-dial-one:15] Set("PJSIP/telekomPJSIP-226-0000005d", "DSTRING=IAX2/98&") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ITER' is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '2'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [dstring@macro-dial-one:16] Set("PJSIP/telekomPJSIP-226-0000005d", "ITER=2") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ITER' is '2'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'LOOPCNT' is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [dstring@macro-dial-one:17] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "0?begin") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_builtins.c:1180 pbx_builtin_gotoif: Not taking any branch
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GotoIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DSTRING' is 'IAX2/98&'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'ExecIf'
    -- Executing [dstring@macro-dial-one:18] ExecIf("PJSIP/telekomPJSIP-226-0000005d", "0?Return()") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: ExecIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'DSTRING:-1' (from 'DSTRING:-1}"!="&"' len 10)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DSTRING' is 'IAX2/98&'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:607 ast_str_substitute_variables_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DSTRING' is 'IAX2/98&'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function LEN(IAX2/98&) result is '8'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '7'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DSTRING' is 'IAX2/98&'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [dstring@macro-dial-one:19] Set("PJSIP/telekomPJSIP-226-0000005d", "DSTRING=IAX2/98") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Return'
    -- Executing [dstring@macro-dial-one:20] Return("PJSIP/telekomPJSIP-226-0000005d", "") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Return
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:497 _macro_exec: Decrementing gosub_level
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DSTRING' is 'IAX2/98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function LEN(IAX2/98) result is '7'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [s@macro-dial-one:28] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "0?nodial") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_builtins.c:1180 pbx_builtin_gotoif: Not taking any branch
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GotoIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DEXTEN' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [s@macro-dial-one:29] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "0?skiptrace") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_builtins.c:1180 pbx_builtin_gotoif: Not taking any branch
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GotoIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function CALLERID(number) result is '+49654321789'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: func_strings.c:972 regex: FUNCTION REGEX (^[+]?[0-9]+$)(+49654321789)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function REGEX("^[\+]?[0-9]+$" +49654321789) result is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GosubIf'
    -- Executing [s@macro-dial-one:30] GosubIf("PJSIP/telekomPJSIP-226-0000005d", "1?ctset,1():ctclear,1()") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GosubIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'REGEX("^[\+]?[0-9]+$" ${CALLERID(number)})' (from 'REGEX("^[\+]?[0-9]+$" ${CALLERID(number)})} = 1' len 42)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'CALLERID(number)' (from 'CALLERID(number)})' len 16)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:544 ast_str_substitute_variables_full: Function CALLERID(number) result is '+49654321789'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: func_strings.c:972 regex: FUNCTION REGEX (^[+]?[0-9]+$)(+49654321789)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:544 ast_str_substitute_variables_full: Function REGEX("^[\+]?[0-9]+$" +49654321789) result is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:607 ast_str_substitute_variables_full: Expression result is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:487 _macro_exec: Incrementing gosub_level
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DEXTEN' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function CALLERID(number) result is '+49654321789'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [ctset@macro-dial-one:1] Set("PJSIP/telekomPJSIP-226-0000005d", "DB(CALLTRACE/98)=+49654321789") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Return'
    -- Executing [ctset@macro-dial-one:2] Return("PJSIP/telekomPJSIP-226-0000005d", "") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Return
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:497 _macro_exec: Decrementing gosub_level
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'NODEST' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ARG2' is 'Ttr'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: func_strings.c:972 regex: FUNCTION REGEX ((M[(]auto-blkvm[)]))(Ttr)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function REGEX("(M[(]auto-blkvm[)])" Ttr) result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ARG2' is 'Ttr'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ARG2' is 'Ttr'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function IF(0?TtrM(auto-blkvm):Ttr) result is 'Ttr'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [s@macro-dial-one:31] Set("PJSIP/telekomPJSIP-226-0000005d", "D_OPTIONS=Ttr") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'BLINDTRANSFER' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'ATTENDEDTRANSFER' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'AMPUSER' is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'ALERT_INFO' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'NoOp'
    -- Executing [s@macro-dial-one:32] NoOp("PJSIP/telekomPJSIP-226-0000005d", "Blind Transfer: , Attended Transfer: , User: , Alert Info: ") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Noop
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'ALERT_INFO' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'AMPUSER' is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function LEN() result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'BLINDTRANSFER' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function LEN() result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'ATTENDEDTRANSFER' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function LEN() result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'ExecIf'
    -- Executing [s@macro-dial-one:33] ExecIf("PJSIP/telekomPJSIP-226-0000005d", "0?Set(ALERT_INFO=)") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: ExecIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'ALERT_INFO' (from 'ALERT_INFO}"="" & ${LEN(${AMPUSER})}!=0 & ${LEN(${BLINDTRANSFER})}=0 & ${LEN(${ATTENDEDTRANSFER})}=0' len 10)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'ALERT_INFO' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'LEN(${AMPUSER})' (from 'LEN(${AMPUSER})}!=0 & ${LEN(${BLINDTRANSFER})}=0 & ${LEN(${ATTENDEDTRANSFER})}=0' len 15)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'AMPUSER' (from 'AMPUSER})' len 7)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'AMPUSER' is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:544 ast_str_substitute_variables_full: Function LEN() result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'LEN(${BLINDTRANSFER})' (from 'LEN(${BLINDTRANSFER})}=0 & ${LEN(${ATTENDEDTRANSFER})}=0' len 21)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'BLINDTRANSFER' (from 'BLINDTRANSFER})' len 13)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'BLINDTRANSFER' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:544 ast_str_substitute_variables_full: Function LEN() result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'LEN(${ATTENDEDTRANSFER})' (from 'LEN(${ATTENDEDTRANSFER})}=0' len 24)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'ATTENDEDTRANSFER' (from 'ATTENDEDTRANSFER})' len 16)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'ATTENDEDTRANSFER' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:544 ast_str_substitute_variables_full: Function LEN() result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:607 ast_str_substitute_variables_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'BLINDTRANSFER' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function LEN() result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'ExecIf'
    -- Executing [s@macro-dial-one:34] ExecIf("PJSIP/telekomPJSIP-226-0000005d", "0?Set(ALERT_INFO=)") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: ExecIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'LEN(${BLINDTRANSFER})' (from 'LEN(${BLINDTRANSFER})}!=0' len 21)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'BLINDTRANSFER' (from 'BLINDTRANSFER})' len 13)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'BLINDTRANSFER' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:544 ast_str_substitute_variables_full: Function LEN() result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:607 ast_str_substitute_variables_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'ATTENDEDTRANSFER' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function LEN() result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'ExecIf'
    -- Executing [s@macro-dial-one:35] ExecIf("PJSIP/telekomPJSIP-226-0000005d", "0?Set(ALERT_INFO=)") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: ExecIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'LEN(${ATTENDEDTRANSFER})' (from 'LEN(${ATTENDEDTRANSFER})}!=0' len 24)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'ATTENDEDTRANSFER' (from 'ATTENDEDTRANSFER})' len 16)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'ATTENDEDTRANSFER' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:544 ast_str_substitute_variables_full: Function LEN() result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:607 ast_str_substitute_variables_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'RVOL' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'ALERT_INFO' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'ALERT_INFO' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function IF(0?:Normal) result is 'Normal'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'RVOL' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'ExecIf'
    -- Executing [s@macro-dial-one:36] ExecIf("PJSIP/telekomPJSIP-226-0000005d", "0?Set(ALERT_INFO=Normal;volume=)") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: ExecIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'RVOL' (from 'RVOL}"!=""' len 4)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'RVOL' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:607 ast_str_substitute_variables_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'IF($["${ALERT_INFO}"!=""]?${ALERT_INFO}:Normal)' (from 'IF($["${ALERT_INFO}"!=""]?${ALERT_INFO}:Normal)};volume=${RVOL})' len 47)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'ALERT_INFO' (from 'ALERT_INFO}"!=""' len 10)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'ALERT_INFO' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:607 ast_str_substitute_variables_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'ALERT_INFO' (from 'ALERT_INFO}:Normal)' len 10)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'ALERT_INFO' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:544 ast_str_substitute_variables_full: Function IF(0?:Normal) result is 'Normal'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'RVOL' (from 'RVOL})' len 4)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'RVOL' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'RVOL' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'EXTTOCALL' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: db.c:394 db_get_common: Unable to find key '98/rvolume' in family 'AMPUSER'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: func_db.c:151 function_db_read: DB: AMPUSER/98/rvolume not found in database.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function DB(AMPUSER/98/rvolume) result is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'ALERT_INFO' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'ALERT_INFO' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function IF(0?:Normal) result is 'Normal'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'EXTTOCALL' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: db.c:394 db_get_common: Unable to find key '98/rvolume' in family 'AMPUSER'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: func_db.c:151 function_db_read: DB: AMPUSER/98/rvolume not found in database.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function DB(AMPUSER/98/rvolume) result is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'ExecIf'
    -- Executing [s@macro-dial-one:37] ExecIf("PJSIP/telekomPJSIP-226-0000005d", "0?Set(ALERT_INFO=Normal;volume=)") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: ExecIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'RVOL' (from 'RVOL}"="" & "${DB(AMPUSER/${EXTTOCALL}/rvolume)}" != ""' len 4)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'RVOL' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'DB(AMPUSER/${EXTTOCALL}/rvolume)' (from 'DB(AMPUSER/${EXTTOCALL}/rvolume)}" != ""' len 32)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'EXTTOCALL' (from 'EXTTOCALL}/rvolume)' len 9)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'EXTTOCALL' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: db.c:394 db_get_common: Unable to find key '98/rvolume' in family 'AMPUSER'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: func_db.c:151 function_db_read: DB: AMPUSER/98/rvolume not found in database.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:544 ast_str_substitute_variables_full: Function DB(AMPUSER/98/rvolume) result is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:607 ast_str_substitute_variables_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'IF($["${ALERT_INFO}"!=""]?${ALERT_INFO}:Normal)' (from 'IF($["${ALERT_INFO}"!=""]?${ALERT_INFO}:Normal)};volume=${DB(AMPUSER/${EXTTOCALL}/rvolume)})' len 47)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'ALERT_INFO' (from 'ALERT_INFO}"!=""' len 10)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'ALERT_INFO' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:607 ast_str_substitute_variables_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'ALERT_INFO' (from 'ALERT_INFO}:Normal)' len 10)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'ALERT_INFO' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:544 ast_str_substitute_variables_full: Function IF(0?:Normal) result is 'Normal'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'DB(AMPUSER/${EXTTOCALL}/rvolume)' (from 'DB(AMPUSER/${EXTTOCALL}/rvolume)})' len 32)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'EXTTOCALL' (from 'EXTTOCALL}/rvolume)' len 9)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'EXTTOCALL' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: db.c:394 db_get_common: Unable to find key '98/rvolume' in family 'AMPUSER'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: func_db.c:151 function_db_read: DB: AMPUSER/98/rvolume not found in database.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:544 ast_str_substitute_variables_full: Function DB(AMPUSER/98/rvolume) result is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'ALERT_INFO' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'ALERT_INFO' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'ALERT_INFO' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GosubIf'
    -- Executing [s@macro-dial-one:38] GosubIf("PJSIP/telekomPJSIP-226-0000005d", "0?func-set-sipheader,s,1(Alert-Info,)") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GosubIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'ALERT_INFO' (from 'ALERT_INFO}"!="" & "${ALERT_INFO}"!=" "' len 10)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'ALERT_INFO' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'ALERT_INFO' (from 'ALERT_INFO}"!=" "' len 10)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'ALERT_INFO' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:607 ast_str_substitute_variables_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'ALERT_INFO' (from 'ALERT_INFO})' len 10)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'ALERT_INFO' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'MOHCLASS' is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'MOHCLASS' is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'MOHCLASS' is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'ExecIf'
    -- Executing [s@macro-dial-one:39] ExecIf("PJSIP/telekomPJSIP-226-0000005d", "0?Set(CHANNEL(musicclass)=)") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: ExecIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'MOHCLASS' (from 'MOHCLASS}"!="default") & ("${MOHCLASS}"!="")' len 8)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'MOHCLASS' is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'MOHCLASS' (from 'MOHCLASS}"!="")' len 8)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'MOHCLASS' is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:607 ast_str_substitute_variables_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'MOHCLASS' (from 'MOHCLASS})' len 8)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'MOHCLASS' is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'QUEUEWAIT' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GosubIf'
    -- Executing [s@macro-dial-one:40] GosubIf("PJSIP/telekomPJSIP-226-0000005d", "0?qwait,1()") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GosubIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'QUEUEWAIT' (from 'QUEUEWAIT}"!=""' len 9)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'QUEUEWAIT' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:607 ast_str_substitute_variables_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'CWIGNORE' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [s@macro-dial-one:41] Set("PJSIP/telekomPJSIP-226-0000005d", "__CWIGNORE=") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [s@macro-dial-one:42] Set("PJSIP/telekomPJSIP-226-0000005d", "__KEEPCID=TRUE") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'USEGOTO' is NULL
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [s@macro-dial-one:43] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "0?usegoto,1") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_builtins.c:1180 pbx_builtin_gotoif: Not taking any branch
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GotoIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'EXTTOCALL' is '98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function DB(AMPUSER/98/cidname) result is 'Fax'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'AMPUSER' is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: db.c:394 db_get_common: Unable to find key '/cidname' in family 'AMPUSER'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: func_db.c:151 function_db_read: DB: AMPUSER//cidname not found in database.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function DB(AMPUSER//cidname) result is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [s@macro-dial-one:44] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "1?godial") in new stack
    -- Goto (macro-dial-one,s,49)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GotoIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Macro'
    -- Executing [s@macro-dial-one:49] Macro("PJSIP/telekomPJSIP-226-0000005d", "dialout-one-predial-hook,") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'MacroExit'
    -- Executing [s@macro-dialout-one-predial-hook:1] MacroExit("PJSIP/telekomPJSIP-226-0000005d", "") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Macro
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DIRECTION' is 'INBOUND'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'D_OPTIONS' (from 'D_OPTIONS}' len 9)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'D_OPTIONS' is 'Ttr'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function STRREPLACE(D_OPTIONS,T) result is 'tr'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'ExecIf'
    -- Executing [s@macro-dial-one:50] ExecIf("PJSIP/telekomPJSIP-226-0000005d", "1?Set(D_OPTIONS=trI)") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: ExecIf
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'DIRECTION' (from 'DIRECTION}" = "INBOUND"' len 9)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DIRECTION' is 'INBOUND'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:607 ast_str_substitute_variables_full: Expression result is '1'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'STRREPLACE(D_OPTIONS,T)' (from 'STRREPLACE(D_OPTIONS,T)}I)' len 23)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'D_OPTIONS' (from 'D_OPTIONS}' len 9)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'D_OPTIONS' is 'trI'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:544 ast_str_substitute_variables_full: Function STRREPLACE(D_OPTIONS,T) result is 'trI'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'NoOp'
    -- Executing [s@macro-dial-one:51] NoOp("PJSIP/telekomPJSIP-226-0000005d", "") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Noop
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DSTRING' is 'IAX2/98'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ARG1' is '15'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'D_OPTIONS' is 'trI'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Dial'
    -- Executing [s@macro-dial-one:52] Dial("PJSIP/telekomPJSIP-226-0000005d", "IAX2/98,15,trIb(func-apply-sipheaders^s^1)") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: chan_iax2.c:2684 peercnt_add: ip callno count incremented to 2 for 127.0.0.1
[2018-07-14 16:02:12] DEBUG[27604]: res_odbc.c:864 _ast_odbc_request_obj2: Reusing ODBC handle 0x7f8a7c4484b0 from class 'asteriskcdrdb'
[2018-07-14 16:02:12] DEBUG[27604]: cel_odbc.c:790 odbc_log: Executing SQL statement: [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,extra) VALUES ('CHAN_START',{ts '2018-07-14 16:02:12.602925'},'','','','','','s','default','IAX2/98-6343','','',3,'','1531576932.949','1531576932.947','','','')]
[2018-07-14 16:02:12] DEBUG[27604]: res_odbc.c:713 ast_odbc_release_obj: Releasing ODBC handle 0x7f8a7c4484b0 into pool
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: channel.c:1005 __ast_channel_alloc_ap: Channel 0x2aefde0 'IAX2/98-6343' allocated
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: channel_internal_api.c:936 ast_channel_callid_set: Channel Call ID changing from [C-0000002f] to [C-0000002f]
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: channel_internal_api.c:936 ast_channel_callid_set: Channel Call ID changing from [C-0000002f] to [C-0000002f]
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: channel.c:6767 ast_channel_inherit_variables: Inheriting variable __KEEPCID from PJSIP/telekomPJSIP-226-0000005d to IAX2/98-6343.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: channel.c:6767 ast_channel_inherit_variables: Inheriting variable __CWIGNORE from PJSIP/telekomPJSIP-226-0000005d to IAX2/98-6343.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: channel.c:6767 ast_channel_inherit_variables: Inheriting variable __PICKUPMARK from PJSIP/telekomPJSIP-226-0000005d to IAX2/98-6343.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: channel.c:6767 ast_channel_inherit_variables: Inheriting variable __EXTTOCALL from PJSIP/telekomPJSIP-226-0000005d to IAX2/98-6343.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: channel.c:6767 ast_channel_inherit_variables: Inheriting variable __TTL from PJSIP/telekomPJSIP-226-0000005d to IAX2/98-6343.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: channel.c:6767 ast_channel_inherit_variables: Inheriting variable __CALLEE_ACCOUNCODE from PJSIP/telekomPJSIP-226-0000005d to IAX2/98-6343.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: channel.c:6767 ast_channel_inherit_variables: Inheriting variable __RINGTIMER from PJSIP/telekomPJSIP-226-0000005d to IAX2/98-6343.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: channel.c:6767 ast_channel_inherit_variables: Inheriting variable __CALLINGNUMPRES_SV from PJSIP/telekomPJSIP-226-0000005d to IAX2/98-6343.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: channel.c:6767 ast_channel_inherit_variables: Inheriting variable __CALLINGNAMEPRES_SV from PJSIP/telekomPJSIP-226-0000005d to IAX2/98-6343.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: channel.c:6767 ast_channel_inherit_variables: Inheriting variable __REVERSAL_REJECT from PJSIP/telekomPJSIP-226-0000005d to IAX2/98-6343.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: channel.c:6767 ast_channel_inherit_variables: Inheriting variable __MOHCLASS from PJSIP/telekomPJSIP-226-0000005d to IAX2/98-6343.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: channel.c:6767 ast_channel_inherit_variables: Inheriting variable __FROM_DID from PJSIP/telekomPJSIP-226-0000005d to IAX2/98-6343.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: channel.c:6767 ast_channel_inherit_variables: Inheriting variable __MON_FMT from PJSIP/telekomPJSIP-226-0000005d to IAX2/98-6343.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: channel.c:6767 ast_channel_inherit_variables: Inheriting variable __TIMESTR from PJSIP/telekomPJSIP-226-0000005d to IAX2/98-6343.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: channel.c:6767 ast_channel_inherit_variables: Inheriting variable __YEAR from PJSIP/telekomPJSIP-226-0000005d to IAX2/98-6343.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: channel.c:6767 ast_channel_inherit_variables: Inheriting variable __MONTH from PJSIP/telekomPJSIP-226-0000005d to IAX2/98-6343.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: channel.c:6767 ast_channel_inherit_variables: Inheriting variable __DAY from PJSIP/telekomPJSIP-226-0000005d to IAX2/98-6343.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: channel.c:6767 ast_channel_inherit_variables: Inheriting variable __REC_STATUS from PJSIP/telekomPJSIP-226-0000005d to IAX2/98-6343.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: channel.c:6767 ast_channel_inherit_variables: Inheriting variable __DIRECTION from PJSIP/telekomPJSIP-226-0000005d to IAX2/98-6343.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_stack.c:512 expand_gosub_args: Gosub args:func-apply-sipheaders,s,1 new_args:func-apply-sipheaders,s,1
    -- IAX2/98-6343 Internal Gosub(func-apply-sipheaders,s,1) start
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_stack.c:1006 gosub_run: IAX2/98-6343 Original location: ,98,1
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_stack.c:606 gosub_exec: Channel IAX2/98-6343 has no datastore, so we're allocating one.
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_stack.c:1010 gosub_run: Gosub exited with status 0
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'NoOp'
    -- Executing [s@func-apply-sipheaders:1] NoOp("IAX2/98-6343", "Applying SIP Headers to channel") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function HASHKEYS(SIPHEADERS) result is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [s@func-apply-sipheaders:2] Set("IAX2/98-6343", "SIPHEADERKEYS=") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'SIPHEADERKEYS' (from 'SIPHEADERKEYS}' len 13)
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'SIPHEADERKEYS' is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function SHIFT(SIPHEADERKEYS) result is '(null)'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function SET(sipkey=) result is ''
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'While'
    -- Executing [s@func-apply-sipheaders:3] While("IAX2/98-6343", "0") in new stack
    -- Jumping to priority 6
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Return'
    -- Executing [s@func-apply-sipheaders:7] Return("IAX2/98-6343", "") in new stack
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_stack.c:1068 gosub_run: Spawn extension (,98,1) exited with -1 on 'IAX2/98-6343'
  == Spawn extension (, 98, 1) exited non-zero on 'IAX2/98-6343'
    -- IAX2/98-6343 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
[2018-07-14 16:02:12] DEBUG[17049][C-0000002f]: app_stack.c:1094 gosub_run: IAX2/98-6343 Ending location: ,98,1
    -- Call accepted by 127.0.0.1:4570 (format alaw)
[2018-07-14 16:02:12] DEBUG[27595]: devicestate.c:369 _ast_device_state: No provider found, checking channel drivers for IAX2 - 98
[2018-07-14 16:02:12] DEBUG[27595]: chan_iax2.c:14505 iax2_devicestate: Checking device state for device 98
[2018-07-14 16:02:12] DEBUG[27595]: chan_iax2.c:14514 iax2_devicestate: Found peer. What's device state of 98? addr=127.0.0.1:4570, defaddr=(null) maxms=2000, lastms=3
    -- Called IAX2/98
    -- Format for call is (alaw)
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2521 handle_outgoing_response: Method is INVITE, Response is 180 Ringing
[2018-07-14 16:02:12] DEBUG[27595]: devicestate.c:474 do_state_change: Changing state for IAX2/98 - state 6 (Ringing)
[2018-07-14 16:02:12] DEBUG[27595]: devicestate.c:369 _ast_device_state: No provider found, checking channel drivers for PJSIP - telekomPJSIP-226
[2018-07-14 16:02:12] DEBUG[27595]: devicestate.c:474 do_state_change: Changing state for PJSIP/telekomPJSIP-226 - state 2 (In use)
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip/pjsip_message_filter.c:288 filter_on_tx_message: Re-wrote Contact URI host/port to 96.35.15.44:5061 (this may be re-written again later)
[2018-07-14 16:02:12] DEBUG[16754]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '217.0.21.1' into...
[2018-07-14 16:02:12] DEBUG[16754]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '217.0.21.1' and port ''.
<--- Transmitting SIP response (682 bytes) to UDP:217.0.21.1:5060 --->
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 217.0.21.1:5060;rport=5060;received=217.0.21.1;branch=z9hG4bKg3Zqkv7ivtf9b68uwnlr8l6yberdjdikq
Record-Route: <sip:217.0.21.1;transport=udp;lr>
Call-ID: p65547t1531576932m204350c1100047124s2
From: <sip:+49654321789@1.siptg.t-systems.com;user=phone>;tag=h7g4Esbg_p65547t1531576932m204350c1100047124s1_184393336-471527295
To: <sip:+499876543210@tel.t-online.de;user=phone>;tag=183e6b47-dfc0-4661-8e25-016b6af81190
CSeq: 1 INVITE
Server: FPBX-13.0.194.5(13.21.90)
Contact: <sip:96.35.15.44:5061>
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, REFER, MESSAGE
Content-Length:  0


[2018-07-14 16:02:12] DEBUG[27602]: devicestate.c:365 _ast_device_state: Checking if I can find provider for "Custom" - number: DND98
[2018-07-14 16:02:12] DEBUG[27602]: devicestate.c:454 getproviderstate: Checking provider Custom with Custom
[2018-07-14 16:02:12] DEBUG[27602]: db.c:394 db_get_common: Unable to find key 'DND98' in family 'CustomDevstate'
[2018-07-14 16:02:12] DEBUG[27662]: app_queue.c:2486 device_state_cb: Device 'IAX2/98' changed to state '6' (Ringing) but we don't care because they're not a member of any queue.
[2018-07-14 16:02:12] DEBUG[27662]: app_queue.c:2486 device_state_cb: Device 'PJSIP/telekomPJSIP-226' changed to state '2' (In use) but we don't care because they're not a member of any queue.
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2405 __print_debug_details: Function session_inv_on_state_changed called on event TSX_STATE
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2419 __print_debug_details: The state change pertains to the endpoint 'telekomPJSIP-226(PJSIP/telekomPJSIP-226-0000005d)'
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2424 __print_debug_details: The inv session still has an invite_tsx (0x2ca88b8)
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2439 __print_debug_details: There is no transaction involved in this state change
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2441 __print_debug_details: The current inv state is EARLY
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2632 session_inv_on_state_changed: Source of transaction state change is TX_MSG
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2405 __print_debug_details: Function session_inv_on_tsx_state_changed called on event TSX_STATE
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2419 __print_debug_details: The state change pertains to the endpoint 'telekomPJSIP-226(PJSIP/telekomPJSIP-226-0000005d)'
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2424 __print_debug_details: The inv session still has an invite_tsx (0x2ca88b8)
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2430 __print_debug_details: The UAS INVITE transaction involved in this state change is 0x2ca88b8
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2434 __print_debug_details: The current transaction state is Proceeding
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2436 __print_debug_details: The transaction state change event is TX_MSG
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2441 __print_debug_details: The current inv state is EARLY
    -- IAX2/98-6343 is ringing
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2521 handle_outgoing_response: Method is INVITE, Response is 180 Ringing
[2018-07-14 16:02:12] DEBUG[27595]: devicestate.c:369 _ast_device_state: No provider found, checking channel drivers for PJSIP - telekomPJSIP-226
[2018-07-14 16:02:12] DEBUG[27595]: devicestate.c:474 do_state_change: Changing state for PJSIP/telekomPJSIP-226 - state 2 (In use)
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip/pjsip_message_filter.c:288 filter_on_tx_message: Re-wrote Contact URI host/port to 96.35.15.44:5061 (this may be re-written again later)
[2018-07-14 16:02:12] DEBUG[16754]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '217.0.21.1' into...
[2018-07-14 16:02:12] DEBUG[16754]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '217.0.21.1' and port ''.
<--- Transmitting SIP response (682 bytes) to UDP:217.0.21.1:5060 --->
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 217.0.21.1:5060;rport=5060;received=217.0.21.1;branch=z9hG4bKg3Zqkv7ivtf9b68uwnlr8l6yberdjdikq
Record-Route: <sip:217.0.21.1;transport=udp;lr>
Call-ID: p65547t1531576932m204350c1100047124s2
From: <sip:+49654321789@1.siptg.t-systems.com;user=phone>;tag=h7g4Esbg_p65547t1531576932m204350c1100047124s1_184393336-471527295
To: <sip:+499876543210@tel.t-online.de;user=phone>;tag=183e6b47-dfc0-4661-8e25-016b6af81190
CSeq: 1 INVITE
Server: FPBX-13.0.194.5(13.21.90)
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, REFER, MESSAGE
Contact: <sip:96.35.15.44:5061>
Content-Length:  0


[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2405 __print_debug_details: Function session_inv_on_state_changed called on event TSX_STATE
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2419 __print_debug_details: The state change pertains to the endpoint 'telekomPJSIP-226(PJSIP/telekomPJSIP-226-0000005d)'
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2424 __print_debug_details: The inv session still has an invite_tsx (0x2ca88b8)
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2439 __print_debug_details: There is no transaction involved in this state change
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2441 __print_debug_details: The current inv state is EARLY
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2632 session_inv_on_state_changed: Source of transaction state change is TX_MSG
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2405 __print_debug_details: Function session_inv_on_tsx_state_changed called on event TSX_STATE
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2419 __print_debug_details: The state change pertains to the endpoint 'telekomPJSIP-226(PJSIP/telekomPJSIP-226-0000005d)'
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2424 __print_debug_details: The inv session still has an invite_tsx (0x2ca88b8)
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2430 __print_debug_details: The UAS INVITE transaction involved in this state change is 0x2ca88b8
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2434 __print_debug_details: The current transaction state is Proceeding
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2436 __print_debug_details: The transaction state change event is TX_MSG
[2018-07-14 16:02:12] DEBUG[16754]: res_pjsip_session.c:2441 __print_debug_details: The current inv state is EARLY
[2018-07-14 16:02:17] DEBUG[17052]: manager.c:6446 process_message: Running action 'Login'
[2018-07-14 16:02:17] SECURITY[27652]: res_security_log.c:116 security_event_stasis_cb: SecurityEvent="SuccessfulAuth",EventTV="2018-07-14T16:02:17.859+0200",Severity="Informational",Service="AMI",EventVersion="1",AccountID="admin",SessionID="0x7f8a40009af0",LocalAddress="IPV4/TCP/0.0.0.0/5038",RemoteAddress="IPV4/TCP/127.0.0.1/37576",UsingPassword="0",SessionTV="2018-07-14T16:02:17.859+0200"
    -- Nobody picked up in 15000 ms
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: channel.c:2683 ast_hangup: Channel 0x2aefde0 'IAX2/98-6343' hanging up.  Refs: 2
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: chan_iax2.c:5319 iax2_hangup: We're hanging up IAX2/98-6343 now...
[2018-07-14 16:02:27] DEBUG[27601]: cdr.c:1462 cdr_object_finalize: Finalized CDR for PJSIP/telekomPJSIP-226-0000005d - start 1531576932.299072 answer 0.000000 end 1531576947.640069 dispo NO ANSWER
    -- Hungup 'IAX2/98-6343'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: channel.c:2235 ast_channel_destructor: Channel 0x2aefde0 'IAX2/98-6343' destroying
[2018-07-14 16:02:27] DEBUG[27584]: threadpool.c:517 grow: Increasing threadpool stasis-core's size by 1
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: app_dial.c:3235 dial_exec_full: Exiting with DIALSTATUS=NOANSWER.
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Dial
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DIALSTATUS' is 'NOANSWER'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'CALLER_DEST' is NULL
[2018-07-14 16:02:27] DEBUG[27595]: devicestate.c:369 _ast_device_state: No provider found, checking channel drivers for IAX2 - 98
[2018-07-14 16:02:27] DEBUG[27595]: chan_iax2.c:14505 iax2_devicestate: Checking device state for device 98
[2018-07-14 16:02:27] DEBUG[27595]: chan_iax2.c:14514 iax2_devicestate: Found peer. What's device state of 98? addr=127.0.0.1:4570, defaddr=(null) maxms=2000, lastms=3
[2018-07-14 16:02:27] DEBUG[27595]: devicestate.c:474 do_state_change: Changing state for IAX2/98 - state 0 (Unknown)
[2018-07-14 16:02:27] DEBUG[27602]: devicestate.c:369 _ast_device_state: No provider found, checking channel drivers for IAX2 - 98
[2018-07-14 16:02:27] DEBUG[27602]: chan_iax2.c:14505 iax2_devicestate: Checking device state for device 98
[2018-07-14 16:02:27] DEBUG[27602]: chan_iax2.c:14514 iax2_devicestate: Found peer. What's device state of 98? addr=127.0.0.1:4570, defaddr=(null) maxms=2000, lastms=3
[2018-07-14 16:02:27] DEBUG[27602]: devicestate.c:365 _ast_device_state: Checking if I can find provider for "Custom" - number: DND98
[2018-07-14 16:02:27] DEBUG[27602]: devicestate.c:454 getproviderstate: Checking provider Custom with Custom
[2018-07-14 16:02:27] DEBUG[27602]: db.c:394 db_get_common: Unable to find key 'DND98' in family 'CustomDevstate'
[2018-07-14 16:02:27] DEBUG[27601]: cdr.c:1462 cdr_object_finalize: Finalized CDR for IAX2/98-6343 - start 1531576932.602875 answer 0.000000 end 1531576947.642260 dispo FAILED
[2018-07-14 16:02:27] DEBUG[27601]: cdr.c:1295 cdr_object_create_public_records: CDR for IAX2/98-6343 is dialed and has no Party B; discarding
[2018-07-14 16:02:27] DEBUG[27662]: app_queue.c:2486 device_state_cb: Device 'IAX2/98' changed to state '0' (Unknown) but we don't care because they're not a member of any queue.
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'ExecIf'
    -- Executing [s@macro-dial-one:53] ExecIf("PJSIP/telekomPJSIP-226-0000005d", "0?MacroExit()") in new stack
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: ExecIf
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'DIALSTATUS' (from 'DIALSTATUS}"="ANSWER" & "${CALLER_DEST}"!=""' len 10)
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DIALSTATUS' is 'NOANSWER'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'CALLER_DEST' (from 'CALLER_DEST}"!=""' len 11)
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'CALLER_DEST' is NULL
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:607 ast_str_substitute_variables_full: Expression result is '0'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DIALSTATUS_CW' is ''
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DIALSTATUS_CW' is ''
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'ExecIf'
    -- Executing [s@macro-dial-one:54] ExecIf("PJSIP/telekomPJSIP-226-0000005d", "0?Set(DIALSTATUS=)") in new stack
[2018-07-14 16:02:27] DEBUG[27604]: res_odbc.c:864 _ast_odbc_request_obj2: Reusing ODBC handle 0x7f8a7c4484b0 from class 'asteriskcdrdb'
[2018-07-14 16:02:27] DEBUG[27604]: cel_odbc.c:790 odbc_log: Executing SQL statement: [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,extra) VALUES ('HANGUP',{ts '2018-07-14 16:02:27.641494'},'','98','','','','98','from-fax-extension','IAX2/98-6343','AppDial','(Outgoing Line)',3,'','1531576932.949','1531576932.947','','','{"hangupcause":0,"hangupsource":"","dialstatus":""}')]
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: ExecIf
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'DIALSTATUS_CW' (from 'DIALSTATUS_CW}"!=""' len 13)
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DIALSTATUS_CW' is ''
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:607 ast_str_substitute_variables_full: Expression result is '0'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'DIALSTATUS_CW' (from 'DIALSTATUS_CW})' len 13)
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DIALSTATUS_CW' is ''
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'SCREEN' is NULL
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DIALSTATUS' is 'NOANSWER'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DIALSTATUS' is 'NOANSWER'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DIALSTATUS' is 'NOANSWER'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DIALSTATUS' is 'NOANSWER'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GosubIf'
    -- Executing [s@macro-dial-one:55] GosubIf("PJSIP/telekomPJSIP-226-0000005d", "0?s-NOANSWER,1()") in new stack
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GosubIf
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'SCREEN' (from 'SCREEN}"!=""&("${DIALSTATUS}"="TORTURE"|"${DIALSTATUS}"="DONTCALL"))|"${DIALSTATUS}"="ANSWER"' len 6)
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'SCREEN' is NULL
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'DIALSTATUS' (from 'DIALSTATUS}"="TORTURE"|"${DIALSTATUS}"="DONTCALL"))|"${DIALSTATUS}"="ANSWER"' len 10)
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DIALSTATUS' is 'NOANSWER'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'DIALSTATUS' (from 'DIALSTATUS}"="DONTCALL"))|"${DIALSTATUS}"="ANSWER"' len 10)
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DIALSTATUS' is 'NOANSWER'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'DIALSTATUS' (from 'DIALSTATUS}"="ANSWER"' len 10)
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DIALSTATUS' is 'NOANSWER'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:607 ast_str_substitute_variables_full: Expression result is '0'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'DIALSTATUS' (from 'DIALSTATUS},1()' len 10)
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DIALSTATUS' is 'NOANSWER'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'MacroExit'
    -- Executing [s@macro-dial-one:56] MacroExit("PJSIP/telekomPJSIP-226-0000005d", "") in new stack
[2018-07-14 16:02:27] DEBUG[27604]: res_odbc.c:713 ast_odbc_release_obj: Releasing ODBC handle 0x7f8a7c4484b0 into pool
[2018-07-14 16:02:27] DEBUG[27604]: res_odbc.c:864 _ast_odbc_request_obj2: Reusing ODBC handle 0x7f8a7c4484b0 from class 'asteriskcdrdb'
[2018-07-14 16:02:27] DEBUG[27604]: cel_odbc.c:790 odbc_log: Executing SQL statement: [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,extra) VALUES ('CHAN_END',{ts '2018-07-14 16:02:27.646683'},'','98','','','','98','from-fax-extension','IAX2/98-6343','AppDial','(Outgoing Line)',3,'','1531576932.949','1531576932.947','','','')]
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Macro
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DIALSTATUS' is 'NOANSWER'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [s@macro-exten-vm:15] Set("PJSIP/telekomPJSIP-226-0000005d", "SV_DIALSTATUS=NOANSWER") in new stack
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:27] DEBUG[27604]: res_odbc.c:713 ast_odbc_release_obj: Releasing ODBC handle 0x7f8a7c4484b0 into pool
[2018-07-14 16:02:27] DEBUG[27639][C-0000002f]: chan_iax2.c:3084 sched_delay_remove: schedule decrement of callno used for 127.0.0.1 in 60 seconds
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'SV_DIALSTATUS' is 'NOANSWER'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'SV_DIALSTATUS' is 'NOANSWER'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'EXTTOCALL' is '98'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: db.c:394 db_get_common: Unable to find key '98' in family 'CFU'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: func_db.c:151 function_db_read: DB: CFU/98 not found in database.
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function DB(CFU/98) result is ''
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'SCREEN' is NULL
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GosubIf'
    -- Executing [s@macro-exten-vm:16] GosubIf("PJSIP/telekomPJSIP-226-0000005d", "0?docfu,1()") in new stack
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GosubIf
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'SV_DIALSTATUS' (from 'SV_DIALSTATUS}"="NOANSWER"|"${SV_DIALSTATUS}"="CHANUNAVAIL") & "${DB(CFU/${EXTTOCALL})}"!="" & "${SCREEN}"=""' len 13)
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'SV_DIALSTATUS' is 'NOANSWER'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'SV_DIALSTATUS' (from 'SV_DIALSTATUS}"="CHANUNAVAIL") & "${DB(CFU/${EXTTOCALL})}"!="" & "${SCREEN}"=""' len 13)
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'SV_DIALSTATUS' is 'NOANSWER'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'DB(CFU/${EXTTOCALL})' (from 'DB(CFU/${EXTTOCALL})}"!="" & "${SCREEN}"=""' len 20)
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'EXTTOCALL' (from 'EXTTOCALL})' len 9)
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'EXTTOCALL' is '98'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: db.c:394 db_get_common: Unable to find key '98' in family 'CFU'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: func_db.c:151 function_db_read: DB: CFU/98 not found in database.
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:544 ast_str_substitute_variables_full: Function DB(CFU/98) result is ''
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'SCREEN' (from 'SCREEN}"=""' len 6)
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'SCREEN' is NULL
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:607 ast_str_substitute_variables_full: Expression result is '0'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'SV_DIALSTATUS' is 'NOANSWER'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'EXTTOCALL' is '98'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: db.c:394 db_get_common: Unable to find key '98' in family 'CFB'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: func_db.c:151 function_db_read: DB: CFB/98 not found in database.
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function DB(CFB/98) result is ''
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'SCREEN' is NULL
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GosubIf'
    -- Executing [s@macro-exten-vm:17] GosubIf("PJSIP/telekomPJSIP-226-0000005d", "0?docfb,1()") in new stack
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GosubIf
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'SV_DIALSTATUS' (from 'SV_DIALSTATUS}"="BUSY" & "${DB(CFB/${EXTTOCALL})}"!="" & "${SCREEN}"=""' len 13)
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'SV_DIALSTATUS' is 'NOANSWER'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'DB(CFB/${EXTTOCALL})' (from 'DB(CFB/${EXTTOCALL})}"!="" & "${SCREEN}"=""' len 20)
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'EXTTOCALL' (from 'EXTTOCALL})' len 9)
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'EXTTOCALL' is '98'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: db.c:394 db_get_common: Unable to find key '98' in family 'CFB'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: func_db.c:151 function_db_read: DB: CFB/98 not found in database.
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:544 ast_str_substitute_variables_full: Function DB(CFB/98) result is ''
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'SCREEN' (from 'SCREEN}"=""' len 6)
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'SCREEN' is NULL
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:607 ast_str_substitute_variables_full: Expression result is '0'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'SV_DIALSTATUS' is 'NOANSWER'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [s@macro-exten-vm:18] Set("PJSIP/telekomPJSIP-226-0000005d", "DIALSTATUS=NOANSWER") in new stack
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: Set
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DIALSTATUS' is 'NOANSWER'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ARG3' is '1'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DIALSTATUS' is 'NOANSWER'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ARG4' is '1'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DIALSTATUS' is 'NOANSWER'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ARG5' is '1'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '1'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'ExecIf'
    -- Executing [s@macro-exten-vm:19] ExecIf("PJSIP/telekomPJSIP-226-0000005d", "1?MacroExit()") in new stack
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [98@ext-local:3] Set("PJSIP/telekomPJSIP-226-0000005d", "__PICKUPMARK=") in new stack
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'DIALSTATUS' is 'NOANSWER'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '1'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [98@ext-local:4] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "1?ext-fax,4,1") in new stack
    -- Goto (ext-fax,4,1)
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [4@ext-fax:1] Set("PJSIP/telekomPJSIP-226-0000005d", "FAX_FOR=98 (4)") in new stack
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'FAX_FOR' is '98 (4)'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function CALLERID(all) result is '"+49654321789" <+49654321789>'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'NoOp'
    -- Executing [4@ext-fax:2] NoOp("PJSIP/telekomPJSIP-226-0000005d", "Receiving Fax for: 98 (4), From: "+49654321789" <+49654321789>") in new stack
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [4@ext-fax:3] Set("PJSIP/telekomPJSIP-226-0000005d", "FAX_RX_USER=4") in new stack
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Set'
    -- Executing [4@ext-fax:4] Set("PJSIP/telekomPJSIP-226-0000005d", "FAX_RX_EMAIL_LEN=16") in new stack
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Goto'
    -- Executing [4@ext-fax:5] Goto("PJSIP/telekomPJSIP-226-0000005d", "s,receivefax") in new stack
    -- Goto (ext-fax,s,3)
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'StopPlayTones'
    -- Executing [s@ext-fax:3] StopPlayTones("PJSIP/telekomPJSIP-226-0000005d", "") in new stack
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ASTSPOOLDIR' is '/var/spool/asterisk'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'UNIQUEID' is '1531576932.947'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'ReceiveFAX'
    -- Executing [s@ext-fax:4] ReceiveFAX("PJSIP/telekomPJSIP-226-0000005d", "/var/spool/asterisk/fax/1531576932.947.tif,f") in new stack
    -- Channel 'PJSIP/telekomPJSIP-226-0000005d' receiving FAX '/var/spool/asterisk/fax/1531576932.947.tif'
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: res_fax.c:1166 fax_session_reserve: Reserving a FAX session from 'Spandsp FAX Driver'.
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: res_fax.c:1181 fax_session_reserve: Selected FAX technology module (Spandsp FAX Driver) does not support reserving sessions.
[2018-07-14 16:02:27] DEBUG[27595]: devicestate.c:369 _ast_device_state: No provider found, checking channel drivers for PJSIP - telekomPJSIP-226
[2018-07-14 16:02:27] DEBUG[27595]: devicestate.c:474 do_state_change: Changing state for PJSIP/telekomPJSIP-226 - state 2 (In use)
[2018-07-14 16:02:27] DEBUG[16754]: res_pjsip_session.c:331 handle_negotiated_sdp_session_media: Applying negotiated SDP media stream 'audio' using audio SDP handler
[2018-07-14 16:02:27] DEBUG[16754]: res_rtp_asterisk.c:5854 ast_rtp_prop_set: Ignoring duplicate RTCP property on RTP instance '0x7f8a40031dd0'
[2018-07-14 16:02:27] DEBUG[16754]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '217.0.5.183' into...
[2018-07-14 16:02:27] DEBUG[16754]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '217.0.5.183' and port ''.
[2018-07-14 16:02:27] DEBUG[16754]: acl.c:992 ast_ouraddrfor: For destination '217.0.5.183', our source address is '96.35.15.44'.
[2018-07-14 16:02:27] DEBUG[16754]: res_rtp_asterisk.c:6020 ast_rtp_remote_address_set: Setting RTCP address on RTP instance '0x7f8a40031dd0'
       > 0x7f8a40017920 -- Strict RTP learning after remote address set to: 217.0.5.183:26312
[2018-07-14 16:02:27] DEBUG[16754]: rtp_engine.c:764 ast_rtp_codecs_payloads_set_m_type: Setting tx payload type 8 based on m type on 0x7f8a396dae40
[2018-07-14 16:02:27] DEBUG[16754]: rtp_engine.c:764 ast_rtp_codecs_payloads_set_m_type: Setting tx payload type 100 based on m type on 0x7f8a396dae40
[2018-07-14 16:02:27] DEBUG[16754]: rtp_engine.c:730 ast_rtp_codecs_payloads_copy: Copying payload 8 (0x7f8a40009518) from 0x7f8a396dae40 to 0x7f8a40031f98
[2018-07-14 16:02:27] DEBUG[16754]: rtp_engine.c:730 ast_rtp_codecs_payloads_copy: Copying payload 100 (0x7f8a4000a158) from 0x7f8a396dae40 to 0x7f8a40031f98
[2018-07-14 16:02:27] DEBUG[16754]: res_pjsip_session.c:337 handle_negotiated_sdp_session_media: Applied negotiated SDP media stream 'audio' using audio SDP handler
[2018-07-14 16:02:27] DEBUG[16754]: res_pjsip_session.c:2521 handle_outgoing_response: Method is INVITE, Response is 200 OK
[2018-07-14 16:02:27] DEBUG[16754]: res_pjsip/pjsip_message_filter.c:288 filter_on_tx_message: Re-wrote Contact URI host/port to 96.35.15.44:5061 (this may be re-written again later)
[2018-07-14 16:02:27] DEBUG[16754]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '217.0.21.1' into...
[2018-07-14 16:02:27] DEBUG[16754]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '217.0.21.1' and port ''.
<--- Transmitting SIP response (1049 bytes) to UDP:217.0.21.1:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 217.0.21.1:5060;rport=5060;received=217.0.21.1;branch=z9hG4bKg3Zqkv7ivtf9b68uwnlr8l6yberdjdikq
Record-Route: <sip:217.0.21.1;transport=udp;lr>
Call-ID: p65547t1531576932m204350c1100047124s2
From: <sip:+49654321789@1.siptg.t-systems.com;user=phone>;tag=h7g4Esbg_p65547t1531576932m204350c1100047124s1_184393336-471527295
To: <sip:+499876543210@tel.t-online.de;user=phone>;tag=183e6b47-dfc0-4661-8e25-016b6af81190
CSeq: 1 INVITE
Server: FPBX-13.0.194.5(13.21.90)
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, REFER, MESSAGE
Contact: <sip:96.35.15.44:5061>
Supported: 100rel, timer, replaces, norefersub
Session-Expires: 1800;refresher=uac
Require: timer
Content-Type: application/sdp
Content-Length:   237

v=0
o=- 427888033 184393116 IN IP4 96.35.15.44
s=Asterisk
c=IN IP4 96.35.15.44
t=0 0
m=audio 10070 RTP/AVP 8 100
a=rtpmap:8 PCMA/8000
a=rtpmap:100 telephone-event/8000
a=fmtp:100 0-16
a=ptime:20
a=maxptime:150
a=sendrecv

[2018-07-14 16:02:27] DEBUG[16754]: res_pjsip_session.c:2405 __print_debug_details: Function session_inv_on_state_changed called on event TSX_STATE
[2018-07-14 16:02:27] DEBUG[16754]: res_pjsip_session.c:2419 __print_debug_details: The state change pertains to the endpoint 'telekomPJSIP-226(PJSIP/telekomPJSIP-226-0000005d)'
[2018-07-14 16:02:27] DEBUG[16754]: res_pjsip_session.c:2424 __print_debug_details: The inv session still has an invite_tsx (0x2ca88b8)
[2018-07-14 16:02:27] DEBUG[16754]: res_pjsip_session.c:2439 __print_debug_details: There is no transaction involved in this state change
[2018-07-14 16:02:27] DEBUG[16754]: res_pjsip_session.c:2441 __print_debug_details: The current inv state is CONNECTING
[2018-07-14 16:02:27] DEBUG[16754]: res_pjsip_session.c:2632 session_inv_on_state_changed: Source of transaction state change is TX_MSG
[2018-07-14 16:02:27] DEBUG[16754]: res_pjsip_session.c:2405 __print_debug_details: Function session_inv_on_tsx_state_changed called on event TSX_STATE
[2018-07-14 16:02:27] DEBUG[16754]: res_pjsip_session.c:2419 __print_debug_details: The state change pertains to the endpoint 'telekomPJSIP-226(PJSIP/telekomPJSIP-226-0000005d)'
[2018-07-14 16:02:27] DEBUG[16754]: res_pjsip_session.c:2424 __print_debug_details: The inv session still has an invite_tsx (0x2ca88b8)
[2018-07-14 16:02:27] DEBUG[16754]: res_pjsip_session.c:2430 __print_debug_details: The UAS INVITE transaction involved in this state change is 0x2ca88b8
[2018-07-14 16:02:27] DEBUG[16754]: res_pjsip_session.c:2434 __print_debug_details: The current transaction state is Completed
[2018-07-14 16:02:27] DEBUG[16754]: res_pjsip_session.c:2436 __print_debug_details: The transaction state change event is TX_MSG
[2018-07-14 16:02:27] DEBUG[16754]: res_pjsip_session.c:2441 __print_debug_details: The current inv state is CONNECTING
[2018-07-14 16:02:27] DEBUG[27604]: res_odbc.c:864 _ast_odbc_request_obj2: Reusing ODBC handle 0x7f8a7c4484b0 from class 'asteriskcdrdb'
[2018-07-14 16:02:27] DEBUG[27604]: cel_odbc.c:790 odbc_log: Executing SQL statement: [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,extra) VALUES ('ANSWER',{ts '2018-07-14 16:02:27.677602'},'+49654321789','+49654321789','+49654321789','','+499876543210','s','ext-fax','PJSIP/telekomPJSIP-226-0000005d','ReceiveFAX','/var/spool/asterisk/fax/1531576932.947.tif,f',3,'','1531576932.947','1531576932.947','','','')]
[2018-07-14 16:02:27] DEBUG[27604]: res_odbc.c:713 ast_odbc_release_obj: Releasing ODBC handle 0x7f8a7c4484b0 into pool
<--- Received SIP request (558 bytes) from UDP:217.0.21.1:5060 --->
ACK sip:96.35.15.44:5061 SIP/2.0
Max-Forwards: 64
Via: SIP/2.0/UDP 217.0.21.1:5060;branch=z9hG4bKg3Zqkv7i8ppxue9ymyn8ukp1knbzebs97
To: <sip:+499876543210@tel.t-online.de;user=phone>;tag=183e6b47-dfc0-4661-8e25-016b6af81190
From: <sip:+49654321789@1.siptg.t-systems.com;user=phone>;tag=h7g4Esbg_p65547t1531576932m204350c1100047124s1_184393336-471527295
Call-ID: p65547t1531576932m204350c1100047124s2
CSeq: 1 ACK
Contact: <sip:sgc_c@217.0.21.1;transport=udp>;+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.mmtel"
Content-Length: 0


[2018-07-14 16:02:27] DEBUG[27613]: res_pjsip/pjsip_distributor.c:492 distributor: Searching for serializer associated with dialog dlg0x7f8a78092048 for Request msg ACK/cseq=1 (rdata0x7f8a7003e278)
[2018-07-14 16:02:27] DEBUG[27613]: res_pjsip/pjsip_distributor.c:500 distributor: Found serializer pjsip/distributor-0000002f associated with dialog dlg0x7f8a78092048
[2018-07-14 16:02:27] DEBUG[16754]: res_pjsip_session.c:2405 __print_debug_details: Function session_inv_on_tsx_state_changed called on event TSX_STATE
[2018-07-14 16:02:27] DEBUG[16754]: res_pjsip_session.c:2419 __print_debug_details: The state change pertains to the endpoint 'telekomPJSIP-226(PJSIP/telekomPJSIP-226-0000005d)'
[2018-07-14 16:02:27] DEBUG[16754]: res_pjsip_session.c:2427 __print_debug_details: The inv session does NOT have an invite_tsx
[2018-07-14 16:02:27] DEBUG[16754]: res_pjsip_session.c:2430 __print_debug_details: The UAS INVITE transaction involved in this state change is 0x2ca88b8
[2018-07-14 16:02:27] DEBUG[16754]: res_pjsip_session.c:2434 __print_debug_details: The current transaction state is Terminated
[2018-07-14 16:02:27] DEBUG[16754]: res_pjsip_session.c:2436 __print_debug_details: The transaction state change event is USER
[2018-07-14 16:02:27] DEBUG[16754]: res_pjsip_session.c:2441 __print_debug_details: The current inv state is CONNECTING
[2018-07-14 16:02:27] DEBUG[16754]: res_pjsip_session.c:2405 __print_debug_details: Function session_inv_on_state_changed called on event RX_MSG
[2018-07-14 16:02:27] DEBUG[16754]: res_pjsip_session.c:2419 __print_debug_details: The state change pertains to the endpoint 'telekomPJSIP-226(PJSIP/telekomPJSIP-226-0000005d)'
[2018-07-14 16:02:27] DEBUG[16754]: res_pjsip_session.c:2427 __print_debug_details: The inv session does NOT have an invite_tsx
[2018-07-14 16:02:27] DEBUG[16754]: res_pjsip_session.c:2439 __print_debug_details: There is no transaction involved in this state change
[2018-07-14 16:02:27] DEBUG[16754]: res_pjsip_session.c:2441 __print_debug_details: The current inv state is CONFIRMED
[2018-07-14 16:02:27] DEBUG[16754]: res_pjsip_session.c:2484 handle_incoming: Received request
[2018-07-14 16:02:27] DEBUG[16754]: res_pjsip_session.c:2451 handle_incoming_request: Method is ACK
       > 0x7f8a40017920 -- Strict RTP switching to RTP target address 217.0.5.183:26312 as source
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: channel.c:5790 set_format: Channel PJSIP/telekomPJSIP-226-0000005d setting write format path: slin -> alaw
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: channel.c:3500 ast_settimeout_full: Scheduling timer at (50 requested / 50 actual) timer ticks per second
[2018-07-14 16:02:27] DEBUG[17049][C-0000002f]: res_rtp_asterisk.c:4177 ast_rtp_write: Ooh, format changed from none to alaw
[2018-07-14 16:02:30] DEBUG[17049][C-0000002f]: channel.c:3027 generator_force: Auto-deactivating generator
[2018-07-14 16:02:30] DEBUG[17049][C-0000002f]: channel.c:5790 set_format: Channel PJSIP/telekomPJSIP-226-0000005d setting write format path: alaw -> alaw
[2018-07-14 16:02:30] DEBUG[17049][C-0000002f]: channel.c:3500 ast_settimeout_full: Scheduling timer at (0 requested / 0 actual) timer ticks per second
[2018-07-14 16:02:30] DEBUG[17049][C-0000002f]: res_fax.c:1925 receivefax_t38_init: Negotiating T.38 for receive on PJSIP/telekomPJSIP-226-0000005d
[2018-07-14 16:02:30] DEBUG[16754]: res_pjsip_t38.c:268 t38_initialize_session: UDPTL initialized on session for PJSIP/telekomPJSIP-226-0000005d
[2018-07-14 16:02:30] DEBUG[16754]: res_pjsip_t38.c:138 t38_change_state: T.38 state changed to '1' from '0' on channel 'PJSIP/telekomPJSIP-226-0000005d'
[2018-07-14 16:02:30] DEBUG[16754]: res_rtp_asterisk.c:5854 ast_rtp_prop_set: Ignoring duplicate RTCP property on RTP instance '0x7f8a40031dd0'
[2018-07-14 16:02:30] DEBUG[16754]: res_pjsip_session.c:914 ast_sip_session_refresh: Sending session refresh SDP via re-INVITE to telekomPJSIP-226
[2018-07-14 16:02:30] DEBUG[16754]: res_pjsip_session.c:2500 handle_outgoing_request: Method is INVITE
[2018-07-14 16:02:30] DEBUG[16754]: res_pjsip/pjsip_message_filter.c:288 filter_on_tx_message: Re-wrote Contact URI host/port to 96.35.15.44:5061 (this may be re-written again later)
[2018-07-14 16:02:30] DEBUG[16754]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '217.0.21.1' into...
[2018-07-14 16:02:30] DEBUG[16754]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '217.0.21.1' and port ''.
<--- Transmitting SIP request (1070 bytes) to UDP:217.0.21.1:5060 --->
INVITE sip:sgc_c@217.0.21.1;transport=udp SIP/2.0
Via: SIP/2.0/UDP 96.35.15.44:5061;rport;branch=z9hG4bKPj90d1257d-6ca5-45aa-86db-adf6b9b4d602
From: <sip:+499876543210@tel.t-online.de;user=phone>;tag=183e6b47-dfc0-4661-8e25-016b6af81190
To: <sip:+49654321789@1.siptg.t-systems.com;user=phone>;tag=h7g4Esbg_p65547t1531576932m204350c1100047124s1_184393336-471527295
Contact: <sip:96.35.15.44:5061>
Call-ID: p65547t1531576932m204350c1100047124s2
CSeq: 14474 INVITE
Route: <sip:217.0.21.1;transport=udp;lr>
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, REFER, MESSAGE
Supported: 100rel, timer, replaces, norefersub
Session-Expires: 1800;refresher=uas
Min-SE: 90
Max-Forwards: 70
User-Agent: FPBX-13.0.194.5(13.21.90)
Content-Type: application/sdp
Content-Length:   225

v=0
o=- 427888033 184393117 IN IP4 96.35.15.44
s=Asterisk
c=IN IP4 96.35.15.44
t=0 0
m=image 10011 udptl t38
a=T38FaxVersion:0
a=T38MaxBitRate:14400
a=T38FaxRateManagement:transferredTCF
a=T38FaxMaxDatagram:425

[2018-07-14 16:02:30] DEBUG[16754]: res_pjsip_session.c:2405 __print_debug_details: Function session_inv_on_tsx_state_changed called on event TSX_STATE
[2018-07-14 16:02:30] DEBUG[16754]: res_pjsip_session.c:2419 __print_debug_details: The state change pertains to the endpoint 'telekomPJSIP-226(PJSIP/telekomPJSIP-226-0000005d)'
[2018-07-14 16:02:30] DEBUG[16754]: res_pjsip_session.c:2424 __print_debug_details: The inv session still has an invite_tsx (0x2ca88b8)
[2018-07-14 16:02:30] DEBUG[16754]: res_pjsip_session.c:2430 __print_debug_details: The UAC INVITE transaction involved in this state change is 0x2ca88b8
[2018-07-14 16:02:30] DEBUG[16754]: res_pjsip_session.c:2434 __print_debug_details: The current transaction state is Calling
[2018-07-14 16:02:30] DEBUG[16754]: res_pjsip_session.c:2436 __print_debug_details: The transaction state change event is TX_MSG
[2018-07-14 16:02:30] DEBUG[16754]: res_pjsip_session.c:2441 __print_debug_details: The current inv state is CONFIRMED
<--- Received SIP response (627 bytes) from UDP:217.0.21.1:5060 --->
SIP/2.0 407 Proxy Authentication Required 02035034C
Via: SIP/2.0/UDP 96.35.15.44:5061;received=96.35.15.44;rport=5061;branch=z9hG4bKPj90d1257d-6ca5-45aa-86db-adf6b9b4d602
To: <sip:+49654321789@1.siptg.t-systems.com;user=phone>;tag=h7g4Esbg_p65547t1531576932m204350c1100047124s1_184393336-471527295
From: <sip:+499876543210@tel.t-online.de;user=phone>;tag=183e6b47-dfc0-4661-8e25-016b6af81190
Call-ID: p65547t1531576932m204350c1100047124s2
CSeq: 14474 INVITE
Content-Length: 0
Proxy-Authenticate: Digest nonce="76579BCB82024A5B00000000B0280B1A",realm="tel.t-online.de",algorithm=MD5,qop="auth",stale=true


[2018-07-14 16:02:30] DEBUG[27613]: res_pjsip/pjsip_distributor.c:492 distributor: Searching for serializer associated with dialog dlg0x7f8a78092048 for Response msg 407/INVITE/cseq=14474 (rdata0x7f8a7003e278)
[2018-07-14 16:02:30] DEBUG[27613]: res_pjsip/pjsip_distributor.c:500 distributor: Found serializer pjsip/distributor-0000002f associated with dialog dlg0x7f8a78092048
[2018-07-14 16:02:30] DEBUG[16754]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '217.0.21.1' into...
[2018-07-14 16:02:30] DEBUG[16754]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '217.0.21.1' and port ''.
<--- Transmitting SIP request (562 bytes) to UDP:217.0.21.1:5060 --->
ACK sip:sgc_c@217.0.21.1;transport=udp SIP/2.0
Via: SIP/2.0/UDP 96.35.15.44:5061;rport;branch=z9hG4bKPj90d1257d-6ca5-45aa-86db-adf6b9b4d602
From: <sip:+499876543210@tel.t-online.de;user=phone>;tag=183e6b47-dfc0-4661-8e25-016b6af81190
To: <sip:+49654321789@1.siptg.t-systems.com;user=phone>;tag=h7g4Esbg_p65547t1531576932m204350c1100047124s1_184393336-471527295
Call-ID: p65547t1531576932m204350c1100047124s2
CSeq: 14474 ACK
Route: <sip:217.0.21.1;transport=udp;lr>
Max-Forwards: 70
User-Agent: FPBX-13.0.194.5(13.21.90)
Content-Length:  0


[2018-07-14 16:02:30] DEBUG[16754]: res_pjsip_session.c:2405 __print_debug_details: Function session_inv_on_tsx_state_changed called on event TSX_STATE
[2018-07-14 16:02:30] DEBUG[16754]: res_pjsip_session.c:2419 __print_debug_details: The state change pertains to the endpoint 'telekomPJSIP-226(PJSIP/telekomPJSIP-226-0000005d)'
[2018-07-14 16:02:30] DEBUG[16754]: res_pjsip_session.c:2427 __print_debug_details: The inv session does NOT have an invite_tsx
[2018-07-14 16:02:30] DEBUG[16754]: res_pjsip_session.c:2430 __print_debug_details: The UAC INVITE transaction involved in this state change is 0x2ca88b8
[2018-07-14 16:02:30] DEBUG[16754]: res_pjsip_session.c:2434 __print_debug_details: The current transaction state is Completed
[2018-07-14 16:02:30] DEBUG[16754]: res_pjsip_session.c:2436 __print_debug_details: The transaction state change event is RX_MSG
[2018-07-14 16:02:30] DEBUG[16754]: res_pjsip_session.c:2441 __print_debug_details: The current inv state is CONFIRMED
[2018-07-14 16:02:30] DEBUG[16754]: res_pjsip_session.c:2484 handle_incoming: Received response
[2018-07-14 16:02:30] DEBUG[16754]: res_pjsip_session.c:2468 handle_incoming_response: Response is 407 Proxy Authentication Required 02035034C
[2018-07-14 16:02:30] DEBUG[16754]: res_pjsip_session.c:2766 session_inv_on_tsx_state_changed: reINVITE received final response code 407
[2018-07-14 16:02:30] DEBUG[16754]: res_pjsip_session.c:2500 handle_outgoing_request: Method is INVITE
[2018-07-14 16:02:30] DEBUG[16754]: res_pjsip/pjsip_message_filter.c:288 filter_on_tx_message: Re-wrote Contact URI host/port to 96.35.15.44:5061 (this may be re-written again later)
[2018-07-14 16:02:30] DEBUG[16754]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '217.0.21.1' into...
[2018-07-14 16:02:30] DEBUG[16754]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '217.0.21.1' and port ''.
<--- Transmitting SIP request (1364 bytes) to UDP:217.0.21.1:5060 --->
INVITE sip:sgc_c@217.0.21.1;transport=udp SIP/2.0
Via: SIP/2.0/UDP 96.35.15.44:5061;rport;branch=z9hG4bKPj4da1c44b-4c08-411f-9d68-06af1eabfb98
From: <sip:+499876543210@tel.t-online.de;user=phone>;tag=183e6b47-dfc0-4661-8e25-016b6af81190
To: <sip:+49654321789@1.siptg.t-systems.com;user=phone>;tag=h7g4Esbg_p65547t1531576932m204350c1100047124s1_184393336-471527295
Contact: <sip:96.35.15.44:5061>
Call-ID: p65547t1531576932m204350c1100047124s2
CSeq: 14475 INVITE
Route: <sip:217.0.21.1;transport=udp;lr>
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, REFER, MESSAGE
Supported: 100rel, timer, replaces, norefersub
Session-Expires: 1800;refresher=uas
Min-SE: 90
Max-Forwards: 70
User-Agent: FPBX-13.0.194.5(13.21.90)
Proxy-Authorization: Digest username="+499876543210", realm="tel.t-online.de", nonce="76579BCB82024A5B00000000B0280B1A", uri="sip:sgc_c@217.0.21.1;transport=udp", response="088a7957f160fa82286633ba7bdb7eed", algorithm=MD5, cnonce="169b6fe6-91d0-4a9e-a54c-aad8eb0f1fb1", qop=auth, nc=00000001
Content-Type: application/sdp
Content-Length:   225

v=0
o=- 427888033 184393117 IN IP4 96.35.15.44
s=Asterisk
c=IN IP4 96.35.15.44
t=0 0
m=image 10011 udptl t38
a=T38FaxVersion:0
a=T38MaxBitRate:14400
a=T38FaxRateManagement:transferredTCF
a=T38FaxMaxDatagram:425

[2018-07-14 16:02:30] DEBUG[16754]: res_pjsip_session.c:2405 __print_debug_details: Function session_inv_on_tsx_state_changed called on event TSX_STATE
[2018-07-14 16:02:30] DEBUG[16754]: res_pjsip_session.c:2419 __print_debug_details: The state change pertains to the endpoint 'telekomPJSIP-226(PJSIP/telekomPJSIP-226-0000005d)'
[2018-07-14 16:02:30] DEBUG[16754]: res_pjsip_session.c:2424 __print_debug_details: The inv session still has an invite_tsx (0x7f8a780734c8)
[2018-07-14 16:02:30] DEBUG[16754]: res_pjsip_session.c:2430 __print_debug_details: The UAC INVITE transaction involved in this state change is 0x7f8a780734c8
[2018-07-14 16:02:30] DEBUG[16754]: res_pjsip_session.c:2434 __print_debug_details: The current transaction state is Calling
[2018-07-14 16:02:30] DEBUG[16754]: res_pjsip_session.c:2436 __print_debug_details: The transaction state change event is TX_MSG
[2018-07-14 16:02:30] DEBUG[16754]: res_pjsip_session.c:2441 __print_debug_details: The current inv state is CONFIRMED
<--- Received SIP response (613 bytes) from UDP:217.0.21.1:5060 --->
SIP/2.0 491 Anfrage wird erneut gesendet
Via: SIP/2.0/UDP 96.35.15.44:5061;received=96.35.15.44;rport=5061;branch=z9hG4bKPj4da1c44b-4c08-411f-9d68-06af1eabfb98
To: <sip:+49654321789@1.siptg.t-systems.com;user=phone>;tag=h7g4Esbg_p65547t1531576932m204350c1100047124s1_184393336-471527295
From: <sip:+499876543210@tel.t-online.de;user=phone>;tag=183e6b47-dfc0-4661-8e25-016b6af81190
Call-ID: p65547t1531576932m204350c1100047124s2
CSeq: 14475 INVITE
Contact: <sip:sgc_c@217.0.21.1;transport=udp>;+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.mmtel"
Supported: timer
Content-Length: 0


[2018-07-14 16:02:31] DEBUG[27613]: res_pjsip/pjsip_distributor.c:492 distributor: Searching for serializer associated with dialog dlg0x7f8a78092048 for Response msg 491/INVITE/cseq=14475 (rdata0x7f8a7003e278)
[2018-07-14 16:02:31] DEBUG[27613]: res_pjsip/pjsip_distributor.c:500 distributor: Found serializer pjsip/distributor-0000002f associated with dialog dlg0x7f8a78092048
[2018-07-14 16:02:31] DEBUG[16754]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '217.0.21.1' into...
[2018-07-14 16:02:31] DEBUG[16754]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '217.0.21.1' and port ''.
<--- Transmitting SIP request (562 bytes) to UDP:217.0.21.1:5060 --->
ACK sip:sgc_c@217.0.21.1;transport=udp SIP/2.0
Via: SIP/2.0/UDP 96.35.15.44:5061;rport;branch=z9hG4bKPj4da1c44b-4c08-411f-9d68-06af1eabfb98
From: <sip:+499876543210@tel.t-online.de;user=phone>;tag=183e6b47-dfc0-4661-8e25-016b6af81190
To: <sip:+49654321789@1.siptg.t-systems.com;user=phone>;tag=h7g4Esbg_p65547t1531576932m204350c1100047124s1_184393336-471527295
Call-ID: p65547t1531576932m204350c1100047124s2
CSeq: 14475 ACK
Route: <sip:217.0.21.1;transport=udp;lr>
Max-Forwards: 70
User-Agent: FPBX-13.0.194.5(13.21.90)
Content-Length:  0


[2018-07-14 16:02:31] DEBUG[16754]: res_pjsip_session.c:2405 __print_debug_details: Function session_inv_on_tsx_state_changed called on event TSX_STATE
[2018-07-14 16:02:31] DEBUG[16754]: res_pjsip_session.c:2419 __print_debug_details: The state change pertains to the endpoint 'telekomPJSIP-226(PJSIP/telekomPJSIP-226-0000005d)'
[2018-07-14 16:02:31] DEBUG[16754]: res_pjsip_session.c:2427 __print_debug_details: The inv session does NOT have an invite_tsx
[2018-07-14 16:02:31] DEBUG[16754]: res_pjsip_session.c:2430 __print_debug_details: The UAC INVITE transaction involved in this state change is 0x7f8a780734c8
[2018-07-14 16:02:31] DEBUG[16754]: res_pjsip_session.c:2434 __print_debug_details: The current transaction state is Completed
[2018-07-14 16:02:31] DEBUG[16754]: res_pjsip_session.c:2436 __print_debug_details: The transaction state change event is RX_MSG
[2018-07-14 16:02:31] DEBUG[16754]: res_pjsip_session.c:2441 __print_debug_details: The current inv state is CONFIRMED
[2018-07-14 16:02:31] DEBUG[16754]: res_pjsip_session.c:2484 handle_incoming: Received response
[2018-07-14 16:02:31] DEBUG[16754]: res_pjsip_session.c:2468 handle_incoming_response: Response is 491 Anfrage wird erneut gesendet
[2018-07-14 16:02:31] DEBUG[16754]: res_pjsip_session.c:2368 reschedule_reinvite: Endpoint 'telekomPJSIP-226(PJSIP/telekomPJSIP-226-0000005d)' re-INVITE collision.
[2018-07-14 16:02:32] DEBUG[27613]: res_pjsip_session.c:2345 resend_reinvite: Endpoint 'telekomPJSIP-226(PJSIP/telekomPJSIP-226-0000005d)' re-INVITE collision timer expired.
[2018-07-14 16:02:32] DEBUG[16754]: res_pjsip_session.c:548 send_delayed_request: Endpoint 'telekomPJSIP-226(PJSIP/telekomPJSIP-226-0000005d)' sending delayed INVITE request.
[2018-07-14 16:02:32] DEBUG[16754]: res_rtp_asterisk.c:5854 ast_rtp_prop_set: Ignoring duplicate RTCP property on RTP instance '0x7f8a40031dd0'
[2018-07-14 16:02:32] DEBUG[16754]: res_pjsip_session.c:914 ast_sip_session_refresh: Sending session refresh SDP via re-INVITE to telekomPJSIP-226
[2018-07-14 16:02:32] DEBUG[16754]: res_pjsip_session.c:2500 handle_outgoing_request: Method is INVITE
[2018-07-14 16:02:32] DEBUG[16754]: res_pjsip/pjsip_message_filter.c:288 filter_on_tx_message: Re-wrote Contact URI host/port to 96.35.15.44:5061 (this may be re-written again later)
[2018-07-14 16:02:32] DEBUG[16754]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '217.0.21.1' into...
[2018-07-14 16:02:32] DEBUG[16754]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '217.0.21.1' and port ''.
<--- Transmitting SIP request (1213 bytes) to UDP:217.0.21.1:5060 --->
INVITE sip:sgc_c@217.0.21.1;transport=udp SIP/2.0
Via: SIP/2.0/UDP 96.35.15.44:5061;rport;branch=z9hG4bKPj7ca21849-d78c-41cd-8d82-be2d4ffcf5ac
From: <sip:+499876543210@tel.t-online.de;user=phone>;tag=183e6b47-dfc0-4661-8e25-016b6af81190
To: <sip:+49654321789@1.siptg.t-systems.com;user=phone>;tag=h7g4Esbg_p65547t1531576932m204350c1100047124s1_184393336-471527295
Contact: <sip:96.35.15.44:5061>
Call-ID: p65547t1531576932m204350c1100047124s2
CSeq: 14476 INVITE
Route: <sip:217.0.21.1;transport=udp;lr>
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, REFER, MESSAGE
Supported: 100rel, timer, replaces, norefersub
Session-Expires: 1800;refresher=uas
Min-SE: 90
Max-Forwards: 70
User-Agent: FPBX-13.0.194.5(13.21.90)
Content-Type: application/sdp
Content-Length:   368

v=0
o=- 427888033 184393118 IN IP4 96.35.15.44
s=Asterisk
c=IN IP4 96.35.15.44
t=0 0
m=audio 10070 RTP/AVP 8 100
a=rtpmap:8 PCMA/8000
a=rtpmap:100 telephone-event/8000
a=fmtp:100 0-16
a=ptime:20
a=maxptime:150
a=sendrecv
m=image 10011 udptl t38
a=T38FaxVersion:0
a=T38MaxBitRate:14400
a=T38FaxRateManagement:transferredTCF
a=T38FaxMaxDatagram:425

[2018-07-14 16:02:32] DEBUG[16754]: res_pjsip_session.c:2405 __print_debug_details: Function session_inv_on_tsx_state_changed called on event TSX_STATE
[2018-07-14 16:02:32] DEBUG[16754]: res_pjsip_session.c:2419 __print_debug_details: The state change pertains to the endpoint 'telekomPJSIP-226(PJSIP/telekomPJSIP-226-0000005d)'
[2018-07-14 16:02:32] DEBUG[16754]: res_pjsip_session.c:2424 __print_debug_details: The inv session still has an invite_tsx (0x7f8a780b49f8)
[2018-07-14 16:02:32] DEBUG[16754]: res_pjsip_session.c:2430 __print_debug_details: The UAC INVITE transaction involved in this state change is 0x7f8a780b49f8
[2018-07-14 16:02:32] DEBUG[16754]: res_pjsip_session.c:2434 __print_debug_details: The current transaction state is Calling
[2018-07-14 16:02:32] DEBUG[16754]: res_pjsip_session.c:2436 __print_debug_details: The transaction state change event is TX_MSG
[2018-07-14 16:02:32] DEBUG[16754]: res_pjsip_session.c:2441 __print_debug_details: The current inv state is CONFIRMED
       > 0x7f8a40017920 -- Strict RTP learning complete - Locking on source address 217.0.5.183:26312
<--- Received SIP response (627 bytes) from UDP:217.0.21.1:5060 --->
SIP/2.0 407 Proxy Authentication Required 02035034C
Via: SIP/2.0/UDP 96.35.15.44:5061;received=96.35.15.44;rport=5061;branch=z9hG4bKPj7ca21849-d78c-41cd-8d82-be2d4ffcf5ac
To: <sip:+49654321789@1.siptg.t-systems.com;user=phone>;tag=h7g4Esbg_p65547t1531576932m204350c1100047124s1_184393336-471527295
From: <sip:+499876543210@tel.t-online.de;user=phone>;tag=183e6b47-dfc0-4661-8e25-016b6af81190
Call-ID: p65547t1531576932m204350c1100047124s2
CSeq: 14476 INVITE
Content-Length: 0
Proxy-Authenticate: Digest nonce="5EA2A27884024A5B00000000525B9A39",realm="tel.t-online.de",algorithm=MD5,qop="auth",stale=true


[2018-07-14 16:02:32] DEBUG[27613]: res_pjsip/pjsip_distributor.c:492 distributor: Searching for serializer associated with dialog dlg0x7f8a78092048 for Response msg 407/INVITE/cseq=14476 (rdata0x7f8a7003e278)
[2018-07-14 16:02:32] DEBUG[27613]: res_pjsip/pjsip_distributor.c:500 distributor: Found serializer pjsip/distributor-0000002f associated with dialog dlg0x7f8a78092048
[2018-07-14 16:02:32] DEBUG[16754]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '217.0.21.1' into...
[2018-07-14 16:02:32] DEBUG[16754]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '217.0.21.1' and port ''.
<--- Transmitting SIP request (562 bytes) to UDP:217.0.21.1:5060 --->
ACK sip:sgc_c@217.0.21.1;transport=udp SIP/2.0
Via: SIP/2.0/UDP 96.35.15.44:5061;rport;branch=z9hG4bKPj7ca21849-d78c-41cd-8d82-be2d4ffcf5ac
From: <sip:+499876543210@tel.t-online.de;user=phone>;tag=183e6b47-dfc0-4661-8e25-016b6af81190
To: <sip:+49654321789@1.siptg.t-systems.com;user=phone>;tag=h7g4Esbg_p65547t1531576932m204350c1100047124s1_184393336-471527295
Call-ID: p65547t1531576932m204350c1100047124s2
CSeq: 14476 ACK
Route: <sip:217.0.21.1;transport=udp;lr>
Max-Forwards: 70
User-Agent: FPBX-13.0.194.5(13.21.90)
Content-Length:  0


[2018-07-14 16:02:32] DEBUG[16754]: res_pjsip_session.c:2405 __print_debug_details: Function session_inv_on_tsx_state_changed called on event TSX_STATE
[2018-07-14 16:02:32] DEBUG[16754]: res_pjsip_session.c:2419 __print_debug_details: The state change pertains to the endpoint 'telekomPJSIP-226(PJSIP/telekomPJSIP-226-0000005d)'
[2018-07-14 16:02:32] DEBUG[16754]: res_pjsip_session.c:2427 __print_debug_details: The inv session does NOT have an invite_tsx
[2018-07-14 16:02:32] DEBUG[16754]: res_pjsip_session.c:2430 __print_debug_details: The UAC INVITE transaction involved in this state change is 0x7f8a780b49f8
[2018-07-14 16:02:32] DEBUG[16754]: res_pjsip_session.c:2434 __print_debug_details: The current transaction state is Completed
[2018-07-14 16:02:32] DEBUG[16754]: res_pjsip_session.c:2436 __print_debug_details: The transaction state change event is RX_MSG
[2018-07-14 16:02:32] DEBUG[16754]: res_pjsip_session.c:2441 __print_debug_details: The current inv state is CONFIRMED
[2018-07-14 16:02:32] DEBUG[16754]: res_pjsip_session.c:2484 handle_incoming: Received response
[2018-07-14 16:02:32] DEBUG[16754]: res_pjsip_session.c:2468 handle_incoming_response: Response is 407 Proxy Authentication Required 02035034C
[2018-07-14 16:02:32] DEBUG[16754]: res_pjsip_session.c:2766 session_inv_on_tsx_state_changed: reINVITE received final response code 407
[2018-07-14 16:02:32] DEBUG[16754]: res_pjsip_session.c:2500 handle_outgoing_request: Method is INVITE
[2018-07-14 16:02:32] DEBUG[16754]: res_pjsip/pjsip_message_filter.c:288 filter_on_tx_message: Re-wrote Contact URI host/port to 96.35.15.44:5061 (this may be re-written again later)
[2018-07-14 16:02:32] DEBUG[16754]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '217.0.21.1' into...
[2018-07-14 16:02:32] DEBUG[16754]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '217.0.21.1' and port ''.
<--- Transmitting SIP request (1507 bytes) to UDP:217.0.21.1:5060 --->
INVITE sip:sgc_c@217.0.21.1;transport=udp SIP/2.0
Via: SIP/2.0/UDP 96.35.15.44:5061;rport;branch=z9hG4bKPj4d38a813-1a3e-43fb-a7ce-ee6c62cec6e4
From: <sip:+499876543210@tel.t-online.de;user=phone>;tag=183e6b47-dfc0-4661-8e25-016b6af81190
To: <sip:+49654321789@1.siptg.t-systems.com;user=phone>;tag=h7g4Esbg_p65547t1531576932m204350c1100047124s1_184393336-471527295
Contact: <sip:96.35.15.44:5061>
Call-ID: p65547t1531576932m204350c1100047124s2
CSeq: 14477 INVITE
Route: <sip:217.0.21.1;transport=udp;lr>
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, REFER, MESSAGE
Supported: 100rel, timer, replaces, norefersub
Session-Expires: 1800;refresher=uas
Min-SE: 90
Max-Forwards: 70
User-Agent: FPBX-13.0.194.5(13.21.90)
Proxy-Authorization: Digest username="+499876543210", realm="tel.t-online.de", nonce="5EA2A27884024A5B00000000525B9A39", uri="sip:sgc_c@217.0.21.1;transport=udp", response="0d04afbfa869b10c66f19cdfe3e7c6de", algorithm=MD5, cnonce="718e5b99-29a3-4f41-9325-313d68e7077a", qop=auth, nc=00000001
Content-Type: application/sdp
Content-Length:   368

v=0
o=- 427888033 184393118 IN IP4 96.35.15.44
s=Asterisk
c=IN IP4 96.35.15.44
t=0 0
m=audio 10070 RTP/AVP 8 100
a=rtpmap:8 PCMA/8000
a=rtpmap:100 telephone-event/8000
a=fmtp:100 0-16
a=ptime:20
a=maxptime:150
a=sendrecv
m=image 10011 udptl t38
a=T38FaxVersion:0
a=T38MaxBitRate:14400
a=T38FaxRateManagement:transferredTCF
a=T38FaxMaxDatagram:425

[2018-07-14 16:02:32] DEBUG[16754]: res_pjsip_session.c:2405 __print_debug_details: Function session_inv_on_tsx_state_changed called on event TSX_STATE
[2018-07-14 16:02:32] DEBUG[16754]: res_pjsip_session.c:2419 __print_debug_details: The state change pertains to the endpoint 'telekomPJSIP-226(PJSIP/telekomPJSIP-226-0000005d)'
[2018-07-14 16:02:32] DEBUG[16754]: res_pjsip_session.c:2424 __print_debug_details: The inv session still has an invite_tsx (0x7f8a780279b8)
[2018-07-14 16:02:32] DEBUG[16754]: res_pjsip_session.c:2430 __print_debug_details: The UAC INVITE transaction involved in this state change is 0x7f8a780279b8
[2018-07-14 16:02:32] DEBUG[16754]: res_pjsip_session.c:2434 __print_debug_details: The current transaction state is Calling
[2018-07-14 16:02:32] DEBUG[16754]: res_pjsip_session.c:2436 __print_debug_details: The transaction state change event is TX_MSG
[2018-07-14 16:02:32] DEBUG[16754]: res_pjsip_session.c:2441 __print_debug_details: The current inv state is CONFIRMED
[2018-07-14 16:02:32] DEBUG[27626]: res_pjsip_registrar.c:1186 check_expiration_thread: Woke up at 1531576952  Interval: 30
[2018-07-14 16:02:32] DEBUG[27626]: res_pjsip_registrar.c:1193 check_expiration_thread: Expiring 0 contacts
<--- Received SIP response (465 bytes) from UDP:217.0.21.1:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 96.35.15.44:5061;received=96.35.15.44;rport=5061;branch=z9hG4bKPj4d38a813-1a3e-43fb-a7ce-ee6c62cec6e4
To: <sip:+49654321789@1.siptg.t-systems.com;user=phone>;tag=h7g4Esbg_p65547t1531576932m204350c1100047124s1_184393336-471527295
From: <sip:+499876543210@tel.t-online.de;user=phone>;tag=183e6b47-dfc0-4661-8e25-016b6af81190
Call-ID: p65547t1531576932m204350c1100047124s2
CSeq: 14477 INVITE
Content-Length: 0


[2018-07-14 16:02:33] DEBUG[27613]: res_pjsip/pjsip_distributor.c:492 distributor: Searching for serializer associated with dialog dlg0x7f8a78092048 for Response msg 100/INVITE/cseq=14477 (rdata0x7f8a7003e278)
[2018-07-14 16:02:33] DEBUG[27613]: res_pjsip/pjsip_distributor.c:500 distributor: Found serializer pjsip/distributor-0000002f associated with dialog dlg0x7f8a78092048
[2018-07-14 16:02:33] DEBUG[16754]: res_pjsip_session.c:2405 __print_debug_details: Function session_inv_on_tsx_state_changed called on event TSX_STATE
[2018-07-14 16:02:33] DEBUG[16754]: res_pjsip_session.c:2419 __print_debug_details: The state change pertains to the endpoint 'telekomPJSIP-226(PJSIP/telekomPJSIP-226-0000005d)'
[2018-07-14 16:02:33] DEBUG[16754]: res_pjsip_session.c:2424 __print_debug_details: The inv session still has an invite_tsx (0x7f8a780279b8)
[2018-07-14 16:02:33] DEBUG[16754]: res_pjsip_session.c:2430 __print_debug_details: The UAC INVITE transaction involved in this state change is 0x7f8a780279b8
[2018-07-14 16:02:33] DEBUG[16754]: res_pjsip_session.c:2434 __print_debug_details: The current transaction state is Proceeding
[2018-07-14 16:02:33] DEBUG[16754]: res_pjsip_session.c:2436 __print_debug_details: The transaction state change event is RX_MSG
[2018-07-14 16:02:33] DEBUG[16754]: res_pjsip_session.c:2441 __print_debug_details: The current inv state is CONFIRMED
[2018-07-14 16:02:33] DEBUG[16754]: res_pjsip_session.c:2484 handle_incoming: Received response
[2018-07-14 16:02:33] DEBUG[16754]: res_pjsip_session.c:2468 handle_incoming_response: Response is 100 Trying
<--- Received SIP response (1229 bytes) from UDP:217.0.21.1:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 96.35.15.44:5061;received=96.35.15.44;rport=5061;branch=z9hG4bKPj4d38a813-1a3e-43fb-a7ce-ee6c62cec6e4
To: <sip:+49654321789@1.siptg.t-systems.com;user=phone>;tag=h7g4Esbg_p65547t1531576932m204350c1100047124s1_184393336-471527295
From: <sip:+499876543210@tel.t-online.de;user=phone>;tag=183e6b47-dfc0-4661-8e25-016b6af81190
Call-ID: p65547t1531576932m204350c1100047124s2
CSeq: 14477 INVITE
Contact: <sip:sgc_c@217.0.21.1;transport=udp>;+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.mmtel"
Session-Expires: 1800;refresher=uas
Supported: timer
Content-Type: application/sdp
Content-Length: 332
Authentication-Info: qop=auth,rspauth="0942714659704c25325972089c8e2817",cnonce="718e5b99-29a3-4f41-9325-313d68e7077a",nc=00000001
Allow: REGISTER, REFER, NOTIFY, SUBSCRIBE, INFO, PRACK, PUBLISH, UPDATE, INVITE, ACK, OPTIONS, CANCEL, BYE

v=0
o=- 427888033 184393116 IN IP4 217.0.21.1
s=SIP Media Capabilities
c=IN IP4 217.0.5.183
t=0 0
m=audio 26312 RTP/AVP 8
a=rtpmap:8 PCMA/8000
a=sendrecv
a=maxptime:20
m=image 0 udptl t38
a=T38FaxVersion:0
a=T38MaxBitRate:14400
a=T38FaxRateManagement:transferredTCF
a=T38FaxMaxDatagram:425
a=inactive
a=maxptime:150

[2018-07-14 16:02:33] DEBUG[27613]: res_pjsip/pjsip_distributor.c:492 distributor: Searching for serializer associated with dialog dlg0x7f8a78092048 for Response msg 200/INVITE/cseq=14477 (rdata0x7f8a7003e278)
[2018-07-14 16:02:33] DEBUG[27613]: res_pjsip/pjsip_distributor.c:500 distributor: Found serializer pjsip/distributor-0000002f associated with dialog dlg0x7f8a78092048
[2018-07-14 16:02:33] DEBUG[16754]: res_pjsip_session.c:331 handle_negotiated_sdp_session_media: Applying negotiated SDP media stream 'audio' using audio SDP handler
[2018-07-14 16:02:33] DEBUG[16754]: res_rtp_asterisk.c:5854 ast_rtp_prop_set: Ignoring duplicate RTCP property on RTP instance '0x7f8a40031dd0'
[2018-07-14 16:02:33] DEBUG[16754]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '217.0.5.183' into...
[2018-07-14 16:02:33] DEBUG[16754]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '217.0.5.183' and port ''.
[2018-07-14 16:02:33] DEBUG[16754]: acl.c:992 ast_ouraddrfor: For destination '217.0.5.183', our source address is '96.35.15.44'.
[2018-07-14 16:02:33] DEBUG[16754]: res_rtp_asterisk.c:6020 ast_rtp_remote_address_set: Setting RTCP address on RTP instance '0x7f8a40031dd0'
[2018-07-14 16:02:33] DEBUG[16754]: rtp_engine.c:764 ast_rtp_codecs_payloads_set_m_type: Setting tx payload type 8 based on m type on 0x7f8a396daab0
[2018-07-14 16:02:33] DEBUG[16754]: rtp_engine.c:730 ast_rtp_codecs_payloads_copy: Copying payload 8 (0x7f8a400327a8) from 0x7f8a396daab0 to 0x7f8a40031f98
[2018-07-14 16:02:33] DEBUG[16754]: res_pjsip_session.c:337 handle_negotiated_sdp_session_media: Applied negotiated SDP media stream 'audio' using audio SDP handler
[2018-07-14 16:02:33] DEBUG[16754]: res_pjsip_session.c:331 handle_negotiated_sdp_session_media: Applying negotiated SDP media stream 'image' using image SDP handler
[2018-07-14 16:02:33] DEBUG[16754]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '217.0.5.183' into...
[2018-07-14 16:02:33] DEBUG[16754]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '217.0.5.183' and port ''.
[2018-07-14 16:02:33] DEBUG[16754]: res_pjsip_session.c:337 handle_negotiated_sdp_session_media: Applied negotiated SDP media stream 'image' using image SDP handler
[2018-07-14 16:02:33] DEBUG[16754]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '217.0.21.1' into...
[2018-07-14 16:02:33] DEBUG[16754]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '217.0.21.1' and port ''.
<--- Transmitting SIP request (562 bytes) to UDP:217.0.21.1:5060 --->
ACK sip:sgc_c@217.0.21.1;transport=udp SIP/2.0
Via: SIP/2.0/UDP 96.35.15.44:5061;rport;branch=z9hG4bKPj6cc900ad-4565-4236-9bd2-7e645447e9a1
From: <sip:+499876543210@tel.t-online.de;user=phone>;tag=183e6b47-dfc0-4661-8e25-016b6af81190
To: <sip:+49654321789@1.siptg.t-systems.com;user=phone>;tag=h7g4Esbg_p65547t1531576932m204350c1100047124s1_184393336-471527295
Call-ID: p65547t1531576932m204350c1100047124s2
CSeq: 14477 ACK
Route: <sip:217.0.21.1;transport=udp;lr>
Max-Forwards: 70
User-Agent: FPBX-13.0.194.5(13.21.90)
Content-Length:  0


[2018-07-14 16:02:33] DEBUG[16754]: res_pjsip_session.c:2405 __print_debug_details: Function session_inv_on_tsx_state_changed called on event TSX_STATE
[2018-07-14 16:02:33] DEBUG[16754]: res_pjsip_session.c:2419 __print_debug_details: The state change pertains to the endpoint 'telekomPJSIP-226(PJSIP/telekomPJSIP-226-0000005d)'
[2018-07-14 16:02:33] DEBUG[16754]: res_pjsip_session.c:2427 __print_debug_details: The inv session does NOT have an invite_tsx
[2018-07-14 16:02:33] DEBUG[16754]: res_pjsip_session.c:2430 __print_debug_details: The UAC INVITE transaction involved in this state change is 0x7f8a780279b8
[2018-07-14 16:02:33] DEBUG[16754]: res_pjsip_session.c:2434 __print_debug_details: The current transaction state is Terminated
[2018-07-14 16:02:33] DEBUG[16754]: res_pjsip_session.c:2436 __print_debug_details: The transaction state change event is RX_MSG
[2018-07-14 16:02:33] DEBUG[16754]: res_pjsip_session.c:2441 __print_debug_details: The current inv state is CONFIRMED
[2018-07-14 16:02:33] DEBUG[16754]: res_pjsip_session.c:2484 handle_incoming: Received response
[2018-07-14 16:02:33] DEBUG[16754]: res_pjsip_session.c:2468 handle_incoming_response: Response is 200 OK
[2018-07-14 16:02:33] DEBUG[16754]: res_pjsip_t38.c:138 t38_change_state: T.38 state changed to '3' from '1' on channel 'PJSIP/telekomPJSIP-226-0000005d'
[2018-07-14 16:02:33] DEBUG[17049][C-0000002f]: res_fax.c:1969 receivefax_t38_init: Negotiated T.38 for receive on PJSIP/telekomPJSIP-226-0000005d
[2018-07-14 16:02:33] DEBUG[17049][C-0000002f]: res_fax.c:1284 fax_session_new: Requesting a new FAX session from 'Spandsp FAX Driver'.
[2018-07-14 16:02:33] DEBUG[17049][C-0000002f]: res_fax.c:1314 fax_session_new: channel 'PJSIP/telekomPJSIP-226-0000005d' using FAX session '8'
[2018-07-14 16:02:33] DEBUG[17049][C-0000002f]: res_fax.c:1679 generic_fax_exec: channel PJSIP/telekomPJSIP-226-0000005d will wait on FAX fd 35
[2018-07-14 16:02:33] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:33] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:36] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:36] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:37] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:37] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:37] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:37] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:37] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:37] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:37] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:37] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:37] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:37] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:37] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:37] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:37] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:37] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:37] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:37] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:37] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:37] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:37] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:37] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:38] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:38] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:38] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:38] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:38] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:38] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:38] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:38] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:38] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:38] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:38] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:38] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:38] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:38] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:38] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:38] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:38] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:38] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:38] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:42] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:43] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:43] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:43] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:43] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:43] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:43] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:43] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:43] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:43] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:43] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:43] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:43] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:43] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:43] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:43] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:43] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:43] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:43] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:43] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:43] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:43] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:43] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:43] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:43] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:43] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:43] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:43] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:43] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:43] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:43] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:44] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:44] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:44] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:44] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:44] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:44] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:44] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:44] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:44] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:46] DEBUG[27631]: chan_iax2.c:2716 peercnt_remove: ip callno count decremented to 1 for 127.0.0.1
[2018-07-14 16:02:46] DEBUG[27641]: chan_iax2.c:2684 peercnt_add: ip callno count incremented to 2 for 127.0.0.1
[2018-07-14 16:02:46] DEBUG[27634]: chan_iax2.c:3084 sched_delay_remove: schedule decrement of callno used for 127.0.0.1 in 60 seconds
[2018-07-14 16:02:46] DEBUG[27634]: chan_iax2.c:11178 socket_process_helper: Peer 98: got pong, lastms 2, historicms 2, maxms 2000
[2018-07-14 16:02:47] DEBUG[17053]: threadpool.c:1137 worker_idle: Worker thread idle timeout reached. Dying.
[2018-07-14 16:02:47] DEBUG[27584]: threadpool.c:996 worker_thread_destroy: Destroying worker thread 11219
[2018-07-14 16:02:47] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:48] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:48] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:48] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:48] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:48] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:48] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:48] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:48] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:48] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:48] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:49] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:49] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:49] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:49] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:49] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:49] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:49] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:49] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:49] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:49] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:49] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:49] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:49] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:49] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:49] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:49] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:49] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:49] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:49] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:49] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:49] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:49] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:49] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:49] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:49] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:49] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:49] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:49] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:50] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:51] DEBUG[27640]: chan_iax2.c:2554 calltoken_required: Determining if address 127.0.0.1 with username 98 requires calltoken validation.  Optional = 1  calltoken_required = 2 
[2018-07-14 16:02:51] DEBUG[27640]: chan_iax2.c:2684 peercnt_add: ip callno count incremented to 3 for 127.0.0.1
[2018-07-14 16:02:51] DEBUG[27595]: devicestate.c:369 _ast_device_state: No provider found, checking channel drivers for IAX2 - 98
[2018-07-14 16:02:51] DEBUG[27595]: chan_iax2.c:14505 iax2_devicestate: Checking device state for device 98
[2018-07-14 16:02:51] DEBUG[27595]: chan_iax2.c:14514 iax2_devicestate: Found peer. What's device state of 98? addr=127.0.0.1:4570, defaddr=(null) maxms=2000, lastms=2
[2018-07-14 16:02:51] DEBUG[27595]: devicestate.c:474 do_state_change: Changing state for IAX2/98 - state 0 (Unknown)
[2018-07-14 16:02:51] DEBUG[27595]: devicestate.c:369 _ast_device_state: No provider found, checking channel drivers for IAX2 - 98
[2018-07-14 16:02:51] DEBUG[27595]: chan_iax2.c:14505 iax2_devicestate: Checking device state for device 98
[2018-07-14 16:02:51] DEBUG[27595]: chan_iax2.c:14514 iax2_devicestate: Found peer. What's device state of 98? addr=127.0.0.1:4570, defaddr=(null) maxms=2000, lastms=2
[2018-07-14 16:02:51] DEBUG[27595]: devicestate.c:474 do_state_change: Changing state for IAX2/98 - state 0 (Unknown)
[2018-07-14 16:02:51] DEBUG[27642]: chan_iax2.c:3084 sched_delay_remove: schedule decrement of callno used for 127.0.0.1 in 60 seconds
[2018-07-14 16:02:53] DEBUG[17048]: threadpool.c:1137 worker_idle: Worker thread idle timeout reached. Dying.
[2018-07-14 16:02:53] DEBUG[27584]: threadpool.c:996 worker_thread_destroy: Destroying worker thread 11218
[2018-07-14 16:02:53] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:54] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:54] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:54] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:54] NOTICE[17049][C-0000002f]: udptl.c:1187 ast_udptl_write: UDPTL (PJSIP/telekomPJSIP-226-0000005d): Transmission error to 217.0.5.183:0: Invalid argument
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: res_fax_spandsp.c:386 t30_phase_e_handler: FAX session '8' entering phase E
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: res_fax_spandsp.c:403 t30_phase_e_handler: FAX session '8' completed with result: FAILED (Disconnected after permitted retries)
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: res_fax_spandsp.c:644 spandsp_fax_read: FAX session '8' is complete.
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: res_fax.c:1821 generic_fax_exec: channel 'PJSIP/telekomPJSIP-226-0000005d' - event loop stopped { timeout: 10000, remaining_time: 10000 }
[2018-07-14 16:02:55] DEBUG[27584]: threadpool.c:517 grow: Increasing threadpool stasis-core's size by 1
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: res_fax.c:1530 disable_t38: Shutting down T.38 on PJSIP/telekomPJSIP-226-0000005d
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_t38.c:138 t38_change_state: T.38 state changed to '0' from '3' on channel 'PJSIP/telekomPJSIP-226-0000005d'
[2018-07-14 16:02:55] DEBUG[16754]: res_rtp_asterisk.c:5854 ast_rtp_prop_set: Ignoring duplicate RTCP property on RTP instance '0x7f8a40031dd0'
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_t38.c:752 create_outgoing_sdp_stream: Not creating outgoing SDP stream: T.38 not enabled
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:914 ast_sip_session_refresh: Sending session refresh SDP via re-INVITE to telekomPJSIP-226
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2500 handle_outgoing_request: Method is INVITE
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip/pjsip_message_filter.c:288 filter_on_tx_message: Re-wrote Contact URI host/port to 96.35.15.44:5061 (this may be re-written again later)
[2018-07-14 16:02:55] DEBUG[16754]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '217.0.21.1' into...
[2018-07-14 16:02:55] DEBUG[16754]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '217.0.21.1' and port ''.
<--- Transmitting SIP request (1103 bytes) to UDP:217.0.21.1:5060 --->
INVITE sip:sgc_c@217.0.21.1;transport=udp SIP/2.0
Via: SIP/2.0/UDP 96.35.15.44:5061;rport;branch=z9hG4bKPjf7ee7ce3-49f5-4c45-8310-cad44a89919c
From: <sip:+499876543210@tel.t-online.de;user=phone>;tag=183e6b47-dfc0-4661-8e25-016b6af81190
To: <sip:+49654321789@1.siptg.t-systems.com;user=phone>;tag=h7g4Esbg_p65547t1531576932m204350c1100047124s1_184393336-471527295
Contact: <sip:96.35.15.44:5061>
Call-ID: p65547t1531576932m204350c1100047124s2
CSeq: 14478 INVITE
Route: <sip:217.0.21.1;transport=udp;lr>
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, REFER, MESSAGE
Supported: 100rel, timer, replaces, norefersub
Session-Expires: 1800;refresher=uas
Min-SE: 90
Max-Forwards: 70
User-Agent: FPBX-13.0.194.5(13.21.90)
Content-Type: application/sdp
Content-Length:   258

v=0
o=- 427888033 184393119 IN IP4 96.35.15.44
s=Asterisk
c=IN IP4 96.35.15.44
t=0 0
m=audio 10070 RTP/AVP 8 100
a=rtpmap:8 PCMA/8000
a=rtpmap:100 telephone-event/8000
a=fmtp:100 0-16
a=ptime:20
a=maxptime:150
a=sendrecv
m=image 0 udptl t38

[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2405 __print_debug_details: Function session_inv_on_tsx_state_changed called on event TSX_STATE
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2419 __print_debug_details: The state change pertains to the endpoint 'telekomPJSIP-226(PJSIP/telekomPJSIP-226-0000005d)'
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2424 __print_debug_details: The inv session still has an invite_tsx (0x7f8a78070b58)
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2430 __print_debug_details: The UAC INVITE transaction involved in this state change is 0x7f8a78070b58
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2434 __print_debug_details: The current transaction state is Calling
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2436 __print_debug_details: The transaction state change event is TX_MSG
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2441 __print_debug_details: The current inv state is CONFIRMED
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: res_fax.c:1560 disable_t38: Shut down T.38 on PJSIP/telekomPJSIP-226-0000005d
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'FAXSTATUS' is 'FAILED'
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'FAXERROR' is 'Disconnected after permitted retries'
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '1'
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'FAXERROR' is 'Disconnected after permitted retries'
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function FAXOPT(statusstr) result is 'Disconnected after permitted retries'
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'ExecIf'
    -- Executing [s@ext-fax:5] ExecIf("PJSIP/telekomPJSIP-226-0000005d", "1?Set(FAXSTATUS="FAILED: error: Disconnected after permitted retries statusstr: Disconnected after permitted retries")") in new stack
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Hangup'
    -- Executing [s@ext-fax:6] Hangup("PJSIP/telekomPJSIP-226-0000005d", "") in new stack
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: channel.c:2592 ast_softhangup_nolock: Soft-Hanging (0x20) up channel 'PJSIP/telekomPJSIP-226-0000005d'
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx.c:4349 __ast_pbx_run: Spawn extension (ext-fax,s,6) exited non-zero on 'PJSIP/telekomPJSIP-226-0000005d'
  == Spawn extension (ext-fax, s, 6) exited non-zero on 'PJSIP/telekomPJSIP-226-0000005d'
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: channel.c:2592 ast_softhangup_nolock: Soft-Hanging (0x10) up channel 'PJSIP/telekomPJSIP-226-0000005d'
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: channel.c:2592 ast_softhangup_nolock: Soft-Hanging (0x80) up channel 'PJSIP/telekomPJSIP-226-0000005d'
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'ASTSPOOLDIR' is '/var/spool/asterisk'
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'UNIQUEID' is '1531576932.947'
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function STAT(e,/var/spool/asterisk/fax/1531576932.947.tif) result is '0'
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '1'
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [h@ext-fax:1] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "1?failed") in new stack
[2018-07-14 16:02:55] DEBUG[27601]: cdr.c:1462 cdr_object_finalize: Finalized CDR for PJSIP/telekomPJSIP-226-0000005d - start 1531576947.643715 answer 1531576947.677504 end 1531576975.740366 dispo ANSWERED
    -- Goto (ext-fax,h,104)
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'FAXSTATUS' is '"FAILED: error: Disconnected after permitted retries statusstr: Disconnected after permitted retries"'
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'FAX_FOR' is '98 (4)'
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function CALLERID(all) result is '"+49654321789" <+49654321789>'
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'NoOp'
    -- Executing [h@ext-fax:104] NoOp("PJSIP/telekomPJSIP-226-0000005d", "FAX "FAILED: error: Disconnected after permitted retries statusstr: Disconnected after permitted retries" for: 98 (4) , From: "+49654321789" <+49654321789>") in new stack
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Macro'
    -- Executing [h@ext-fax:105] Macro("PJSIP/telekomPJSIP-226-0000005d", "hangupcall,") in new stack
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'USE_CONFIRMATION' is NULL
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'RINGGROUP_INDEX' is NULL
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx_variables.c:381 ast_str_retrieve_variable: Result of 'CHANNEL' is 'PJSIP/telekomPJSIP-226-0000005d'
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'UNIQCHAN' is NULL
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '1'
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'GotoIf'
    -- Executing [s@macro-hangupcall:1] GotoIf("PJSIP/telekomPJSIP-226-0000005d", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,3)
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: GotoIf
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'ONETOUCH_RECFILE' is NULL
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx_variables.c:774 pbx_substitute_variables_helper_full: Function CDR(recordingfile) result is ''
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx_variables.c:844 pbx_substitute_variables_helper_full: Expression result is '0'
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'ONETOUCH_RECFILE' is NULL
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'ExecIf'
    -- Executing [s@macro-hangupcall:3] ExecIf("PJSIP/telekomPJSIP-226-0000005d", "0?Set(CDR(recordingfile)=)") in new stack
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: app_macro.c:472 _macro_exec: Executed application: ExecIf
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'ONETOUCH_RECFILE' (from 'ONETOUCH_RECFILE}"!="" & "${CDR(recordingfile)}"=""' len 16)
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'ONETOUCH_RECFILE' is NULL
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'CDR(recordingfile)' (from 'CDR(recordingfile)}"=""' len 18)
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx_variables.c:544 ast_str_substitute_variables_full: Function CDR(recordingfile) result is ''
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx_variables.c:607 ast_str_substitute_variables_full: Expression result is '0'
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx_variables.c:505 ast_str_substitute_variables_full: Evaluating 'ONETOUCH_RECFILE' (from 'ONETOUCH_RECFILE})' len 16)
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx_variables.c:378 ast_str_retrieve_variable: Result of 'ONETOUCH_RECFILE' is NULL
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx.c:2877 pbx_extension_helper: Launching 'Hangup'
    -- Executing [s@macro-hangupcall:4] Hangup("PJSIP/telekomPJSIP-226-0000005d", "") in new stack
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: channel.c:2592 ast_softhangup_nolock: Soft-Hanging (0x20) up channel 'PJSIP/telekomPJSIP-226-0000005d'
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: app_macro.c:466 _macro_exec: Spawn extension (macro-hangupcall,s,4) exited non-zero on 'PJSIP/telekomPJSIP-226-0000005d' in macro 'hangupcall'
  == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'PJSIP/telekomPJSIP-226-0000005d' in macro 'hangupcall'
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: pbx.c:4158 ast_pbx_h_exten_run: Spawn extension (ext-fax,h,105) exited non-zero on 'PJSIP/telekomPJSIP-226-0000005d'
  == Spawn extension (ext-fax, h, 105) exited non-zero on 'PJSIP/telekomPJSIP-226-0000005d'
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: channel.c:2683 ast_hangup: Channel 0x7f8a40030b40 'PJSIP/telekomPJSIP-226-0000005d' hanging up.  Refs: 2
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: chan_pjsip.c:2031 hangup_cause2sip: AST hangup cause 16 (no match found in PJSIP)
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:1821 ast_sip_session_terminate: Delay sending BYE to telekomPJSIP-226 because of outstanding transaction...
[2018-07-14 16:02:55] DEBUG[17049][C-0000002f]: channel.c:2235 ast_channel_destructor: Channel 0x7f8a40030b40 'PJSIP/telekomPJSIP-226-0000005d' destroying
[2018-07-14 16:02:55] DEBUG[27595]: devicestate.c:369 _ast_device_state: No provider found, checking channel drivers for PJSIP - telekomPJSIP-226
[2018-07-14 16:02:55] DEBUG[27595]: devicestate.c:474 do_state_change: Changing state for PJSIP/telekomPJSIP-226 - state 1 (Not in use)
[2018-07-14 16:02:55] DEBUG[27604]: res_odbc.c:864 _ast_odbc_request_obj2: Reusing ODBC handle 0x7f8a7c4484b0 from class 'asteriskcdrdb'
[2018-07-14 16:02:55] DEBUG[27662]: app_queue.c:2486 device_state_cb: Device 'PJSIP/telekomPJSIP-226' changed to state '1' (Not in use) but we don't care because they're not a member of any queue.
[2018-07-14 16:02:55] DEBUG[27604]: cel_odbc.c:790 odbc_log: Executing SQL statement: [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,extra) VALUES ('HANGUP',{ts '2018-07-14 16:02:55.752663'},'+49654321789','+49654321789','+49654321789','','+499876543210','h','ext-fax','PJSIP/telekomPJSIP-226-0000005d','','',3,'','1531576932.947','1531576932.947','','','{"hangupcause":16,"hangupsource":"dialplan/builtin","dialstatus":"NOANSWER"}')]
[2018-07-14 16:02:55] DEBUG[27604]: res_odbc.c:713 ast_odbc_release_obj: Releasing ODBC handle 0x7f8a7c4484b0 into pool
[2018-07-14 16:02:55] DEBUG[27604]: res_odbc.c:864 _ast_odbc_request_obj2: Reusing ODBC handle 0x7f8a7c4484b0 from class 'asteriskcdrdb'
[2018-07-14 16:02:55] DEBUG[27604]: cel_odbc.c:790 odbc_log: Executing SQL statement: [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,extra) VALUES ('CHAN_END',{ts '2018-07-14 16:02:55.757222'},'+49654321789','+49654321789','+49654321789','','+499876543210','h','ext-fax','PJSIP/telekomPJSIP-226-0000005d','','',3,'','1531576932.947','1531576932.947','','','')]
[2018-07-14 16:02:55] DEBUG[27604]: res_odbc.c:713 ast_odbc_release_obj: Releasing ODBC handle 0x7f8a7c4484b0 into pool
[2018-07-14 16:02:55] DEBUG[27601]: res_odbc.c:864 _ast_odbc_request_obj2: Reusing ODBC handle 0x7f8a7c4484b0 from class 'asteriskcdrdb'
[2018-07-14 16:02:55] DEBUG[27601]: cdr_adaptive_odbc.c:741 odbc_log: Executing [INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,uniqueid,did,cnum,cnam) VALUES ({ ts '2018-07-14 16:02:12' },'"+49654321789" <+49654321789>','+49654321789','98','ext-local','PJSIP/telekomPJSIP-226-0000005d','IAX2/98-6343','Dial','IAX2/98,15,trIb(func-apply-sipheaders^s^1)',15,0,'NO ANSWER',3,'1531576932.947','+499876543210','+49654321789','+49654321789')]
[2018-07-14 16:02:55] DEBUG[27601]: res_odbc.c:713 ast_odbc_release_obj: Releasing ODBC handle 0x7f8a7c4484b0 into pool
[2018-07-14 16:02:55] DEBUG[27601]: res_odbc.c:864 _ast_odbc_request_obj2: Reusing ODBC handle 0x7f8a7c4484b0 from class 'asteriskcdrdb'
[2018-07-14 16:02:55] DEBUG[27601]: cdr_adaptive_odbc.c:741 odbc_log: Executing [INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,lastapp,duration,billsec,disposition,amaflags,uniqueid,did,cnum,cnam) VALUES ({ ts '2018-07-14 16:02:27' },'"+49654321789" <+49654321789>','+49654321789','s','ext-fax','PJSIP/telekomPJSIP-226-0000005d','Hangup',28,28,'ANSWERED',3,'1531576932.947','+499876543210','+49654321789','+49654321789')]
[2018-07-14 16:02:55] DEBUG[27601]: res_odbc.c:713 ast_odbc_release_obj: Releasing ODBC handle 0x7f8a7c4484b0 into pool
[2018-07-14 16:02:55] DEBUG[27604]: res_odbc.c:864 _ast_odbc_request_obj2: Reusing ODBC handle 0x7f8a7c4484b0 from class 'asteriskcdrdb'
[2018-07-14 16:02:55] DEBUG[27604]: cel_odbc.c:790 odbc_log: Executing SQL statement: [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,extra) VALUES ('LINKEDID_END',{ts '2018-07-14 16:02:55.759661'},'+49654321789','+49654321789','+49654321789','','+499876543210','h','ext-fax','PJSIP/telekomPJSIP-226-0000005d','','',3,'','1531576932.947','1531576932.947','','','')]
[2018-07-14 16:02:55] DEBUG[27604]: res_odbc.c:713 ast_odbc_release_obj: Releasing ODBC handle 0x7f8a7c4484b0 into pool
<--- Received SIP response (627 bytes) from UDP:217.0.21.1:5060 --->
SIP/2.0 407 Proxy Authentication Required 02035034C
Via: SIP/2.0/UDP 96.35.15.44:5061;received=96.35.15.44;rport=5061;branch=z9hG4bKPjf7ee7ce3-49f5-4c45-8310-cad44a89919c
To: <sip:+49654321789@1.siptg.t-systems.com;user=phone>;tag=h7g4Esbg_p65547t1531576932m204350c1100047124s1_184393336-471527295
From: <sip:+499876543210@tel.t-online.de;user=phone>;tag=183e6b47-dfc0-4661-8e25-016b6af81190
Call-ID: p65547t1531576932m204350c1100047124s2
CSeq: 14478 INVITE
Content-Length: 0
Proxy-Authenticate: Digest nonce="5763539D9B024A5B00000000E8F93014",realm="tel.t-online.de",algorithm=MD5,qop="auth",stale=true


[2018-07-14 16:02:55] DEBUG[27613]: res_pjsip/pjsip_distributor.c:492 distributor: Searching for serializer associated with dialog dlg0x7f8a78092048 for Response msg 407/INVITE/cseq=14478 (rdata0x7f8a70015468)
[2018-07-14 16:02:55] DEBUG[27613]: res_pjsip/pjsip_distributor.c:500 distributor: Found serializer pjsip/distributor-0000002f associated with dialog dlg0x7f8a78092048
[2018-07-14 16:02:55] DEBUG[16754]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '217.0.21.1' into...
[2018-07-14 16:02:55] DEBUG[16754]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '217.0.21.1' and port ''.
<--- Transmitting SIP request (562 bytes) to UDP:217.0.21.1:5060 --->
ACK sip:sgc_c@217.0.21.1;transport=udp SIP/2.0
Via: SIP/2.0/UDP 96.35.15.44:5061;rport;branch=z9hG4bKPjf7ee7ce3-49f5-4c45-8310-cad44a89919c
From: <sip:+499876543210@tel.t-online.de;user=phone>;tag=183e6b47-dfc0-4661-8e25-016b6af81190
To: <sip:+49654321789@1.siptg.t-systems.com;user=phone>;tag=h7g4Esbg_p65547t1531576932m204350c1100047124s1_184393336-471527295
Call-ID: p65547t1531576932m204350c1100047124s2
CSeq: 14478 ACK
Route: <sip:217.0.21.1;transport=udp;lr>
Max-Forwards: 70
User-Agent: FPBX-13.0.194.5(13.21.90)
Content-Length:  0


[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2405 __print_debug_details: Function session_inv_on_tsx_state_changed called on event TSX_STATE
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2419 __print_debug_details: The state change pertains to the endpoint 'telekomPJSIP-226()'
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2427 __print_debug_details: The inv session does NOT have an invite_tsx
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2430 __print_debug_details: The UAC INVITE transaction involved in this state change is 0x7f8a78070b58
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2434 __print_debug_details: The current transaction state is Completed
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2436 __print_debug_details: The transaction state change event is RX_MSG
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2441 __print_debug_details: The current inv state is CONFIRMED
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2484 handle_incoming: Received response
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2468 handle_incoming_response: Response is 407 Proxy Authentication Required 02035034C
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2766 session_inv_on_tsx_state_changed: reINVITE received final response code 407
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2500 handle_outgoing_request: Method is INVITE
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip/pjsip_message_filter.c:288 filter_on_tx_message: Re-wrote Contact URI host/port to 96.35.15.44:5061 (this may be re-written again later)
[2018-07-14 16:02:55] DEBUG[16754]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '217.0.21.1' into...
[2018-07-14 16:02:55] DEBUG[16754]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '217.0.21.1' and port ''.
<--- Transmitting SIP request (1397 bytes) to UDP:217.0.21.1:5060 --->
INVITE sip:sgc_c@217.0.21.1;transport=udp SIP/2.0
Via: SIP/2.0/UDP 96.35.15.44:5061;rport;branch=z9hG4bKPja58c8e27-4339-4a07-8f13-18ead9182a8e
From: <sip:+499876543210@tel.t-online.de;user=phone>;tag=183e6b47-dfc0-4661-8e25-016b6af81190
To: <sip:+49654321789@1.siptg.t-systems.com;user=phone>;tag=h7g4Esbg_p65547t1531576932m204350c1100047124s1_184393336-471527295
Contact: <sip:96.35.15.44:5061>
Call-ID: p65547t1531576932m204350c1100047124s2
CSeq: 14479 INVITE
Route: <sip:217.0.21.1;transport=udp;lr>
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, REFER, MESSAGE
Supported: 100rel, timer, replaces, norefersub
Session-Expires: 1800;refresher=uas
Min-SE: 90
Max-Forwards: 70
User-Agent: FPBX-13.0.194.5(13.21.90)
Proxy-Authorization: Digest username="+499876543210", realm="tel.t-online.de", nonce="5763539D9B024A5B00000000E8F93014", uri="sip:sgc_c@217.0.21.1;transport=udp", response="b81d2025da98964ce7a73f1768828fc5", algorithm=MD5, cnonce="f87325d6-bffc-427c-be17-b54c085310a2", qop=auth, nc=00000001
Content-Type: application/sdp
Content-Length:   258

v=0
o=- 427888033 184393119 IN IP4 96.35.15.44
s=Asterisk
c=IN IP4 96.35.15.44
t=0 0
m=audio 10070 RTP/AVP 8 100
a=rtpmap:8 PCMA/8000
a=rtpmap:100 telephone-event/8000
a=fmtp:100 0-16
a=ptime:20
a=maxptime:150
a=sendrecv
m=image 0 udptl t38

[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2405 __print_debug_details: Function session_inv_on_tsx_state_changed called on event TSX_STATE
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2419 __print_debug_details: The state change pertains to the endpoint 'telekomPJSIP-226()'
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2424 __print_debug_details: The inv session still has an invite_tsx (0x7f8a780b77d8)
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2430 __print_debug_details: The UAC INVITE transaction involved in this state change is 0x7f8a780b77d8
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2434 __print_debug_details: The current transaction state is Calling
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2436 __print_debug_details: The transaction state change event is TX_MSG
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2441 __print_debug_details: The current inv state is CONFIRMED
<--- Received SIP response (1148 bytes) from UDP:217.0.21.1:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 96.35.15.44:5061;received=96.35.15.44;rport=5061;branch=z9hG4bKPja58c8e27-4339-4a07-8f13-18ead9182a8e
To: <sip:+49654321789@1.siptg.t-systems.com;user=phone>;tag=h7g4Esbg_p65547t1531576932m204350c1100047124s1_184393336-471527295
From: <sip:+499876543210@tel.t-online.de;user=phone>;tag=183e6b47-dfc0-4661-8e25-016b6af81190
Call-ID: p65547t1531576932m204350c1100047124s2
CSeq: 14479 INVITE
Contact: <sip:sgc_c@217.0.21.1;transport=udp>;+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.mmtel"
Session-Expires: 1800;refresher=uas
Supported: timer
Content-Type: application/sdp
Content-Length: 251
Authentication-Info: qop=auth,rspauth="059fae1273b1ba04f56be8b7dec66d71",cnonce="f87325d6-bffc-427c-be17-b54c085310a2",nc=00000001
Allow: REGISTER, REFER, NOTIFY, SUBSCRIBE, INFO, PRACK, PUBLISH, UPDATE, INVITE, ACK, OPTIONS, CANCEL, BYE

v=0
o=- 427888033 184393117 IN IP4 217.0.21.1
s=SIP Media Capabilities
c=IN IP4 217.0.5.183
t=0 0
m=audio 26312 RTP/AVP 8
a=rtpmap:8 PCMA/8000
a=sendrecv
a=maxptime:20
m=image 0 udptl t38
a=T38FaxMaxDatagram:500
a=inactive
a=maxptime:150

[2018-07-14 16:02:55] DEBUG[27613]: res_pjsip/pjsip_distributor.c:492 distributor: Searching for serializer associated with dialog dlg0x7f8a78092048 for Response msg 200/INVITE/cseq=14479 (rdata0x7f8a70015468)
[2018-07-14 16:02:55] DEBUG[27613]: res_pjsip/pjsip_distributor.c:500 distributor: Found serializer pjsip/distributor-0000002f associated with dialog dlg0x7f8a78092048
[2018-07-14 16:02:55] DEBUG[16754]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '217.0.21.1' into...
[2018-07-14 16:02:55] DEBUG[16754]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '217.0.21.1' and port ''.
<--- Transmitting SIP request (562 bytes) to UDP:217.0.21.1:5060 --->
ACK sip:sgc_c@217.0.21.1;transport=udp SIP/2.0
Via: SIP/2.0/UDP 96.35.15.44:5061;rport;branch=z9hG4bKPjfa83b249-71e2-4fed-a14d-9dc050f38d13
From: <sip:+499876543210@tel.t-online.de;user=phone>;tag=183e6b47-dfc0-4661-8e25-016b6af81190
To: <sip:+49654321789@1.siptg.t-systems.com;user=phone>;tag=h7g4Esbg_p65547t1531576932m204350c1100047124s1_184393336-471527295
Call-ID: p65547t1531576932m204350c1100047124s2
CSeq: 14479 ACK
Route: <sip:217.0.21.1;transport=udp;lr>
Max-Forwards: 70
User-Agent: FPBX-13.0.194.5(13.21.90)
Content-Length:  0


[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2405 __print_debug_details: Function session_inv_on_tsx_state_changed called on event TSX_STATE
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2419 __print_debug_details: The state change pertains to the endpoint 'telekomPJSIP-226()'
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2427 __print_debug_details: The inv session does NOT have an invite_tsx
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2430 __print_debug_details: The UAC INVITE transaction involved in this state change is 0x7f8a780b77d8
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2434 __print_debug_details: The current transaction state is Terminated
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2436 __print_debug_details: The transaction state change event is RX_MSG
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2441 __print_debug_details: The current inv state is CONFIRMED
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2484 handle_incoming: Received response
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2468 handle_incoming_response: Response is 200 OK
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2894 session_inv_on_tsx_state_changed: Endpoint 'telekomPJSIP-226()' INVITE delay check. tsx-state:Terminated
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:548 send_delayed_request: Endpoint 'telekomPJSIP-226()' sending delayed BYE request.
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2500 handle_outgoing_request: Method is BYE
[2018-07-14 16:02:55] DEBUG[16754]: netsock2.c:172 ast_sockaddr_split_hostport: Splitting '217.0.21.1' into...
[2018-07-14 16:02:55] DEBUG[16754]: netsock2.c:226 ast_sockaddr_split_hostport: ...host '217.0.21.1' and port ''.
<--- Transmitting SIP request (562 bytes) to UDP:217.0.21.1:5060 --->
BYE sip:sgc_c@217.0.21.1;transport=udp SIP/2.0
Via: SIP/2.0/UDP 96.35.15.44:5061;rport;branch=z9hG4bKPjeda49857-88db-4f24-bd30-a8d8ac45c6cb
From: <sip:+499876543210@tel.t-online.de;user=phone>;tag=183e6b47-dfc0-4661-8e25-016b6af81190
To: <sip:+49654321789@1.siptg.t-systems.com;user=phone>;tag=h7g4Esbg_p65547t1531576932m204350c1100047124s1_184393336-471527295
Call-ID: p65547t1531576932m204350c1100047124s2
CSeq: 14480 BYE
Route: <sip:217.0.21.1;transport=udp;lr>
Max-Forwards: 70
User-Agent: FPBX-13.0.194.5(13.21.90)
Content-Length:  0


[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2405 __print_debug_details: Function session_inv_on_tsx_state_changed called on event TSX_STATE
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2419 __print_debug_details: The state change pertains to the endpoint 'telekomPJSIP-226()'
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2427 __print_debug_details: The inv session does NOT have an invite_tsx
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2430 __print_debug_details: The UAC BYE transaction involved in this state change is 0x7f8a780279b8
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2434 __print_debug_details: The current transaction state is Calling
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2436 __print_debug_details: The transaction state change event is TX_MSG
[2018-07-14 16:02:55] DEBUG[16754]: res_pjsip_session.c:2441 __print_debug_details: The current inv state is CONFIRMED
<--- Received SIP response (566 bytes) from UDP:217.0.21.1:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 96.35.15.44:5061;received=96.35.15.44;rport=5061;branch=z9hG4bKPjeda49857-88db-4f24-bd30-a8d8ac45c6cb
To: <sip:+49654321789@1.siptg.t-systems.com;user=phone>;tag=h7g4Esbg_p65547t1531576932m204350c1100047124s1_184393336-471527295
From: <sip:+499876543210@tel.t-online.de;user=phone>;tag=183e6b47-dfc0-4661-8e25-016b6af81190
Call-ID: p65547t1531576932m204350c1100047124s2
CSeq: 14480 BYE
Content-Length: 0
Allow: REGISTER, REFER, NOTIFY, SUBSCRIBE, INFO, PRACK, PUBLISH, UPDATE, INVITE, ACK, OPTIONS, CANCEL, BYE
