[2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] chan_sip.c: **** Received INVITE (5) - Command in SIP INVITE [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] sip/reqresp_parser.c: Begin: parsing SIP "Supported: replaces, timer" [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] sip/reqresp_parser.c: Found SIP option: -replaces- [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] sip/reqresp_parser.c: Matched SIP option: replaces [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] sip/reqresp_parser.c: Found SIP option: -timer- [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] sip/reqresp_parser.c: Matched SIP option: timer [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] netsock2.c: Splitting 'XXX.X.XXX.XX:5060' into... [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] netsock2.c: ...host 'XXX.X.XXX.XX' and port '5060'. [2022-02-07 19:17:24] VERBOSE[21823][C-00000e4d] chan_sip.c: Sending to XXX.X.XXX.XX:5060 (no NAT) [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] chan_sip.c: Initializing initreq for method INVITE - callid 743cdb5a254fcebe15ce6d7255efd6ae@XXX.X.XXX.XX:5060 [2022-02-07 19:17:24] VERBOSE[21823][C-00000e4d] chan_sip.c: Using INVITE request as basis request - 743cdb5a254fcebe15ce6d7255efd6ae@XXX.X.XXX.XX:5060 [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] netsock2.c: Splitting 'XXX.X.XXX.XX' into... [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] netsock2.c: ...host 'XXX.X.XXX.XX' and port ''. [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_config_odbc.c: Skip: 0; SQL: SELECT * FROM sipfriends WHERE name = ? AND host = ? [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_config_odbc.c: Parameter 1 ('name') = '200' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_config_odbc.c: Parameter 2 ('host') = 'dynamic' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe68416f590 from class 'asterisk2' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_config_odbc.c: Skip: 0; SQL: SELECT * FROM sipfriends WHERE name = ? AND host = ? [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_config_odbc.c: Parameter 1 ('name') = '200' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_config_odbc.c: Parameter 2 ('host') = 'dynamic' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe68416f590 into pool [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_config_odbc.c: Skip: 0; SQL: SELECT * FROM sipfriends WHERE name = ? [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_config_odbc.c: Parameter 1 ('name') = '200' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe68416f590 from class 'asterisk2' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_config_odbc.c: Skip: 0; SQL: SELECT * FROM sipfriends WHERE name = ? [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_config_odbc.c: Parameter 1 ('name') = '200' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe68416f590 into pool [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_config_odbc.c: Skip: 0; SQL: SELECT * FROM sipfriends WHERE host = ? AND callbackextension = ? AND port = ? [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_config_odbc.c: Parameter 1 ('host') = 'XXX.X.XXX.XX' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_config_odbc.c: Parameter 2 ('callbackextension') = 'QUEUE-9' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_config_odbc.c: Parameter 3 ('port') = '5060' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe68416f590 from class 'asterisk2' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_config_odbc.c: Skip: 0; SQL: SELECT * FROM sipfriends WHERE host = ? AND callbackextension = ? AND port = ? [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_config_odbc.c: Parameter 1 ('host') = 'XXX.X.XXX.XX' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_config_odbc.c: Parameter 2 ('callbackextension') = 'QUEUE-9' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_config_odbc.c: Parameter 3 ('port') = '5060' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe68416f590 into pool [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_config_odbc.c: Skip: 0; SQL: SELECT * FROM sipfriends WHERE host = ? AND port = ? [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_config_odbc.c: Parameter 1 ('host') = 'XXX.X.XXX.XX' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_config_odbc.c: Parameter 2 ('port') = '5060' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe68416f590 from class 'asterisk2' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_config_odbc.c: Skip: 0; SQL: SELECT * FROM sipfriends WHERE host = ? AND port = ? [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_config_odbc.c: Parameter 1 ('host') = 'XXX.X.XXX.XX' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_config_odbc.c: Parameter 2 ('port') = '5060' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe68416f590 into pool [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_config_odbc.c: Skip: 0; SQL: SELECT * FROM sipregs_db02 WHERE ipaddr = ? AND port = ? [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_config_odbc.c: Parameter 1 ('ipaddr') = 'XXX.X.XXX.XX' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_config_odbc.c: Parameter 2 ('port') = '5060' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe68416f590 from class 'asterisk2' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_config_odbc.c: Skip: 0; SQL: SELECT * FROM sipregs_db02 WHERE ipaddr = ? AND port = ? [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_config_odbc.c: Parameter 1 ('ipaddr') = 'XXX.X.XXX.XX' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_config_odbc.c: Parameter 2 ('port') = '5060' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe68416f590 into pool [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_config_odbc.c: Skip: 0; SQL: SELECT * FROM sipfriends WHERE host = ? AND insecure LIKE ? ORDER BY host [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_config_odbc.c: Parameter 1 ('host') = 'XXX.X.XXX.XX' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_config_odbc.c: Parameter 2 ('insecure LIKE') = '%port%' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_config_odbc.c: Skip: 0; SQL: SELECT * FROM sipregs_db02 WHERE ipaddr = ? ORDER BY ipaddr [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_config_odbc.c: Parameter 1 ('ipaddr') = 'XXX.X.XXX.XX' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:24] VERBOSE[21823][C-00000e4d] chan_sip.c: Found peer 'oraclepbx' for '200' from XXX.X.XXX.XX:5060 [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] rtp_engine.c: Using engine 'asterisk' for RTP instance '0x7fe7140f9b20' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_rtp_asterisk.c: (0x7fe7140f9b20) RTP allocated port 16918 [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_rtp_asterisk.c: (0x7fe7140f9b20) ICE creating session 0.0.0.0:16918 (16918) [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_rtp_asterisk.c: (0x7fe7140f9b20) ICE create [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_rtp_asterisk.c: (0x7fe7140f9b20) ICE add system candidates [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] netsock2.c: Splitting 'XXX.XXX.XXX.XXX' into... [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] netsock2.c: ...host 'XXX.XXX.XXX.XXX' and port ''. [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_rtp_asterisk.c: (0x7fe7140f9b20) ICE add candidate: XXX.XXX.XXX.XXX:16918, 2130706431 [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] rtp_engine.c: RTP instance '0x7fe7140f9b20' is setup and ready to go [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_rtp_asterisk.c: (0x7fe7140f9b20) ICE stopped [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] rtp_engine.c: Using engine 'asterisk' for RTP instance '0x7fe7141111e0' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_rtp_asterisk.c: (0x7fe7141111e0) RTP allocated port 11544 [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_rtp_asterisk.c: (0x7fe7141111e0) ICE creating session 0.0.0.0:11544 (11544) [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_rtp_asterisk.c: (0x7fe7141111e0) ICE create [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_rtp_asterisk.c: (0x7fe7141111e0) ICE add system candidates [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] netsock2.c: Splitting 'XXX.XXX.XXX.XXX' into... [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] netsock2.c: ...host 'XXX.XXX.XXX.XXX' and port ''. [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_rtp_asterisk.c: (0x7fe7141111e0) ICE add candidate: XXX.XXX.XXX.XXX:11544, 2130706431 [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] rtp_engine.c: RTP instance '0x7fe7141111e0' is setup and ready to go [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_rtp_asterisk.c: (0x7fe7141111e0) ICE stopped [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] netsock2.c: Splitting 'db02' into... [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] netsock2.c: ...host 'db02' and port ''. [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] acl.c: Multiple addresses. Using the first only [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_rtp_asterisk.c: (0x7fe7141111e0) RTCP setup on RTP instance [2022-02-07 19:17:24] VERBOSE[21823][C-00000e4d] netsock2.c: Using SIP VIDEO TOS bits 136 [2022-02-07 19:17:24] VERBOSE[21823][C-00000e4d] netsock2.c: Using SIP VIDEO CoS mark 4 [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] netsock2.c: Splitting 'db02' into... [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] netsock2.c: ...host 'db02' and port ''. [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] acl.c: Multiple addresses. Using the first only [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_rtp_asterisk.c: (0x7fe7140f9b20) RTCP setup on RTP instance [2022-02-07 19:17:24] VERBOSE[21823][C-00000e4d] netsock2.c: Using SIP RTP TOS bits 184 [2022-02-07 19:17:24] VERBOSE[21823][C-00000e4d] netsock2.c: Using SIP RTP CoS mark 5 [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] chan_sip.c: Setting NAT on RTP to On [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] chan_sip.c: Setting NAT on VRTP to On [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] chan_sip.c: Processing session-level SDP v=0... UNSUPPORTED OR FAILED. [2022-02-07 19:17:24] VERBOSE[21823][C-00000e4d] chan_sip.c: Got SDP version 1836351004 and unique parts [root 1836351004 IN IP4 XXX.X.XXX.XX] [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] chan_sip.c: Processing session-level SDP o=root 1836351004 1836351004 IN IP4 XXX.X.XXX.XX... OK. [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] chan_sip.c: Processing session-level SDP s=Asterisk PBX 18.9.0... UNSUPPORTED OR FAILED. [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] netsock2.c: Splitting 'XXX.X.XXX.XX' into... [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] netsock2.c: ...host 'XXX.X.XXX.XX' and port ''. [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] chan_sip.c: Processing session-level SDP c=IN IP4 XXX.X.XXX.XX... OK. [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] chan_sip.c: Processing session-level SDP t=0 0... UNSUPPORTED OR FAILED. [2022-02-07 19:17:24] VERBOSE[21823][C-00000e4d] chan_sip.c: Found RTP audio format 8 [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] rtp_engine.c: Setting tx payload type 8 based on m type on 0x7fe6a45d0260 [2022-02-07 19:17:24] VERBOSE[21823][C-00000e4d] chan_sip.c: Found RTP audio format 0 [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] rtp_engine.c: Setting tx payload type 0 based on m type on 0x7fe6a45d0260 [2022-02-07 19:17:24] VERBOSE[21823][C-00000e4d] chan_sip.c: Found RTP audio format 3 [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] rtp_engine.c: Setting tx payload type 3 based on m type on 0x7fe6a45d0260 [2022-02-07 19:17:24] VERBOSE[21823][C-00000e4d] chan_sip.c: Found RTP audio format 101 [2022-02-07 19:17:24] VERBOSE[21823][C-00000e4d] chan_sip.c: Found audio description format PCMA for ID 8 [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] chan_sip.c: Processing media-level (audio) SDP a=rtpmap:8 PCMA/8000... OK. [2022-02-07 19:17:24] VERBOSE[21823][C-00000e4d] chan_sip.c: Found audio description format PCMU for ID 0 [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] chan_sip.c: Processing media-level (audio) SDP a=rtpmap:0 PCMU/8000... OK. [2022-02-07 19:17:24] VERBOSE[21823][C-00000e4d] chan_sip.c: Found audio description format GSM for ID 3 [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] chan_sip.c: Processing media-level (audio) SDP a=rtpmap:3 GSM/8000... OK. [2022-02-07 19:17:24] VERBOSE[21823][C-00000e4d] chan_sip.c: Found audio description format telephone-event for ID 101 [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] chan_sip.c: Processing media-level (audio) SDP a=rtpmap:101 telephone-event/8000... OK. [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] chan_sip.c: Processing media-level (audio) SDP a=fmtp:101 0-16... UNSUPPORTED OR FAILED. [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] chan_sip.c: Processing media-level (audio) SDP a=maxptime:150... UNSUPPORTED OR FAILED. [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] chan_sip.c: Processing media-level (audio) SDP a=sendrecv... OK. [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] rtp_engine.c: Crossover copying tx to rx payload mapping 0 (0x7fe7140fc588) from 0x7fe6a45d0260 to 0x7fe6a45d0260 [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] rtp_engine.c: Crossover copying tx to rx payload mapping 3 (0x7fe714109168) from 0x7fe6a45d0260 to 0x7fe6a45d0260 [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] rtp_engine.c: Crossover copying tx to rx payload mapping 8 (0x7fe7140f8cc8) from 0x7fe6a45d0260 to 0x7fe6a45d0260 [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] rtp_engine.c: Crossover copying tx to rx payload mapping 101 (0x7fe7141091b8) from 0x7fe6a45d0260 to 0x7fe6a45d0260 [2022-02-07 19:17:24] VERBOSE[21823][C-00000e4d] chan_sip.c: Capabilities: us - (ulaw|alaw|gsm|h263|codec2|g723|g726|g726aal2|adpcm|slin|slin12|slin16|slin24|slin32|slin44|slin48|slin96|slin192|lpc10|g729|speex|speex16|speex32|ilbc|g722|siren7|siren14|testlaw|g719|opus|jpeg|png|h261|h263p|h264|h265|mpeg4|vp8|vp9|red|t140|t38|silk8|silk12|silk16|silk24), peer - audio=(ulaw|gsm|alaw)/video=(nothing)/text=(nothing), combined - (ulaw|alaw|gsm) [2022-02-07 19:17:24] VERBOSE[21823][C-00000e4d] chan_sip.c: Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|) [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] acl.c: For destination 'XXX.X.XXX.XX', our source address is 'XXX.XXX.XXX.XXX'. [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_rtp_asterisk.c: (0x7fe7140f9b20) RTCP setting address on RTP instance [2022-02-07 19:17:24] VERBOSE[21823][C-00000e4d] chan_sip.c: Peer audio RTP is at port XXX.X.XXX.XX:19716 [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] rtp_engine.c: Copying rx payload mapping 0 (0x7fe7140fc588) from 0x7fe6a45d0260 to 0x7fe7140f9cf8 [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] rtp_engine.c: Copying rx payload mapping 3 (0x7fe714109168) from 0x7fe6a45d0260 to 0x7fe7140f9cf8 [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] rtp_engine.c: Copying rx payload mapping 8 (0x7fe7140f8cc8) from 0x7fe6a45d0260 to 0x7fe7140f9cf8 [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] rtp_engine.c: Copying rx payload mapping 101 (0x7fe7141091b8) from 0x7fe6a45d0260 to 0x7fe7140f9cf8 [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] rtp_engine.c: Copying tx payload mapping 0 (0x7fe7140fc588) from 0x7fe6a45d0260 to 0x7fe7140f9cf8 [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] rtp_engine.c: Copying tx payload mapping 3 (0x7fe714109168) from 0x7fe6a45d0260 to 0x7fe7140f9cf8 [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] rtp_engine.c: Copying tx payload mapping 8 (0x7fe7140f8cc8) from 0x7fe6a45d0260 to 0x7fe7140f9cf8 [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] rtp_engine.c: Copying tx payload mapping 101 (0x7fe7141091b8) from 0x7fe6a45d0260 to 0x7fe7140f9cf8 [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_rtp_asterisk.c: (0x7fe7140f9b20) RTCP ignoring duplicate property [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_rtp_asterisk.c: (0x7fe7141111e0) DTLS srtp - stopped timeout timer' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_rtp_asterisk.c: (0x7fe7141111e0) DTLS srtp - stopped timeout timer' [2022-02-07 19:17:24] VERBOSE[21823][C-00000e4d] chan_sip.c: Peer doesn't provide video [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] chan_sip.c: We're settling with these formats: (ulaw|alaw|gsm) [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] chan_sip.c: Checking SIP call limits for device oraclepbx [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] chan_sip.c: Updating call counter for incoming call [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] chan_sip.c: Call from peer 'oraclepbx' is 1 out of 2147483647 [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] netsock2.c: Splitting 'XXX.XXX.XXX.XXX' into... [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] netsock2.c: ...host 'XXX.XXX.XXX.XXX' and port ''. [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] netsock2.c: Splitting 'XXX.X.XXX.XX' into... [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] netsock2.c: ...host 'XXX.X.XXX.XX' and port ''. [2022-02-07 19:17:24] VERBOSE[21823][C-00000e4d] chan_sip.c: Looking for QUEUE-9 in fromotherpbx (domain XXX.XXX.XXX.XXX) [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] chan_sip.c: Incoming INVITE with 'timer' option supported [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] channel_internal_api.c: : Formats: (none) [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] channel_internal_api.c: Channel is being initialized or destroyed [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] stasis.c: Creating topic. name: channel:db02-1644254244.72696, detail: [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] stasis.c: Topic 'channel:db02-1644254244.72696': 0x7fe714015060 created [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] channel.c: Channel 0x7fe714105cf0 'SIP/oraclepbx-00000c08' allocated [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] channel_internal_api.c: SIP/oraclepbx-00000c08: Formats: (ulaw) [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] channel_internal_api.c: New topology set [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] chan_sip.c: *** Our native formats are (ulaw) [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] chan_sip.c: *** Joint capabilities are (ulaw|alaw|gsm) [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] chan_sip.c: *** Our capabilities are (ulaw|alaw|gsm|h263|codec2|g723|g726|g726aal2|adpcm|slin|slin12|slin16|slin24|slin32|slin44|slin48|slin96|slin192|lpc10|g729|speex|speex16|speex32|ilbc|g722|siren7|siren14|testlaw|g719|opus|jpeg|png|h261|h263p|h264|h265|mpeg4|vp8|vp9|red|t140|t38|silk8|silk12|silk16|silk24) [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] chan_sip.c: *** AST_CODEC_CHOOSE formats are ulaw [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_rtp_asterisk.c: (0x7fe7141111e0) DTLS stop [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_rtp_asterisk.c: (0x7fe7141111e0) DTLS srtp - stopped timeout timer' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_rtp_asterisk.c: (0x7fe7141111e0) DTLS srtp - stopped timeout timer' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] res_rtp_asterisk.c: (0x7fe7141111e0) ICE RTP transport deallocating [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] rtp_engine.c: Destroyed RTP instance '0x7fe7141111e0' [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] chan_sip.c: This channel will not be able to handle video. [2022-02-07 19:17:24] VERBOSE[21823][C-00000e4d] sip/route.c: sip_route_dump: route/path hop: [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] chan_sip.c: SIP/oraclepbx-00000c08: New call is still down.... Trying... [2022-02-07 19:17:24] VERBOSE[21823][C-00000e4d] chan_sip.c: [2022-02-07 19:17:24] DEBUG[21823][C-00000e4d] chan_sip.c: Trying to put 'SIP/2.0 100' onto UDP socket destined for XXX.X.XXX.XX:5060 [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is 'QUEUE-9' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [QUEUE-9@fromotherpbx:1] NoOp("SIP/oraclepbx-00000c08", "Received a request from another server for queue ID 9") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is NULL [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function SQL_ESC() result is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'MAXCALLDURATION' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function SQL_ESC(MAXCALLDURATION) result is 'MAXCALLDURATION' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(,MAXCALLDURATION) result is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [QUEUE-9@fromotherpbx:2] Set("SIP/oraclepbx-00000c08", "MAXCALLDURATION=") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'MAXCALLDURATION' is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [QUEUE-9@fromotherpbx:3] GotoIf("SIP/oraclepbx-00000c08", "0?4:5") in new stack [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,QUEUE-9,5) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [QUEUE-9@fromotherpbx:5] NoOp("SIP/oraclepbx-00000c08", "Finish if_fromotherpbx_1506") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [QUEUE-9@fromotherpbx:6] Gosub("SIP/oraclepbx-00000c08", "decodeCallParams,~~s~~,1") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] app_stack.c: Channel SIP/oraclepbx-00000c08 has no datastore, so we're allocating one. [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function SIP_HEADER(X-PBX) result is '98|200-call|200-call|15||||oraclepbx-1644254244.1743648|271456||||Tt||900|900|457||||||he||9|||||||||||||' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:1] Set("SIP/oraclepbx-00000c08", "SIPHEADER=98|200-call|200-call|15||||oraclepbx-1644254244.1743648|271456||||Tt||900|900|457||||||he||9|||||||||||||") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call|15||||oraclepbx-1644254244.1743648|271456||||Tt||900|900|457||||||he||9|||||||||||||' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:2] GotoIf("SIP/oraclepbx-00000c08", "0?3:4") in new stack [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (decodeCallParams,~~s~~,4) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:4] NoOp("SIP/oraclepbx-00000c08", "Finish if_decodeCallParams_1374") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call|15||||oraclepbx-1644254244.1743648|271456||||Tt||900|900|457||||||he||9|||||||||||||' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:5] GotoIf("SIP/oraclepbx-00000c08", "1?6:44") in new stack [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (decodeCallParams,~~s~~,6) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call|15||||oraclepbx-1644254244.1743648|271456||||Tt||900|900|457||||||he||9|||||||||||||' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:6] Set("SIP/oraclepbx-00000c08", "__QUEUE_RAISE_PENALTY=") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call|15||||oraclepbx-1644254244.1743648|271456||||Tt||900|900|457||||||he||9||||||||||||' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:7] Set("SIP/oraclepbx-00000c08", "__QUEUE_MIN_PENALTY=") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call|15||||oraclepbx-1644254244.1743648|271456||||Tt||900|900|457||||||he||9|||||||||||' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:8] Set("SIP/oraclepbx-00000c08", "__QUEUE_MAX_PENALTY=") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call|15||||oraclepbx-1644254244.1743648|271456||||Tt||900|900|457||||||he||9||||||||||' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:9] Set("SIP/oraclepbx-00000c08", "__AUTOANSWER=") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call|15||||oraclepbx-1644254244.1743648|271456||||Tt||900|900|457||||||he||9|||||||||' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:10] Set("SIP/oraclepbx-00000c08", "USERVARVALUES=") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call|15||||oraclepbx-1644254244.1743648|271456||||Tt||900|900|457||||||he||9||||||||' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:11] Set("SIP/oraclepbx-00000c08", "USERVARLIST=") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call|15||||oraclepbx-1644254244.1743648|271456||||Tt||900|900|457||||||he||9|||||||' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:12] Set("SIP/oraclepbx-00000c08", "__SETQUEUERAISEPENALTY=") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call|15||||oraclepbx-1644254244.1743648|271456||||Tt||900|900|457||||||he||9||||||' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:13] Set("SIP/oraclepbx-00000c08", "__SETQUEUEMAXPENALTY=") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call|15||||oraclepbx-1644254244.1743648|271456||||Tt||900|900|457||||||he||9|||||' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:14] Set("SIP/oraclepbx-00000c08", "__SETQUEUEMINPENALTY=") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call|15||||oraclepbx-1644254244.1743648|271456||||Tt||900|900|457||||||he||9||||' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:15] Set("SIP/oraclepbx-00000c08", "__SETQUEUERULE=") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call|15||||oraclepbx-1644254244.1743648|271456||||Tt||900|900|457||||||he||9|||' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:16] Set("SIP/oraclepbx-00000c08", "__PLAYBACKOPTION=") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call|15||||oraclepbx-1644254244.1743648|271456||||Tt||900|900|457||||||he||9||' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:17] Set("SIP/oraclepbx-00000c08", "__RESPONSEPATHID=") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call|15||||oraclepbx-1644254244.1743648|271456||||Tt||900|900|457||||||he||9|' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:18] Set("SIP/oraclepbx-00000c08", "__PRIVACYID=") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call|15||||oraclepbx-1644254244.1743648|271456||||Tt||900|900|457||||||he||9' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '9' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:19] Set("SIP/oraclepbx-00000c08", "__FROMQUEUEID=9") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call|15||||oraclepbx-1644254244.1743648|271456||||Tt||900|900|457||||||he|' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:20] Set("SIP/oraclepbx-00000c08", "__QUEUEOPTION=") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call|15||||oraclepbx-1644254244.1743648|271456||||Tt||900|900|457||||||he' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is 'he' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:21] Set("SIP/oraclepbx-00000c08", "__LANGUAGE=he") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call|15||||oraclepbx-1644254244.1743648|271456||||Tt||900|900|457|||||' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:22] Set("SIP/oraclepbx-00000c08", "__FMFMCALLERID=") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call|15||||oraclepbx-1644254244.1743648|271456||||Tt||900|900|457||||' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:23] Set("SIP/oraclepbx-00000c08", "__FMFMDIALTIMEOUT=") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call|15||||oraclepbx-1644254244.1743648|271456||||Tt||900|900|457|||' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:24] Set("SIP/oraclepbx-00000c08", "__BLINDCONNECTEDNUM=") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call|15||||oraclepbx-1644254244.1743648|271456||||Tt||900|900|457||' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:25] Set("SIP/oraclepbx-00000c08", "__ONANSWERID=") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call|15||||oraclepbx-1644254244.1743648|271456||||Tt||900|900|457|' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:26] Set("SIP/oraclepbx-00000c08", "__ONANSWER=") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call|15||||oraclepbx-1644254244.1743648|271456||||Tt||900|900|457' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '457' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:27] Set("SIP/oraclepbx-00000c08", "CHANNEL(musicclass)=457") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call|15||||oraclepbx-1644254244.1743648|271456||||Tt||900|900' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '900' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:28] Set("SIP/oraclepbx-00000c08", "CDR(firstdst)=900") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call|15||||oraclepbx-1644254244.1743648|271456||||Tt||900' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '900' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:29] Set("SIP/oraclepbx-00000c08", "__DIALEDNUMBER=900") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call|15||||oraclepbx-1644254244.1743648|271456||||Tt|' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:30] Set("SIP/oraclepbx-00000c08", "__DIALTIMEOUT=") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call|15||||oraclepbx-1644254244.1743648|271456||||Tt' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is 'Tt' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:31] Set("SIP/oraclepbx-00000c08", "__DIALOPTION=Tt") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call|15||||oraclepbx-1644254244.1743648|271456|||' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:32] Set("SIP/oraclepbx-00000c08", "__NOFMFM=") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call|15||||oraclepbx-1644254244.1743648|271456||' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:33] Set("SIP/oraclepbx-00000c08", "__ONLYFMFM=") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call|15||||oraclepbx-1644254244.1743648|271456|' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:34] Set("SIP/oraclepbx-00000c08", "__NOFOLLOWEXTENSION=") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call|15||||oraclepbx-1644254244.1743648|271456' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '271456' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:35] Set("SIP/oraclepbx-00000c08", "__CDRcallSequence=271456") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call|15||||oraclepbx-1644254244.1743648' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:36] Set("SIP/oraclepbx-00000c08", "__CDRcallUniqueID=oraclepbx-1644254244.1743648") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call|15|||' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:37] Set("SIP/oraclepbx-00000c08", "__VALIDCALLERID=") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call|15||' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:38] Set("SIP/oraclepbx-00000c08", "__SETCALLERID=") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call|15|' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:39] Set("SIP/oraclepbx-00000c08", "__INCOMINGDID=") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call|15' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '15' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:40] Set("SIP/oraclepbx-00000c08", "__TENANTID=15") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call|200-call' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '200-call' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:41] Set("SIP/oraclepbx-00000c08", "__REALPEERNAME=200-call") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98|200-call' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '200-call' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:42] Set("SIP/oraclepbx-00000c08", "__PEERNAME=200-call") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '98' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '98' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:43] Set("SIP/oraclepbx-00000c08", "__TTL=98") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:44] NoOp("SIP/oraclepbx-00000c08", "Finish if_decodeCallParams_1375") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'LANGUAGE' is 'he' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:45] GotoIf("SIP/oraclepbx-00000c08", "1?46:49") in new stack [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (decodeCallParams,~~s~~,46) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'LANGUAGE' is 'he' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:46] Set("SIP/oraclepbx-00000c08", "CHANNEL(language)=he") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function CHANNEL(language) result is 'he' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'he' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function SQL_ESC(he) result is 'he' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 5 for column 'la_id' (offset 0) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '15' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 12 for column 'la_directory' (offset 1) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,he' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 15 for column 'la_languagecode' (offset 2) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,he,he' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 18 for column 'la_sublanguagecode' (offset 3) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of 'IL' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 9 for column 'la_locale' (offset 4) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 7 for column 'la_flag' (offset 5) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of 'il' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 11 for column 'la_language' (offset 6) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of 'Hebrew' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 10 for column 'la_enabled' (offset 7) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 11 for column 'la_tonezone' (offset 8) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of 'il' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 6 for column 'la_rtl' (offset 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of 'yes' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function ODBC_GET_ALL_LANGUAGE_INFO_FROM_DIRECTORY(he) result is '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:47] Set("SIP/oraclepbx-00000c08", "HASH(alllanguage)=15,he,he,IL,he,il,Hebrew,on,il,yes") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array (la_id,la_directory,la_languagecode,la_sublanguagecode,la_locale,la_flag,la_language,la_enabled,la_tonezone,la_rtl=15,he,he,IL,he,il,Hebrew,on,il,yes) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (la_id=15) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (la_directory=he) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (la_languagecode=he) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (la_sublanguagecode=IL) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (la_locale=he) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (la_flag=il) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (la_language=Hebrew) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (la_enabled=on) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (la_tonezone=il) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (la_rtl=yes) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function HASH(alllanguage,la_tonezone) result is 'il' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:48] Set("SIP/oraclepbx-00000c08", "CHANNEL(tonezone)=il") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:49] NoOp("SIP/oraclepbx-00000c08", "Finish if_decodeCallParams_1376") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'CDRcallUniqueID' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'CELGenUserEvent' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:50] CELGenUserEvent("SIP/oraclepbx-00000c08", "PREVUNIQUEID,oraclepbx-1644254244.1743648") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'CDRcallUniqueID' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:51] GotoIf("SIP/oraclepbx-00000c08", "0?52:53") in new stack [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (decodeCallParams,~~s~~,53) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:53] NoOp("SIP/oraclepbx-00000c08", "Finish if_decodeCallParams_1377") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'USERVARLIST' (from 'USERVARLIST}' len 11) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'USERVARLIST' is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function SHIFT(USERVARLIST) result is '(null)' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function SET(var=) result is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:54] GotoIf("SIP/oraclepbx-00000c08", "0?55:59") in new stack [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (decodeCallParams,~~s~~,59) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:59] NoOp("SIP/oraclepbx-00000c08", "Finish while_decodeCallParams_1378") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:60] Return("SIP/oraclepbx-00000c08", "") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'UNIQUEID' is 'db02-1644254244.72696' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'SIPAddHeader' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [QUEUE-9@fromotherpbx:7] SIPAddHeader("SIP/oraclepbx-00000c08", "X-VoipMonitor-Custom1: db02-1644254244.72696") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] chan_sip.c: SIP Header added "X-VoipMonitor-Custom1: db02-1644254244.72696" as __SIPADDHEADER01 [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is 'QUEUE-9' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '9' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function SQL_ESC(9) result is '9' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 8 for column 'qu_te_id' (offset 0) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '15' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function ODBC_GET_TENANT_FROM_QUEUE_ID(9) result is '15' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [QUEUE-9@fromotherpbx:8] Set("SIP/oraclepbx-00000c08", "__TENANTID=15") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 7 for column 'te_code' (offset 0) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of 'call' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to 'call' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to 'call' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function ODBC_ACCOUNTCODE_FROM_TENANTID(15) result is 'call' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [QUEUE-9@fromotherpbx:9] Set("SIP/oraclepbx-00000c08", "__TENANTCODE=call") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [QUEUE-9@fromotherpbx:10] Set("SIP/oraclepbx-00000c08", "__TRANSFER_CONTEXT=authenticated") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'CDRcallUniqueID' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [QUEUE-9@fromotherpbx:11] Set("SIP/oraclepbx-00000c08", "CDR(prevuniqueid)=oraclepbx-1644254244.1743648") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'CDRcallSequence' is '271456' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [QUEUE-9@fromotherpbx:12] Set("SIP/oraclepbx-00000c08", "CDR(prevsequence)=271456") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'TENANTCODE' is 'call' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [QUEUE-9@fromotherpbx:13] Set("SIP/oraclepbx-00000c08", "CDR(accountcode)=call") in new stack [2022-02-07 19:17:24] WARNING[4560][C-00000e4d] func_cdr.c: Using the CDR function to set 'accountcode' is deprecated. Please use the CHANNEL function instead. [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function SIP_HEADER(Call-Info) result is '(null)' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [QUEUE-9@fromotherpbx:14] Set("SIP/oraclepbx-00000c08", "Call-Info=") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'Call-Info' is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [QUEUE-9@fromotherpbx:15] GotoIf("SIP/oraclepbx-00000c08", "0?16:17") in new stack [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,QUEUE-9,17) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [QUEUE-9@fromotherpbx:17] NoOp("SIP/oraclepbx-00000c08", "Finish if_fromotherpbx_1507") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function SIP_HEADER(Alert-Info) result is '(null)' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [QUEUE-9@fromotherpbx:18] Set("SIP/oraclepbx-00000c08", "Alert-Info=") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'Alert-Info' is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [QUEUE-9@fromotherpbx:19] GotoIf("SIP/oraclepbx-00000c08", "0?20:21") in new stack [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,QUEUE-9,21) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [QUEUE-9@fromotherpbx:21] NoOp("SIP/oraclepbx-00000c08", "Finish if_fromotherpbx_1508") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function SIP_HEADER(X-PRIORITY) result is '(null)' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [QUEUE-9@fromotherpbx:22] Set("SIP/oraclepbx-00000c08", "priority=") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is 'QUEUE-9' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [QUEUE-9@fromotherpbx:23] Set("SIP/oraclepbx-00000c08", "QUEUEID=9") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 5 for column 'te_id' (offset 0) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '15' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 7 for column 'te_code' (offset 1) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of 'call' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 13 for column 'te_alertemail' (offset 2) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 8 for column 'te_cl_id' (offset 3) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 15 for column 'te_payment_type' (offset 4) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of 'Post Paid' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 8 for column 'te_rp_id' (offset 5) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '45' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 14 for column 'te_billingcode' (offset 6) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '1574692660' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 14 for column 'te_billingtype' (offset 7) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of 'CDR' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_disabled' (offset 8) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 20 for column 'te_prefixbillingcode' (offset 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 13 for column 'te_allowonnet' (offset 10) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 24 for column 'te_allowanycalleridusage' (offset 11) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 15 for column 'te_allowinonnet' (offset 12) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 12 for column 'te_billonnet' (offset 13) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 19 for column 'te_onnetdigitstoadd' (offset 14) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 22 for column 'te_onnetdigitstoremove' (offset 15) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_ca_rp_id' (offset 16) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 14 for column 'te_defaultrrid' (offset 17) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 12 for column 'te_sms_rp_id' (offset 18) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '77' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_ca_cl_id' (offset 19) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 13 for column 'te_costlimits' (offset 20) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 23 for column 'te_dailytenantcostlimit' (offset 21) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 25 for column 'te_monthlytenantcostlimit' (offset 22) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 17 for column 'te_routecostlimit' (offset 23) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_cr_no_id' (offset 24) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_ca_no_id' (offset 25) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 27 for column 'te_allowanycalleridforemerg' (offset 26) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 17 for column 'te_abusedetection' (offset 27) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 17 for column 'te_expirationdate' (offset 28) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0000-00-00' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 14 for column 'te_alertamount' (offset 29) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got NULL data [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 20 for column 'te_dailycostlimitdom' (offset 30) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 20 for column 'te_dailycostlimitint' (offset 31) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 26 for column 'te_dailytenantcostlimitdom' (offset 32) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 26 for column 'te_dailytenantcostlimitint' (offset 33) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 28 for column 'te_monthlytenantcostlimitdom' (offset 34) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 28 for column 'te_monthlytenantcostlimitint' (offset 35) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 22 for column 'te_dailycostwarningdom' (offset 36) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 22 for column 'te_dailycostwarningint' (offset 37) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 28 for column 'te_dailytenantcostwarningdom' (offset 38) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 28 for column 'te_dailytenantcostwarningint' (offset 39) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 30 for column 'te_monthlytenantcostwarningdom' (offset 40) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 30 for column 'te_monthlytenantcostwarningint' (offset 41) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 27 for column 'te_uploadrecordingatcallend' (offset 42) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of 'yes' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 25 for column 'te_dailytenantcostwarning' (offset 43) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 27 for column 'te_monthlytenantcostwarning' (offset 44) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 19 for column 'te_dailycostwarning' (offset 45) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 18 for column 'te_recordemergency' (offset 46) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 24 for column 'te_recordemergency_email' (offset 47) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_timezone' (offset 48) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 29 for column 'te_allowincomingcalleridusage' (offset 49) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 16 for column 'te_forcepinonnet' (offset 50) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 17 for column 'te_dailycostlimit' (offset 51) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 19 for column 'te_monthlycostlimit' (offset 52) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 22 for column 'te_monthlycostlimitdom' (offset 53) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 22 for column 'te_monthlycostlimitint' (offset 54) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 24 for column 'te_monthlycostwarningdom' (offset 55) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 24 for column 'te_monthlycostwarningint' (offset 56) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function ODBC_TENANTINFO_FROM_ID(15) result is '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [QUEUE-9@fromotherpbx:24] Set("SIP/oraclepbx-00000c08", "HASH(tenantinfo)=15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array (te_id,te_code,te_alertemail,te_cl_id,te_payment_type,te_rp_id,te_billingcode,te_billingtype,te_disabled,te_prefixbillingcode,te_allowonnet,te_allowanycalleridusage,te_allowinonnet,te_billonnet,te_onnetdigitstoadd,te_onnetdigitstoremove,te_ca_rp_id,te_defaultrrid,te_sms_rp_id,te_ca_cl_id,te_costlimits,te_dailytenantcostlimit,te_monthlytenantcostlimit,te_routecostlimit,te_cr_no_id,te_ca_no_id,te_allowanycalleridforemerg,te_abusedetection,te_expirationdate,te_alertamount,te_dailycostlimitdom,te_dailycostlimitint,te_dailytenantcostlimitdom,te_dailytenantcostlimitint,te_monthlytenantcostlimitdom,te_monthlytenantcostlimitint,te_dailycostwarningdom,te_dailycostwarningint,te_dailytenantcostwarningdom,te_dailytenantcostwarningint,te_monthlytenantcostwarningdom,te_monthlytenantcostwarningint,te_uploadrecordingatcallend,te_dailytenantcostwarning,te_monthlytenantcostwarning,te_dailycostwarning,te_recordemergency,te_recordemergency_email,te_timezone,te_allowincomingcalleridusage,te_forcepinonnet,te_dailycostlimit,te_monthlycostlimit,te_monthlycostlimitdom,te_monthlycostlimitint,te_monthlycostwarningdom,te_monthlycostwarningint=15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_id=15) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_code=call) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_alertemail=) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_cl_id=0) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_payment_type=Post Paid) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_rp_id=45) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_billingcode=1574692660) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_billingtype=CDR) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_disabled=) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_prefixbillingcode=) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_allowonnet=) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_allowanycalleridusage=on) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_allowinonnet=on) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_billonnet=) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_onnetdigitstoadd=) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_onnetdigitstoremove=0) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_ca_rp_id=0) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_defaultrrid=0) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_sms_rp_id=77) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_ca_cl_id=0) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_costlimits=) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_dailytenantcostlimit=0.00000) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostlimit=0.00000) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_routecostlimit=0.00000) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_cr_no_id=0) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_ca_no_id=0) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_allowanycalleridforemerg=on) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_abusedetection=) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_expirationdate=0000-00-00) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_alertamount=) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_dailycostlimitdom=0.00000) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_dailycostlimitint=0.00000) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_dailytenantcostlimitdom=0.00000) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_dailytenantcostlimitint=0.00000) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostlimitdom=0.00000) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostlimitint=0.00000) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_dailycostwarningdom=0.00000) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_dailycostwarningint=0.00000) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_dailytenantcostwarningdom=0.00000) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_dailytenantcostwarningint=0.00000) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostwarningdom=0.00000) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostwarningint=0.00000) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_uploadrecordingatcallend=yes) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_dailytenantcostwarning=0.00000) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostwarning=0.00000) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_dailycostwarning=0.00000) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_recordemergency=) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_recordemergency_email=) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_timezone=) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_allowincomingcalleridusage=) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_forcepinonnet=) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_dailycostlimit=0.00000) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_monthlycostlimit=0.00000) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_monthlycostlimitdom=0.00000) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_monthlycostlimitint=0.00000) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_monthlycostwarningdom=0.00000) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (te_monthlycostwarningint=0.00000) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function HASH(tenantinfo,te_timezone) result is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [QUEUE-9@fromotherpbx:25] Set("SIP/oraclepbx-00000c08", "__TIMEZONE=") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'QUEUEID' is '9' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'priority' is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [QUEUE-9@fromotherpbx:26] Gosub("SIP/oraclepbx-00000c08", "dialqueue,~~s~~,1(9,)") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] app_stack.c: Setting 'ARG1' to '9' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '9' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:1] MSet("SIP/oraclepbx-00000c08", "LOCAL(quid)=9") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:2] MSet("SIP/oraclepbx-00000c08", "LOCAL(priority)=") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:3] Gosub("SIP/oraclepbx-00000c08", "checkTTL,~~s~~,1") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'TTL' is '98' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:1] GotoIf("SIP/oraclepbx-00000c08", "0?2:6") in new stack [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (checkTTL,~~s~~,6) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:6] NoOp("SIP/oraclepbx-00000c08", "Finish if_checkTTL_2129") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'TTL' is '98' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '97' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:7] Set("SIP/oraclepbx-00000c08", "TTL=97") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'TTL' is '97' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:8] GotoIf("SIP/oraclepbx-00000c08", "0?9:13") in new stack [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (checkTTL,~~s~~,13) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:13] NoOp("SIP/oraclepbx-00000c08", "Finish if_checkTTL_2131") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'maxanychannels' is NULL [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:14] GotoIf("SIP/oraclepbx-00000c08", "1?15:16") in new stack [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (checkTTL,~~s~~,15) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 17 for column 'te_maxanychannels' (offset 0) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '-1' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '-1' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '-1' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function ODBC_ANYCHANNELSLIMIT_FROM_TENANTID(15) result is '-1' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:15] Set("SIP/oraclepbx-00000c08", "__maxanychannels=-1") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:16] NoOp("SIP/oraclepbx-00000c08", "Finish if_checkTTL_2132") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:17] Set("SIP/oraclepbx-00000c08", "GROUP(ANYTENANT)=15") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SYSTEMNAME' is 'db02' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function GROUP_COUNT(15@ANYTENANT) result is '1' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:18] Set("SIP/oraclepbx-00000c08", "ODBC_SET_GROUP_COUNT(15@ANYTENANT,db02)=1") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}','${SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15@ANYTENANT' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function SQL_ESC(15@ANYTENANT) result is '15@ANYTENANT' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'db02' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02) result is 'db02' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '1' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function SQL_ESC(1) result is '1' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '1' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function SQL_ESC(1) result is '1' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'maxanychannels' is '-1' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'maxanychannels' is '-1' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:19] GotoIf("SIP/oraclepbx-00000c08", "0?20:27") in new stack [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (checkTTL,~~s~~,27) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:27] NoOp("SIP/oraclepbx-00000c08", "Finish if_checkTTL_2133") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:28] Return("SIP/oraclepbx-00000c08", "") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'priority' is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:4] GotoIf("SIP/oraclepbx-00000c08", "1?5:6") in new stack [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (dialqueue,~~s~~,5) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'QUEUEPRIORITY' is NULL [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:5] Set("SIP/oraclepbx-00000c08", "priority=") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:6] NoOp("SIP/oraclepbx-00000c08", "Finish if_dialqueue_2049") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'quid' is '9' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and name='${SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '9' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function SQL_ESC(9) result is '9' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '9' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function SQL_ESC(9) result is '9' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 5 for column 'qu_id' (offset 0) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '9' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '9' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 9 for column 'qu_hosted' (offset 1) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of 'db02' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '9,db02' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 15 for column 'qu_alwaysrecord' (offset 2) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of 'yes' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 10 for column 'qu_timeout' (offset 3) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '90' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 13 for column 'qu_parameters' (offset 4) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of 't' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 13 for column 'qu_nobodyhome' (offset 5) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 14 for column 'qu_calltimeout' (offset 6) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '7200' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 23 for column 'qu_agent_announce_me_id' (offset 7) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 7 for column 'qu_name' (offset 8) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of 'ראשי' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 15 for column 'qu_nofreemember' (offset 9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 9 for column 'qu_ivr_id' (offset 10) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '17' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 14 for column 'qu_agent_ag_id' (offset 11) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 29 for column 'qu_agent_confirmmessage_me_id' (offset 12) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '16' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 12 for column 'qu_agentname' (offset 13) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of 'NUMBER' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 9 for column 'qu_number' (offset 14) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '900' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 20 for column 'qu_allowoptimization' (offset 15) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 14 for column 'monitor_format' (offset 16) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of 'wav' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 12 for column 'qu_spygroups' (offset 17) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 12 for column 'qu_ringinuse' (offset 18) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of 'no' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 13 for column 'qu_minpenalty' (offset 19) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 13 for column 'qu_maxpenalty' (offset 20) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '1' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 15 for column 'qu_raisepenalty' (offset 21) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1,0' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1,0' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function ODBC_GET_QUEUE_FROM_ID(9) result is '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1,0' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:7] Set("SIP/oraclepbx-00000c08", "HASH(queue)=9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1,0") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array (qu_id,qu_hosted,qu_alwaysrecord,qu_timeout,qu_parameters,qu_nobodyhome,qu_calltimeout,qu_agent_announce_me_id,qu_name,qu_nofreemember,qu_ivr_id,qu_agent_ag_id,qu_agent_confirmmessage_me_id,qu_agentname,qu_number,qu_allowoptimization,monitor_format,qu_spygroups,qu_ringinuse,qu_minpenalty,qu_maxpenalty,qu_raisepenalty=9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1,0) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (qu_id=9) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (qu_hosted=db02) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (qu_alwaysrecord=yes) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (qu_timeout=90) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (qu_parameters=t) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (qu_nobodyhome=) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (qu_calltimeout=7200) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (qu_agent_announce_me_id=0) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (qu_name=ראשי) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (qu_nofreemember=) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (qu_ivr_id=17) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (qu_agent_ag_id=0) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (qu_agent_confirmmessage_me_id=16) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (qu_agentname=NUMBER) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (qu_number=900) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (qu_allowoptimization=on) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (monitor_format=wav) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (qu_spygroups=) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (qu_ringinuse=no) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (qu_minpenalty=0) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (qu_maxpenalty=1) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] func_strings.c: array set value (qu_raisepenalty=0) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'quid' is '9' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:8] Set("SIP/oraclepbx-00000c08", "__queueid=9") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'quid' is '9' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:9] Set("SIP/oraclepbx-00000c08", "__FROMQUEUEID=9") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function HASH(queue,qu_number) result is '900' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:10] GotoIf("SIP/oraclepbx-00000c08", "1?11:13") in new stack [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (dialqueue,~~s~~,11) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function HASH(queue,qu_number) result is '900' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'TENANTCODE' is 'call' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:11] Set("SIP/oraclepbx-00000c08", "__queuenumber=900-call") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:12] Goto("SIP/oraclepbx-00000c08", "14") in new stack [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (dialqueue,~~s~~,14) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:14] NoOp("SIP/oraclepbx-00000c08", "Finish if_dialqueue_2050") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function HASH(queue,qu_hosted) result is 'db02' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:15] GotoIf("SIP/oraclepbx-00000c08", "0?16:20") in new stack [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (dialqueue,~~s~~,20) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:20] NoOp("SIP/oraclepbx-00000c08", "Finish if_dialqueue_2051") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function HASH(queue,qu_nobodyhome) result is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function HASH(queue,qu_nofreemember) result is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:21] GotoIf("SIP/oraclepbx-00000c08", "0?22:50") in new stack [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (dialqueue,~~s~~,50) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:50] NoOp("SIP/oraclepbx-00000c08", "Finish if_dialqueue_2052") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function HASH(queue,monitor_format) result is 'wav' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:51] GotoIf("SIP/oraclepbx-00000c08", "1?52:55") in new stack [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (dialqueue,~~s~~,52) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'MIXMONITOR_FILENAME' is NULL [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:52] GotoIf("SIP/oraclepbx-00000c08", "1?53:54") in new stack [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (dialqueue,~~s~~,53) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function CHANNEL(UniqueID) result is 'db02-1644254244.72696' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function HASH(queue,monitor_format) result is 'wav' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:53] Set("SIP/oraclepbx-00000c08", "__MIXMONITOR_FILENAME=db02-1644254244.72696.wav") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:54] NoOp("SIP/oraclepbx-00000c08", "Finish if_if_dialqueue_2058_2059") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:55] NoOp("SIP/oraclepbx-00000c08", "Finish if_dialqueue_2058") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:56] Gosub("SIP/oraclepbx-00000c08", "encodeCallParams,~~s~~,1") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function HASHKEYS(USRVARS) result is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:1] Set("SIP/oraclepbx-00000c08", "USERVARLIST=") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function HASH(USRVARS) result is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:2] Set("SIP/oraclepbx-00000c08", "USERVARVALUES=") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'SIPRemoveHeader' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:3] SIPRemoveHeader("SIP/oraclepbx-00000c08", "X-PBX") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'CDRcallUniqueID' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:4] GotoIf("SIP/oraclepbx-00000c08", "0?5:6") in new stack [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (encodeCallParams,~~s~~,6) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:6] NoOp("SIP/oraclepbx-00000c08", "Finish if_encodeCallParams_1373") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'TTL' is '97' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'PEERNAME' is '200-call' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'REALPEERNAME' is '200-call' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'INCOMINGDID' is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SETCALLERID' is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'VALIDCALLERID' is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'CDRcallUniqueID' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function CDR(sequence) result is '13300' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'NOFOLLOWEXTENSION' is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'ONLYFMFM' is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'NOFMFM' is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'DIALOPTION' is 'Tt' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'DIALTIMEOUT' is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'DIALEDNUMBER' is '900' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function CDR(firstdst) result is '900' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function CHANNEL(musicclass) result is '457' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'ONANSWER' is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'ONANSWERID' is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'BLINDCONNECTEDNUM' is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'FMFMDIALTIMEOUT' is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'FMFMCALLERID' is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'LANGUAGE' is 'he' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'QUEUEOPTION' is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'FROMQUEUEID' is '9' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'PRIVACYID' is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'RESPONSEPATHID' is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'PLAYBACKOPTION' is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SETQUEUERULE' is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SETQUEUEMINPENALTY' is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SETQUEUEMAXPENALTY' is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SETQUEUERAISEPENALTY' is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'USERVARLIST' is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'USERVARVALUES' is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'AUTOANSWER' is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'QUEUE_MAX_PENALTY' is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'QUEUE_MIN_PENALTY' is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'QUEUE_RAISE_PENALTY' is '' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:7] Set("SIP/oraclepbx-00000c08", "__PBX=97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||||") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'PBX' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||||' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function LEN(97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||||) result is '102' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:8] NoOp("SIP/oraclepbx-00000c08", "Call params length: 102") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'PBX' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||||' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'SIPAddHeader' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:9] SIPAddHeader("SIP/oraclepbx-00000c08", "X-PBX: 97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||||") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] chan_sip.c: SIP Header added "X-PBX: 97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||||" as __SIPADDHEADER02 [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:10] Return("SIP/oraclepbx-00000c08", "") in new stack [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Function HASH(queue,qu_hosted) result is 'db02' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SYSTEMNAME' is 'db02' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:57] GotoIf("SIP/oraclepbx-00000c08", "1?58:134") in new stack [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (dialqueue,~~s~~,58) [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'quid' is '9' [2022-02-07 19:17:24] DEBUG[4560][C-00000e4d] pbx.c: Launching 'CELGenUserEvent' [2022-02-07 19:17:24] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:58] CELGenUserEvent("SIP/oraclepbx-00000c08", "DIALQUEUE,9") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'quid' is '9' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:59] Gosub("SIP/oraclepbx-00000c08", "syncQueueMessages,~~s~~,1(9)") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] app_stack.c: Setting 'ARG1' to '9' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '9' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:1] MSet("SIP/oraclepbx-00000c08", "LOCAL(quid)=9") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'quid' is '9' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '9' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Function SQL_ESC(9) result is '9' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 19 for column 'qu_youarenext_me_id' (offset 0) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 17 for column 'qu_thereare_me_id' (offset 1) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '0,0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 21 for column 'qu_callswaiting_me_id' (offset 2) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '0,0,0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 17 for column 'qu_thankyou_me_id' (offset 3) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '0,0,0,0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 17 for column 'qu_holdtime_me_id' (offset 4) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '0,0,0,0,0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 23 for column 'qu_agent_announce_me_id' (offset 5) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '0,0,0,0,0,0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '0,0,0,0,0,0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Function ODBC_GET_QUEUE_MESSAGES_ID(9) result is '0,0,0,0,0,0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:2] Set("SIP/oraclepbx-00000c08", "ARRAY(LOCAL(youarenext_id),LOCAL(thereare_id),LOCAL(callswaiting_id),LOCAL(thankyou_id),LOCAL(holdtime_id),LOCAL(announce_id))=0,0,0,0,0,0") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_strings.c: array (LOCAL(youarenext_id),LOCAL(thereare_id),LOCAL(callswaiting_id),LOCAL(thankyou_id),LOCAL(holdtime_id),LOCAL(announce_id)=0,0,0,0,0,0) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_strings.c: array set value (LOCAL(youarenext_id)=0) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_strings.c: array set value (LOCAL(thereare_id)=0) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_strings.c: array set value (LOCAL(callswaiting_id)=0) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_strings.c: array set value (LOCAL(thankyou_id)=0) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_strings.c: array set value (LOCAL(holdtime_id)=0) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_strings.c: array set value (LOCAL(announce_id)=0) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'quid' is '9' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '9' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Function SQL_ESC(9) result is '9' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 16 for column 'queue_youarenext' (offset 0) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 14 for column 'queue_thereare' (offset 1) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to ',' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 18 for column 'queue_callswaiting' (offset 2) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to ',,' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 14 for column 'queue_thankyou' (offset 3) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to ',,,' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 17 for column 'periodic_announce' (offset 4) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of 'pbx/f9a5868d4161f6af4c99b2cc76907270' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to ',,,,pbx/f9a5868d4161f6af4c99b2cc76907270' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 14 for column 'queue_holdtime' (offset 5) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to ',,,,pbx/f9a5868d4161f6af4c99b2cc76907270,' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 8 for column 'announce' (offset 6) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to ',,,,pbx/f9a5868d4161f6af4c99b2cc76907270,,' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to ',,,,pbx/f9a5868d4161f6af4c99b2cc76907270,,' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Function ODBC_GET_QUEUE_MESSAGES_MD5(9) result is ',,,,pbx/f9a5868d4161f6af4c99b2cc76907270,,' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:3] Set("SIP/oraclepbx-00000c08", "ARRAY(LOCAL(q_youarenext_md5),LOCAL(q_thereare_md5),LOCAL(q_callswaiting_md5),LOCAL(q_thankyou_md5),LOCAL(q_periodicannounce_md5),LOCAL(q_holdtime_md5),LOCAL(q_announce_md5))=,,,,pbx/f9a5868d4161f6af4c99b2cc76907270,,") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_strings.c: array (LOCAL(q_youarenext_md5),LOCAL(q_thereare_md5),LOCAL(q_callswaiting_md5),LOCAL(q_thankyou_md5),LOCAL(q_periodicannounce_md5),LOCAL(q_holdtime_md5),LOCAL(q_announce_md5)=,,,,pbx/f9a5868d4161f6af4c99b2cc76907270,,) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_strings.c: array set value (LOCAL(q_youarenext_md5)=) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_strings.c: array set value (LOCAL(q_thereare_md5)=) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_strings.c: array set value (LOCAL(q_callswaiting_md5)=) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_strings.c: array set value (LOCAL(q_thankyou_md5)=) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_strings.c: array set value (LOCAL(q_periodicannounce_md5)=pbx/f9a5868d4161f6af4c99b2cc76907270) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_strings.c: array set value (LOCAL(q_holdtime_md5)=) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_strings.c: array set value (LOCAL(q_announce_md5)=) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'youarenext_id' is '0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:4] GotoIf("SIP/oraclepbx-00000c08", "0?5:11") in new stack [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (syncQueueMessages,~~s~~,11) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:11] Set("SIP/oraclepbx-00000c08", "youarenext_md5=") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:12] NoOp("SIP/oraclepbx-00000c08", "Finish if_syncQueueMessages_2033") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'thereare_id' is '0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:13] GotoIf("SIP/oraclepbx-00000c08", "0?14:20") in new stack [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (syncQueueMessages,~~s~~,20) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:20] Set("SIP/oraclepbx-00000c08", "thereare_md5=") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:21] NoOp("SIP/oraclepbx-00000c08", "Finish if_syncQueueMessages_2035") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'callswaiting_id' is '0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:22] GotoIf("SIP/oraclepbx-00000c08", "0?23:29") in new stack [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (syncQueueMessages,~~s~~,29) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:29] Set("SIP/oraclepbx-00000c08", "callswaiting_md5=") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:30] NoOp("SIP/oraclepbx-00000c08", "Finish if_syncQueueMessages_2037") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'thankyou_id' is '0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:31] GotoIf("SIP/oraclepbx-00000c08", "0?32:38") in new stack [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (syncQueueMessages,~~s~~,38) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:38] Set("SIP/oraclepbx-00000c08", "thankyou_md5=") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:39] NoOp("SIP/oraclepbx-00000c08", "Finish if_syncQueueMessages_2039") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'holdtime_id' is '0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:40] GotoIf("SIP/oraclepbx-00000c08", "0?41:47") in new stack [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (syncQueueMessages,~~s~~,47) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:47] Set("SIP/oraclepbx-00000c08", "holdtime_md5=") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:48] NoOp("SIP/oraclepbx-00000c08", "Finish if_syncQueueMessages_2041") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'announce_id' is '0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:49] GotoIf("SIP/oraclepbx-00000c08", "0?50:56") in new stack [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (syncQueueMessages,~~s~~,56) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:56] Set("SIP/oraclepbx-00000c08", "announce_md5=") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:57] NoOp("SIP/oraclepbx-00000c08", "Finish if_syncQueueMessages_2043") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:58] Set("SIP/oraclepbx-00000c08", "periodicannounce_md5=") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'quid' is '9' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and de_type_id_src='${SQL_ESC(${ARG2})}' order by de_ord desc' len 16) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'QUEUE-PERIODICANNOUNCE' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Function SQL_ESC(QUEUE-PERIODICANNOUNCE) result is 'QUEUE-PERIODICANNOUNCE' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' order by de_ord desc' len 16) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '9' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Function SQL_ESC(9) result is '9' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 11 for column 'de_type_dst' (offset 0) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of 'PLAYBACK' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to 'PLAYBACK' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 14 for column 'de_type_id_dst' (offset 1) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of '20' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to 'PLAYBACK,20' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to 'PLAYBACK,20' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Function ODBC_GET_DESTINATION_MULTIROW(QUEUE-PERIODICANNOUNCE,9) result is '982' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:59] Set("SIP/oraclepbx-00000c08", "LOCAL(periodicannounce_odbcid)=982") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'ODBCROWS' is '1' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:60] Set("SIP/oraclepbx-00000c08", "LOCAL(periodicannounce_odbcrows)=1") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:61] Set("SIP/oraclepbx-00000c08", "LOCAL(periodicannounce_counter)=0") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'periodicannounce_counter' is '0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'periodicannounce_odbcrows' is '1' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:62] GotoIf("SIP/oraclepbx-00000c08", "1?63:76") in new stack [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (syncQueueMessages,~~s~~,63) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'ClearHash' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:63] ClearHash("SIP/oraclepbx-00000c08", "periodicannounce_destination") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'periodicannounce_odbcid' is '982' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Function ODBC_FETCH(982) result is 'PLAYBACK,20' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:64] Set("SIP/oraclepbx-00000c08", "HASH(periodicannounce_destination)=PLAYBACK,20") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_strings.c: array (de_type_dst,de_type_id_dst=PLAYBACK,20) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_strings.c: array set value (de_type_dst=PLAYBACK) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_strings.c: array set value (de_type_id_dst=20) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'periodicannounce_counter' is '0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:65] Set("SIP/oraclepbx-00000c08", "LOCAL(periodicannounce_counter)=1 ") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Function HASH(periodicannounce_destination,de_type_id_dst) result is '20' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and me_type='STATIC'' len 16) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '20' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Function SQL_ESC(20) result is '20' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 6 for column 'me_md5' (offset 0) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of 'f9a5868d4161f6af4c99b2cc76907270' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to 'f9a5868d4161f6af4c99b2cc76907270' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: Got collength of 9 for column 'me_format' (offset 1) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: Got coldata of 'wav' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to 'f9a5868d4161f6af4c99b2cc76907270,wav' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_odbc.c: buf is now set to 'f9a5868d4161f6af4c99b2cc76907270,wav' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Function ODBC_MEDIAFILE_MD5_FROM_ID(20) result is 'f9a5868d4161f6af4c99b2cc76907270,wav' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:66] Set("SIP/oraclepbx-00000c08", "ARRAY(SYNCMEDIA,format)=f9a5868d4161f6af4c99b2cc76907270,wav") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_strings.c: array (SYNCMEDIA,format=f9a5868d4161f6af4c99b2cc76907270,wav) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_strings.c: array set value (SYNCMEDIA=f9a5868d4161f6af4c99b2cc76907270) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_strings.c: array set value (format=wav) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SYNCMEDIA' is 'f9a5868d4161f6af4c99b2cc76907270' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'ASTDATADIR' is '/var/lib/asterisk' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SYNCMEDIA' is 'f9a5868d4161f6af4c99b2cc76907270' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'format' is 'wav' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Function STAT(e,/var/lib/asterisk/sounds/pbx/f9a5868d4161f6af4c99b2cc76907270.wav) result is '1' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:67] GotoIf("SIP/oraclepbx-00000c08", "0?68:69") in new stack [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (syncQueueMessages,~~s~~,69) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:69] NoOp("SIP/oraclepbx-00000c08", "Finish if_while_syncQueueMessages_2045_2046") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'periodicannounce_md5' is '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:70] NoOp("SIP/oraclepbx-00000c08", "periodicannounce_md5 is ") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'periodicannounce_md5' is '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:71] GotoIf("SIP/oraclepbx-00000c08", "0?72:73") in new stack [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (syncQueueMessages,~~s~~,73) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:73] NoOp("SIP/oraclepbx-00000c08", "Finish if_while_syncQueueMessages_2045_2047") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'periodicannounce_md5' is '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SYNCMEDIA' is 'f9a5868d4161f6af4c99b2cc76907270' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:74] Set("SIP/oraclepbx-00000c08", "periodicannounce_md5=pbx/f9a5868d4161f6af4c99b2cc76907270") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:75] Goto("SIP/oraclepbx-00000c08", "62") in new stack [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (syncQueueMessages,~~s~~,62) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'periodicannounce_counter' is '1 ' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'periodicannounce_odbcrows' is '1' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:62] GotoIf("SIP/oraclepbx-00000c08", "0?63:76") in new stack [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (syncQueueMessages,~~s~~,76) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:76] NoOp("SIP/oraclepbx-00000c08", "Finish while_syncQueueMessages_2045") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'youarenext_md5' is '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'q_youarenext_md5' is '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'thereare_md5' is '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'q_thereare_md5' is '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'callswaiting_md5' is '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'q_callswaiting_md5' is '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'thankyou_md5' is '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'q_thankyou_md5' is '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'periodicannounce_md5' is 'pbx/f9a5868d4161f6af4c99b2cc76907270' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'q_periodicannounce_md5' is 'pbx/f9a5868d4161f6af4c99b2cc76907270' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'holdtime_md5' is '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'q_holdtime_md5' is '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'announce_md5' is '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'q_announce_md5' is '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:77] GotoIf("SIP/oraclepbx-00000c08", "0?78:79") in new stack [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (syncQueueMessages,~~s~~,79) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:79] NoOp("SIP/oraclepbx-00000c08", "Finish if_syncQueueMessages_2048") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@syncQueueMessages:80] Return("SIP/oraclepbx-00000c08", "") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Function HASH(queue,qu_parameters) result is 't' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_strings.c: c1=114, consumed=1, args.allowed=r [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] func_strings.c: Allowed: r [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Function FILTER(r,t) result is '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:60] Set("SIP/oraclepbx-00000c08", "RINGING=") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'RINGING' is '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'PLAYBACKOPTION' is '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:61] GotoIf("SIP/oraclepbx-00000c08", "1?62:63") in new stack [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (dialqueue,~~s~~,62) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Answer' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:62] Answer("SIP/oraclepbx-00000c08", "") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] chan_sip.c: SIP answering channel: SIP/oraclepbx-00000c08 [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_rtp_asterisk.c: (0x7fe7140f9b20) RTP setting the marker bit due to a source update [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_rtp_asterisk.c: (0x7fe7140f9b20) DTLS - ast_rtp_activate rtp=0x7fe714113890 - setup and perform DTLS' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_rtp_asterisk.c: (0x7fe714113890) DTLS perform handshake - ssl = (nil), setup = 0 [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_rtp_asterisk.c: (0x7fe714113890) DTLS perform handshake - ssl = (nil), setup = 0 [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] chan_sip.c: ** Our capability: (ulaw|alaw|gsm) Video flag: True Text flag: True [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] chan_sip.c: ** Our prefcodec: (nothing) [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] chan_sip.c: Audio is at 16918 [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] chan_sip.c: Adding codec ulaw to SDP [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] chan_sip.c: Adding codec alaw to SDP [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] chan_sip.c: Adding codec gsm to SDP [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] chan_sip.c: Adding non-codec 0x1 (telephone-event) to SDP [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] chan_sip.c: -- Done with adding codecs to SDP [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] chan_sip.c: Setting framing on incoming call: 0 [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] chan_sip.c: Done building SDP. Settling with this capability: (ulaw|alaw|gsm) [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] chan_sip.c: [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] chan_sip.c: *** SIP TIMER: Initializing retransmit timer on packet: Id #9 [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] chan_sip.c: Trying to put 'SIP/2.0 200' onto UDP socket destined for XXX.X.XXX.XX:5060 [2022-02-07 19:17:25] DEBUG[21823][C-00000e4d] chan_sip.c: **** Received ACK (6) - Command in SIP ACK [2022-02-07 19:17:25] DEBUG[21823][C-00000e4d] chan_sip.c: ** SIP TIMER: Cancelling retransmit of packet (reply received) Retransid #9 [2022-02-07 19:17:25] DEBUG[21823][C-00000e4d] chan_sip.c: Stopping retransmission on '743cdb5a254fcebe15ce6d7255efd6ae@XXX.X.XXX.XX:5060' of Response 102: Match Found [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:63] NoOp("SIP/oraclepbx-00000c08", "Finish if_if_dialqueue_2060_2061") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Function HASH(queue,qu_timeout) result is '90' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:64] GotoIf("SIP/oraclepbx-00000c08", "0?65:67") in new stack [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (dialqueue,~~s~~,67) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Function HASH(queue,qu_timeout) result is '90' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:67] Set("SIP/oraclepbx-00000c08", "QUTIMEOUT=90") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:68] NoOp("SIP/oraclepbx-00000c08", "Finish if_if_dialqueue_2060_2062") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'ONANSWERID' is '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:69] NoOp("SIP/oraclepbx-00000c08", "ONANSWERID is ") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Function HASH(queue,qu_ivr_id) result is '17' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:70] Set("SIP/oraclepbx-00000c08", "QUEUEIVR=17") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:71] Set("SIP/oraclepbx-00000c08", "QUEUEAGI=") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Function HASH(queue,qu_agent_ag_id) result is '0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:72] GotoIf("SIP/oraclepbx-00000c08", "0?73:85") in new stack [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (dialqueue,~~s~~,85) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:85] NoOp("SIP/oraclepbx-00000c08", "Finish if_if_dialqueue_2060_2063") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'RESPONSEPATHID' is '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:86] GotoIf("SIP/oraclepbx-00000c08", "0?87:88") in new stack [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (dialqueue,~~s~~,88) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:88] NoOp("SIP/oraclepbx-00000c08", "Finish if_if_dialqueue_2060_2066") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SETQUEUEMINPENALTY' is '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:89] GotoIf("SIP/oraclepbx-00000c08", "1?90:96") in new stack [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (dialqueue,~~s~~,90) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Function HASH(queue,qu_minpenalty) result is '0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:90] GotoIf("SIP/oraclepbx-00000c08", "1?91:93") in new stack [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (dialqueue,~~s~~,91) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Function HASH(queue,qu_minpenalty) result is '0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:91] Set("SIP/oraclepbx-00000c08", "QUEUE_MIN_PENALTY=0") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:92] Goto("SIP/oraclepbx-00000c08", "94") in new stack [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (dialqueue,~~s~~,94) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:94] NoOp("SIP/oraclepbx-00000c08", "Finish if_if_if_dialqueue_2060_2067_2068") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:95] Goto("SIP/oraclepbx-00000c08", "97") in new stack [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (dialqueue,~~s~~,97) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:97] NoOp("SIP/oraclepbx-00000c08", "Finish if_if_dialqueue_2060_2067") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SETQUEUEMAXPENALTY' is '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:98] GotoIf("SIP/oraclepbx-00000c08", "1?99:105") in new stack [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (dialqueue,~~s~~,99) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Function HASH(queue,qu_maxpenalty) result is '1' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:99] GotoIf("SIP/oraclepbx-00000c08", "1?100:102") in new stack [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (dialqueue,~~s~~,100) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Function HASH(queue,qu_maxpenalty) result is '1' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:100] Set("SIP/oraclepbx-00000c08", "QUEUE_MAX_PENALTY=1") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:101] Goto("SIP/oraclepbx-00000c08", "103") in new stack [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (dialqueue,~~s~~,103) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:103] NoOp("SIP/oraclepbx-00000c08", "Finish if_if_if_dialqueue_2060_2069_2070") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:104] Goto("SIP/oraclepbx-00000c08", "106") in new stack [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (dialqueue,~~s~~,106) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:106] NoOp("SIP/oraclepbx-00000c08", "Finish if_if_dialqueue_2060_2069") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SETQUEUERAISEPENALTY' is '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:107] GotoIf("SIP/oraclepbx-00000c08", "1?108:114") in new stack [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (dialqueue,~~s~~,108) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Function HASH(queue,qu_raisepenalty) result is '0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:108] GotoIf("SIP/oraclepbx-00000c08", "1?109:111") in new stack [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (dialqueue,~~s~~,109) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Function HASH(queue,qu_raisepenalty) result is '0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:109] Set("SIP/oraclepbx-00000c08", "QUEUE_RAISE_PENALTY=0") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:110] Goto("SIP/oraclepbx-00000c08", "112") in new stack [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (dialqueue,~~s~~,112) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:112] NoOp("SIP/oraclepbx-00000c08", "Finish if_if_if_dialqueue_2060_2071_2072") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:113] Goto("SIP/oraclepbx-00000c08", "115") in new stack [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (dialqueue,~~s~~,115) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:115] NoOp("SIP/oraclepbx-00000c08", "Finish if_if_dialqueue_2060_2071") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Function HASH(queue,qu_emailrecording) result is '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:116] GotoIf("SIP/oraclepbx-00000c08", "0?117:122") in new stack [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx_builtins.c: Goto (dialqueue,~~s~~,122) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:122] NoOp("SIP/oraclepbx-00000c08", "Finish if_if_dialqueue_2060_2073") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'quid' is '9' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Function HASH(queue,qu_parameters) result is 't' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'QUEUEOPTION' is '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'QUTIMEOUT' is '90' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'QUEUEAGI' is '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'SETQUEUERULE' is '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx_variables.c: Result of 'priority' is '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] pbx.c: Launching 'Queue' [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] pbx.c: Executing [~~s~~@dialqueue:123] Queue("SIP/oraclepbx-00000c08", "9,t,,,90,,,,,") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] app_queue.c: queue: 9, options: t, url: , announce: , timeout: 90, agi: , macro: , gosub: , rule: , position: [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] app_queue.c: NO QUEUE_PRIO variable found. Using default. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] app_queue.c: SIP/oraclepbx-00000c08: Got max penalty 1 from ${QUEUE_MAX_PENALTY}. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] app_queue.c: SIP/oraclepbx-00000c08: Got min penalty 0 from ${QUEUE_MIN_PENALTY}. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] app_queue.c: SIP/oraclepbx-00000c08: Got raise penalty 0 from ${QUEUE_RAISE_PENALTY}. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] app_queue.c: queue: 9, expires: 1644254335, priority: 0 [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_config_odbc.c: Skip: 0; SQL: SELECT * FROM queue_db02 WHERE name = ? [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_config_odbc.c: Parameter 1 ('name') = '9' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_config_odbc.c: Skip: 0; SQL: SELECT * FROM queue_member WHERE interface LIKE ? AND queue_name = ? ORDER BY interface [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_config_odbc.c: Parameter 1 ('interface LIKE') = '%' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_config_odbc.c: Parameter 2 ('queue_name') = '9' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] app_queue.c: Queue '9' Join, Channel 'SIP/oraclepbx-00000c08', Position '1' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_config_odbc.c: Skip: 0; SQL: INSERT INTO queue_log (time, data5, data4, data3, data2, data1, event, agent, queuename, callid) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_config_odbc.c: Parameter 1 ('time') = '2022-02-07 19:17:25.305900' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_config_odbc.c: Parameter 2 ('data5') = '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_config_odbc.c: Parameter 3 ('data4') = 'BEN' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_config_odbc.c: Parameter 4 ('data3') = '1' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_config_odbc.c: Parameter 5 ('data2') = '200' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_config_odbc.c: Parameter 6 ('data1') = '' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_config_odbc.c: Parameter 7 ('event') = 'ENTERQUEUE' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_config_odbc.c: Parameter 8 ('agent') = 'NONE' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_config_odbc.c: Parameter 9 ('queuename') = '9' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_config_odbc.c: Parameter 10 ('callid') = 'db02-1644254244.72696' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_config_odbc.c: Skip: 0; SQL: SELECT * FROM musiconhold WHERE name = ? [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_config_odbc.c: Parameter 1 ('name') = '457' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Channel SIP/oraclepbx-00000c08 setting write format path: slin -> ulaw [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] res_musiconhold.c: Started music on hold, class '457', on channel 'SIP/oraclepbx-00000c08' [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Scheduling timer at (50 requested / 50 actual) timer ticks per second [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] app_queue.c: There is 1 available member. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] app_queue.c: It's our turn (SIP/oraclepbx-00000c08). [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] app_queue.c: SIP/oraclepbx-00000c08 is trying to call a queue member. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] app_queue.c: (Parallel) Trying 'Local/AG-000-NF-38@fromotherpbx' with metric 0 [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] app_queue.c: Add 203 to pending_members [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel_internal_api.c: : Formats: (none) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel_internal_api.c: Channel is being initialized or destroyed [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] stasis.c: Creating topic. name: channel:db02-1644254245.72701, detail: [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] stasis.c: Topic 'channel:db02-1644254245.72701': 0x7fe64c00a080 created [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Channel 0x7fe64c043290 'Local/AG-000-NF-38@fromotherpbx-00000d2b;1' allocated [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel_internal_api.c: Local/AG-000-NF-38@fromotherpbx-00000d2b;1: MultistreamFormats: (ulaw) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel_internal_api.c: Set native formats but not topology [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel_internal_api.c: Local/AG-000-NF-38@fromotherpbx-00000d2b;1: <0:audio-0:audio:sendrecv (ulaw)> [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel_internal_api.c: Used provided topology [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel_internal_api.c: : Formats: (none) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel_internal_api.c: Channel is being initialized or destroyed [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] stasis.c: Creating topic. name: channel:db02-1644254245.72702, detail: [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] stasis.c: Topic 'channel:db02-1644254245.72702': 0x7fe64c0108d0 created [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Channel 0x7fe64c043e50 'Local/AG-000-NF-38@fromotherpbx-00000d2b;2' allocated [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel_internal_api.c: Local/AG-000-NF-38@fromotherpbx-00000d2b;2: MultistreamFormats: (ulaw) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel_internal_api.c: Set native formats but not topology [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel_internal_api.c: Local/AG-000-NF-38@fromotherpbx-00000d2b;2: <0:audio-0:audio:sendrecv (ulaw)> [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel_internal_api.c: Used provided topology [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel_internal_api.c: Channel Call ID changing from [C-00000e4d] to [C-00000e4d] [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SIPADDHEADER02 from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __PBX from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __MIXMONITOR_FILENAME from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __queuenumber from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __FROMQUEUEID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __queueid from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __maxanychannels from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __TIMEZONE from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __TRANSFER_CONTEXT from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __TENANTCODE from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __TENANTID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SIPADDHEADER01 from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __PEERNAME from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __REALPEERNAME from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __INCOMINGDID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SETCALLERID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __VALIDCALLERID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __CDRcallUniqueID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __CDRcallSequence from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __NOFOLLOWEXTENSION from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __ONLYFMFM from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __NOFMFM from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __DIALOPTION from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __DIALTIMEOUT from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __DIALEDNUMBER from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __ONANSWER from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __ONANSWERID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __BLINDCONNECTEDNUM from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __FMFMDIALTIMEOUT from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __FMFMCALLERID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __LANGUAGE from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __QUEUEOPTION from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __PRIVACYID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __RESPONSEPATHID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __PLAYBACKOPTION from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SETQUEUERULE from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SETQUEUEMINPENALTY from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SETQUEUEMAXPENALTY from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SETQUEUERAISEPENALTY from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __AUTOANSWER from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2b;1. [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] app_queue.c: Called Local/AG-000-NF-38@fromotherpbx [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] app_queue.c: (Parallel) Trying 'Local/AG-000-NF-35@fromotherpbx' with metric 0 [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] app_queue.c: Local/AG-000-NF-35@fromotherpbx not available, can't receive call [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] app_queue.c: (Parallel) Trying 'Local/AG-000-CC-538@fromotherpbx' with metric 0 [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] app_queue.c: Add xxxxxxxxxx to pending_members [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_rand.c: 9 was the lucky number in range [1,10] [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function RAND(1,10) result is '9' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0.45' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:1] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "WaitTime=0.45") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel_internal_api.c: : Formats: (none) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel_internal_api.c: Channel is being initialized or destroyed [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] stasis.c: Creating topic. name: channel:db02-1644254245.72704, detail: [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'WaitTime' is '0.45' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Wait' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:2] Wait("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0.45") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] stasis.c: Topic 'channel:db02-1644254245.72704': 0x7fe64c045850 created [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Channel 0x7fe64c01c380 'Local/AG-000-CC-538@fromotherpbx-00000d2c;1' allocated [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel_internal_api.c: Local/AG-000-CC-538@fromotherpbx-00000d2c;1: MultistreamFormats: (ulaw) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel_internal_api.c: Set native formats but not topology [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel_internal_api.c: Local/AG-000-CC-538@fromotherpbx-00000d2c;1: <0:audio-0:audio:sendrecv (ulaw)> [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel_internal_api.c: Used provided topology [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel_internal_api.c: : Formats: (none) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel_internal_api.c: Channel is being initialized or destroyed [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] stasis.c: Creating topic. name: channel:db02-1644254245.72706, detail: [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] stasis.c: Topic 'channel:db02-1644254245.72706': 0x7fe64c005610 created [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Channel 0x7fe64c0204b0 'Local/AG-000-CC-538@fromotherpbx-00000d2c;2' allocated [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel_internal_api.c: Local/AG-000-CC-538@fromotherpbx-00000d2c;2: MultistreamFormats: (ulaw) [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel_internal_api.c: Set native formats but not topology [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel_internal_api.c: Local/AG-000-CC-538@fromotherpbx-00000d2c;2: <0:audio-0:audio:sendrecv (ulaw)> [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel_internal_api.c: Used provided topology [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel_internal_api.c: Channel Call ID changing from [C-00000e4d] to [C-00000e4d] [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SIPADDHEADER02 from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __PBX from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __MIXMONITOR_FILENAME from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __queuenumber from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __FROMQUEUEID from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __queueid from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __maxanychannels from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __TIMEZONE from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __TRANSFER_CONTEXT from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __TENANTCODE from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __TENANTID from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SIPADDHEADER01 from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __PEERNAME from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __REALPEERNAME from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __INCOMINGDID from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SETCALLERID from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __VALIDCALLERID from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __CDRcallUniqueID from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __CDRcallSequence from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __NOFOLLOWEXTENSION from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __ONLYFMFM from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __NOFMFM from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __DIALOPTION from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __DIALTIMEOUT from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __DIALEDNUMBER from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __ONANSWER from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __ONANSWERID from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __BLINDCONNECTEDNUM from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __FMFMDIALTIMEOUT from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __FMFMCALLERID from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __LANGUAGE from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __QUEUEOPTION from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __PRIVACYID from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __RESPONSEPATHID from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __PLAYBACKOPTION from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SETQUEUERULE from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SETQUEUEMINPENALTY from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SETQUEUEMAXPENALTY from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SETQUEUERAISEPENALTY from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __AUTOANSWER from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d2c;1. [2022-02-07 19:17:25] VERBOSE[4560][C-00000e4d] app_queue.c: Called Local/AG-000-CC-538@fromotherpbx [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_rand.c: 10 was the lucky number in range [1,10] [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function RAND(1,10) result is '10' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0.5' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:1] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "WaitTime=0.5") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'WaitTime' is '0.5' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Wait' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:2] Wait("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0.5") in new stack [2022-02-07 19:17:25] DEBUG[4560][C-00000e4d] res_rtp_asterisk.c: (0x7fe7140f9b20) RTP ooh, format changed from none to ulaw [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:3] Gosub("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "decodeCallParams,~~s~~,1") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] app_stack.c: Channel Local/AG-000-NF-38@fromotherpbx-00000d2b;2 has no datastore, so we're allocating one. [2022-02-07 19:17:25] WARNING[4564][C-00000e4d] chan_sip.c: This function can only be used on SIP channels. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SIP_HEADER(X-PBX) result is '(null)' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:1] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "SIPHEADER=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:2] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "1?3:4") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (decodeCallParams,~~s~~,3) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'PBX' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||||' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:3] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "SIPHEADER=97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||||") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:4] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_decodeCallParams_1374") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||||' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:5] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "1?6:44") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (decodeCallParams,~~s~~,6) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||||' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:6] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__QUEUE_RAISE_PENALTY=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9||||||||||||' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:7] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__QUEUE_MIN_PENALTY=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:8] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__QUEUE_MAX_PENALTY=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9||||||||||' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:9] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__AUTOANSWER=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:10] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "USERVARVALUES=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9||||||||' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:11] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "USERVARLIST=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:12] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__SETQUEUERAISEPENALTY=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9||||||' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:13] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__SETQUEUEMAXPENALTY=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:14] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__SETQUEUEMINPENALTY=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9||||' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:15] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__SETQUEUERULE=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:16] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__PLAYBACKOPTION=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9||' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:17] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__RESPONSEPATHID=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:18] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__PRIVACYID=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '9' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:19] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__FROMQUEUEID=9") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he|' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:20] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__QUEUEOPTION=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is 'he' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:21] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__LANGUAGE=he") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457|||||' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:22] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__FMFMCALLERID=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:23] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__FMFMDIALTIMEOUT=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457|||' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:24] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__BLINDCONNECTEDNUM=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:25] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__ONANSWERID=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457|' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:26] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__ONANSWER=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '457' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:27] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "CHANNEL(musicclass)=457") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '900' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:28] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "CDR(firstdst)=900") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '900' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:29] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__DIALEDNUMBER=900") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt|' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:30] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__DIALTIMEOUT=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is 'Tt' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:31] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__DIALOPTION=Tt") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300|||' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:32] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__NOFMFM=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:33] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__ONLYFMFM=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300|' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:34] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__NOFOLLOWEXTENSION=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '13300' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:35] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__CDRcallSequence=13300") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:36] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__CDRcallUniqueID=oraclepbx-1644254244.1743648") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15|||' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:37] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__VALIDCALLERID=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:38] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__SETCALLERID=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15|' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:39] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__INCOMINGDID=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:40] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__TENANTID=15") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '200-call' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:41] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__REALPEERNAME=200-call") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '200-call' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:42] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__PEERNAME=200-call") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '97' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:43] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__TTL=97") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:44] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_decodeCallParams_1375") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'LANGUAGE' is 'he' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:45] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "1?46:49") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (decodeCallParams,~~s~~,46) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'LANGUAGE' is 'he' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:46] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "CHANNEL(language)=he") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CHANNEL(language) result is 'he' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'he' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(he) result is 'he' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 5 for column 'la_id' (offset 0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 12 for column 'la_directory' (offset 1) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,he' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 15 for column 'la_languagecode' (offset 2) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,he,he' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 18 for column 'la_sublanguagecode' (offset 3) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'IL' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 9 for column 'la_locale' (offset 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 7 for column 'la_flag' (offset 5) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'il' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 11 for column 'la_language' (offset 6) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'Hebrew' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 10 for column 'la_enabled' (offset 7) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 11 for column 'la_tonezone' (offset 8) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'il' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 6 for column 'la_rtl' (offset 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'yes' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_GET_ALL_LANGUAGE_INFO_FROM_DIRECTORY(he) result is '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:47] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "HASH(alllanguage)=15,he,he,IL,he,il,Hebrew,on,il,yes") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array (la_id,la_directory,la_languagecode,la_sublanguagecode,la_locale,la_flag,la_language,la_enabled,la_tonezone,la_rtl=15,he,he,IL,he,il,Hebrew,on,il,yes) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (la_id=15) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (la_directory=he) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (la_languagecode=he) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (la_sublanguagecode=IL) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (la_locale=he) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (la_flag=il) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (la_language=Hebrew) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (la_enabled=on) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (la_tonezone=il) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (la_rtl=yes) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(alllanguage,la_tonezone) result is 'il' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:48] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "CHANNEL(tonezone)=il") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:49] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_decodeCallParams_1376") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'CDRcallUniqueID' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'CELGenUserEvent' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:50] CELGenUserEvent("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "PREVUNIQUEID,oraclepbx-1644254244.1743648") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'CDRcallUniqueID' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:51] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?52:53") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (decodeCallParams,~~s~~,53) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:53] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_decodeCallParams_1377") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'USERVARLIST' (from 'USERVARLIST}' len 11) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'USERVARLIST' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SHIFT(USERVARLIST) result is '(null)' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SET(var=) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:54] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?55:59") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (decodeCallParams,~~s~~,59) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:59] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish while_decodeCallParams_1378") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:60] Return("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'QUEUENAME' is NULL [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:4] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Queue ringing ") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is 'AG-000-NF-38' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '200' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CHANNEL(musicclass) result is '457' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:5] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Received a call from another server for agent with extension ID 000-NF-38 and Callerid 200 Music class is 457") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'MAXCALLDURATION' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(MAXCALLDURATION) result is 'MAXCALLDURATION' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '7200' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '7200' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '7200' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,MAXCALLDURATION) result is '7200' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:6] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "MAXCALLDURATION=7200") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'MAXCALLDURATION' is '7200' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:7] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "1?8:9") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,8) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'MAXCALLDURATION' is '7200' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:8] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "TIMEOUT(absolute)=7200") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] func_timeout.c: Channel will hangup at 2022-02-07 21:17:25.832 IST. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:9] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_fromotherpbx_1572") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'UNIQUEID' is 'db02-1644254245.72702' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'SIPAddHeader' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:10] SIPAddHeader("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "X-VoipMonitor-Custom1: db02-1644254245.72702") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: SIP Header added "X-VoipMonitor-Custom1: db02-1644254245.72702" as __SIPADDHEADER03 [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'UNIQUEID' is 'db02-1644254245.72702' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:11] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__SIMPLEPREVUNIQUEID=db02-1644254245.72702") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:12] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__TRANSFER_CONTEXT=authenticated") in new stack [2022-02-07 19:17:25] WARNING[4564][C-00000e4d] chan_sip.c: This function can only be used on SIP channels. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SIP_HEADER(Call-Info) result is '(null)' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:13] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Call-Info=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'Call-Info' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:14] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?15:16") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:16] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_fromotherpbx_1573") in new stack [2022-02-07 19:17:25] WARNING[4564][C-00000e4d] chan_sip.c: This function can only be used on SIP channels. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SIP_HEADER(Alert-Info) result is '(null)' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:17] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Alert-Info=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'Alert-Info' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:18] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?19:20") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,20) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:20] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_fromotherpbx_1574") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 5 for column 'te_id' (offset 0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 7 for column 'te_code' (offset 1) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'call' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 13 for column 'te_alertemail' (offset 2) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 8 for column 'te_cl_id' (offset 3) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 15 for column 'te_payment_type' (offset 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'Post Paid' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 8 for column 'te_rp_id' (offset 5) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '45' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 14 for column 'te_billingcode' (offset 6) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '1574692660' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 14 for column 'te_billingtype' (offset 7) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'CDR' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_disabled' (offset 8) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 20 for column 'te_prefixbillingcode' (offset 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 13 for column 'te_allowonnet' (offset 10) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 24 for column 'te_allowanycalleridusage' (offset 11) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 15 for column 'te_allowinonnet' (offset 12) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 12 for column 'te_billonnet' (offset 13) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 19 for column 'te_onnetdigitstoadd' (offset 14) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 22 for column 'te_onnetdigitstoremove' (offset 15) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_ca_rp_id' (offset 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 14 for column 'te_defaultrrid' (offset 17) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 12 for column 'te_sms_rp_id' (offset 18) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '77' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_ca_cl_id' (offset 19) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 13 for column 'te_costlimits' (offset 20) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 23 for column 'te_dailytenantcostlimit' (offset 21) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 25 for column 'te_monthlytenantcostlimit' (offset 22) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 17 for column 'te_routecostlimit' (offset 23) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_cr_no_id' (offset 24) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_ca_no_id' (offset 25) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 27 for column 'te_allowanycalleridforemerg' (offset 26) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 17 for column 'te_abusedetection' (offset 27) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 17 for column 'te_expirationdate' (offset 28) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0000-00-00' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 14 for column 'te_alertamount' (offset 29) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got NULL data [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 20 for column 'te_dailycostlimitdom' (offset 30) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 20 for column 'te_dailycostlimitint' (offset 31) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 26 for column 'te_dailytenantcostlimitdom' (offset 32) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 26 for column 'te_dailytenantcostlimitint' (offset 33) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 28 for column 'te_monthlytenantcostlimitdom' (offset 34) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 28 for column 'te_monthlytenantcostlimitint' (offset 35) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 22 for column 'te_dailycostwarningdom' (offset 36) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 22 for column 'te_dailycostwarningint' (offset 37) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 28 for column 'te_dailytenantcostwarningdom' (offset 38) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 28 for column 'te_dailytenantcostwarningint' (offset 39) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 30 for column 'te_monthlytenantcostwarningdom' (offset 40) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 30 for column 'te_monthlytenantcostwarningint' (offset 41) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 27 for column 'te_uploadrecordingatcallend' (offset 42) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'yes' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 25 for column 'te_dailytenantcostwarning' (offset 43) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 27 for column 'te_monthlytenantcostwarning' (offset 44) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 19 for column 'te_dailycostwarning' (offset 45) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 18 for column 'te_recordemergency' (offset 46) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 24 for column 'te_recordemergency_email' (offset 47) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_timezone' (offset 48) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 29 for column 'te_allowincomingcalleridusage' (offset 49) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 16 for column 'te_forcepinonnet' (offset 50) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 17 for column 'te_dailycostlimit' (offset 51) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 19 for column 'te_monthlycostlimit' (offset 52) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 22 for column 'te_monthlycostlimitdom' (offset 53) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 22 for column 'te_monthlycostlimitint' (offset 54) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 24 for column 'te_monthlycostwarningdom' (offset 55) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 24 for column 'te_monthlycostwarningint' (offset 56) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_TENANTINFO_FROM_ID(15) result is '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:21] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "HASH(tenantinfo)=15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array (te_id,te_code,te_alertemail,te_cl_id,te_payment_type,te_rp_id,te_billingcode,te_billingtype,te_disabled,te_prefixbillingcode,te_allowonnet,te_allowanycalleridusage,te_allowinonnet,te_billonnet,te_onnetdigitstoadd,te_onnetdigitstoremove,te_ca_rp_id,te_defaultrrid,te_sms_rp_id,te_ca_cl_id,te_costlimits,te_dailytenantcostlimit,te_monthlytenantcostlimit,te_routecostlimit,te_cr_no_id,te_ca_no_id,te_allowanycalleridforemerg,te_abusedetection,te_expirationdate,te_alertamount,te_dailycostlimitdom,te_dailycostlimitint,te_dailytenantcostlimitdom,te_dailytenantcostlimitint,te_monthlytenantcostlimitdom,te_monthlytenantcostlimitint,te_dailycostwarningdom,te_dailycostwarningint,te_dailytenantcostwarningdom,te_dailytenantcostwarningint,te_monthlytenantcostwarningdom,te_monthlytenantcostwarningint,te_uploadrecordingatcallend,te_dailytenantcostwarning,te_monthlytenantcostwarning,te_dailycostwarning,te_recordemergency,te_recordemergency_email,te_timezone,te_allowincomingcalleridusage,te_forcepinonnet,te_dailycostlimit,te_monthlycostlimit,te_monthlycostlimitdom,te_monthlycostlimitint,te_monthlycostwarningdom,te_monthlycostwarningint=15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_id=15) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_code=call) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_alertemail=) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_cl_id=0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_payment_type=Post Paid) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_rp_id=45) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_billingcode=1574692660) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_billingtype=CDR) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_disabled=) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_prefixbillingcode=) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_allowonnet=) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_allowanycalleridusage=on) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_allowinonnet=on) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_billonnet=) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_onnetdigitstoadd=) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_onnetdigitstoremove=0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_ca_rp_id=0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_defaultrrid=0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_sms_rp_id=77) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_ca_cl_id=0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_costlimits=) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_dailytenantcostlimit=0.00000) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostlimit=0.00000) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_routecostlimit=0.00000) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_cr_no_id=0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_ca_no_id=0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_allowanycalleridforemerg=on) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_abusedetection=) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_expirationdate=0000-00-00) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_alertamount=) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_dailycostlimitdom=0.00000) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_dailycostlimitint=0.00000) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_dailytenantcostlimitdom=0.00000) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_dailytenantcostlimitint=0.00000) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostlimitdom=0.00000) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostlimitint=0.00000) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_dailycostwarningdom=0.00000) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_dailycostwarningint=0.00000) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_dailytenantcostwarningdom=0.00000) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_dailytenantcostwarningint=0.00000) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostwarningdom=0.00000) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostwarningint=0.00000) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_uploadrecordingatcallend=yes) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_dailytenantcostwarning=0.00000) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostwarning=0.00000) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_dailycostwarning=0.00000) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_recordemergency=) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_recordemergency_email=) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_timezone=) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_allowincomingcalleridusage=) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_forcepinonnet=) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_dailycostlimit=0.00000) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_monthlycostlimit=0.00000) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_monthlycostlimitdom=0.00000) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_monthlycostlimitint=0.00000) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_monthlycostwarningdom=0.00000) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_monthlycostwarningint=0.00000) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(tenantinfo,te_timezone) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:22] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__TIMEZONE=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPCALLID' is NULL [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:23] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "CDR(srcCallID)=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is 'AG-000-NF-38' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:24] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "membervalue=000-NF-38") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'membervalue' (from 'membervalue}' len 11) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'membervalue' is '000-NF-38' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CUT(membervalue,-,2) result is 'NF' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:25] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "membertype=NF") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'membervalue' (from 'membervalue}' len 11) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'membervalue' is '000-NF-38' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CUT(membervalue,-,3) result is '38' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:26] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "memberid=38") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'ClearHash' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:27] ClearHash("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "agentQueue") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'queueid' is '9' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and name='${SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '9' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(9) result is '9' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '9' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(9) result is '9' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 5 for column 'qu_id' (offset 0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '9' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '9' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 9 for column 'qu_hosted' (offset 1) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'db02' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '9,db02' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 15 for column 'qu_alwaysrecord' (offset 2) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'yes' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 10 for column 'qu_timeout' (offset 3) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '90' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 13 for column 'qu_parameters' (offset 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 't' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 13 for column 'qu_nobodyhome' (offset 5) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 14 for column 'qu_calltimeout' (offset 6) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '7200' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 23 for column 'qu_agent_announce_me_id' (offset 7) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 7 for column 'qu_name' (offset 8) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'ראשי' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 15 for column 'qu_nofreemember' (offset 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 9 for column 'qu_ivr_id' (offset 10) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '17' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 14 for column 'qu_agent_ag_id' (offset 11) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 29 for column 'qu_agent_confirmmessage_me_id' (offset 12) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '16' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 12 for column 'qu_agentname' (offset 13) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'NUMBER' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 9 for column 'qu_number' (offset 14) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '900' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 20 for column 'qu_allowoptimization' (offset 15) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 14 for column 'monitor_format' (offset 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'wav' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 12 for column 'qu_spygroups' (offset 17) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 12 for column 'qu_ringinuse' (offset 18) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'no' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 13 for column 'qu_minpenalty' (offset 19) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 13 for column 'qu_maxpenalty' (offset 20) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 15 for column 'qu_raisepenalty' (offset 21) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1,0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1,0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_GET_QUEUE_FROM_ID(9) result is '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1,0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:28] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "HASH(agentQueue)=9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1,0") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array (qu_id,qu_hosted,qu_alwaysrecord,qu_timeout,qu_parameters,qu_nobodyhome,qu_calltimeout,qu_agent_announce_me_id,qu_name,qu_nofreemember,qu_ivr_id,qu_agent_ag_id,qu_agent_confirmmessage_me_id,qu_agentname,qu_number,qu_allowoptimization,monitor_format,qu_spygroups,qu_ringinuse,qu_minpenalty,qu_maxpenalty,qu_raisepenalty=9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1,0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (qu_id=9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (qu_hosted=db02) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (qu_alwaysrecord=yes) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (qu_timeout=90) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (qu_parameters=t) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (qu_nobodyhome=) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (qu_calltimeout=7200) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (qu_agent_announce_me_id=0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (qu_name=ראשי) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (qu_nofreemember=) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (qu_ivr_id=17) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (qu_agent_ag_id=0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (qu_agent_confirmmessage_me_id=16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (qu_agentname=NUMBER) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (qu_number=900) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (qu_allowoptimization=on) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (monitor_format=wav) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (qu_spygroups=) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (qu_ringinuse=no) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (qu_minpenalty=0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (qu_maxpenalty=1) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (qu_raisepenalty=0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_spygroups) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:29] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?30:31") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,31) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:31] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_fromotherpbx_1575") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'RECORDOTHERLEG' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(RECORDOTHERLEG) result is 'RECORDOTHERLEG' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'on' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'on' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,RECORDOTHERLEG) result is 'on' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:32] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "RECORDOTHERLEG=on") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'ALWAYSRECORD' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(ALWAYSRECORD) result is 'ALWAYSRECORD' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'externalchange' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'externalchange' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'externalchange' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,ALWAYSRECORD) result is 'externalchange' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:33] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "ALWAYSRECORD=externalchange") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ALWAYSRECORD' is 'externalchange' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:34] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?35:36") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,36) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:36] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_fromotherpbx_1576") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'RECORDINGFORMAT' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(RECORDINGFORMAT) result is 'RECORDINGFORMAT' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,RECORDINGFORMAT) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:37] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "RECORDINGFORMAT=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'RECORDINGFORMAT' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:38] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "1?39:43") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,39) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(-1) result is '-1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'RECORDINGFORMAT' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(RECORDINGFORMAT) result is 'RECORDINGFORMAT' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'wav' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'wav' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'wav' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-1,RECORDINGFORMAT) result is 'wav' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:39] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "RECORDINGFORMAT=wav") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'RECORDINGFORMAT' is 'wav' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:40] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?41:42") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,42) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:42] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_if_fromotherpbx_1577_1578") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:43] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_fromotherpbx_1577") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'MIXMONITOR_FILENAME' is 'db02-1644254244.72696.wav' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:44] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?45:46") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,46) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:46] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_fromotherpbx_1579") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:47] Gosub("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "checkRecordingWarning,~~s~~,1") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'RECORDINGWARNING' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(RECORDINGWARNING) result is 'RECORDINGWARNING' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,RECORDINGWARNING) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@checkRecordingWarning:1] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "recordingwarning=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'recordingwarning' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@checkRecordingWarning:2] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?3:15") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (checkRecordingWarning,~~s~~,15) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@checkRecordingWarning:15] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_checkRecordingWarning_1398") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@checkRecordingWarning:16] Return("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_calltimeout) result is '7200' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:48] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?49:50") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,50) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:50] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_fromotherpbx_1580") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(realsrc) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:51] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "1?52:54") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,52) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_name) result is 'ראשי' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:52] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "CDR(realsrc)=Queue ראשי") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:53] Goto("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "59") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,59) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:59] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_fromotherpbx_1581") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_agent_confirmmessage_me_id) result is '16' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:60] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "1?61:67") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,61) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_agent_confirmmessage_me_id) result is '16' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and me_type='STATIC'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '16' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(16) result is '16' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 6 for column 'me_md5' (offset 0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 9 for column 'me_format' (offset 1) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'wav' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '9486fbd9ec639aa19a505a653fe47324,wav' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '9486fbd9ec639aa19a505a653fe47324,wav' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_MEDIAFILE_MD5_FROM_ID(16) result is '9486fbd9ec639aa19a505a653fe47324,wav' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:61] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "ARRAY(SYNCMEDIA,format)=9486fbd9ec639aa19a505a653fe47324,wav") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array (SYNCMEDIA,format=9486fbd9ec639aa19a505a653fe47324,wav) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (SYNCMEDIA=9486fbd9ec639aa19a505a653fe47324) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (format=wav) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SYNCMEDIA' is '9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ASTDATADIR' is '/var/lib/asterisk' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SYNCMEDIA' is '9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'format' is 'wav' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function STAT(e,/var/lib/asterisk/sounds/pbx/9486fbd9ec639aa19a505a653fe47324.wav) result is '1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:62] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?63:64") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,64) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:64] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_if_fromotherpbx_1583_1584") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SYNCMEDIA' is '9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:65] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__CONFIRMMD5=pbx/9486fbd9ec639aa19a505a653fe47324") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:66] Goto("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "68") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,68) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:68] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_fromotherpbx_1583") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_ringinuse) result is 'no' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:69] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Ringinuse is no") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'membertype' is 'NF' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:70] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?71:83") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,83) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'membertype' is 'NF' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:83] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "1?84:96") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,84) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:84] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "NOFOLLOWEXTENSION=yes") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:85] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "No Follow destination new member type") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'memberid' is '38' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '38' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(38) result is '38' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 9 for column 'ex_number' (offset 0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_DEVICENUMBER_FROM_ID(38) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:86] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "membernumber=203") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'memberid' is '38' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '38' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(38) result is '38' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 8 for column 'ex_te_id' (offset 0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_GET_TENANT_FROM_PEER_ID(38) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:87] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__TENANTID=15") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_ringinuse) result is 'no' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:88] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?89:94") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,94) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:94] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_if_if_fromotherpbx_1585_1588_1589") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:95] Goto("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "234") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,234) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:234] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_if_fromotherpbx_1585_1588") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:235] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_fromotherpbx_1585") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CHANNEL(musicclass) result is '457' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:236] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?237:238") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,238) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:238] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_fromotherpbx_1618") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 7 for column 'te_code' (offset 0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'call' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'call' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'call' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_ACCOUNTCODE_FROM_TENANTID(15) result is 'call' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:239] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "CDR(accountcode)=call") in new stack [2022-02-07 19:17:25] WARNING[4564][C-00000e4d] func_cdr.c: Using the CDR function to set 'accountcode' is deprecated. Please use the CHANNEL function instead. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(firstdst) result is '900' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:240] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?241:243") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,243) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is NULL [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:243] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "CDR(lastdst)=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:244] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_fromotherpbx_1619") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:245] Gosub("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "setLanguage,~~s~~,1") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'LANGUAGE' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(LANGUAGE) result is 'LANGUAGE' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'he' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'he' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,LANGUAGE) result is 'he' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is 'he' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:1] MSet("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "LANGUAGE=he") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'LANGUAGE' is 'he' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:2] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?3:4") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (setLanguage,~~s~~,4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:4] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_setLanguage_1365") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'LANGUAGE' is 'he' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:5] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "1?6:9") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (setLanguage,~~s~~,6) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'LANGUAGE' is 'he' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:6] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "CHANNEL(language)=he") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CHANNEL(language) result is 'he' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'he' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(he) result is 'he' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 5 for column 'la_id' (offset 0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 12 for column 'la_directory' (offset 1) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,he' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 15 for column 'la_languagecode' (offset 2) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,he,he' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 18 for column 'la_sublanguagecode' (offset 3) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'IL' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 9 for column 'la_locale' (offset 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 7 for column 'la_flag' (offset 5) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'il' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 11 for column 'la_language' (offset 6) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'Hebrew' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 10 for column 'la_enabled' (offset 7) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 11 for column 'la_tonezone' (offset 8) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'il' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 6 for column 'la_rtl' (offset 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'yes' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_GET_ALL_LANGUAGE_INFO_FROM_DIRECTORY(he) result is '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:7] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "HASH(alllanguage)=15,he,he,IL,he,il,Hebrew,on,il,yes") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array (la_id,la_directory,la_languagecode,la_sublanguagecode,la_locale,la_flag,la_language,la_enabled,la_tonezone,la_rtl=15,he,he,IL,he,il,Hebrew,on,il,yes) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (la_id=15) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (la_directory=he) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (la_languagecode=he) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (la_sublanguagecode=IL) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (la_locale=he) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (la_flag=il) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (la_language=Hebrew) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (la_enabled=on) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (la_tonezone=il) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (la_rtl=yes) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(alllanguage,la_tonezone) result is 'il' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:8] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "CHANNEL(tonezone)=il") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:9] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_setLanguage_1366") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:10] Return("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'VOLUMERXLEVEL' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(VOLUMERXLEVEL) result is 'VOLUMERXLEVEL' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:3] Gosub("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "decodeCallParams,~~s~~,1") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] app_stack.c: Channel Local/AG-000-CC-538@fromotherpbx-00000d2c;2 has no datastore, so we're allocating one. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:25] WARNING[4565][C-00000e4d] chan_sip.c: This function can only be used on SIP channels. [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SIP_HEADER(X-PBX) result is '(null)' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:1] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "SIPHEADER=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:2] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?3:4") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (decodeCallParams,~~s~~,3) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'PBX' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||||' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:3] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "SIPHEADER=97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||||") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:4] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_decodeCallParams_1374") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||||' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:5] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?6:44") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (decodeCallParams,~~s~~,6) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||||' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:6] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__QUEUE_RAISE_PENALTY=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9||||||||||||' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:7] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__QUEUE_MIN_PENALTY=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:8] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__QUEUE_MAX_PENALTY=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9||||||||||' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:9] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__AUTOANSWER=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:10] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "USERVARVALUES=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9||||||||' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:11] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "USERVARLIST=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:12] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__SETQUEUERAISEPENALTY=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9||||||' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:13] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__SETQUEUEMAXPENALTY=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:14] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__SETQUEUEMINPENALTY=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9||||' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:15] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__SETQUEUERULE=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:16] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__PLAYBACKOPTION=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9||' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:17] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__RESPONSEPATHID=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:18] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__PRIVACYID=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '9' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:19] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__FROMQUEUEID=9") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he|' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:20] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__QUEUEOPTION=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is 'he' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:21] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__LANGUAGE=he") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457|||||' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:22] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__FMFMCALLERID=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:23] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__FMFMDIALTIMEOUT=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457|||' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:24] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__BLINDCONNECTEDNUM=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:25] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__ONANSWERID=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457|' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:26] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__ONANSWER=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '457' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:27] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "CHANNEL(musicclass)=457") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '900' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:28] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "CDR(firstdst)=900") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '900' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:29] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__DIALEDNUMBER=900") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt|' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:30] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__DIALTIMEOUT=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is 'Tt' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:31] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__DIALOPTION=Tt") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300|||' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:32] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__NOFMFM=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:33] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__ONLYFMFM=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300|' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:34] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__NOFOLLOWEXTENSION=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '13300' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:35] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__CDRcallSequence=13300") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,VOLUMERXLEVEL) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:36] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__CDRcallUniqueID=oraclepbx-1644254244.1743648") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:246] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "VOLUMERXLEVEL=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15|||' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:37] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__VALIDCALLERID=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:38] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__SETCALLERID=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15|' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:39] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__INCOMINGDID=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'VOLUMETXLEVEL' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(VOLUMETXLEVEL) result is 'VOLUMETXLEVEL' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:40] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__TENANTID=15") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '200-call' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:41] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__REALPEERNAME=200-call") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '200-call' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:42] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__PEERNAME=200-call") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '97' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:43] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__TTL=97") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:44] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_decodeCallParams_1375") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'LANGUAGE' is 'he' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:45] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?46:49") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (decodeCallParams,~~s~~,46) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'LANGUAGE' is 'he' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:46] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "CHANNEL(language)=he") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CHANNEL(language) result is 'he' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'he' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(he) result is 'he' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6a0004ea0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 5 for column 'la_id' (offset 0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 12 for column 'la_directory' (offset 1) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,he' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 15 for column 'la_languagecode' (offset 2) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,he,he' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 18 for column 'la_sublanguagecode' (offset 3) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'IL' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 9 for column 'la_locale' (offset 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 7 for column 'la_flag' (offset 5) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'il' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 11 for column 'la_language' (offset 6) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'Hebrew' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 10 for column 'la_enabled' (offset 7) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 11 for column 'la_tonezone' (offset 8) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'il' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 6 for column 'la_rtl' (offset 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'yes' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6a0004ea0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,VOLUMETXLEVEL) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:247] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "VOLUMETXLEVEL=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'DTMFVOLUME' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(DTMFVOLUME) result is 'DTMFVOLUME' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6a0004ea0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_ALL_LANGUAGE_INFO_FROM_DIRECTORY(he) result is '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:47] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "HASH(alllanguage)=15,he,he,IL,he,il,Hebrew,on,il,yes") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array (la_id,la_directory,la_languagecode,la_sublanguagecode,la_locale,la_flag,la_language,la_enabled,la_tonezone,la_rtl=15,he,he,IL,he,il,Hebrew,on,il,yes) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (la_id=15) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (la_directory=he) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (la_languagecode=he) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (la_sublanguagecode=IL) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (la_locale=he) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (la_flag=il) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (la_language=Hebrew) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (la_enabled=on) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (la_tonezone=il) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (la_rtl=yes) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(alllanguage,la_tonezone) result is 'il' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:48] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "CHANNEL(tonezone)=il") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:49] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_decodeCallParams_1376") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CDRcallUniqueID' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'CELGenUserEvent' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:50] CELGenUserEvent("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "PREVUNIQUEID,oraclepbx-1644254244.1743648") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CDRcallUniqueID' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:51] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?52:53") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (decodeCallParams,~~s~~,53) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:53] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_decodeCallParams_1377") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'USERVARLIST' (from 'USERVARLIST}' len 11) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'USERVARLIST' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SHIFT(USERVARLIST) result is '(null)' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SET(var=) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:54] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?55:59") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (decodeCallParams,~~s~~,59) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:59] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish while_decodeCallParams_1378") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:60] Return("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'QUEUENAME' is NULL [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:4] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Queue ringing ") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is 'AG-000-CC-538' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '200' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CHANNEL(musicclass) result is '457' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:5] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Received a call from another server for agent with extension ID 000-CC-538 and Callerid 200 Music class is 457") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'MAXCALLDURATION' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(MAXCALLDURATION) result is 'MAXCALLDURATION' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'on' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'on' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6a0004ea0 into pool [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '7200' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '7200' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '7200' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,DTMFVOLUME) result is 'on' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:248] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "DTMFVOLUME=on") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'DTMFVOLUME' is 'on' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:249] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "1?250:251") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,250) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:250] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "DTMF=p") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:251] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_fromotherpbx_1620") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'VOLUMERXLEVEL' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:252] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?253:254") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,254) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:254] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_fromotherpbx_1621") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'VOLUMETXLEVEL' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:255] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?256:257") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,257) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:257] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_fromotherpbx_1622") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,MAXCALLDURATION) result is '7200' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:6] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "MAXCALLDURATION=7200") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'MAXCALLDURATION' is '7200' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:7] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?8:9") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,8) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'MAXCALLDURATION' is '7200' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:8] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "TIMEOUT(absolute)=7200") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'QUEUERING' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(QUEUERING) result is 'QUEUERING' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] func_timeout.c: Channel will hangup at 2022-02-07 21:17:25.876 IST. [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:9] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_fromotherpbx_1572") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'UNIQUEID' is 'db02-1644254245.72706' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'SIPAddHeader' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:10] SIPAddHeader("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "X-VoipMonitor-Custom1: db02-1644254245.72706") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] chan_sip.c: SIP Header added "X-VoipMonitor-Custom1: db02-1644254245.72706" as __SIPADDHEADER03 [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'UNIQUEID' is 'db02-1644254245.72706' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:11] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__SIMPLEPREVUNIQUEID=db02-1644254245.72706") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:12] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__TRANSFER_CONTEXT=authenticated") in new stack [2022-02-07 19:17:25] WARNING[4565][C-00000e4d] chan_sip.c: This function can only be used on SIP channels. [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SIP_HEADER(Call-Info) result is '(null)' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:13] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Call-Info=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'Call-Info' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:14] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?15:16") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:16] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_fromotherpbx_1573") in new stack [2022-02-07 19:17:25] WARNING[4565][C-00000e4d] chan_sip.c: This function can only be used on SIP channels. [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SIP_HEADER(Alert-Info) result is '(null)' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:17] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Alert-Info=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'Alert-Info' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:18] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?19:20") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,20) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:20] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_fromotherpbx_1574") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6a0004ea0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 5 for column 'te_id' (offset 0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 7 for column 'te_code' (offset 1) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'call' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 13 for column 'te_alertemail' (offset 2) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'te_cl_id' (offset 3) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 15 for column 'te_payment_type' (offset 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'Post Paid' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'te_rp_id' (offset 5) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '45' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 14 for column 'te_billingcode' (offset 6) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '1574692660' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 14 for column 'te_billingtype' (offset 7) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'CDR' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_disabled' (offset 8) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 20 for column 'te_prefixbillingcode' (offset 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 13 for column 'te_allowonnet' (offset 10) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 24 for column 'te_allowanycalleridusage' (offset 11) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 15 for column 'te_allowinonnet' (offset 12) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 12 for column 'te_billonnet' (offset 13) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 19 for column 'te_onnetdigitstoadd' (offset 14) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 22 for column 'te_onnetdigitstoremove' (offset 15) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_ca_rp_id' (offset 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 14 for column 'te_defaultrrid' (offset 17) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 12 for column 'te_sms_rp_id' (offset 18) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '77' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_ca_cl_id' (offset 19) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 13 for column 'te_costlimits' (offset 20) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 23 for column 'te_dailytenantcostlimit' (offset 21) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 25 for column 'te_monthlytenantcostlimit' (offset 22) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 17 for column 'te_routecostlimit' (offset 23) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_cr_no_id' (offset 24) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_ca_no_id' (offset 25) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 27 for column 'te_allowanycalleridforemerg' (offset 26) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 17 for column 'te_abusedetection' (offset 27) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 17 for column 'te_expirationdate' (offset 28) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0000-00-00' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 14 for column 'te_alertamount' (offset 29) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got NULL data [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 20 for column 'te_dailycostlimitdom' (offset 30) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 20 for column 'te_dailycostlimitint' (offset 31) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,QUEUERING) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 26 for column 'te_dailytenantcostlimitdom' (offset 32) [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:258] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "RINGINGTONE=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 26 for column 'te_dailytenantcostlimitint' (offset 33) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 28 for column 'te_monthlytenantcostlimitdom' (offset 34) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 28 for column 'te_monthlytenantcostlimitint' (offset 35) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 22 for column 'te_dailycostwarningdom' (offset 36) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 22 for column 'te_dailycostwarningint' (offset 37) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 28 for column 'te_dailytenantcostwarningdom' (offset 38) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 28 for column 'te_dailytenantcostwarningint' (offset 39) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 30 for column 'te_monthlytenantcostwarningdom' (offset 40) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 30 for column 'te_monthlytenantcostwarningint' (offset 41) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 27 for column 'te_uploadrecordingatcallend' (offset 42) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'RINGINGTONE' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'yes' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 25 for column 'te_dailytenantcostwarning' (offset 43) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 27 for column 'te_monthlytenantcostwarning' (offset 44) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 19 for column 'te_dailycostwarning' (offset 45) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:259] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?260:262") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 18 for column 'te_recordemergency' (offset 46) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 24 for column 'te_recordemergency_email' (offset 47) [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,262) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:262] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_fromotherpbx_1623") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_timezone' (offset 48) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 29 for column 'te_allowincomingcalleridusage' (offset 49) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 16 for column 'te_forcepinonnet' (offset 50) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 17 for column 'te_dailycostlimit' (offset 51) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 19 for column 'te_monthlycostlimit' (offset 52) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 22 for column 'te_monthlycostlimitdom' (offset 53) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 22 for column 'te_monthlycostlimitint' (offset 54) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 24 for column 'te_monthlycostwarningdom' (offset 55) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 24 for column 'te_monthlycostwarningint' (offset 56) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'RECORDINGFORMAT' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(RECORDINGFORMAT) result is 'RECORDINGFORMAT' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6a0004ea0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_TENANTINFO_FROM_ID(15) result is '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:21] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "HASH(tenantinfo)=15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array (te_id,te_code,te_alertemail,te_cl_id,te_payment_type,te_rp_id,te_billingcode,te_billingtype,te_disabled,te_prefixbillingcode,te_allowonnet,te_allowanycalleridusage,te_allowinonnet,te_billonnet,te_onnetdigitstoadd,te_onnetdigitstoremove,te_ca_rp_id,te_defaultrrid,te_sms_rp_id,te_ca_cl_id,te_costlimits,te_dailytenantcostlimit,te_monthlytenantcostlimit,te_routecostlimit,te_cr_no_id,te_ca_no_id,te_allowanycalleridforemerg,te_abusedetection,te_expirationdate,te_alertamount,te_dailycostlimitdom,te_dailycostlimitint,te_dailytenantcostlimitdom,te_dailytenantcostlimitint,te_monthlytenantcostlimitdom,te_monthlytenantcostlimitint,te_dailycostwarningdom,te_dailycostwarningint,te_dailytenantcostwarningdom,te_dailytenantcostwarningint,te_monthlytenantcostwarningdom,te_monthlytenantcostwarningint,te_uploadrecordingatcallend,te_dailytenantcostwarning,te_monthlytenantcostwarning,te_dailycostwarning,te_recordemergency,te_recordemergency_email,te_timezone,te_allowincomingcalleridusage,te_forcepinonnet,te_dailycostlimit,te_monthlycostlimit,te_monthlycostlimitdom,te_monthlycostlimitint,te_monthlycostwarningdom,te_monthlycostwarningint=15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_id=15) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_code=call) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_alertemail=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_cl_id=0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_payment_type=Post Paid) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_rp_id=45) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_billingcode=1574692660) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_billingtype=CDR) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_disabled=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_prefixbillingcode=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_allowonnet=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_allowanycalleridusage=on) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_allowinonnet=on) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_billonnet=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_onnetdigitstoadd=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_onnetdigitstoremove=0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_ca_rp_id=0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_defaultrrid=0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_sms_rp_id=77) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_ca_cl_id=0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_costlimits=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_dailytenantcostlimit=0.00000) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostlimit=0.00000) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_routecostlimit=0.00000) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_cr_no_id=0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_ca_no_id=0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_allowanycalleridforemerg=on) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_abusedetection=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_expirationdate=0000-00-00) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_alertamount=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_dailycostlimitdom=0.00000) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_dailycostlimitint=0.00000) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_dailytenantcostlimitdom=0.00000) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_dailytenantcostlimitint=0.00000) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostlimitdom=0.00000) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostlimitint=0.00000) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_dailycostwarningdom=0.00000) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_dailycostwarningint=0.00000) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_dailytenantcostwarningdom=0.00000) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_dailytenantcostwarningint=0.00000) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostwarningdom=0.00000) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostwarningint=0.00000) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_uploadrecordingatcallend=yes) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_dailytenantcostwarning=0.00000) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostwarning=0.00000) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_dailycostwarning=0.00000) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_recordemergency=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_recordemergency_email=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_timezone=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_allowincomingcalleridusage=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_forcepinonnet=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_dailycostlimit=0.00000) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_monthlycostlimit=0.00000) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_monthlycostlimitdom=0.00000) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_monthlycostlimitint=0.00000) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_monthlycostwarningdom=0.00000) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_monthlycostwarningint=0.00000) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(tenantinfo,te_timezone) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:22] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__TIMEZONE=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPCALLID' is NULL [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:23] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "CDR(srcCallID)=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,RECORDINGFORMAT) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:263] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "RECORDINGFORMAT=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'RECORDINGFORMAT' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:264] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "1?265:269") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,265) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(-1) result is '-1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'RECORDINGFORMAT' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(RECORDINGFORMAT) result is 'RECORDINGFORMAT' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is 'AG-000-CC-538' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:24] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "membervalue=000-CC-538") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'membervalue' (from 'membervalue}' len 11) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'membervalue' is '000-CC-538' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CUT(membervalue,-,2) result is 'CC' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:25] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "membertype=CC") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'membervalue' (from 'membervalue}' len 11) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'membervalue' is '000-CC-538' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CUT(membervalue,-,3) result is '538' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:26] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "memberid=538") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'ClearHash' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:27] ClearHash("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "agentQueue") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'queueid' is '9' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and name='${SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '9' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(9) result is '9' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '9' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(9) result is '9' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6a0004ea0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'wav' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'wav' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'wav' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 5 for column 'qu_id' (offset 0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '9' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '9' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 9 for column 'qu_hosted' (offset 1) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'db02' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '9,db02' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 15 for column 'qu_alwaysrecord' (offset 2) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'yes' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 10 for column 'qu_timeout' (offset 3) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '90' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 13 for column 'qu_parameters' (offset 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 't' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 13 for column 'qu_nobodyhome' (offset 5) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 14 for column 'qu_calltimeout' (offset 6) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '7200' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 23 for column 'qu_agent_announce_me_id' (offset 7) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 7 for column 'qu_name' (offset 8) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'ראשי' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 15 for column 'qu_nofreemember' (offset 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 9 for column 'qu_ivr_id' (offset 10) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '17' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 14 for column 'qu_agent_ag_id' (offset 11) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 29 for column 'qu_agent_confirmmessage_me_id' (offset 12) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '16' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 12 for column 'qu_agentname' (offset 13) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'NUMBER' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 9 for column 'qu_number' (offset 14) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '900' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 20 for column 'qu_allowoptimization' (offset 15) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 14 for column 'monitor_format' (offset 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'wav' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 12 for column 'qu_spygroups' (offset 17) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 12 for column 'qu_ringinuse' (offset 18) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'no' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 13 for column 'qu_minpenalty' (offset 19) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 13 for column 'qu_maxpenalty' (offset 20) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 15 for column 'qu_raisepenalty' (offset 21) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1,0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1,0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6a0004ea0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-1,RECORDINGFORMAT) result is 'wav' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:265] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "RECORDINGFORMAT=wav") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'RECORDINGFORMAT' is 'wav' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:266] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?267:268") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,268) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:268] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_if_fromotherpbx_1624_1625") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:269] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_fromotherpbx_1624") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'CTONANSWERID' is NULL [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:270] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?271:272") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,272) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:272] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_fromotherpbx_1626") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'membernumber' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:273] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__AGENTNUMBER=203") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'queueid' is '9' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:274] Gosub("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "FollowDestination,~~s~~,1(QUEUE-BEFORERINGING,9,)") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG1' to 'QUEUE-BEFORERINGING' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG2' to '9' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'QUEUE-BEFORERINGING' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_QUEUE_FROM_ID(9) result is '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1,0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:1] MSet("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "LOCAL(TYPE)=QUEUE-BEFORERINGING") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:28] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "HASH(agentQueue)=9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1,0") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array (qu_id,qu_hosted,qu_alwaysrecord,qu_timeout,qu_parameters,qu_nobodyhome,qu_calltimeout,qu_agent_announce_me_id,qu_name,qu_nofreemember,qu_ivr_id,qu_agent_ag_id,qu_agent_confirmmessage_me_id,qu_agentname,qu_number,qu_allowoptimization,monitor_format,qu_spygroups,qu_ringinuse,qu_minpenalty,qu_maxpenalty,qu_raisepenalty=9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1,0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (qu_id=9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '9' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:2] MSet("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "LOCAL(ID)=9") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (qu_hosted=db02) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (qu_alwaysrecord=yes) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (qu_timeout=90) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (qu_parameters=t) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:3] MSet("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "LOCAL(PARAM1)=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (qu_nobodyhome=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (qu_calltimeout=7200) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (qu_agent_announce_me_id=0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TYPE' is 'QUEUE-BEFORERINGING' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (qu_name=ראשי) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ID' is '9' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (qu_nofreemember=) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'PARAM1' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ROUTINGPROFILE' is NULL [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (qu_ivr_id=17) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:4] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Checking how many entries for the destination QUEUE-BEFORERINGING with code 9. PARAM1 is [] - ROUTING PROFILE is ") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (qu_agent_ag_id=0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (qu_agent_confirmmessage_me_id=16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (qu_agentname=NUMBER) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (qu_number=900) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TYPE' is 'QUEUE-BEFORERINGING' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (qu_allowoptimization=on) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ID' is '9' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (monitor_format=wav) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (qu_spygroups=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (qu_ringinuse=no) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (qu_minpenalty=0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (qu_maxpenalty=1) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (qu_raisepenalty=0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_spygroups) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:29] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?30:31") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and de_type_id_src='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,31) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'QUEUE-BEFORERINGING' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:31] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_fromotherpbx_1575") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(QUEUE-BEFORERINGING) result is 'QUEUE-BEFORERINGING' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '9' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(9) result is '9' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'RECORDOTHERLEG' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(RECORDOTHERLEG) result is 'RECORDOTHERLEG' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6a0004ea0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'on' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'on' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 8 for column 'count(*)' (offset 0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6a0004ea0 into pool [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,RECORDOTHERLEG) result is 'on' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:32] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "RECORDOTHERLEG=on") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_COUNT_DEST(QUEUE-BEFORERINGING,9) result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:5] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "LOCAL(NDEST)=0") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'NDEST' is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:6] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Identified 0 entries") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'NDEST' is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:7] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?8:9") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (FollowDestination,~~s~~,9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:9] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_FollowDestination_419") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:10] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "LOCAL(niter)=0") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'NDEST' is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:11] MSet("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "niter=0") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'niter' is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:12] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?13:645") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (FollowDestination,~~s~~,645) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'ALWAYSRECORD' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:645] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish for_FollowDestination_420") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(ALWAYSRECORD) result is 'ALWAYSRECORD' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:646] Return("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'membernumber' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'DIALTIMEOUT' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_calltimeout) result is '7200' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:275] Gosub("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "dialpeerexten,203,1(,,,7200)") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG4' to '7200' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'PEERNAME' is '200-call' [2022-02-07 19:17:25] WARNING[4564][C-00000e4d] func_channel.c: Unknown or unavailable item requested: 'PEERNAME' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CHANNEL(PEERNAME) result is '(null)' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CALLERID(name) result is 'BEN' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '200' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is '203' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6a0004ea0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(accountcode) result is 'call' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TTL' is '97' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Received a call with PEERNAME set to 200-call from with callerid name BEN and callerid num 200 to number 203 for tenant call TENANTID is 15 TTL is 97") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'BLINDTRANSFER' is NULL [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?3:4") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:4] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_dialpeerexten_2234") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'ADDJITTERBUFFER' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(ADDJITTERBUFFER) result is 'ADDJITTERBUFFER' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'externalchange' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'externalchange' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'externalchange' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6a0004ea0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,ALWAYSRECORD) result is 'externalchange' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:33] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "ALWAYSRECORD=externalchange") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ALWAYSRECORD' is 'externalchange' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:34] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?35:36") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,36) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:36] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_fromotherpbx_1576") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,ADDJITTERBUFFER) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:5] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "addjitterbuffer=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'RECORDINGFORMAT' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'addjitterbuffer' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:6] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?7:8") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(RECORDINGFORMAT) result is 'RECORDINGFORMAT' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,8) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:8] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_dialpeerexten_2235") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:9] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?10:15") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,15) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:15] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_dialpeerexten_2236") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function STRFTIME(,,%H:%M:%S.%5q) result is '19:17:25.88943' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:16] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Now is 19:17:25.88943") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:17] Gosub("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "saveCallParams,~~s~~,1") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is NULL [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:1] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "1?2:3") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (saveCallParams,~~s~~,2) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:2] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "savedLevel=0") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:3] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_saveCallParams_1367") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:4] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "savedLevel=1") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'DIALOPTION' is 'Tt' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:5] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "savedDIALOPTION1=Tt") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'CONFIRM' is NULL [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:6] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "savedCONFIRM1=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'CONFIRMMD5' is 'pbx/9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:7] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "savedCONFIRMMD51=pbx/9486fbd9ec639aa19a505a653fe47324") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'NOFOLLOWEXTENSION' is 'yes' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:8] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "savedNOFOLLOWEXTENSION1=yes") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'NOFMFM' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:9] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "savedNOFMFM1=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ONLYFMFM' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:10] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "savedONLYFMFM1=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:11] Return("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:18] Gosub("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "checkTTL,~~s~~,1") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TTL' is '97' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:1] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?2:6") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (checkTTL,~~s~~,6) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:6] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_checkTTL_2129") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TTL' is '97' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '96' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:7] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "TTL=96") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TTL' is '96' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:8] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?9:13") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (checkTTL,~~s~~,13) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:13] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_checkTTL_2131") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'maxanychannels' is '-1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:14] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?15:16") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (checkTTL,~~s~~,16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:16] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_checkTTL_2132") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:17] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "GROUP(ANYTENANT)=15") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SYSTEMNAME' is 'db02' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function GROUP_COUNT(15@ANYTENANT) result is '2' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:18] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "ODBC_SET_GROUP_COUNT(15@ANYTENANT,db02)=2") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}','${SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15@ANYTENANT' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15@ANYTENANT) result is '15@ANYTENANT' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'db02' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02) result is 'db02' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '2' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(2) result is '2' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '2' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(2) result is '2' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,RECORDINGFORMAT) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:37] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "RECORDINGFORMAT=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'RECORDINGFORMAT' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:38] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?39:43") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,39) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(-1) result is '-1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'RECORDINGFORMAT' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(RECORDINGFORMAT) result is 'RECORDINGFORMAT' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6a0004ea0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'wav' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'wav' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'wav' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6a0004ea0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-1,RECORDINGFORMAT) result is 'wav' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:39] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "RECORDINGFORMAT=wav") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'RECORDINGFORMAT' is 'wav' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:40] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?41:42") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,42) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:42] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_fromotherpbx_1577_1578") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:43] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_fromotherpbx_1577") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'MIXMONITOR_FILENAME' is 'db02-1644254244.72696.wav' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:44] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?45:46") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,46) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:46] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_fromotherpbx_1579") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:47] Gosub("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "checkRecordingWarning,~~s~~,1") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'RECORDINGWARNING' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(RECORDINGWARNING) result is 'RECORDINGWARNING' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'maxanychannels' is '-1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'maxanychannels' is '-1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:19] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?20:27") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (checkTTL,~~s~~,27) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:27] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_checkTTL_2133") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:28] Return("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:19] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "LOCAL(NUMBER)=203") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:20] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__TRANSFER_CONTEXT=authenticated") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'CHANNEL' is 'Local/AG-000-NF-38@fromotherpbx-00000d2b;2' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:21] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__ORIGCHANNEL=Local/AG-000-NF-38@fromotherpbx-00000d2b;2") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6a0004ea0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 7 for column 'te_code' (offset 0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'call' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'call' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'call' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6a0004ea0 into pool [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,RECORDINGWARNING) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@checkRecordingWarning:1] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "recordingwarning=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'recordingwarning' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@checkRecordingWarning:2] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?3:15") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (checkRecordingWarning,~~s~~,15) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@checkRecordingWarning:15] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_checkRecordingWarning_1398") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@checkRecordingWarning:16] Return("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_calltimeout) result is '7200' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:48] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?49:50") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,50) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:50] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_fromotherpbx_1580") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_ACCOUNTCODE_FROM_TENANTID(15) result is 'call' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:22] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "LOCAL(TENANTCODE)=call") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTCODE' is 'call' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function LEN(call) result is '3' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:23] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "LOCAL(TENANTCODELEN)=3") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTCODELEN' is '3' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTCODE' is 'call' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTCODE' is 'call' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:24] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?25:29") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,29) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:29] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "LOCAL(CLEAREDNUMBER)=203") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:30] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_dialpeerexten_2238") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTCODE' is 'call' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:31] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__PICKUPMARK=203-call") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:32] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Arg1 is ") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:33] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Arg2 is ") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:34] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Arg3 is ") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG4' is '7200' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:35] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Arg4 is 7200") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG5' is NULL [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:36] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Arg5 is ") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:37] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?38:39") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,39) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:39] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_dialpeerexten_2239") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'DIALEDNUMBER' is '900' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:40] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?41:42") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,42) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:42] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_dialpeerexten_2240") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:43] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "LASTDIALEDNUMBER=203") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:44] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?45:47") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,47) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:47] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?48:50") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,50) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:50] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?51:53") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,53) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:53] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_if_if_dialpeerexten_2241_2242_2243") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:54] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_if_dialpeerexten_2241_2242") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:55] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_dialpeerexten_2241") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:56] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?57:60") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,60) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:60] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_dialpeerexten_2244") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG4' is '7200' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:61] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "1?62:63") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,62) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'DIALOPTION' is 'Tt' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG4' is '7200' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:62] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "DIALOPTION=TtL(7200000)") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:63] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_dialpeerexten_2245") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG5' is NULL [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:64] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?65:66") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,66) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:66] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_dialpeerexten_2246") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG6' is NULL [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:67] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?68:78") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,78) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:78] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_dialpeerexten_2247") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(realsrc) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:51] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?52:54") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,52) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_name) result is 'ראשי' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:52] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "CDR(realsrc)=Queue ראשי") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:53] Goto("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "59") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,59) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:59] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_fromotherpbx_1581") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_agent_confirmmessage_me_id) result is '16' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:60] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?61:67") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,61) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_agent_confirmmessage_me_id) result is '16' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and me_type='STATIC'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '16' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(16) result is '16' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6a0004ea0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 6 for column 'me_md5' (offset 0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 9 for column 'me_format' (offset 1) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'wav' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '9486fbd9ec639aa19a505a653fe47324,wav' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '9486fbd9ec639aa19a505a653fe47324,wav' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6a0004ea0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(firstdst) result is '900' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:79] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?80:82") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,82) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'DIALEDPEERNUMBER' is NULL [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:82] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Checking to fix connected number to ") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'DIALEDPEERNUMBER' is NULL [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:83] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?84:86") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,86) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:86] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "CDR(lastdst)=203") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:87] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_if_dialpeerexten_2250_2251") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:88] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_dialpeerexten_2250") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'BLOCKDTMFTRANSFERS' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(BLOCKDTMFTRANSFERS) result is 'BLOCKDTMFTRANSFERS' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6a0004ea0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_MEDIAFILE_MD5_FROM_ID(16) result is '9486fbd9ec639aa19a505a653fe47324,wav' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:61] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "ARRAY(SYNCMEDIA,format)=9486fbd9ec639aa19a505a653fe47324,wav") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array (SYNCMEDIA,format=9486fbd9ec639aa19a505a653fe47324,wav) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (SYNCMEDIA=9486fbd9ec639aa19a505a653fe47324) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (format=wav) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SYNCMEDIA' is '9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ASTDATADIR' is '/var/lib/asterisk' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SYNCMEDIA' is '9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'format' is 'wav' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function STAT(e,/var/lib/asterisk/sounds/pbx/9486fbd9ec639aa19a505a653fe47324.wav) result is '1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:62] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?63:64") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,64) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:64] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_fromotherpbx_1583_1584") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SYNCMEDIA' is '9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:65] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__CONFIRMMD5=pbx/9486fbd9ec639aa19a505a653fe47324") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:66] Goto("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "68") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,68) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:68] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_fromotherpbx_1583") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_ringinuse) result is 'no' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:69] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Ringinuse is no") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'membertype' is 'CC' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:70] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?71:83") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,83) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'membertype' is 'CC' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:83] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?84:96") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,96) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'membertype' is 'CC' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:96] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?97:109") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,109) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'membertype' is 'CC' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:109] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?110:122") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,122) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'membertype' is 'CC' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:122] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?123:143") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,143) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'membertype' is 'CC' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:143] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?144:165") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,144) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:144] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Monitored Custom Destination with confirm") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'memberid' is '538' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '538' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(538) result is '538' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 7 for column 'ct_name' (offset 0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'FORWARD' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 9 for column 'cu_param1' (offset 1) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 9 for column 'cu_param2' (offset 2) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '7222280800' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 9 for column 'cu_param3' (offset 3) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '30' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 9 for column 'cu_param4' (offset 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'unconditional' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 9 for column 'cu_param5' (offset 5) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional,' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 9 for column 'cu_param6' (offset 6) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'LEAVEASIS' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 9 for column 'cu_param7' (offset 7) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS,' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 9 for column 'cu_param8' (offset 8) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'INCOMINGDID' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS,,INCOMINGDID' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 9 for column 'cu_param9' (offset 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS,,INCOMINGDID,' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 10 for column 'cu_param10' (offset 10) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS,,INCOMINGDID,,' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 10 for column 'cu_param11' (offset 11) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS,,INCOMINGDID,,,' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 10 for column 'cu_param12' (offset 12) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS,,INCOMINGDID,,,,' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 10 for column 'cu_param13' (offset 13) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS,,INCOMINGDID,,,,,' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 10 for column 'cu_param14' (offset 14) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS,,INCOMINGDID,,,,,,' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 10 for column 'cu_param15' (offset 15) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS,,INCOMINGDID,,,,,,,' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 10 for column 'cu_param16' (offset 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS,,INCOMINGDID,,,,,,,,' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 10 for column 'cu_param17' (offset 17) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS,,INCOMINGDID,,,,,,,,,' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 10 for column 'cu_param18' (offset 18) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS,,INCOMINGDID,,,,,,,,,,' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 10 for column 'cu_param19' (offset 19) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS,,INCOMINGDID,,,,,,,,,,,' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 10 for column 'cu_param20' (offset 20) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS,,INCOMINGDID,,,,,,,,,,,,' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS,,INCOMINGDID,,,,,,,,,,,,' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6a0004ea0 into pool [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_CUSTOM_CODE(538) result is 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS,,INCOMINGDID,,,,,,,,,,,,' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:145] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "HASH(customdest)=FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS,,INCOMINGDID,,,,,,,,,,,,") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array (ct_name,cu_param1,cu_param2,cu_param3,cu_param4,cu_param5,cu_param6,cu_param7,cu_param8,cu_param9,cu_param10,cu_param11,cu_param12,cu_param13,cu_param14,cu_param15,cu_param16,cu_param17,cu_param18,cu_param19,cu_param20=FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS,,INCOMINGDID,,,,,,,,,,,,) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ct_name=FORWARD) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (cu_param1=xxxxxxxxxx) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (cu_param2=7222280800) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (cu_param3=30) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (cu_param4=unconditional) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (cu_param5=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (cu_param6=LEAVEASIS) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (cu_param7=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (cu_param8=INCOMINGDID) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (cu_param9=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (cu_param10=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (cu_param11=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (cu_param12=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (cu_param13=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (cu_param14=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (cu_param15=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (cu_param16=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (cu_param17=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (cu_param18=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (cu_param19=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (cu_param20=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(customdest,cu_param1) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:146] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "membernumber=xxxxxxxxxx") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(customdest,cu_param4) result is 'unconditional' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'INCOMINGDID' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:147] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?148:161") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,161) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:161] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_if_if_if_if_fromotherpbx_1585_1588_1591_1594_1597_1602_1603") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'memberid' is '538' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '538' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,BLOCKDTMFTRANSFERS) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:89] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "BLOCKDTMFTRANSFERS=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(538) result is '538' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'BLOCKDTMFTRANSFERS' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:90] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "1?91:92") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,91) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'DIALOPTION' is 'TtL(7200000)' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:91] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "DIALOPTION=TtL(7200000)t") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:92] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_dialpeerexten_2252") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:93] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Checking internal routing number") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'ClearHash' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:94] ClearHash("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "internalRouting") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is '203' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6a0004ea0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and '${SQL_ESC(${ARG2})}' regexp(ir_regexp) limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' regexp(ir_regexp) limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'cu_te_id' (offset 0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6a0004ea0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_TENANT_FROM_CUSTOM_ID(538) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:162] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__TENANTID=15") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:163] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__CONFIRM=yes") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:164] Goto("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "230") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,230) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:230] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_if_if_if_fromotherpbx_1585_1588_1591_1594_1597_1602") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:231] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_if_if_fromotherpbx_1585_1588_1591_1594_1597") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:232] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_if_fromotherpbx_1585_1588_1591_1594") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:233] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_fromotherpbx_1585_1588_1591") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_GET_INTERNAL_ROUTE(15,203) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:234] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_fromotherpbx_1585_1588") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:95] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "HASH(internalRouting)=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:235] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_fromotherpbx_1585") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array (te_code=) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_code=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CHANNEL(musicclass) result is '457' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(internalRouting,ir_id) result is '' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:236] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?237:238") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:96] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?97:99") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,238) [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,99) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:238] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_fromotherpbx_1618") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:99] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_dialpeerexten_2253") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'CALLERIDONATTENDED' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(CALLERIDONATTENDED) result is 'CALLERIDONATTENDED' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6a0004ea0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 7 for column 'te_code' (offset 0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'call' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'call' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'call' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6a0004ea0 into pool [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_ACCOUNTCODE_FROM_TENANTID(15) result is 'call' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:239] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "CDR(accountcode)=call") in new stack [2022-02-07 19:17:25] WARNING[4565][C-00000e4d] func_cdr.c: Using the CDR function to set 'accountcode' is deprecated. Please use the CHANNEL function instead. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,CALLERIDONATTENDED) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:100] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "LOCAL(CALLERIDONATTENDED)=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(firstdst) result is '900' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'CALLERIDONATTENDED' is '' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:240] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?241:243") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:101] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?102:103") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,243) [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,103) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:103] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_dialpeerexten_2254") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is NULL [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:243] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "CDR(lastdst)=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'CLEAREDNUMBER' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:104] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Location number 203/203 in tenant 15") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'CLEAREDNUMBER' is '203' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:244] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_fromotherpbx_1619") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' union SELECT 'MEETME' as tab, cr_id as code,cr_te_id as tenantid from cr_conferencerooms where cr_te_id='${SQL_ESC(${ARG1})}' and cr_number='${SQL_ESC(${ARG3})}' union SELECT 'QUEUE' as tab, qu_id as code,qu_te_id as tenantid from qu_queues where qu_te_id='${SQL_ESC(${ARG1})}' and qu_number='${SQL_ESC(${ARG3})}' union SELECT 'HUNTLIST' as tab, hu_id as code,hu_te_id as tenantid from hu_huntlists where hu_te_id='${SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:245] Gosub("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "setLanguage,~~s~~,1") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'MEETME' as tab, cr_id as code,cr_te_id as tenantid from cr_conferencerooms where cr_te_id='${SQL_ESC(${ARG1})}' and cr_number='${SQL_ESC(${ARG3})}' union SELECT 'QUEUE' as tab, qu_id as code,qu_te_id as tenantid from qu_queues where qu_te_id='${SQL_ESC(${ARG1})}' and qu_number='${SQL_ESC(${ARG3})}' union SELECT 'HUNTLIST' as tab, hu_id as code,hu_te_id as tenantid from hu_huntlists where hu_te_id='${SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and cr_number='${SQL_ESC(${ARG3})}' union SELECT 'QUEUE' as tab, qu_id as code,qu_te_id as tenantid from qu_queues where qu_te_id='${SQL_ESC(${ARG1})}' and qu_number='${SQL_ESC(${ARG3})}' union SELECT 'HUNTLIST' as tab, hu_id as code,hu_te_id as tenantid from hu_huntlists where hu_te_id='${SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'QUEUE' as tab, qu_id as code,qu_te_id as tenantid from qu_queues where qu_te_id='${SQL_ESC(${ARG1})}' and qu_number='${SQL_ESC(${ARG3})}' union SELECT 'HUNTLIST' as tab, hu_id as code,hu_te_id as tenantid from hu_huntlists where hu_te_id='${SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'LANGUAGE' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(LANGUAGE) result is 'LANGUAGE' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and qu_number='${SQL_ESC(${ARG3})}' union SELECT 'HUNTLIST' as tab, hu_id as code,hu_te_id as tenantid from hu_huntlists where hu_te_id='${SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'HUNTLIST' as tab, hu_id as code,hu_te_id as tenantid from hu_huntlists where hu_te_id='${SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6a0004ea0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'he' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'he' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6a0004ea0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6a0004ea0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,LANGUAGE) result is 'he' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is 'he' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:1] MSet("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "LANGUAGE=he") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'LANGUAGE' is 'he' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:2] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?3:4") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (setLanguage,~~s~~,4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:4] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_setLanguage_1365") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'LANGUAGE' is 'he' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:5] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?6:9") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (setLanguage,~~s~~,6) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'LANGUAGE' is 'he' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:6] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "CHANNEL(language)=he") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CHANNEL(language) result is 'he' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'he' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(he) result is 'he' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 5 for column 'la_id' (offset 0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 12 for column 'la_directory' (offset 1) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,he' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 15 for column 'la_languagecode' (offset 2) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,he,he' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 18 for column 'la_sublanguagecode' (offset 3) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'IL' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 9 for column 'la_locale' (offset 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 7 for column 'la_flag' (offset 5) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'il' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 11 for column 'la_language' (offset 6) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'Hebrew' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 10 for column 'la_enabled' (offset 7) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 11 for column 'la_tonezone' (offset 8) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'il' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 6 for column 'la_rtl' (offset 9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'yes' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_ALL_LANGUAGE_INFO_FROM_DIRECTORY(he) result is '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:7] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "HASH(alllanguage)=15,he,he,IL,he,il,Hebrew,on,il,yes") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array (la_id,la_directory,la_languagecode,la_sublanguagecode,la_locale,la_flag,la_language,la_enabled,la_tonezone,la_rtl=15,he,he,IL,he,il,Hebrew,on,il,yes) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (la_id=15) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (la_directory=he) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (la_languagecode=he) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (la_sublanguagecode=IL) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (la_locale=he) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (la_flag=il) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (la_language=Hebrew) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (la_enabled=on) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (la_tonezone=il) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (la_rtl=yes) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(alllanguage,la_tonezone) result is 'il' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:8] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "CHANNEL(tonezone)=il") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:9] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_setLanguage_1366") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:10] Return("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'VOLUMERXLEVEL' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(VOLUMERXLEVEL) result is 'VOLUMERXLEVEL' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,VOLUMERXLEVEL) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:246] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "VOLUMERXLEVEL=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'VOLUMETXLEVEL' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(VOLUMETXLEVEL) result is 'VOLUMETXLEVEL' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,VOLUMETXLEVEL) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:247] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "VOLUMETXLEVEL=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'DTMFVOLUME' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(DTMFVOLUME) result is 'DTMFVOLUME' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'on' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'on' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,DTMFVOLUME) result is 'on' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:248] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "DTMFVOLUME=on") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'DTMFVOLUME' is 'on' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:249] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?250:251") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,250) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:250] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "DTMF=p") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:251] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_fromotherpbx_1620") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'VOLUMERXLEVEL' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:252] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?253:254") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,254) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:254] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_fromotherpbx_1621") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'VOLUMETXLEVEL' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:255] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?256:257") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,257) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:257] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_fromotherpbx_1622") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'QUEUERING' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(QUEUERING) result is 'QUEUERING' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 3 for column 'tab' (offset 0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'SIP' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 4 for column 'code' (offset 1) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '38' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,38' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 8 for column 'tenantid' (offset 2) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,38,15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,38,15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6a0004ea0 into pool [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,QUEUERING) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:258] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "RINGINGTONE=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'RINGINGTONE' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:259] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?260:262") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,262) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:262] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_fromotherpbx_1623") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'RECORDINGFORMAT' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(RECORDINGFORMAT) result is 'RECORDINGFORMAT' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6a0004ea0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_LOCATE_NUMBER(15,203,203) result is 'SIP,38,15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:105] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "ARRAY(table,code,locatedteid)=SIP,38,15") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array (table,code,locatedteid=SIP,38,15) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (table=SIP) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (code=38) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (locatedteid=15) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:106] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__SIMPLEANSWERED=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'table' is 'SIP' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:107] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?108:643") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,643) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'table' is 'SIP' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:643] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?644:1145") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,1145) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'table' is 'SIP' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1145] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?1146:1708") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,1708) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'table' is 'SIP' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1708] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "1?1709:2271") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,1709) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1709] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Number is an extension") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'CLEAREDNUMBER' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1710] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__SIMPLEANSWERED=203") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1711] Gosub("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "checkExtensionDialing,~~s~~,1") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'PEERNAME' is '200-call' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' union select ex_number from ex_extensions,ve_virtualextensions where ex_tech='VIRTUAL' and ex_tech_id=ve_id and ve_name='${SQL_ESC(${ARG1})}' union select ex_number from ex_extensions,ps_endpoints where ex_tech='PJSIP' and ex_tech_id=tech_id and id='${SQL_ESC(${ARG1})}' union select ex_number from ex_extensions,ce_customextensions where ex_tech='CUSTOM' and ex_tech_id=ce_id and ce_peername='${SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' union select ex_number from ex_extensions,ps_endpoints where ex_tech='PJSIP' and ex_tech_id=tech_id and id='${SQL_ESC(${ARG1})}' union select ex_number from ex_extensions,ce_customextensions where ex_tech='CUSTOM' and ex_tech_id=ce_id and ce_peername='${SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' union select ex_number from ex_extensions,ce_customextensions where ex_tech='CUSTOM' and ex_tech_id=ce_id and ce_peername='${SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6a0004ea0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 9 for column 'ex_number' (offset 0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '200' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '200' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '200' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,RECORDINGFORMAT) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:263] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "RECORDINGFORMAT=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'RECORDINGFORMAT' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:264] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?265:269") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,265) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(-1) result is '-1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'RECORDINGFORMAT' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(RECORDINGFORMAT) result is 'RECORDINGFORMAT' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_GET_PEEREXTEN(200-call) result is '200' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@checkExtensionDialing:1] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "PEEREXTEN=200") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'PEEREXTEN' is '200' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@checkExtensionDialing:2] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "1?3:23") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (checkExtensionDialing,~~s~~,3) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'EXTENSIONDIALING' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(EXTENSIONDIALING) result is 'EXTENSIONDIALING' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6a0004ea0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'Ignore' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'Ignore' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'Ignore' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6a0004ea0 into pool [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'wav' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'wav' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'wav' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,EXTENSIONDIALING) result is 'Ignore' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@checkExtensionDialing:3] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "EXTDIALING=Ignore") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'EXTDIALING' is 'Ignore' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@checkExtensionDialing:4] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?5:13") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-1,RECORDINGFORMAT) result is 'wav' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:265] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "RECORDINGFORMAT=wav") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (checkExtensionDialing,~~s~~,13) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'EXTDIALING' is 'Ignore' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@checkExtensionDialing:13] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?14:21") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (checkExtensionDialing,~~s~~,21) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'RECORDINGFORMAT' is 'wav' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@checkExtensionDialing:21] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_if_if_checkExtensionDialing_2229_2230_2232") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:266] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?267:268") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@checkExtensionDialing:22] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_if_checkExtensionDialing_2229_2230") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,268) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:268] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_fromotherpbx_1624_1625") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@checkExtensionDialing:23] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_checkExtensionDialing_2229") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@checkExtensionDialing:24] Return("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:269] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_fromotherpbx_1624") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CTONANSWERID' is NULL [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'ClearHash' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1712] ClearHash("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "PEER") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:270] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?271:272") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,272) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is '203' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:272] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_fromotherpbx_1626") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'membernumber' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:273] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__AGENTNUMBER=xxxxxxxxxx") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'queueid' is '9' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:274] Gosub("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "FollowDestination,~~s~~,1(QUEUE-BEFORERINGING,9,)") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG1' to 'QUEUE-BEFORERINGING' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG2' to '9' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SYSTEMNAME' is 'db02' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'QUEUE-BEFORERINGING' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:1] MSet("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "LOCAL(TYPE)=QUEUE-BEFORERINGING") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '9' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3}' AND sipfriends.regseconds > unix_timestamp(),1,0),if (sipregs.regserver = '${ARG3}' AND sipregs.regseconds > unix_timestamp(),1,0)) as reg_on_me,if(coalesce(sipfriends.regseconds,0)>coalesce(sipregs.regseconds,0),sipfriends.regseconds,sipregs.regseconds) as regseconds,if(coalesce(sipfriends.regseconds,0)>coalesce(sipregs.regseconds,0),sipfriends.regserver,sipregs.regserver) as regserver,sipfriends.name,ex_id,ex_dialtimeout,ex_trunk,if(coalesce(sipfriends.regseconds,0)>coalesce(sipregs.regseconds,0),sipfriends.lastms,sipregs.lastms) as lastms,host,ex_unconditionalstatus,ex_onbusystatus,ex_onofflinestatus,ex_onnoanswerstatus,ex_onconditionstatus,ex_oncondition_id,ex_dnd,ex_rp_id,ex_number,ex_txvolume,ex_rxvolume,ex_notifymissingemail,ex_fmfmstatus,ex_fmfmnumber,ex_fmfmdialtimeout,ex_fmfmcallerid,ex_fmfmnumprefix,ex_fmfmnameprefix,ex_fmfmdialmethod,ex_fmfmconfirmmessage_id,ex_fmfmconfirm,ex_fmfmholdmessage_id,ex_trunkdid,ex_callwaiting,ex_autoanswer,ex_spygroups,ex_inboundblockcid,ex_inboundblockcidname FROM ex_extensions,sipfriends,te_tenants,sipregs WHERE sipfriends.name=sipregs.name and ex_te_id='${ARG1}' and sipfriends.te_id='${ARG1}' and te_tenants.te_id='${ARG1}' and ( ex_number='${ARG2}' or sipfriends.name='${ARG2}' or concat(ex_number,te_code)='${ARG2}' ) and ex_tech='SIP' and ex_tech_id=sipfriends.id order by reg_on_me DESC,regseconds desc,regserver limit 1' len 4) [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:2] MSet("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "LOCAL(ID)=9") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'db02' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3}' AND sipregs.regseconds > unix_timestamp(),1,0)) as reg_on_me,if(coalesce(sipfriends.regseconds,0)>coalesce(sipregs.regseconds,0),sipfriends.regseconds,sipregs.regseconds) as regseconds,if(coalesce(sipfriends.regseconds,0)>coalesce(sipregs.regseconds,0),sipfriends.regserver,sipregs.regserver) as regserver,sipfriends.name,ex_id,ex_dialtimeout,ex_trunk,if(coalesce(sipfriends.regseconds,0)>coalesce(sipregs.regseconds,0),sipfriends.lastms,sipregs.lastms) as lastms,host,ex_unconditionalstatus,ex_onbusystatus,ex_onofflinestatus,ex_onnoanswerstatus,ex_onconditionstatus,ex_oncondition_id,ex_dnd,ex_rp_id,ex_number,ex_txvolume,ex_rxvolume,ex_notifymissingemail,ex_fmfmstatus,ex_fmfmnumber,ex_fmfmdialtimeout,ex_fmfmcallerid,ex_fmfmnumprefix,ex_fmfmnameprefix,ex_fmfmdialmethod,ex_fmfmconfirmmessage_id,ex_fmfmconfirm,ex_fmfmholdmessage_id,ex_trunkdid,ex_callwaiting,ex_autoanswer,ex_spygroups,ex_inboundblockcid,ex_inboundblockcidname FROM ex_extensions,sipfriends,te_tenants,sipregs WHERE sipfriends.name=sipregs.name and ex_te_id='${ARG1}' and sipfriends.te_id='${ARG1}' and te_tenants.te_id='${ARG1}' and ( ex_number='${ARG2}' or sipfriends.name='${ARG2}' or concat(ex_number,te_code)='${ARG2}' ) and ex_tech='SIP' and ex_tech_id=sipfriends.id order by reg_on_me DESC,regseconds desc,regserver limit 1' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'db02' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1}' and sipfriends.te_id='${ARG1}' and te_tenants.te_id='${ARG1}' and ( ex_number='${ARG2}' or sipfriends.name='${ARG2}' or concat(ex_number,te_code)='${ARG2}' ) and ex_tech='SIP' and ex_tech_id=sipfriends.id order by reg_on_me DESC,regseconds desc,regserver limit 1' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1}' and te_tenants.te_id='${ARG1}' and ( ex_number='${ARG2}' or sipfriends.name='${ARG2}' or concat(ex_number,te_code)='${ARG2}' ) and ex_tech='SIP' and ex_tech_id=sipfriends.id order by reg_on_me DESC,regseconds desc,regserver limit 1' len 4) [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:3] MSet("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "LOCAL(PARAM1)=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1}' and ( ex_number='${ARG2}' or sipfriends.name='${ARG2}' or concat(ex_number,te_code)='${ARG2}' ) and ex_tech='SIP' and ex_tech_id=sipfriends.id order by reg_on_me DESC,regseconds desc,regserver limit 1' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2}' or sipfriends.name='${ARG2}' or concat(ex_number,te_code)='${ARG2}' ) and ex_tech='SIP' and ex_tech_id=sipfriends.id order by reg_on_me DESC,regseconds desc,regserver limit 1' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2}' or concat(ex_number,te_code)='${ARG2}' ) and ex_tech='SIP' and ex_tech_id=sipfriends.id order by reg_on_me DESC,regseconds desc,regserver limit 1' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TYPE' is 'QUEUE-BEFORERINGING' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2}' ) and ex_tech='SIP' and ex_tech_id=sipfriends.id order by reg_on_me DESC,regseconds desc,regserver limit 1' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ID' is '9' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'PARAM1' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ROUTINGPROFILE' is NULL [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:4] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Checking how many entries for the destination QUEUE-BEFORERINGING with code 9. PARAM1 is [] - ROUTING PROFILE is ") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TYPE' is 'QUEUE-BEFORERINGING' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ID' is '9' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and de_type_id_src='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'QUEUE-BEFORERINGING' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(QUEUE-BEFORERINGING) result is 'QUEUE-BEFORERINGING' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '9' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(9) result is '9' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6a0004ea0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'count(*)' (offset 0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6a0004ea0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 7 for column 'ex_tech' (offset 0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'SIP' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 9 for column 'reg_on_me' (offset 1) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 10 for column 'regseconds' (offset 2) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '1644254304' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 9 for column 'regserver' (offset 3) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'oraclepbx' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 4 for column 'name' (offset 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '203-call' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 5 for column 'ex_id' (offset 5) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '38' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 14 for column 'ex_dialtimeout' (offset 6) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '45' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 8 for column 'ex_trunk' (offset 7) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 6 for column 'lastms' (offset 8) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '22' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 4 for column 'host' (offset 9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'dynamic' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 22 for column 'ex_unconditionalstatus' (offset 10) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 15 for column 'ex_onbusystatus' (offset 11) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 18 for column 'ex_onofflinestatus' (offset 12) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 19 for column 'ex_onnoanswerstatus' (offset 13) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 20 for column 'ex_onconditionstatus' (offset 14) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 17 for column 'ex_oncondition_id' (offset 15) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 6 for column 'ex_dnd' (offset 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 8 for column 'ex_rp_id' (offset 17) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '45' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 9 for column 'ex_number' (offset 18) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 11 for column 'ex_txvolume' (offset 19) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 11 for column 'ex_rxvolume' (offset 20) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 21 for column 'ex_notifymissingemail' (offset 21) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 13 for column 'ex_fmfmstatus' (offset 22) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 13 for column 'ex_fmfmnumber' (offset 23) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 18 for column 'ex_fmfmdialtimeout' (offset 24) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '30' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx,30' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 15 for column 'ex_fmfmcallerid' (offset 25) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'ORIGINAL' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx,30,ORIGINAL' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 16 for column 'ex_fmfmnumprefix' (offset 26) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '9' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx,30,ORIGINAL,9' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 17 for column 'ex_fmfmnameprefix' (offset 27) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx,30,ORIGINAL,9,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 17 for column 'ex_fmfmdialmethod' (offset 28) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'Simultaneous' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx,30,ORIGINAL,9,,Simultaneous' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 24 for column 'ex_fmfmconfirmmessage_id' (offset 29) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx,30,ORIGINAL,9,,Simultaneous,0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 14 for column 'ex_fmfmconfirm' (offset 30) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx,30,ORIGINAL,9,,Simultaneous,0,on' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 21 for column 'ex_fmfmholdmessage_id' (offset 31) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '-1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx,30,ORIGINAL,9,,Simultaneous,0,on,-1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 11 for column 'ex_trunkdid' (offset 32) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx,30,ORIGINAL,9,,Simultaneous,0,on,-1,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 14 for column 'ex_callwaiting' (offset 33) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx,30,ORIGINAL,9,,Simultaneous,0,on,-1,,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 13 for column 'ex_autoanswer' (offset 34) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx,30,ORIGINAL,9,,Simultaneous,0,on,-1,,,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 12 for column 'ex_spygroups' (offset 35) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx,30,ORIGINAL,9,,Simultaneous,0,on,-1,,,,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 18 for column 'ex_inboundblockcid' (offset 36) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx,30,ORIGINAL,9,,Simultaneous,0,on,-1,,,,,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 22 for column 'ex_inboundblockcidname' (offset 37) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx,30,ORIGINAL,9,,Simultaneous,0,on,-1,,,,,,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx,30,ORIGINAL,9,,Simultaneous,0,on,-1,,,,,,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_COUNT_DEST(QUEUE-BEFORERINGING,9) result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:5] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "LOCAL(NDEST)=0") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'NDEST' is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:6] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Identified 0 entries") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'NDEST' is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:7] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?8:9") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (FollowDestination,~~s~~,9) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:9] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_FollowDestination_419") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:10] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "LOCAL(niter)=0") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'NDEST' is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:11] MSet("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "niter=0") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'niter' is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:12] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?13:645") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (FollowDestination,~~s~~,645) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:645] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish for_FollowDestination_420") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:646] Return("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'membernumber' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'DIALTIMEOUT' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_calltimeout) result is '7200' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:275] Gosub("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "dialpeerexten,xxxxxxxxxx,1(,,,7200)") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG4' to '7200' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'PEERNAME' is '200-call' [2022-02-07 19:17:25] WARNING[4565][C-00000e4d] func_channel.c: Unknown or unavailable item requested: 'PEERNAME' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CHANNEL(PEERNAME) result is '(null)' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CALLERID(name) result is 'BEN' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '200' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(accountcode) result is 'call' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TTL' is '97' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:1] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Received a call with PEERNAME set to 200-call from with callerid name BEN and callerid num 200 to number xxxxxxxxxx for tenant call TENANTID is 15 TTL is 97") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'BLINDTRANSFER' is NULL [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:2] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?3:4") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:4] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialpeerexten_2234") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_DEVICEINFO_FROM_NUMBER(15,203,db02) result is 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx,30,ORIGINAL,9,,Simultaneous,0,on,-1,,,,,,' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1713] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "HASH(PEER)=SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx,30,ORIGINAL,9,,Simultaneous,0,on,-1,,,,,,") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array (ex_tech,reg_on_me,regseconds,regserver,name,ex_id,ex_dialtimeout,ex_trunk,lastms,host,ex_unconditionalstatus,ex_onbusystatus,ex_onofflinestatus,ex_onnoanswerstatus,ex_onconditionstatus,ex_oncondition_id,ex_dnd,ex_rp_id,ex_number,ex_txvolume,ex_rxvolume,ex_notifymissingemail,ex_fmfmstatus,ex_fmfmnumber,ex_fmfmdialtimeout,ex_fmfmcallerid,ex_fmfmnumprefix,ex_fmfmnameprefix,ex_fmfmdialmethod,ex_fmfmconfirmmessage_id,ex_fmfmconfirm,ex_fmfmholdmessage_id,ex_trunkdid,ex_callwaiting,ex_autoanswer,ex_spygroups,ex_inboundblockcid,ex_inboundblockcidname=SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx,30,ORIGINAL,9,,Simultaneous,0,on,-1,,,,,,) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (ex_tech=SIP) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'ADDJITTERBUFFER' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (reg_on_me=0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (regseconds=1644254304) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(ADDJITTERBUFFER) result is 'ADDJITTERBUFFER' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (regserver=oraclepbx) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (name=203-call) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (ex_id=38) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (ex_dialtimeout=45) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (ex_trunk=) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (lastms=22) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (host=dynamic) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (ex_unconditionalstatus=) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (ex_onbusystatus=) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (ex_onofflinestatus=) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (ex_onnoanswerstatus=) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (ex_onconditionstatus=) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (ex_oncondition_id=0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (ex_dnd=) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (ex_rp_id=45) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (ex_number=203) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (ex_txvolume=) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (ex_rxvolume=) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (ex_notifymissingemail=) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (ex_fmfmstatus=) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (ex_fmfmnumber=xxxxxxxxxx) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (ex_fmfmdialtimeout=30) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (ex_fmfmcallerid=ORIGINAL) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (ex_fmfmnumprefix=9) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (ex_fmfmnameprefix=) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (ex_fmfmdialmethod=Simultaneous) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (ex_fmfmconfirmmessage_id=0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (ex_fmfmconfirm=on) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (ex_fmfmholdmessage_id=-1) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (ex_trunkdid=) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (ex_callwaiting=) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (ex_autoanswer=) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (ex_spygroups=) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (ex_inboundblockcid=) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_strings.c: array set value (ex_inboundblockcidname=) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_name) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1714] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "EXTNAME=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_spygroups) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1715] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?1716:1720") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,1720) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1720] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2598") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_rp_id) result is '45' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1721] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "ROUTINGPROFILE=45") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_id) result is '38' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1722] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "LOCAL(PEEREXID)=38") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_faxgateway) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1723] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?1724:1725") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,1725) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1725] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2600") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_inboundblockcid) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1726] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?1727:1728") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,1728) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1728] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2601") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_inboundblockcidname) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1729] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?1730:1731") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,1731) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1731] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2602") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_ignoreinternalmissed) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'INCOMINGDID' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1732] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "1?1733:1734") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,1733) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_notifymissingemail) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1733] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "NOTIFYMISSEDCALL=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1734] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2603") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_unconditionalstatus) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'NOFOLLOWEXTENSION' is 'yes' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1735] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?1736:1752") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,1752) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_dnd) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1752] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?1753:1791") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,1791) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1791] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2604_2607") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is '203' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_tech) result is 'SIP' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(PEER,name) result is '203-call' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(PEER,regserver) result is 'oraclepbx' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1792] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Number 203 is associated to the device SIP/203-call on the server oraclepbx") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1793] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2604") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_onconditionstatus) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'NOFOLLOWEXTENSION' is 'yes' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1794] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?1795:1817") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,1817) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1817] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2616") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(PEER,name) result is '203-call' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function DEVICE_STATE(Custom:203-call) result is 'NOT_INUSE' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1818] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "STATE=NOT_INUSE") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'STATE' is 'NOT_INUSE' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_id) result is '38' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'CELGenUserEvent' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1819] CELGenUserEvent("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "SIP-NOT_INUSE,38") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'STATE' is 'NOT_INUSE' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1820] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?1821:1868") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,1868) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1868] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2620") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(PEER,regserver) result is 'oraclepbx' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'STATE' is 'NOT_INUSE' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'STATE' is 'NOT_INUSE' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'STATE' is 'NOT_INUSE' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(PEER,host) result is 'dynamic' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1869] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?1870:2028") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,2028) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_dialtimeout) result is '45' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2028] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "extensionDialTimeout=45") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_dialtimeout) result is '45' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_dialtimeout) result is '45' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2029] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?2030:2031") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,2031) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2031] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2632_2667") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'DIALTIMEOUT' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'DIALTIMEOUT' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2032] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "1?2033:2035") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,2033) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'extensionDialTimeout' is '45' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2033] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "LOCAL(DIALTIMEOUT)=45") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2034] Goto("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "2040") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,2040) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2040] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2632_2668") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SYSTEMNAME' is 'db02' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(PEER,regserver) result is 'oraclepbx' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(PEER,host) result is 'dynamic' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2041] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?2042:2053") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,2053) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_tech) result is 'SIP' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_id) result is '38' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(PEER,regserver) result is 'oraclepbx' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2053] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "LOCAL(DIALSTRING)=SIP/38@oraclepbx") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2054] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2632_2671") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_fmfmstatus) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_fmfmdialmethod) result is 'Simultaneous' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'NOFMFM' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'NOFOLLOWEXTENSION' is 'yes' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2055] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?2056:2106") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,2106) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2106] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2632_2674") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CALLERID(name) result is 'BEN' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2107] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Callerid name is BEN") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '200' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2108] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Callerid num is 200") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_rxvolume) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2109] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "1?2110:2112") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,2110) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'VOLUMERXLEVEL' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(VOLUMERXLEVEL) result is 'VOLUMERXLEVEL' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,ADDJITTERBUFFER) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:5] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "addjitterbuffer=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'addjitterbuffer' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:6] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?7:8") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,8) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:8] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialpeerexten_2235") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:9] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?10:15") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,15) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:15] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialpeerexten_2236") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function STRFTIME(,,%H:%M:%S.%5q) result is '19:17:25.93703' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:16] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Now is 19:17:25.93703") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:17] Gosub("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "saveCallParams,~~s~~,1") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is NULL [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:1] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?2:3") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (saveCallParams,~~s~~,2) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:2] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "savedLevel=0") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:3] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_saveCallParams_1367") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:4] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "savedLevel=1") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'DIALOPTION' is 'Tt' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:5] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "savedDIALOPTION1=Tt") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CONFIRM' is 'yes' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:6] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "savedCONFIRM1=yes") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CONFIRMMD5' is 'pbx/9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:7] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "savedCONFIRMMD51=pbx/9486fbd9ec639aa19a505a653fe47324") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'NOFOLLOWEXTENSION' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:8] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "savedNOFOLLOWEXTENSION1=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'NOFMFM' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:9] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "savedNOFMFM1=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ONLYFMFM' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:10] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "savedONLYFMFM1=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:11] Return("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:18] Gosub("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "checkTTL,~~s~~,1") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,VOLUMERXLEVEL) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2110] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "VOLUMERXLEVEL=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2111] Goto("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "2113") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TTL' is '97' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:1] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?2:6") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (checkTTL,~~s~~,6) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:6] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_checkTTL_2129") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TTL' is '97' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '96' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:7] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "TTL=96") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TTL' is '96' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:8] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?9:13") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (checkTTL,~~s~~,13) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:13] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_checkTTL_2131") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'maxanychannels' is '-1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:14] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?15:16") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (checkTTL,~~s~~,16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:16] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_checkTTL_2132") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:17] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "GROUP(ANYTENANT)=15") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SYSTEMNAME' is 'db02' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function GROUP_COUNT(15@ANYTENANT) result is '3' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:18] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "ODBC_SET_GROUP_COUNT(15@ANYTENANT,db02)=3") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}','${SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15@ANYTENANT' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15@ANYTENANT) result is '15@ANYTENANT' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'db02' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02) result is 'db02' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '3' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(3) result is '3' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '3' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(3) result is '3' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,2113) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2113] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2632_2685") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_txvolume) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2114] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "1?2115:2117") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,2115) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'VOLUMETXLEVEL' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(VOLUMETXLEVEL) result is 'VOLUMETXLEVEL' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6a0004ea0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6a0004ea0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,VOLUMETXLEVEL) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2115] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "VOLUMETXLEVEL=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2116] Goto("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "2118") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,2118) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2118] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2632_2686") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'DTMFVOLUME' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(DTMFVOLUME) result is 'DTMFVOLUME' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'maxanychannels' is '-1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'maxanychannels' is '-1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:19] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?20:27") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (checkTTL,~~s~~,27) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:27] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_checkTTL_2133") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:28] Return("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:19] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "LOCAL(NUMBER)=xxxxxxxxxx") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:20] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__TRANSFER_CONTEXT=authenticated") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CHANNEL' is 'Local/AG-000-CC-538@fromotherpbx-00000d2c;2' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:21] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__ORIGCHANNEL=Local/AG-000-CC-538@fromotherpbx-00000d2c;2") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6a0004ea0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'on' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to 'on' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6a0004ea0 into pool [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 7 for column 'te_code' (offset 0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'call' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'call' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'call' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,DTMFVOLUME) result is 'on' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2119] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "DTMFVOLUME=on") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'DTMFVOLUME' is 'on' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2120] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "1?2121:2122") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_ACCOUNTCODE_FROM_TENANTID(15) result is 'call' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:22] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "LOCAL(TENANTCODE)=call") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,2121) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2121] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "DTMF=p") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2122] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2632_2687") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'VOLUMERXLEVEL' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTCODE' is 'call' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2123] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?2124:2125") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function LEN(call) result is '3' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:23] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "LOCAL(TENANTCODELEN)=3") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,2125) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2125] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2632_2688") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTCODELEN' is '3' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'VOLUMETXLEVEL' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTCODE' is 'call' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTCODE' is 'call' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2126] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?2127:2128") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,2128) [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:24] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?25:29") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,29) [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2128] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2632_2689") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:29] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "LOCAL(CLEAREDNUMBER)=xxxxxxxxxx") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:30] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialpeerexten_2238") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_autoanswer) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'PEERNAME' is '200-call' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTCODE' is 'call' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:31] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__PICKUPMARK=xxxxxxxxxx-call") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2129] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?2130:2132") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,2132) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2132] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2632_2690") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:32] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Arg1 is ") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'DIALSTRING' is 'SIP/38@oraclepbx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:33] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Arg2 is ") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2133] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "1?2134:2143") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,2134) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:34] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Arg3 is ") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'STDDIALOPTION' is 'U(destChannelActions^${ALWAYSRECORD}^${RECORDINGFORMAT}^${CONFIRM}^${CONFIRMMD5}^${ONANSWER}^${ONANSWERID}^${RECORDOTHERLEG}^${MIXMONITOROPTION})b(pjsip_header,setpjsipheader,1)' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG4' is '7200' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'DIALOPTION' is 'TtL(7200000)t' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:35] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Arg4 is 7200") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ALWAYSRECORD' is 'externalchange' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'RECORDINGFORMAT' is 'wav' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'CONFIRM' is NULL [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG5' is NULL [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'CONFIRMMD5' is 'pbx/9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:36] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Arg5 is ") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ONANSWER' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ONANSWERID' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'RECORDOTHERLEG' is 'on' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'MIXMONITOROPTION' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:37] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?38:39") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function EVAL(U(destChannelActions^${ALWAYSRECORD}^${RECORDINGFORMAT}^${CONFIRM}^${CONFIRMMD5}^${ONANSWER}^${ONANSWERID}^${RECORDOTHERLEG}^${MIXMONITOROPTION})b(pjsip_header,setpjsipheader,1)TtL(7200000)t) result is 'U(destChannelActions^externalchange^wav^^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2134] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "nowDIALOPTION=U(destChannelActions^externalchange^wav^^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,39) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:39] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialpeerexten_2239") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2135] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "CONFIRM=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'DIALEDNUMBER' is '900' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:40] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?41:42") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2136] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "CONFIRMMD5=") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,42) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:42] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialpeerexten_2240") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2137] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "ONANSWER=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:43] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "LASTDIALEDNUMBER=xxxxxxxxxx") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2138] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "ONANSWERID=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:44] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?45:47") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2139] Gosub("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "runAcallcript,~~s~~,1(AGIBEFORECALLEXT)") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,47) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG1' to 'AGIBEFORECALLEXT' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:47] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?48:50") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'AGIBEFORECALLEXT' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,50) [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:1] MSet("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "LOCAL(AGICALL)=AGIBEFORECALLEXT") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:50] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?51:53") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,53) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:53] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_dialpeerexten_2241_2242_2243") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'AGICALL' is 'AGIBEFORECALLEXT' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:54] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_dialpeerexten_2241_2242") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:55] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialpeerexten_2241") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:56] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?57:60") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,60) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:60] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialpeerexten_2244") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG4' is '7200' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:61] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?62:63") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,62) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'DIALOPTION' is 'Tt' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG4' is '7200' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:62] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "DIALOPTION=TtL(7200000)") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:63] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialpeerexten_2245") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'AGIBEFORECALLEXT' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG5' is NULL [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(AGIBEFORECALLEXT) result is 'AGIBEFORECALLEXT' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:64] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?65:66") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,66) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:66] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialpeerexten_2246") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG6' is NULL [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:67] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?68:78") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,78) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:78] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialpeerexten_2247") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(firstdst) result is '900' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:79] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?80:82") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,82) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'DIALEDPEERNUMBER' is NULL [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:82] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Checking to fix connected number to ") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'DIALEDPEERNUMBER' is NULL [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:83] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?84:86") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,86) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:86] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "CDR(lastdst)=xxxxxxxxxx") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:87] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_dialpeerexten_2250_2251") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:88] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialpeerexten_2250") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'BLOCKDTMFTRANSFERS' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(BLOCKDTMFTRANSFERS) result is 'BLOCKDTMFTRANSFERS' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,AGIBEFORECALLEXT) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:2] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "AcallCRIPTID=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'AcallCRIPTID' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:3] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?4:31") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (runAcallcript,~~s~~,31) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:31] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_runAcallcript_1379") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:32] Return("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2140] Gosub("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "encodeCallParams,~~s~~,1") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASHKEYS(USRVARS) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:1] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "USERVARLIST=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(USRVARS) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:2] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "USERVARVALUES=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'SIPRemoveHeader' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:3] SIPRemoveHeader("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "X-PBX") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: removing SIP Header "X-PBX: 97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||||" as SIPADDHEADER02 [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'CDRcallUniqueID' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:4] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?5:6") in new stack [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (encodeCallParams,~~s~~,6) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:6] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_encodeCallParams_1373") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TTL' is '96' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'PEERNAME' is '200-call' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'REALPEERNAME' is '200-call' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'INCOMINGDID' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SETCALLERID' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'VALIDCALLERID' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'CDRcallUniqueID' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(sequence) result is '13302' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'NOFOLLOWEXTENSION' is 'yes' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ONLYFMFM' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'NOFMFM' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'DIALOPTION' is 'TtL(7200000)t' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'DIALTIMEOUT' is '45' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'DIALEDNUMBER' is '900' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(firstdst) result is '900' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CHANNEL(musicclass) result is '457' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ONANSWER' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ONANSWERID' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'BLINDCONNECTEDNUM' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'FMFMDIALTIMEOUT' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'FMFMCALLERID' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'LANGUAGE' is 'he' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'QUEUEOPTION' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'FROMQUEUEID' is '9' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'PRIVACYID' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'RESPONSEPATHID' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'PLAYBACKOPTION' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SETQUEUERULE' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SETQUEUEMINPENALTY' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SETQUEUEMAXPENALTY' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SETQUEUERAISEPENALTY' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'USERVARLIST' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'USERVARVALUES' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'AUTOANSWER' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'QUEUE_MAX_PENALTY' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'QUEUE_MIN_PENALTY' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'QUEUE_RAISE_PENALTY' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:7] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__PBX=96|200-call|200-call|15||||oraclepbx-1644254244.1743648|13302|yes|||TtL(7200000)t|45|900|900|457||||||he||9|||||||||||||") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'PBX' is '96|200-call|200-call|15||||oraclepbx-1644254244.1743648|13302|yes|||TtL(7200000)t|45|900|900|457||||||he||9|||||||||||||' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function LEN(96|200-call|200-call|15||||oraclepbx-1644254244.1743648|13302|yes|||TtL(7200000)t|45|900|900|457||||||he||9|||||||||||||) result is '118' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:8] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Call params length: 118") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'PBX' is '96|200-call|200-call|15||||oraclepbx-1644254244.1743648|13302|yes|||TtL(7200000)t|45|900|900|457||||||he||9|||||||||||||' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'SIPAddHeader' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:9] SIPAddHeader("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "X-PBX: 96|200-call|200-call|15||||oraclepbx-1644254244.1743648|13302|yes|||TtL(7200000)t|45|900|900|457||||||he||9|||||||||||||") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: SIP Header added "X-PBX: 96|200-call|200-call|15||||oraclepbx-1644254244.1743648|13302|yes|||TtL(7200000)t|45|900|900|457||||||he||9|||||||||||||" as __SIPADDHEADER02 [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:10] Return("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'DIALSTRING' is 'SIP/38@oraclepbx' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'DIALTIMEOUT' is '45' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'nowDIALOPTION' is 'U(destChannelActions^externalchange^wav^^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Dial' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2141] Dial("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "SIP/38@oraclepbx,45,U(destChannelActions^externalchange^wav^^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] app_dial.c: Local/AG-000-NF-38@fromotherpbx-00000d2b;2: Data: SIP/38@oraclepbx,45,U(destChannelActions^externalchange^wav^^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,BLOCKDTMFTRANSFERS) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:89] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "BLOCKDTMFTRANSFERS=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'BLOCKDTMFTRANSFERS' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] features.c: Setting call duration limit to 7200.000 seconds. [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:90] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?91:92") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,91) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'DIALOPTION' is 'TtL(7200000)' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:91] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "DIALOPTION=TtL(7200000)t") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: Asked to create a SIP channel with formats: (ulaw) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:92] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialpeerexten_2252") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:93] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Checking internal routing number") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'ClearHash' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:94] ClearHash("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "internalRouting") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: Allocating new SIP dialog for 32ff9b4312abd9f75aaa77330cc8061f@[fe80::f03c:92ff:fea6:b812]:5060 - INVITE (No RTP) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and '${SQL_ESC(${ARG2})}' regexp(ir_regexp) limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] rtp_engine.c: Using engine 'asterisk' for RTP instance '0x7fe63801f860' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' regexp(ir_regexp) limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_rtp_asterisk.c: (0x7fe63801f860) RTP allocated port 18588 [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_rtp_asterisk.c: (0x7fe63801f860) ICE creating session 0.0.0.0:18588 (18588) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_rtp_asterisk.c: (0x7fe63801f860) ICE create [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_rtp_asterisk.c: (0x7fe63801f860) ICE add system candidates [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] netsock2.c: Splitting 'XXX.XXX.XXX.XXX' into... [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] netsock2.c: ...host 'XXX.XXX.XXX.XXX' and port ''. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_rtp_asterisk.c: (0x7fe63801f860) ICE add candidate: XXX.XXX.XXX.XXX:18588, 2130706431 [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] rtp_engine.c: RTP instance '0x7fe63801f860' is setup and ready to go [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_rtp_asterisk.c: (0x7fe63801f860) ICE stopped [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] rtp_engine.c: Using engine 'asterisk' for RTP instance '0x7fe63800b3d0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_rtp_asterisk.c: (0x7fe63800b3d0) RTP allocated port 16452 [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_rtp_asterisk.c: (0x7fe63800b3d0) ICE creating session 0.0.0.0:16452 (16452) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_rtp_asterisk.c: (0x7fe63800b3d0) ICE create [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_rtp_asterisk.c: (0x7fe63800b3d0) ICE add system candidates [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] netsock2.c: Splitting 'XXX.XXX.XXX.XXX' into... [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] netsock2.c: ...host 'XXX.XXX.XXX.XXX' and port ''. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_rtp_asterisk.c: (0x7fe63800b3d0) ICE add candidate: XXX.XXX.XXX.XXX:16452, 2130706431 [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] rtp_engine.c: RTP instance '0x7fe63800b3d0' is setup and ready to go [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_rtp_asterisk.c: (0x7fe63800b3d0) ICE stopped [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] netsock2.c: Splitting 'db02' into... [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] netsock2.c: ...host 'db02' and port ''. [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_INTERNAL_ROUTE(15,xxxxxxxxxx) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:95] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "HASH(internalRouting)=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array (te_code=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_code=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(internalRouting,ir_id) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:96] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?97:99") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,99) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:99] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialpeerexten_2253") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] acl.c: Multiple addresses. Using the first only [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_rtp_asterisk.c: (0x7fe63800b3d0) RTCP setup on RTP instance [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] netsock2.c: Using SIP VIDEO TOS bits 136 [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] netsock2.c: Using SIP VIDEO CoS mark 4 [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] netsock2.c: Splitting 'db02' into... [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] netsock2.c: ...host 'db02' and port ''. [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'CALLERIDONATTENDED' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(CALLERIDONATTENDED) result is 'CALLERIDONATTENDED' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] acl.c: Multiple addresses. Using the first only [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_rtp_asterisk.c: (0x7fe63801f860) RTCP setup on RTP instance [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] netsock2.c: Using SIP RTP TOS bits 184 [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] netsock2.c: Using SIP RTP CoS mark 5 [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: Setting NAT on RTP to On [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: Setting NAT on VRTP to On [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: OBPROXY: Not applying OBproxy to this call [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] acl.c: For destination 'XXX.X.XXX.XX', our source address is 'XXX.XXX.XXX.XXX'. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: Setting AST_TRANSPORT_UDP with address XXX.XXX.XXX.XXX:5060 [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: Setting NAT on RTP to On [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: Setting NAT on VRTP to On [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: SIP call-id changed from '32ff9b4312abd9f75aaa77330cc8061f@[fe80::f03c:92ff:fea6:b812]:5060' to '0b317f51402757466bf68d6b3fdde478@XXX.XXX.XXX.XXX:5060' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel_internal_api.c: : Formats: (none) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel_internal_api.c: Channel is being initialized or destroyed [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] stasis.c: Creating topic. name: channel:db02-1644254245.72713, detail: [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] stasis.c: Topic 'channel:db02-1644254245.72713': 0x7fe638044610 created [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Channel 0x7fe638024e60 'SIP/oraclepbx-00000c09' allocated [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel_internal_api.c: SIP/oraclepbx-00000c09: Formats: (ulaw) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel_internal_api.c: New topology set [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: *** Our native formats are (ulaw) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: *** Joint capabilities are (ulaw) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: *** Our capabilities are (ulaw|alaw|gsm|h263|codec2|g723|g726|g726aal2|adpcm|slin|slin12|slin16|slin24|slin32|slin44|slin48|slin96|slin192|lpc10|g729|speex|speex16|speex32|ilbc|g722|siren7|siren14|testlaw|g719|opus|jpeg|png|h261|h263p|h264|h265|mpeg4|vp8|vp9|red|t140|t38|silk8|silk12|silk16|silk24) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: *** AST_CODEC_CHOOSE formats are ulaw [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: *** Our preferred formats from the incoming channel are (ulaw) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_rtp_asterisk.c: (0x7fe63800b3d0) DTLS stop [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_rtp_asterisk.c: (0x7fe63800b3d0) DTLS srtp - stopped timeout timer' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_rtp_asterisk.c: (0x7fe63800b3d0) DTLS srtp - stopped timeout timer' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] res_rtp_asterisk.c: (0x7fe63800b3d0) ICE RTP transport deallocating [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] rtp_engine.c: Destroyed RTP instance '0x7fe63800b3d0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: This channel will not be able to handle video. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel_internal_api.c: Channel Call ID changing from [C-00000e4d] to [C-00000e4d] [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __SIPADDHEADER02 from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __PBX from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __SIMPLEANSWERED from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __PICKUPMARK from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __ORIGCHANNEL from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __TRANSFER_CONTEXT from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __AGENTNUMBER from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __TENANTID from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __TIMEZONE from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __SIMPLEPREVUNIQUEID from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __SIPADDHEADER03 from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __PEERNAME from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __REALPEERNAME from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __INCOMINGDID from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,CALLERIDONATTENDED) result is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __SETCALLERID from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:100] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "LOCAL(CALLERIDONATTENDED)=") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __VALIDCALLERID from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __CDRcallUniqueID from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __CDRcallSequence from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __ONLYFMFM from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __NOFMFM from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __DIALTIMEOUT from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __DIALEDNUMBER from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __BLINDCONNECTEDNUM from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __FMFMDIALTIMEOUT from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CALLERIDONATTENDED' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __FMFMCALLERID from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __QUEUEOPTION from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __FROMQUEUEID from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:101] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?102:103") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __PRIVACYID from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __RESPONSEPATHID from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,103) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __PLAYBACKOPTION from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:103] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialpeerexten_2254") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __SETQUEUERULE from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __SETQUEUEMINPENALTY from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __SETQUEUEMAXPENALTY from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CLEAREDNUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __SETQUEUERAISEPENALTY from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __AUTOANSWER from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:104] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Location number xxxxxxxxxx/xxxxxxxxxx in tenant 15") in new stack [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __QUEUE_MAX_PENALTY from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __QUEUE_MIN_PENALTY from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __QUEUE_RAISE_PENALTY from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CLEAREDNUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __MIXMONITOR_FILENAME from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __queuenumber from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __queueid from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __maxanychannels from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __TENANTCODE from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Inheriting variable __SIPADDHEADER01 from Local/AG-000-NF-38@fromotherpbx-00000d2b;2 to SIP/oraclepbx-00000c09. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] app_stack.c: Gosub args:pjsip_header,setpjsipheader,1 new_args:pjsip_header,setpjsipheader,1 [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' union SELECT 'MEETME' as tab, cr_id as code,cr_te_id as tenantid from cr_conferencerooms where cr_te_id='${SQL_ESC(${ARG1})}' and cr_number='${SQL_ESC(${ARG3})}' union SELECT 'QUEUE' as tab, qu_id as code,qu_te_id as tenantid from qu_queues where qu_te_id='${SQL_ESC(${ARG1})}' and qu_number='${SQL_ESC(${ARG3})}' union SELECT 'HUNTLIST' as tab, hu_id as code,hu_te_id as tenantid from hu_huntlists where hu_te_id='${SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'MEETME' as tab, cr_id as code,cr_te_id as tenantid from cr_conferencerooms where cr_te_id='${SQL_ESC(${ARG1})}' and cr_number='${SQL_ESC(${ARG3})}' union SELECT 'QUEUE' as tab, qu_id as code,qu_te_id as tenantid from qu_queues where qu_te_id='${SQL_ESC(${ARG1})}' and qu_number='${SQL_ESC(${ARG3})}' union SELECT 'HUNTLIST' as tab, hu_id as code,hu_te_id as tenantid from hu_huntlists where hu_te_id='${SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and cr_number='${SQL_ESC(${ARG3})}' union SELECT 'QUEUE' as tab, qu_id as code,qu_te_id as tenantid from qu_queues where qu_te_id='${SQL_ESC(${ARG1})}' and qu_number='${SQL_ESC(${ARG3})}' union SELECT 'HUNTLIST' as tab, hu_id as code,hu_te_id as tenantid from hu_huntlists where hu_te_id='${SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'QUEUE' as tab, qu_id as code,qu_te_id as tenantid from qu_queues where qu_te_id='${SQL_ESC(${ARG1})}' and qu_number='${SQL_ESC(${ARG3})}' union SELECT 'HUNTLIST' as tab, hu_id as code,hu_te_id as tenantid from hu_huntlists where hu_te_id='${SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and qu_number='${SQL_ESC(${ARG3})}' union SELECT 'HUNTLIST' as tab, hu_id as code,hu_te_id as tenantid from hu_huntlists where hu_te_id='${SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'HUNTLIST' as tab, hu_id as code,hu_te_id as tenantid from hu_huntlists where hu_te_id='${SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] app_stack.c: SIP/oraclepbx-00000c09 Internal Gosub(pjsip_header,setpjsipheader,1) start [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] app_stack.c: SIP/oraclepbx-00000c09 Original location: fromotherpbx,203,1 [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] app_stack.c: Channel SIP/oraclepbx-00000c09 has no datastore, so we're allocating one. [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] app_stack.c: Gosub exited with status 0 [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'AUTOANSWER' is '' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:1] NoOp("SIP/oraclepbx-00000c09", "Autoanswer is ") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CHANNEL(channeltype) result is 'SIP' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:2] GotoIf("SIP/oraclepbx-00000c09", "0?3:48") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,48) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:48] NoOp("SIP/oraclepbx-00000c09", "Finish if_pjsip_header_778") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] NOTICE[4564][C-00000e4d] app_stack.c: SIP/oraclepbx-00000c09 Abnormal 'Gosub(pjsip_header,setpjsipheader,1)' exit. Popping routine return locations. [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] app_stack.c: SIP/oraclepbx-00000c09 Ending location: pjsip_header,setpjsipheader,49 [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: Outgoing Call for 38 [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: Updating call counter for outgoing call [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: Call to peer 'oraclepbx' is 2 out of 2147483647 [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: Adding SIP Header "X-PBX" with content :96|200-call|200-call|15||||oraclepbx-1644254244.1743648|13302|yes|||TtL(7200000)t|45|900|900|457||||||he||9|||||||||||||: [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: Adding SIP Header "X-VoipMonitor-Custom1" with content :db02-1644254245.72702: [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: Adding SIP Header "X-VoipMonitor-Custom1" with content :db02-1644254244.72696: [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: This call needs video offers, but there's no video support enabled! [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] chan_sip.c: We think we can do text [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: This call needs text offers, but there's no text support enabled ! [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: ** Our capability: (ulaw|alaw|gsm|h263|g723|g726|g726aal2|adpcm|slin|slin12|slin16|slin24|slin32|slin44|slin48|slin96|slin192|lpc10|g729|speex|speex16|speex32|ilbc|g722|testlaw|opus|jpeg|png|h261|h263p|h264|h265|mpeg4|vp8|vp9|red|t140|t38|silk8|silk12|silk16|silk24) Video flag: False Text flag: False [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: ** Our prefcodec: (ulaw) [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] chan_sip.c: Audio is at 18588 [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] chan_sip.c: Adding codec ulaw to SDP [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] chan_sip.c: Adding codec alaw to SDP [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] chan_sip.c: Adding codec gsm to SDP [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] chan_sip.c: Adding codec g723 to SDP [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] chan_sip.c: Adding codec g726 to SDP [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] chan_sip.c: Adding codec g726aal2 to SDP [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] chan_sip.c: Adding codec adpcm to SDP [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] chan_sip.c: Adding codec slin to SDP [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] chan_sip.c: Adding codec slin12 to SDP [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] chan_sip.c: Adding codec slin16 to SDP [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] chan_sip.c: Adding codec slin24 to SDP [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] chan_sip.c: Adding codec slin32 to SDP [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] chan_sip.c: Adding codec slin44 to SDP [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] chan_sip.c: Adding codec slin48 to SDP [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] chan_sip.c: Adding codec slin96 to SDP [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] chan_sip.c: Adding codec slin192 to SDP [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] chan_sip.c: Adding codec lpc10 to SDP [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] chan_sip.c: Adding codec g729 to SDP [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] chan_sip.c: Adding codec speex to SDP [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] chan_sip.c: Adding codec speex16 to SDP [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] chan_sip.c: Adding codec speex32 to SDP [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] chan_sip.c: Adding codec ilbc to SDP [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] chan_sip.c: Adding codec g722 to SDP [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] chan_sip.c: Adding codec testlaw to SDP [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] chan_sip.c: Adding codec opus to SDP [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] chan_sip.c: Adding codec silk8 to SDP [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] chan_sip.c: Adding codec silk12 to SDP [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] chan_sip.c: Adding codec silk16 to SDP [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] chan_sip.c: Adding codec silk24 to SDP [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] chan_sip.c: Adding non-codec 0x1 (telephone-event) to SDP [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: -- Done with adding codecs to SDP [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: Done building SDP. Settling with this capability: (ulaw|alaw|gsm|h263|g723|g726|g726aal2|adpcm|slin|slin12|slin16|slin24|slin32|slin44|slin48|slin96|slin192|lpc10|g729|speex|speex16|speex32|ilbc|g722|testlaw|opus|jpeg|png|h261|h263p|h264|h265|mpeg4|vp8|vp9|red|t140|t38|silk8|silk12|silk16|silk24) [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: Initializing initreq for method INVITE - callid 0b317f51402757466bf68d6b3fdde478@XXX.XXX.XXX.XXX:5060 [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: Header 0 [ 34]: INVITE sip:38@XXX.X.XXX.XX SIP/2.0 [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: Header 1 [ 66]: Via: SIP/2.0/UDP XXX.XXX.XXX.XXX:5060;branch=z9hG4bK5285bb75;rport [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: Header 2 [ 16]: Max-Forwards: 70 [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: Header 3 [ 57]: From: "BEN" ;tag=as5f5a2c7f [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: Header 4 [ 25]: To: [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: Header 5 [ 39]: Contact: [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: Header 6 [ 62]: Call-ID: 0b317f51402757466bf68d6b3fdde478@XXX.XXX.XXX.XXX:5060 [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: Header 7 [ 16]: CSeq: 102 INVITE [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: Header 8 [ 31]: User-Agent: Asterisk PBX 18.6.0 [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: Header 9 [ 35]: Date: Mon, 07 Feb 2022 17:17:25 GMT [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: Header 10 [ 90]: Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: Header 11 [ 26]: Supported: replaces, timer [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: Header 12 [125]: X-PBX: 96|200-call|200-call|15||||oraclepbx-1644254244.1743648|13302|yes|||TtL(7200000)t|45|900|900|457||||||he||9||||||||||||| [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: Header 13 [ 44]: X-VoipMonitor-Custom1: db02-1644254245.72702 [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: Header 14 [ 44]: X-VoipMonitor-Custom1: db02-1644254244.72696 [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: Header 15 [ 89]: Remote-Party-ID: "BEN" ;party=calling;privacy=off;screen=no [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: Header 16 [ 29]: Content-Type: application/sdp [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] chan_sip.c: Reliably Transmitting (NAT) to XXX.X.XXX.XX:5060: [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: *** SIP TIMER: Initializing retransmit timer on packet: Id #45 [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] chan_sip.c: Trying to put 'INVITE sip:' onto UDP socket destined for XXX.X.XXX.XX:5060 [2022-02-07 19:17:25] VERBOSE[4564][C-00000e4d] app_dial.c: Called SIP/38@oraclepbx [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] app_dial.c: Local/AG-000-NF-38@fromotherpbx-00000d2b;2 [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Channel SIP/oraclepbx-00000c09 setting read format path: ulaw -> ulaw [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Channel Local/AG-000-NF-38@fromotherpbx-00000d2b;2 setting write format path: ulaw -> ulaw [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Channel Local/AG-000-NF-38@fromotherpbx-00000d2b;2 setting read format path: ulaw -> ulaw [2022-02-07 19:17:25] DEBUG[4564][C-00000e4d] channel.c: Channel SIP/oraclepbx-00000c09 setting write format path: ulaw -> ulaw [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_LOCATE_NUMBER(15,xxxxxxxxxx,xxxxxxxxxx) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:105] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "ARRAY(table,code,locatedteid)=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array (table,code,locatedteid=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (table=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (code=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (locatedteid=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:106] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__SIMPLEANSWERED=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'table' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:107] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?108:643") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,643) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'table' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:643] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?644:1145") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,1145) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'table' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:1145] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?1146:1708") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,1708) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'table' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:1708] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?1709:2271") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,2271) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'table' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:2271] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?2272:2275") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,2275) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'table' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:2275] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?2276:2279") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,2279) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'table' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:2279] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?2280:2283") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,2283) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'table' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:2283] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?2284:2287") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,2287) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'table' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:2287] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?2288:2293") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,2293) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'table' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:2293] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?2294:2335") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,2335) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'table' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:2335] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?2336:2341") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,2341) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'table' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:2341] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?2342:2362") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,2362) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'table' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:2362] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?2363:2386") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,2386) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'table' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:2386] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?2387:2420") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,2420) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:2420] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Number is an external call") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'X-OUTBOUND' is NULL [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:2421] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?2422:2425") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,2425) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'DIALTIMEOUT' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:2425] Gosub("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "dialoutbound,xxxxxxxxxx,1()") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?2:7") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,7) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:7] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialoutbound_1688") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:8] Gosub("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "checkTTL,~~s~~,1") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TTL' is '96' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:1] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?2:6") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (checkTTL,~~s~~,6) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:6] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_checkTTL_2129") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TTL' is '96' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '95' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:7] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "TTL=95") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TTL' is '95' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:8] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?9:13") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (checkTTL,~~s~~,13) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:13] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_checkTTL_2131") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'maxanychannels' is '-1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:14] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?15:16") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (checkTTL,~~s~~,16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:16] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_checkTTL_2132") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:17] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "GROUP(ANYTENANT)=15") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SYSTEMNAME' is 'db02' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function GROUP_COUNT(15@ANYTENANT) result is '3' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:18] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "ODBC_SET_GROUP_COUNT(15@ANYTENANT,db02)=3") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}','${SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15@ANYTENANT' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15@ANYTENANT) result is '15@ANYTENANT' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'db02' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02) result is 'db02' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '3' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(3) result is '3' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '3' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(3) result is '3' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'maxanychannels' is '-1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'maxanychannels' is '-1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:19] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?20:27") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (checkTTL,~~s~~,27) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:27] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_checkTTL_2133") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:28] Return("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '200' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CALLERID(name) result is 'BEN' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ROUTINGPROFILE' is NULL [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SMSROUTINGPROFILE' is NULL [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'BLINDTRANSFER' is NULL [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:9] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Received a request to go out to number xxxxxxxxxx from callerid num <200> and name Routing Profile is SMS Routing... is Blind transfer is ") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'BLINDCONNECTEDNUM' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:10] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?11:12") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,11) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:11] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__BLINDCONNECTEDNUM=xxxxxxxxxx") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:12] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialoutbound_1690") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:13] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__context=dialoutbound") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(userfield) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:14] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "CDR(userfield)=[outbound]") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(-1) result is '-1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'ALLOWEDOUTBOUNDDIGITS' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(ALLOWEDOUTBOUNDDIGITS) result is 'ALLOWEDOUTBOUNDDIGITS' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0123456789*+#' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '0123456789*+#' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '0123456789*+#' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-1,ALLOWEDOUTBOUNDDIGITS) result is '0123456789*+#' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:15] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "ALLOWEDOUTBOUNDDIGITS=0123456789*+#") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ALLOWEDOUTBOUNDDIGITS' is '0123456789*+#' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: c1=48, consumed=1, args.allowed=0123456789*+# [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: c1=49, consumed=1, args.allowed=123456789*+# [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: c1=50, consumed=1, args.allowed=23456789*+# [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: c1=51, consumed=1, args.allowed=3456789*+# [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: c1=52, consumed=1, args.allowed=456789*+# [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: c1=53, consumed=1, args.allowed=56789*+# [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: c1=54, consumed=1, args.allowed=6789*+# [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: c1=55, consumed=1, args.allowed=789*+# [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: c1=56, consumed=1, args.allowed=89*+# [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: c1=57, consumed=1, args.allowed=9*+# [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: c1=42, consumed=1, args.allowed=*+# [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: c1=43, consumed=1, args.allowed=+# [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: c1=35, consumed=1, args.allowed=# [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: Allowed: #*+0123456789 [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function FILTER(0123456789*+#,xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:16] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "LOCAL(NUMBER)=xxxxxxxxxx") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'NUMBER' (from 'NUMBER}' len 6) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function STRREPLACE(NUMBER,+,\+) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:17] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "LOCAL(REGEXNUMBER)=xxxxxxxxxx") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'PEERNAME' is '200-call' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:18] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "PEERNAME is already set to 200-call") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIMPLEDIRECTION' is NULL [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:19] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?20:22") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,22) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '200' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CALLERID(name) result is 'BEN' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'EPOCH' is '1644254245' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TIMEZONE' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function STRFTIME(1644254245,,%Y-%m-%d %H:%M:%S) result is '2022-02-07 19:17:25' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'UNIQUEID' is 'db02-1644254245.72706' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:22] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "ODBC_LOG_CALL_START_SIMPLE("15","OUT","200","BEN","xxxxxxxxxx","2022-02-07 19:17:25")="db02-1644254245.72706"") in new stack [2022-02-07 19:17:25] WARNING[4565][C-00000e4d] pbx_variables.c: Please avoid unnecessary spaces on variables as it may lead to unexpected results ('ODBC_LOG_CALL_START_SIMPLE("15","OUT","200","BEN","xxxxxxxxxx","2022-02-07 19:17:25")' set to '"db02-1644254245.72706"'). [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}','${SQL_ESC(${ARG6})}','${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG4})}','${SQL_ESC(${ARG5})}','ACTIVE','${SQL_ESC(${VAL1})}')' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG6})' (from 'SQL_ESC(${ARG6})}','${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG4})}','${SQL_ESC(${ARG5})}','ACTIVE','${SQL_ESC(${VAL1})}')' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG6' (from 'ARG6})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG6' is '2022-02-07 19:17:25' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(2022-02-07 19:17:25) result is '2022-02-07 19:17:25' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG4})}','${SQL_ESC(${ARG5})}','ACTIVE','${SQL_ESC(${VAL1})}')' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'OUT' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(OUT) result is 'OUT' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}','${SQL_ESC(${ARG4})}','${SQL_ESC(${ARG5})}','ACTIVE','${SQL_ESC(${VAL1})}')' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '200' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(200) result is '200' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG4})' (from 'SQL_ESC(${ARG4})}','${SQL_ESC(${ARG5})}','ACTIVE','${SQL_ESC(${VAL1})}')' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG4' (from 'ARG4})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG4' is 'BEN' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(BEN) result is 'BEN' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG5})' (from 'SQL_ESC(${ARG5})}','ACTIVE','${SQL_ESC(${VAL1})}')' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG5' (from 'ARG5})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG5' is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}')' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'VAL1' is 'db02-1644254245.72706' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02-1644254245.72706) result is 'db02-1644254245.72706' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x2777480 from class 'asteriskcdrdb1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x2777480 into pool [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:23] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialoutbound_1691") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:24] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?25:26") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,26) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:26] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialoutbound_1692") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'DIALTIMEOUT' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:27] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?28:29") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,28) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'DIALTIMEOUT' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(DIALTIMEOUT) result is 'DIALTIMEOUT' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '300' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '300' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '300' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,DIALTIMEOUT) result is '300' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:28] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "LOCAL(DIALTIMEOUT)=300") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:29] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialoutbound_1693") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'FAKERINGING' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(FAKERINGING) result is 'FAKERINGING' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,FAKERINGING) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:30] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "LOCAL(FAKERINGING)=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'FAKERINGING' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:31] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?32:33") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,33) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:33] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialoutbound_1694") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'SIPRemoveHeader' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:34] SIPRemoveHeader("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Alert-Info") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:35] Gosub("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "setpeername,~~s~~,1") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CHANNEL(channeltype) result is 'Local' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@setpeername:1] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Channel type is Local") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SETPEERNAME' is NULL [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(accountcode) result is 'call' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@setpeername:2] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "SETPEERNAME is CDR(accountcode) is call") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'PEERNAME' is '200-call' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@setpeername:3] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?4:63") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (setpeername,~~s~~,63) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@setpeername:63] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_setpeername_2825") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'REALPEERNAME' is '200-call' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@setpeername:64] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?65:66") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (setpeername,~~s~~,66) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@setpeername:66] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_setpeername_2842") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'ClearHash' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@setpeername:67] ClearHash("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "VirtualPeer") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'PEERNAME' is '200-call' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and vi_te_id='${SQL_ESC(${ARG1})}' and vi_name='${SQL_ESC(${ARG2})}' and ve_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ex_tech_id=ve_id and vi_ve_id=ve_id' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and vi_name='${SQL_ESC(${ARG2})}' and ve_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ex_tech_id=ve_id and vi_ve_id=ve_id' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' and ve_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ex_tech_id=ve_id and vi_ve_id=ve_id' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '200-call' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ex_tech_id=ve_id and vi_ve_id=ve_id' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_VIRTUALINFO_FROM_REALPEER(15,200-call) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@setpeername:68] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "HASH(VirtualPeer)=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array (se_value=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_strings.c: array set value (se_value=) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(VirtualPeer,ve_name) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@setpeername:69] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?70:71") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (setpeername,~~s~~,71) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@setpeername:71] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_setpeername_2843") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@setpeername:72] Return("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'QUEUELOGOUTBOUND' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(QUEUELOGOUTBOUND) result is 'QUEUELOGOUTBOUND' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,QUEUELOGOUTBOUND) result is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:36] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "QUEUELOGOUTBOUND=") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'QUEUELOGOUTBOUND' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:37] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?38:44") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,44) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:44] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialoutbound_1695") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'CALLERIDONBLIND' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(CALLERIDONBLIND) result is 'CALLERIDONBLIND' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'ORIGINAL' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'ORIGINAL' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'ORIGINAL' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,CALLERIDONBLIND) result is 'ORIGINAL' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:45] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "LOCAL(CALLERIDONBLIND)=ORIGINAL") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ALWAYSRECORD' is 'externalchange' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:46] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?47:57") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,47) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'BLINDTRANSFER' is NULL [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:47] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?48:54") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,48) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:48] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__DYNAMIC_FEATURES=FromInsideStopMixMonitor#FromInsideStartMixMonitor") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'MIXMONITORID' is NULL [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:49] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?50:52") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,50) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'MIXMONITOR_FILENAME' is 'db02-1644254244.72696.wav' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'MIXMONITOROPTION' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'MixMonitor' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:50] MixMonitor("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "db02-1644254244.72696.wav,abi(MIXMONITORID)") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] autochan.c: Created autochan 0x7fe67000a2e0 to hold channel Local/AG-000-CC-538@fromotherpbx-00000d2c;2 (0x7fe64c0204b0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SYSTEMNAME' is 'db02' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CHANNEL' is 'Local/AG-000-CC-538@fromotherpbx-00000d2c;2' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CDRcallUniqueID' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'MIXMONITORID' is '0x7fe670014340' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:51] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "ODBC_LOG_RECORDING_START(db02,Local/AG-000-CC-538@fromotherpbx-00000d2c;2,oraclepbx-1644254244.1743648)=0x7fe670014340") in new stack [2022-02-07 19:17:25] VERBOSE[4568][C-00000e4d] app_mixmonitor.c: Begin MixMonitor Recording Local/AG-000-CC-538@fromotherpbx-00000d2c;2 [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}','${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}','${SQL_ESC(${VAL1})}',NOW())' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'db02' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02) result is 'db02' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}','${SQL_ESC(${VAL1})}',NOW())' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'Local/AG-000-CC-538@fromotherpbx-00000d2c;2' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(Local/AG-000-CC-538@fromotherpbx-00000d2c;2) result is 'Local/AG-000-CC-538@fromotherpbx-00000d2c;2' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}','${SQL_ESC(${VAL1})}',NOW())' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(oraclepbx-1644254244.1743648) result is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}',NOW())' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '0x7fe670014340' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(0x7fe670014340) result is '0x7fe670014340' [2022-02-07 19:17:25] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:52] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_dialoutbound_1697_1698_1699") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:53] Goto("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "55") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,55) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:55] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_dialoutbound_1697_1698") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:56] Goto("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "69") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,69) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:69] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialoutbound_1697") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(-1) result is '-1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'TRUNKPREFIX' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(TRUNKPREFIX) result is 'TRUNKPREFIX' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-1,TRUNKPREFIX) result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:70] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__TRUNKPREFIX=0") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(-1) result is '-1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'INTERNATIONALPREFIX' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(INTERNATIONALPREFIX) result is 'INTERNATIONALPREFIX' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '00' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '00' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '00' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-1,INTERNATIONALPREFIX) result is '00' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:71] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__INTERNATIONALPREFIX=00") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'PEERNAME' is '200-call' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CALLERIDONBLIND' is 'ORIGINAL' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'INCOMINGDID' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'VALIDCALLERID' is '' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:72] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?73:75") in new stack [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,75) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx.c: Launching 'ClearHash' [2022-02-07 19:17:25] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:75] ClearHash("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "peerdetail") in new stack [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'PEERNAME' is '200-call' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' union select ex_id,ex_te_id,ex_name,ex_tech,ex_number,ex_trunk,ex_tech_id,ex_cidnum,ex_smscidnum,ex_cidname,ex_blockcid,ex_prefix,ex_regexprefix,ex_fmfmstatus,ex_fmfmnumber,ex_fmfmdialtimeout,ex_fmfmdialmethod,ex_fmfmcallerid,ex_fmfmnumprefix,ex_fmfmnameprefix,ex_recording,ex_dialtimeout,ex_unconditionalstatus,ex_onbusystatus,ex_onofflinestatus,ex_onnoanswerstatus,ex_callallowed,ex_destallowregex,ex_rp_id,ex_sms_rp_id,ex_dnd,ex_emergencycidnum,ex_emailrecording,ex_fmfmconfirm,ex_fmfmconfirmmessage_id,ex_minemailrecording,ex_trunkcidoverride,ex_trunkemergencycidoverride,ex_trunkcidsource,ex_fmfmholdmessage_id,ex_notifymissingemail,ex_ignoreinternalmissed,ex_txvolume,ex_rxvolume,ex_mu_id,ex_faxgateway,ex_faxalert,ex_trunkdid,ex_fmfmdelay,ex_abusedetection,ex_callwaiting,ex_costlimits,ex_dailycostlimit,ex_dailycostlimitdom,ex_dailycostlimitint,ex_routecostlimit,ex_monthlycostlimit,ex_monthlycostlimitdom,ex_monthlycostlimitint,ex_monthlycostwarning,ex_monthlycostwarningdom,ex_monthlycostwarningint,ex_dailycostwarning,ex_dailycostwarningdom,ex_dailycostwarningint,ex_cl_id,'' as language,ex_fromfilterregex,ex_spygroups,ex_rp_id,ex_sms_rp_id,ex_outboundtimeout,ex_useragentsecurity,ex_useragentallowed,ex_calleridregexsamesms,ex_prefixdefault,ex_regexprefixdefault,ex_parkinglot,ex_emergencynotes from ex_extensions,ve_virtualextensions where ex_tech='VIRTUAL' and ex_tech_id=ve_id and ve_name='${SQL_ESC(${ARG1})}' union select ex_id,ex_te_id,ex_name,ex_tech,ex_number,ex_trunk,ex_tech_id,ex_cidnum,ex_smscidnum,ex_cidname,ex_blockcid,ex_prefix,ex_regexprefix,ex_fmfmstatus,ex_fmfmnumber,ex_fmfmdialtimeout,ex_fmfmdialmethod,ex_fmfmcallerid,ex_fmfmnumprefix,ex_fmfmnameprefix,ex_recording,ex_dialtimeout,ex_unconditionalstatus,ex_onbusystatus,ex_onofflinestatus,ex_onnoanswerstatus,ex_callallowed,ex_destallowregex,ex_rp_id,ex_sms_rp_id,ex_dnd,ex_emergencycidnum,ex_emailrecording,ex_fmfmconfirm,ex_fmfmconfirmmessage_id,ex_minemailrecording,ex_trunkcidoverride,ex_trunkemergencycidoverride,ex_trunkcidsource,ex_fmfmholdmessage_id,ex_notifymissingemail,ex_ignoreinternalmissed,ex_txvolume,ex_rxvolume,ex_mu_id,ex_faxgateway,ex_faxalert,ex_trunkdid,ex_fmfmdelay,ex_abusedetection,ex_callwaiting,ex_costlimits,ex_dailycostlimit,ex_dailycostlimitdom,ex_dailycostlimitint,ex_routecostlimit,ex_monthlycostlimit,ex_monthlycostlimitdom,ex_monthlycostlimitint,ex_monthlycostwarning,ex_monthlycostwarningdom,ex_monthlycostwarningint,ex_dailycostwarning,ex_dailycostwarningdom,ex_dailycostwarningint,ex_cl_id,ps_endpoints.language as language,ex_fromfilterregex,ex_spygroups,ex_rp_id,ex_sms_rp_id,ex_outboundtimeout,ex_useragentsecurity,ex_useragentallowed,ex_calleridregexsamesms,ex_prefixdefault,ex_regexprefixdefault,ex_parkinglot,ex_emergencynotes from ex_extensions,ps_endpoints where ex_tech='PJSIP' and ex_tech_id=tech_id and id='${SQL_ESC(${ARG1})}' union select ex_id,ex_te_id,ex_name,ex_tech,ex_number,ex_trunk,ex_tech_id,ex_cidnum,ex_smscidnum,ex_cidname,ex_blockcid,ex_prefix,ex_regexprefix,ex_fmfmstatus,ex_fmfmnumber,ex_fmfmdialtimeout,ex_fmfmdialmethod,ex_fmfmcallerid,ex_fmfmnumprefix,ex_fmfmnameprefix,ex_recording,ex_dialtimeout,ex_unconditionalstatus,ex_onbusystatus,ex_onofflinestatus,ex_onnoanswerstatus,ex_callallowed,ex_destallowregex,ex_rp_id,ex_sms_rp_id,ex_dnd,ex_emergencycidnum,ex_emailrecording,ex_fmfmconfirm,ex_fmfmconfirmmessage_id,ex_minemailrecording,ex_trunkcidoverride,ex_trunkemergencycidoverride,ex_trunkcidsource,ex_fmfmholdmessage_id,ex_notifymissingemail,ex_ignoreinternalmissed,ex_txvolume,ex_rxvolume,ex_mu_id,ex_faxgateway,ex_faxalert,ex_trunkdid,ex_fmfmdelay,ex_abusedetection,ex_callwaiting,ex_costlimits,ex_dailycostlimit,ex_dailycostlimitdom,ex_dailycostlimitint,ex_routecostlimit,ex_monthlycostlimit,ex_monthlycostlimitdom,ex_monthlycostlimitint,ex_monthlycostwarning,ex_monthlycostwarningdom,ex_monthlycostwarningint,ex_dailycostwarning,ex_dailycostwarningdom,ex_dailycostwarningint,ex_cl_id,'' as language,ex_fromfilterregex,ex_spygroups,ex_rp_id,ex_sms_rp_id,ex_outboundtimeout,ex_useragentsecurity,ex_useragentallowed,ex_calleridregexsamesms,ex_prefixdefault,ex_regexprefixdefault,ex_parkinglot,ex_emergencynotes from ex_extensions,ce_customextensions where ex_tech='CUSTOM' and ex_tech_id=ce_id and ce_peername='${SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' union select ex_id,ex_te_id,ex_name,ex_tech,ex_number,ex_trunk,ex_tech_id,ex_cidnum,ex_smscidnum,ex_cidname,ex_blockcid,ex_prefix,ex_regexprefix,ex_fmfmstatus,ex_fmfmnumber,ex_fmfmdialtimeout,ex_fmfmdialmethod,ex_fmfmcallerid,ex_fmfmnumprefix,ex_fmfmnameprefix,ex_recording,ex_dialtimeout,ex_unconditionalstatus,ex_onbusystatus,ex_onofflinestatus,ex_onnoanswerstatus,ex_callallowed,ex_destallowregex,ex_rp_id,ex_sms_rp_id,ex_dnd,ex_emergencycidnum,ex_emailrecording,ex_fmfmconfirm,ex_fmfmconfirmmessage_id,ex_minemailrecording,ex_trunkcidoverride,ex_trunkemergencycidoverride,ex_trunkcidsource,ex_fmfmholdmessage_id,ex_notifymissingemail,ex_ignoreinternalmissed,ex_txvolume,ex_rxvolume,ex_mu_id,ex_faxgateway,ex_faxalert,ex_trunkdid,ex_fmfmdelay,ex_abusedetection,ex_callwaiting,ex_costlimits,ex_dailycostlimit,ex_dailycostlimitdom,ex_dailycostlimitint,ex_routecostlimit,ex_monthlycostlimit,ex_monthlycostlimitdom,ex_monthlycostlimitint,ex_monthlycostwarning,ex_monthlycostwarningdom,ex_monthlycostwarningint,ex_dailycostwarning,ex_dailycostwarningdom,ex_dailycostwarningint,ex_cl_id,ps_endpoints.language as language,ex_fromfilterregex,ex_spygroups,ex_rp_id,ex_sms_rp_id,ex_outboundtimeout,ex_useragentsecurity,ex_useragentallowed,ex_calleridregexsamesms,ex_prefixdefault,ex_regexprefixdefault,ex_parkinglot,ex_emergencynotes from ex_extensions,ps_endpoints where ex_tech='PJSIP' and ex_tech_id=tech_id and id='${SQL_ESC(${ARG1})}' union select ex_id,ex_te_id,ex_name,ex_tech,ex_number,ex_trunk,ex_tech_id,ex_cidnum,ex_smscidnum,ex_cidname,ex_blockcid,ex_prefix,ex_regexprefix,ex_fmfmstatus,ex_fmfmnumber,ex_fmfmdialtimeout,ex_fmfmdialmethod,ex_fmfmcallerid,ex_fmfmnumprefix,ex_fmfmnameprefix,ex_recording,ex_dialtimeout,ex_unconditionalstatus,ex_onbusystatus,ex_onofflinestatus,ex_onnoanswerstatus,ex_callallowed,ex_destallowregex,ex_rp_id,ex_sms_rp_id,ex_dnd,ex_emergencycidnum,ex_emailrecording,ex_fmfmconfirm,ex_fmfmconfirmmessage_id,ex_minemailrecording,ex_trunkcidoverride,ex_trunkemergencycidoverride,ex_trunkcidsource,ex_fmfmholdmessage_id,ex_notifymissingemail,ex_ignoreinternalmissed,ex_txvolume,ex_rxvolume,ex_mu_id,ex_faxgateway,ex_faxalert,ex_trunkdid,ex_fmfmdelay,ex_abusedetection,ex_callwaiting,ex_costlimits,ex_dailycostlimit,ex_dailycostlimitdom,ex_dailycostlimitint,ex_routecostlimit,ex_monthlycostlimit,ex_monthlycostlimitdom,ex_monthlycostlimitint,ex_monthlycostwarning,ex_monthlycostwarningdom,ex_monthlycostwarningint,ex_dailycostwarning,ex_dailycostwarningdom,ex_dailycostwarningint,ex_cl_id,'' as language,ex_fromfilterregex,ex_spygroups,ex_rp_id,ex_sms_rp_id,ex_outboundtimeout,ex_useragentsecurity,ex_useragentallowed,ex_calleridregexsamesms,ex_prefixdefault,ex_regexprefixdefault,ex_parkinglot,ex_emergencynotes from ex_extensions,ce_customextensions where ex_tech='CUSTOM' and ex_tech_id=ce_id and ce_peername='${SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' union select ex_id,ex_te_id,ex_name,ex_tech,ex_number,ex_trunk,ex_tech_id,ex_cidnum,ex_smscidnum,ex_cidname,ex_blockcid,ex_prefix,ex_regexprefix,ex_fmfmstatus,ex_fmfmnumber,ex_fmfmdialtimeout,ex_fmfmdialmethod,ex_fmfmcallerid,ex_fmfmnumprefix,ex_fmfmnameprefix,ex_recording,ex_dialtimeout,ex_unconditionalstatus,ex_onbusystatus,ex_onofflinestatus,ex_onnoanswerstatus,ex_callallowed,ex_destallowregex,ex_rp_id,ex_sms_rp_id,ex_dnd,ex_emergencycidnum,ex_emailrecording,ex_fmfmconfirm,ex_fmfmconfirmmessage_id,ex_minemailrecording,ex_trunkcidoverride,ex_trunkemergencycidoverride,ex_trunkcidsource,ex_fmfmholdmessage_id,ex_notifymissingemail,ex_ignoreinternalmissed,ex_txvolume,ex_rxvolume,ex_mu_id,ex_faxgateway,ex_faxalert,ex_trunkdid,ex_fmfmdelay,ex_abusedetection,ex_callwaiting,ex_costlimits,ex_dailycostlimit,ex_dailycostlimitdom,ex_dailycostlimitint,ex_routecostlimit,ex_monthlycostlimit,ex_monthlycostlimitdom,ex_monthlycostlimitint,ex_monthlycostwarning,ex_monthlycostwarningdom,ex_monthlycostwarningint,ex_dailycostwarning,ex_dailycostwarningdom,ex_dailycostwarningint,ex_cl_id,'' as language,ex_fromfilterregex,ex_spygroups,ex_rp_id,ex_sms_rp_id,ex_outboundtimeout,ex_useragentsecurity,ex_useragentallowed,ex_calleridregexsamesms,ex_prefixdefault,ex_regexprefixdefault,ex_parkinglot,ex_emergencynotes from ex_extensions,ce_customextensions where ex_tech='CUSTOM' and ex_tech_id=ce_id and ce_peername='${SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:25] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 5 for column 'ex_id' (offset 0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '35' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'ex_te_id' (offset 1) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 7 for column 'ex_name' (offset 2) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'BEN' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 7 for column 'ex_tech' (offset 3) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'PJSIP' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 9 for column 'ex_number' (offset 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '200' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'ex_trunk' (offset 5) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 10 for column 'ex_tech_id' (offset 6) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '2706' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 9 for column 'ex_cidnum' (offset 7) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '722280800' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 12 for column 'ex_smscidnum' (offset 8) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 10 for column 'ex_cidname' (offset 9) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 11 for column 'ex_blockcid' (offset 10) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 9 for column 'ex_prefix' (offset 11) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '02' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 14 for column 'ex_regexprefix' (offset 12) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '^[0-9]{7,7}$' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 13 for column 'ex_fmfmstatus' (offset 13) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 13 for column 'ex_fmfmnumber' (offset 14) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 18 for column 'ex_fmfmdialtimeout' (offset 15) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '30' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 17 for column 'ex_fmfmdialmethod' (offset 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'Simultaneous' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 15 for column 'ex_fmfmcallerid' (offset 17) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'ORIGINAL' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 16 for column 'ex_fmfmnumprefix' (offset 18) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 17 for column 'ex_fmfmnameprefix' (offset 19) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 12 for column 'ex_recording' (offset 20) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'yes' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 14 for column 'ex_dialtimeout' (offset 21) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '20' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 22 for column 'ex_unconditionalstatus' (offset 22) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 15 for column 'ex_onbusystatus' (offset 23) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 18 for column 'ex_onofflinestatus' (offset 24) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 19 for column 'ex_onnoanswerstatus' (offset 25) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 14 for column 'ex_callallowed' (offset 26) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'all' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 17 for column 'ex_destallowregex' (offset 27) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'ex_rp_id' (offset 28) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 12 for column 'ex_sms_rp_id' (offset 29) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 6 for column 'ex_dnd' (offset 30) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 18 for column 'ex_emergencycidnum' (offset 31) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 17 for column 'ex_emailrecording' (offset 32) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 14 for column 'ex_fmfmconfirm' (offset 33) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 24 for column 'ex_fmfmconfirmmessage_id' (offset 34) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '16' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 20 for column 'ex_minemailrecording' (offset 35) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 19 for column 'ex_trunkcidoverride' (offset 36) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'both' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 28 for column 'ex_trunkemergencycidoverride' (offset 37) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'number' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 17 for column 'ex_trunkcidsource' (offset 38) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'auto' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 21 for column 'ex_fmfmholdmessage_id' (offset 39) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '-1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 21 for column 'ex_notifymissingemail' (offset 40) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 23 for column 'ex_ignoreinternalmissed' (offset 41) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 11 for column 'ex_txvolume' (offset 42) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 11 for column 'ex_rxvolume' (offset 43) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'ex_mu_id' (offset 44) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 13 for column 'ex_faxgateway' (offset 45) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'no' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 11 for column 'ex_faxalert' (offset 46) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 11 for column 'ex_trunkdid' (offset 47) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 12 for column 'ex_fmfmdelay' (offset 48) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 17 for column 'ex_abusedetection' (offset 49) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'OFF' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 14 for column 'ex_callwaiting' (offset 50) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 13 for column 'ex_costlimits' (offset 51) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'no' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 17 for column 'ex_dailycostlimit' (offset 52) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 20 for column 'ex_dailycostlimitdom' (offset 53) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 20 for column 'ex_dailycostlimitint' (offset 54) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 17 for column 'ex_routecostlimit' (offset 55) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 19 for column 'ex_monthlycostlimit' (offset 56) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 22 for column 'ex_monthlycostlimitdom' (offset 57) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 22 for column 'ex_monthlycostlimitint' (offset 58) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 21 for column 'ex_monthlycostwarning' (offset 59) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 24 for column 'ex_monthlycostwarningdom' (offset 60) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 24 for column 'ex_monthlycostwarningint' (offset 61) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 19 for column 'ex_dailycostwarning' (offset 62) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 22 for column 'ex_dailycostwarningdom' (offset 63) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 22 for column 'ex_dailycostwarningint' (offset 64) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'ex_cl_id' (offset 65) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'language' (offset 66) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 18 for column 'ex_fromfilterregex' (offset 67) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 12 for column 'ex_spygroups' (offset 68) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,,,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'ex_rp_id' (offset 69) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,,,,0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 12 for column 'ex_sms_rp_id' (offset 70) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,,,,0,0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 18 for column 'ex_outboundtimeout' (offset 71) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,,,,0,0,0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 20 for column 'ex_useragentsecurity' (offset 72) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,,,,0,0,0,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 19 for column 'ex_useragentallowed' (offset 73) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,,,,0,0,0,,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 23 for column 'ex_calleridregexsamesms' (offset 74) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,,,,0,0,0,,,on' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 16 for column 'ex_prefixdefault' (offset 75) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,,,,0,0,0,,,on,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 21 for column 'ex_regexprefixdefault' (offset 76) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,,,,0,0,0,,,on,,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 13 for column 'ex_parkinglot' (offset 77) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,,,,0,0,0,,,on,,,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 17 for column 'ex_emergencynotes' (offset 78) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,,,,0,0,0,,,on,,,,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,,,,0,0,0,,,on,,,,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_EXT_DETAILS_FROM_PEERNAME(200-call) result is '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,,,,0,0,0,,,on,,,,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:76] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "HASH(peerdetail)=35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,,,,0,0,0,,,on,,,,") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array (ex_id,ex_te_id,ex_name,ex_tech,ex_number,ex_trunk,ex_tech_id,ex_cidnum,ex_smscidnum,ex_cidname,ex_blockcid,ex_prefix,ex_regexprefix,ex_fmfmstatus,ex_fmfmnumber,ex_fmfmdialtimeout,ex_fmfmdialmethod,ex_fmfmcallerid,ex_fmfmnumprefix,ex_fmfmnameprefix,ex_recording,ex_dialtimeout,ex_unconditionalstatus,ex_onbusystatus,ex_onofflinestatus,ex_onnoanswerstatus,ex_callallowed,ex_destallowregex,ex_rp_id,ex_sms_rp_id,ex_dnd,ex_emergencycidnum,ex_emailrecording,ex_fmfmconfirm,ex_fmfmconfirmmessage_id,ex_minemailrecording,ex_trunkcidoverride,ex_trunkemergencycidoverride,ex_trunkcidsource,ex_fmfmholdmessage_id,ex_notifymissingemail,ex_ignoreinternalmissed,ex_txvolume,ex_rxvolume,ex_mu_id,ex_faxgateway,ex_faxalert,ex_trunkdid,ex_fmfmdelay,ex_abusedetection,ex_callwaiting,ex_costlimits,ex_dailycostlimit,ex_dailycostlimitdom,ex_dailycostlimitint,ex_routecostlimit,ex_monthlycostlimit,ex_monthlycostlimitdom,ex_monthlycostlimitint,ex_monthlycostwarning,ex_monthlycostwarningdom,ex_monthlycostwarningint,ex_dailycostwarning,ex_dailycostwarningdom,ex_dailycostwarningint,ex_cl_id,language,ex_fromfilterregex,ex_spygroups,ex_rp_id,ex_sms_rp_id,ex_outboundtimeout,ex_useragentsecurity,ex_useragentallowed,ex_calleridregexsamesms,ex_prefixdefault,ex_regexprefixdefault,ex_parkinglot,ex_emergencynotes=35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,,,,0,0,0,,,on,,,,) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_id=35) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_te_id=15) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_name=BEN) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_tech=PJSIP) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_number=200) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_trunk=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_tech_id=2706) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_cidnum=722280800) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_smscidnum=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_cidname=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_blockcid=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_prefix=02) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_regexprefix=^[0-9]{7,7}$) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_fmfmstatus=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_fmfmnumber=xxxxxxxxxx) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_fmfmdialtimeout=30) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_fmfmdialmethod=Simultaneous) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_fmfmcallerid=ORIGINAL) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_fmfmnumprefix=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_fmfmnameprefix=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_recording=yes) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_dialtimeout=20) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_unconditionalstatus=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_onbusystatus=on) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_onofflinestatus=on) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_onnoanswerstatus=on) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_callallowed=all) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_destallowregex=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_rp_id=0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_sms_rp_id=0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_dnd=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_emergencycidnum=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_emailrecording=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_fmfmconfirm=on) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_fmfmconfirmmessage_id=16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_minemailrecording=0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_trunkcidoverride=both) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_trunkemergencycidoverride=number) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_trunkcidsource=auto) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_fmfmholdmessage_id=-1) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_notifymissingemail=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_ignoreinternalmissed=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_txvolume=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_rxvolume=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_mu_id=0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_faxgateway=no) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_faxalert=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_trunkdid=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_fmfmdelay=0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_abusedetection=OFF) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_callwaiting=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_costlimits=no) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_dailycostlimit=0.00000) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_dailycostlimitdom=0.00000) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_dailycostlimitint=0.00000) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_routecostlimit=0.00000) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_monthlycostlimit=0.00000) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_monthlycostlimitdom=0.00000) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_monthlycostlimitint=0.00000) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_monthlycostwarning=0.00000) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_monthlycostwarningdom=0.00000) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_monthlycostwarningint=0.00000) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_dailycostwarning=0.00000) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_dailycostwarningdom=0.00000) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_dailycostwarningint=0.00000) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_cl_id=0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (language=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_fromfilterregex=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_spygroups=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_rp_id=0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_sms_rp_id=0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_outboundtimeout=0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_useragentsecurity=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_useragentallowed=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_calleridregexsamesms=on) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_prefixdefault=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_regexprefixdefault=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_parkinglot=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ex_emergencynotes=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_id) result is '35' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:77] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?78:80") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,80) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_prefix) result is '02' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_prefixdefault) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:80] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", ""ex_prefix is 02, ex_prefixdefault is "") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_prefixdefault) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:81] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?82:84") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,84) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_prefix) result is '02' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:84] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "extprefix=02") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:85] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_dialoutbound_1703_1704_1705") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'extprefix' is '02' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:86] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?87:96") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,87) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_regexprefixdefault) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:87] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?88:90") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,90) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_regexprefix) result is '^[0-9]{7,7}$' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:90] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "extregexprefix=^[0-9]{7,7}$") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:91] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_if_dialoutbound_1703_1704_1706_1707") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'extregexprefix' is '^[0-9]{7,7}$' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'extregexprefix' is '^[0-9]{7,7}$' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: FUNCTION REGEX (^[0-9]{7,7}$)(xxxxxxxxxx) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function REGEX("^[0-9]{7,7}$" xxxxxxxxxx) result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:92] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?93:95") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,95) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:95] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_if_dialoutbound_1703_1704_1706_1708") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:96] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_dialoutbound_1703_1704_1706") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_trunk) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:97] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?98:120") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,120) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:120] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_dialoutbound_1703_1704_1709") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SETCALLERID' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:121] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "SETCALLERID is ") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_cidnum) result is '722280800' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:122] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?123:124") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,124) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:124] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_dialoutbound_1703_1704_1715") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SETCALLERID' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:125] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?126:174") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,126) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_trunk) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_trunkcidoverride) result is 'both' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_trunkcidoverride) result is 'both' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:126] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?127:133") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,127) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_cidnum) result is '722280800' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function EVAL(722280800) result is '722280800' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:127] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "CALLERID(number)=722280800") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_smscidnum) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:128] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?129:131") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,129) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_cidnum) result is '722280800' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function EVAL(722280800) result is '722280800' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:129] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "SMSMESSAGEFROM=722280800") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:130] Goto("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "132") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,132) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:132] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_if_if_dialoutbound_1703_1704_1716_1717_1718") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:133] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_if_dialoutbound_1703_1704_1716_1717") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_trunk) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_trunkcidoverride) result is 'both' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_trunkcidoverride) result is 'both' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:134] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?135:136") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,135) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_cidname) result is '' [2022-02-07 19:17:26] WARNING[4565][C-00000e4d] func_strings.c: EVAL requires an argument: EVAL() [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function EVAL() result is '(null)' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:135] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "CALLERID(name)=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:136] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_if_dialoutbound_1703_1704_1716_1719") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'PEERNAME' is '200-call' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:137] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Checking callerid regex with 200-call and xxxxxxxxxx") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ISSMS' is NULL [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_calleridregexsamesms) result is 'on' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:138] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?139:172") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,139) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'PEERNAME' is '200-call' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_cr_id=rr_cr_id and '${SQL_ESC(${ARG2})}' REGEXP rr_regex union SELECT rr_number,rr_co_id from ex_extensions,ve_virtualextensions,rr_calleridregex_rules where ex_tech='VIRTUAL' and ex_tech_id=ve_id and ve_name='${SQL_ESC(${ARG1})}' and ex_cr_id=rr_cr_id and '${SQL_ESC(${ARG2})}' REGEXP rr_regex union SELECT rr_number,rr_co_id from ex_extensions,ce_customextensions,rr_calleridregex_rules where ex_tech='CUSTOM' and ex_tech_id=ce_id and ce_peername='${SQL_ESC(${ARG1})}' and ex_cr_id=rr_cr_id and '${SQL_ESC(${ARG2})}' REGEXP rr_regex union SELECT rr_number,rr_co_id from ex_extensions,ps_endpoints,rr_calleridregex_rules where ex_tech='PJSIP' and ex_tech_id=tech_id and id='${SQL_ESC(${ARG1})}' and ex_cr_id=rr_cr_id and '${SQL_ESC(${ARG2})}' REGEXP rr_regex order by rr_co_id desc, rand()' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' REGEXP rr_regex union SELECT rr_number,rr_co_id from ex_extensions,ve_virtualextensions,rr_calleridregex_rules where ex_tech='VIRTUAL' and ex_tech_id=ve_id and ve_name='${SQL_ESC(${ARG1})}' and ex_cr_id=rr_cr_id and '${SQL_ESC(${ARG2})}' REGEXP rr_regex union SELECT rr_number,rr_co_id from ex_extensions,ce_customextensions,rr_calleridregex_rules where ex_tech='CUSTOM' and ex_tech_id=ce_id and ce_peername='${SQL_ESC(${ARG1})}' and ex_cr_id=rr_cr_id and '${SQL_ESC(${ARG2})}' REGEXP rr_regex union SELECT rr_number,rr_co_id from ex_extensions,ps_endpoints,rr_calleridregex_rules where ex_tech='PJSIP' and ex_tech_id=tech_id and id='${SQL_ESC(${ARG1})}' and ex_cr_id=rr_cr_id and '${SQL_ESC(${ARG2})}' REGEXP rr_regex order by rr_co_id desc, rand()' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_cr_id=rr_cr_id and '${SQL_ESC(${ARG2})}' REGEXP rr_regex union SELECT rr_number,rr_co_id from ex_extensions,ce_customextensions,rr_calleridregex_rules where ex_tech='CUSTOM' and ex_tech_id=ce_id and ce_peername='${SQL_ESC(${ARG1})}' and ex_cr_id=rr_cr_id and '${SQL_ESC(${ARG2})}' REGEXP rr_regex union SELECT rr_number,rr_co_id from ex_extensions,ps_endpoints,rr_calleridregex_rules where ex_tech='PJSIP' and ex_tech_id=tech_id and id='${SQL_ESC(${ARG1})}' and ex_cr_id=rr_cr_id and '${SQL_ESC(${ARG2})}' REGEXP rr_regex order by rr_co_id desc, rand()' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' REGEXP rr_regex union SELECT rr_number,rr_co_id from ex_extensions,ce_customextensions,rr_calleridregex_rules where ex_tech='CUSTOM' and ex_tech_id=ce_id and ce_peername='${SQL_ESC(${ARG1})}' and ex_cr_id=rr_cr_id and '${SQL_ESC(${ARG2})}' REGEXP rr_regex union SELECT rr_number,rr_co_id from ex_extensions,ps_endpoints,rr_calleridregex_rules where ex_tech='PJSIP' and ex_tech_id=tech_id and id='${SQL_ESC(${ARG1})}' and ex_cr_id=rr_cr_id and '${SQL_ESC(${ARG2})}' REGEXP rr_regex order by rr_co_id desc, rand()' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_cr_id=rr_cr_id and '${SQL_ESC(${ARG2})}' REGEXP rr_regex union SELECT rr_number,rr_co_id from ex_extensions,ps_endpoints,rr_calleridregex_rules where ex_tech='PJSIP' and ex_tech_id=tech_id and id='${SQL_ESC(${ARG1})}' and ex_cr_id=rr_cr_id and '${SQL_ESC(${ARG2})}' REGEXP rr_regex order by rr_co_id desc, rand()' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' REGEXP rr_regex union SELECT rr_number,rr_co_id from ex_extensions,ps_endpoints,rr_calleridregex_rules where ex_tech='PJSIP' and ex_tech_id=tech_id and id='${SQL_ESC(${ARG1})}' and ex_cr_id=rr_cr_id and '${SQL_ESC(${ARG2})}' REGEXP rr_regex order by rr_co_id desc, rand()' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_cr_id=rr_cr_id and '${SQL_ESC(${ARG2})}' REGEXP rr_regex order by rr_co_id desc, rand()' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' REGEXP rr_regex order by rr_co_id desc, rand()' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_OUTBOUND_CIDNUM_USING_REGEX_PEERNAME_MULTIROW(200-call,xxxxxxxxxx) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:139] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "outboundcidregex_odbcid=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ODBCROWS' is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:140] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "outboundcidregex_odbcrows=0") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:141] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "outboundcidregex_counter=0") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'outboundcidregex_counter' is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'outboundcidregex_odbcrows' is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:142] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?143:171") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,171) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:171] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish while_if_if_if_if_dialoutbound_1703_1704_1716_1720_1721") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:172] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_if_dialoutbound_1703_1704_1716_1720") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:173] Goto("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "184") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,184) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:184] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_dialoutbound_1703_1704_1716") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:185] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_dialoutbound_1703_1704") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:186] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialoutbound_1703") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '722280800' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CALLERID(name) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:187] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "CallerID has been modified in num <722280800> and name <>") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '722280800' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:188] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?189:191") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,191) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:191] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialoutbound_1728") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CALLERID(name) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:192] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?193:195") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,193) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:193] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Assigning the default CallerID Name") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'DEFAULTCIDNAME' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(DEFAULTCIDNAME) result is 'DEFAULTCIDNAME' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,DEFAULTCIDNAME) result is '' [2022-02-07 19:17:26] WARNING[4565][C-00000e4d] func_strings.c: EVAL requires an argument: EVAL() [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function EVAL() result is '(null)' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:194] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "CALLERID(name)=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:195] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialoutbound_1729") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_destallowregex) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:196] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "destallowregex=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'destallowregex' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:197] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "destallowregex is ") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_callallowed) result is 'all' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:198] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?199:201") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,199) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:199] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Good, all calls are allowed") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:200] Goto("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "243") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,243) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:243] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialoutbound_1730") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_id) result is '35' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and de_type_id_src='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'EXT-DONOTCALL' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(EXT-DONOTCALL) result is 'EXT-DONOTCALL' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '35' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(35) result is '35' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'count(*)' (offset 0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_COUNT_DEST(EXT-DONOTCALL,35) result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:244] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "LOCAL(NDNC)=0") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'NDNC' is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:245] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Identified 0 do not call lists") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:246] MSet("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "LOCAL(n)=0") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'NDNC' is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:247] MSet("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "n=0") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'n' is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:248] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?249:259") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,259) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:259] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish for_dialoutbound_1738") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_id) result is '35' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and de_type_id_src='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'EXT-ONLYALLOWCALL' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(EXT-ONLYALLOWCALL) result is 'EXT-ONLYALLOWCALL' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '35' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(35) result is '35' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'count(*)' (offset 0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_COUNT_DEST(EXT-ONLYALLOWCALL,35) result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:260] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "LOCAL(NDNC)=0") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'NDNC' is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:261] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Identified 0 only allow call lists") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:262] MSet("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "LOCAL(n)=0") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is 'no' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:263] MSet("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "LOCAL(allowthecall)=no") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'NDNC' is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:264] MSet("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "n=0") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'n' is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:265] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?266:273") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,273) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:273] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish for_dialoutbound_1740") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'NDNC' is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'allowthecall' is 'no' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:274] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?275:279") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,279) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:279] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialoutbound_1742") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'FORCEBLOCKCID' is NULL [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:280] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?281:283") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,283) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'FORCEBLOCKCID' is NULL [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:283] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?284:285") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,285) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:285] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_dialoutbound_1743_1744") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:286] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialoutbound_1743") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_blockcid) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:287] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?288:290") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,290) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:290] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialoutbound_1745") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'ENABLEWORKINGHOURS' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(ENABLEWORKINGHOURS) result is 'ENABLEWORKINGHOURS' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,ENABLEWORKINGHOURS) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:291] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "enableworkinghours=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'enableworkinghours' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:292] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?293:326") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,326) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:326] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialoutbound_1746") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:327] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__CHARGE=yes") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(-1) result is '-1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'ALWAYSTOPROVIDER' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(ALWAYSTOPROVIDER) result is 'ALWAYSTOPROVIDER' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-1,ALWAYSTOPROVIDER) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:328] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "ALWAYSTOPROVIDER=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(tenantinfo,te_id) result is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:329] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?330:331") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,331) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:331] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialoutbound_1752") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_sms_rp_id) result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:332] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "SMSROUTINGPROFILE=0") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SMSROUTINGPROFILE' is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SMSROUTINGPROFILE' is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:333] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?334:335") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,334) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(tenantinfo,te_sms_rp_id) result is '77' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:334] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "SMSROUTINGPROFILE=77") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:335] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialoutbound_1753") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CALLRATE' is NULL [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CALLRATE' is NULL [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:336] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?337:338") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,337) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(tenantinfo,te_cl_id) result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:337] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__CALLRATE=0") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:338] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialoutbound_1754") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTBILLING' is NULL [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:339] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?340:341") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,340) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(tenantinfo,te_payment_type) result is 'Post Paid' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:340] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__TENANTBILLING=Post Paid") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:341] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialoutbound_1755") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(tenantinfo,te_billingtype) result is 'CDR' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:342] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "BILLINGTYPE=CDR") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ISSMS' is NULL [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:343] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?344:369") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,344) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(tenantinfo,te_allowanycalleridusage) result is 'on' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(tenantinfo,te_allowincomingcalleridusage) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CALLERID(number) result is '722280800' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'INCOMINGCALLERIDNUM' is NULL [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:344] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?345:367") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,367) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:367] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_dialoutbound_1756_1757") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:368] Goto("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "391") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,391) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:391] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialoutbound_1756") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:392] Gosub("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "runAcallcript,~~s~~,1(AGIBEFORECALLOUTBOUND)") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG1' to 'AGIBEFORECALLOUTBOUND' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'AGIBEFORECALLOUTBOUND' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:1] MSet("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "LOCAL(AGICALL)=AGIBEFORECALLOUTBOUND") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'AGICALL' is 'AGIBEFORECALLOUTBOUND' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'AGIBEFORECALLOUTBOUND' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(AGIBEFORECALLOUTBOUND) result is 'AGIBEFORECALLOUTBOUND' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,AGIBEFORECALLOUTBOUND) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:2] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "AcallCRIPTID=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'AcallCRIPTID' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:3] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?4:31") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (runAcallcript,~~s~~,31) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:31] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_runAcallcript_1379") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:32] Return("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'ONANSWERCALLOUTBOUND' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(ONANSWERCALLOUTBOUND) result is 'ONANSWERCALLOUTBOUND' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,ONANSWERCALLOUTBOUND) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:393] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "outonanswer=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'outonanswer' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:394] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?395:397") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,397) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:397] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialoutbound_1767") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_outboundtimeout) result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_outboundtimeout) result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:398] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?399:400") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,400) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:400] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialoutbound_1768") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'FAXOUTPREFIX' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(FAXOUTPREFIX) result is 'FAXOUTPREFIX' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,FAXOUTPREFIX) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:401] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "TENANTFAXOUTPREFIX=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ALWAYSTOPROVIDER' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(tenantinfo,te_allowonnet) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:402] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?403:524") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,524) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:524] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialoutbound_1769") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ISSMS' is NULL [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:525] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?526:535") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,526) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ROUTINGPROFILE' is NULL [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ROUTINGPROFILE' is NULL [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:526] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?527:534") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,527) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'REALPEERNAME' is '200-call' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' union SELECT ex_rp_id,ex_applyalwaysrpid FROM ex_extensions,ps_endpoints where ex_tech='PJSIP' and ex_tech_id=tech_id and id='${SQL_ESC(${ARG1})}' union SELECT ex_rp_id,ex_applyalwaysrpid FROM ex_extensions,ce_customextensions where ex_tech='CUSTOM' and ex_tech_id=ce_id and ce_peername='${SQL_ESC(${ARG1})}' union select ex_rp_id,ex_applyalwaysrpid from ex_extensions,ve_virtualextensions where ex_tech='VIRTUAL' and ex_tech_id=ve_id and ve_name='${SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' union SELECT ex_rp_id,ex_applyalwaysrpid FROM ex_extensions,ce_customextensions where ex_tech='CUSTOM' and ex_tech_id=ce_id and ce_peername='${SQL_ESC(${ARG1})}' union select ex_rp_id,ex_applyalwaysrpid from ex_extensions,ve_virtualextensions where ex_tech='VIRTUAL' and ex_tech_id=ve_id and ve_name='${SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' union select ex_rp_id,ex_applyalwaysrpid from ex_extensions,ve_virtualextensions where ex_tech='VIRTUAL' and ex_tech_id=ve_id and ve_name='${SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'ex_rp_id' (offset 0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 18 for column 'ex_applyalwaysrpid' (offset 1) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '0,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '0,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_ROUTING_PROFILE_FROM_PEERNAME(200-call) result is '0,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:527] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "ARRAY(ROUTINGPROFILE,APPLYALWAYSRPID)=0,") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array (ROUTINGPROFILE,APPLYALWAYSRPID=0,) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ROUTINGPROFILE=0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (APPLYALWAYSRPID=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'APPLYALWAYSRPID' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:528] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?529:530") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,529) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'PEERNAME' is '200-call' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' union SELECT ex_rp_id,ex_applyalwaysrpid FROM ex_extensions,ps_endpoints where ex_tech='PJSIP' and ex_tech_id=tech_id and id='${SQL_ESC(${ARG1})}' union SELECT ex_rp_id,ex_applyalwaysrpid FROM ex_extensions,ce_customextensions where ex_tech='CUSTOM' and ex_tech_id=ce_id and ce_peername='${SQL_ESC(${ARG1})}' union select ex_rp_id,ex_applyalwaysrpid from ex_extensions,ve_virtualextensions where ex_tech='VIRTUAL' and ex_tech_id=ve_id and ve_name='${SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' union SELECT ex_rp_id,ex_applyalwaysrpid FROM ex_extensions,ce_customextensions where ex_tech='CUSTOM' and ex_tech_id=ce_id and ce_peername='${SQL_ESC(${ARG1})}' union select ex_rp_id,ex_applyalwaysrpid from ex_extensions,ve_virtualextensions where ex_tech='VIRTUAL' and ex_tech_id=ve_id and ve_name='${SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' union select ex_rp_id,ex_applyalwaysrpid from ex_extensions,ve_virtualextensions where ex_tech='VIRTUAL' and ex_tech_id=ve_id and ve_name='${SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'ex_rp_id' (offset 0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 18 for column 'ex_applyalwaysrpid' (offset 1) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '0,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '0,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_ROUTING_PROFILE_FROM_PEERNAME(200-call) result is '0,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:529] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "ARRAY(ROUTINGPROFILE,APPLYALWAYSRPID)=0,") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array (ROUTINGPROFILE,APPLYALWAYSRPID=0,) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (ROUTINGPROFILE=0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (APPLYALWAYSRPID=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:530] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_dialoutbound_1789_1790_1791") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ROUTINGPROFILE' is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ROUTINGPROFILE' is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:531] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?532:533") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,532) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'te_rp_id' (offset 0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '45' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '45' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '45' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_ROUTING_PROFILE_FROM_TENANTID(15) result is '45' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:532] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "ROUTINGPROFILE=45") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:533] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_dialoutbound_1789_1790_1792") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:534] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_dialoutbound_1789_1790") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:535] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialoutbound_1789") in new stack [2022-02-07 19:17:26] ERROR[4565][C-00000e4d] res_fax.c: channel 'Local/AG-000-CC-538@fromotherpbx-00000d2c;2' can't read FAXOPT(gateway) because it has never been written. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function FAXOPT(gateway) result is '(null)' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:536] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?537:539") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,539) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'FAXOUTPREFIX' is NULL [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:539] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?540:541") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,541) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:541] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_dialoutbound_1793_1794") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:542] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialoutbound_1793") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(-1) result is '-1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'LCRPREFIX' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(LCRPREFIX) result is 'LCRPREFIX' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-1,LCRPREFIX) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:543] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "LCRPREFIX=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'LCRPREFIX' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:544] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "CODE=xxxxxxxxxx") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-2' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(-2) result is '-2' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'ROUTECOSTLIMIT' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(ROUTECOSTLIMIT) result is 'ROUTECOSTLIMIT' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-2,ROUTECOSTLIMIT) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:545] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "ROUTECOSTLIMIT=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(-1) result is '-1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'SPLITCOSTLIMIT' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(SPLITCOSTLIMIT) result is 'SPLITCOSTLIMIT' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-1,SPLITCOSTLIMIT) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:546] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "SPLITCOSTLIMIT=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:547] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Applying general costs limits") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SPLITCOSTLIMIT' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:548] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?549:566") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,566) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-2' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(-2) result is '-2' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'DAILYCOSTLIMIT' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(DAILYCOSTLIMIT) result is 'DAILYCOSTLIMIT' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-2,DAILYCOSTLIMIT) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:566] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "DAILYCOSTLIMIT=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-2' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(-2) result is '-2' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'MONTHLYCOSTLIMIT' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(MONTHLYCOSTLIMIT) result is 'MONTHLYCOSTLIMIT' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-2,MONTHLYCOSTLIMIT) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:567] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "MONTHLYCOSTLIMIT=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-2' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(-2) result is '-2' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'MONTHLYTENANTCOSTLIMIT' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(MONTHLYTENANTCOSTLIMIT) result is 'MONTHLYTENANTCOSTLIMIT' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-2,MONTHLYTENANTCOSTLIMIT) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:568] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "MONTHLYTENANTCOSTLIMIT=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-2' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(-2) result is '-2' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'DAILYTENANTCOSTLIMIT' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(DAILYTENANTCOSTLIMIT) result is 'DAILYTENANTCOSTLIMIT' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-2,DAILYTENANTCOSTLIMIT) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:569] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "DAILYTENANTCOSTLIMIT=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-2' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(-2) result is '-2' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'DAILYCOSTWARNING' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(DAILYCOSTWARNING) result is 'DAILYCOSTWARNING' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-2,DAILYCOSTWARNING) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:570] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "DAILYCOSTWARNING=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-2' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(-2) result is '-2' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'MONTHLYCOSTWARNING' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(MONTHLYCOSTWARNING) result is 'MONTHLYCOSTWARNING' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-2,MONTHLYCOSTWARNING) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:571] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "MONTHLYCOSTWARNING=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-2' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(-2) result is '-2' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'MONTHLYTENANTCOSTWARNING' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(MONTHLYTENANTCOSTWARNING) result is 'MONTHLYTENANTCOSTWARNING' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-2,MONTHLYTENANTCOSTWARNING) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:572] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "MONTHLYTENANTCOSTWARNING=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-2' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(-2) result is '-2' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'DAILYTENANTCOSTWARNING' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(DAILYTENANTCOSTWARNING) result is 'DAILYTENANTCOSTWARNING' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-2,DAILYTENANTCOSTWARNING) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:573] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "DAILYTENANTCOSTWARNING=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:574] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialoutbound_1795") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(tenantinfo,te_costlimits) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:575] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?576:705") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,705) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:705] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialoutbound_1796") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(tenantinfo,te_costlimits) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:706] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?707:733") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,733) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:733] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialoutbound_1823") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_costlimits) result is 'no' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:734] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?735:804") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,804) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:804] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialoutbound_1824") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_costlimits) result is 'no' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:805] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?806:820") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,806) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:806] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Applying costs limits from extension") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:807] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "ROUTECOSTLIMIT=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:808] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "DAILYCOSTLIMIT=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:809] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "DAILYCOSTLIMITDOMESTIC=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:810] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "DAILYCOSTLIMITINTERNATIONAL=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:811] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "DAILYCOSTWARNING=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:812] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "DAILYCOSTWARNINGDOMESTIC=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:813] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "DAILYCOSTWARNINGINTERNATIONAL=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:814] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "MONTHLYCOSTLIMIT=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:815] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "MONTHLYCOSTLIMITDOMESTIC=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:816] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "MONTHLYCOSTLIMITINTERNATIONAL=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:817] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "MONTHLYCOSTWARNING=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:818] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "MONHTLYCOSTWARNINGDOMESTIC=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:819] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "MONTHLYCOSTWARNINGINTERNATIONAL=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:820] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialoutbound_1839") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ABUSEDETECTION' is NULL [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:821] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?822:823") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,822) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(tenantinfo,te_abusedetection) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:822] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__ABUSEDETECTION=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:823] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialoutbound_1840") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ABUSEDETECTION' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:824] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?825:826") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,825) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-2' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(-2) result is '-2' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'ABUSEDETECTION' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(ABUSEDETECTION) result is 'ABUSEDETECTION' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '10' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '10' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '10' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-2,ABUSEDETECTION) result is '10' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:825] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__ABUSEDETECTION=10") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:826] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialoutbound_1841") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'INTERNATIONALPREFIX' is '00' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function LEN(00) result is '2' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'INTERNATIONALPREFIX' is '00' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:827] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?828:830") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,830) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:830] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialoutbound_1842") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ISSMS' is NULL [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:831] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?832:857") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,857) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:857] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_dialoutbound_1843") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:858] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "LOCAL(n)=0") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:859] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "LOCAL(found)=yes") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:860] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "LOCAL(atleastone)=no") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '722280800' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:861] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__SAVEDCALLERID=722280800") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'found' is 'yes' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:862] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?863:1754") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,863) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SAVEDCALLERID' is '722280800' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:863] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "CALLERID(num)=722280800") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'ClearHash' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:864] ClearHash("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "ROUTINGRULE") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ISSMS' is NULL [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:865] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?866:868") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,868) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SYSTEMNAME' is 'db02' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ROUTINGPROFILE' is '45' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CODE' is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'n' is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' or dl_no_id='0' ) and '${SQL_ESC(${ARG2})}' regexp(dl_regex) and dl_rp_id='${SQL_ESC(${ARG3})}' and dl_paused='' union SELECT pr_id,pr_tech,pr_peername,dl_adddigits,dl_deldigits,pr_header1,pr_header2,pr_header3,pr_header4,pr_header5,pr_header6,pr_adddigits,pr_deldigits,pc_cost as cost,dl_emergencyroute,dl_usepin,dl_order,dl_priority,dl_weight,pr_penalty,pr_callerpres,pr_smsurl,pr_smspost,pr_smsuser,pr_smspassword,pr_smsprovider,pr_smsprotocol,pr_calleridregex,pr_ignoresipcause,pr_maxoutchannels from pr_providers,pc_providercosts,dl_dialingrules left outer join no_nodes on dl_no_id=no_id where dl_uselcr='on' and pr_id=pc_pr_id and pr_disabled='' and dl_pr_id=pr_id and ( no_peername='${SQL_ESC(${ARG1})}' or dl_no_id='0' ) and '${SQL_ESC(${ARG2})}' regexp(dl_regex) and dl_rp_id='${SQL_ESC(${ARG3})}' and pc_id=( select c.pc_id from pc_providercosts c where pr_id=c.pc_pr_id and pc_code='${SQL_ESC(${ARG4})}' and '${SQL_ESC(${ARG2})}' like concat(c.pc_prefix,'%') and dl_paused='' order by length(pc_prefix) DESC limit 1) order by isnull(cost),cost ASC,dl_order ASC,dl_priority ASC,dl_weight*pr_penalty ASC limit ${ARG5},1' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'db02' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02) result is 'db02' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' regexp(dl_regex) and dl_rp_id='${SQL_ESC(${ARG3})}' and dl_paused='' union SELECT pr_id,pr_tech,pr_peername,dl_adddigits,dl_deldigits,pr_header1,pr_header2,pr_header3,pr_header4,pr_header5,pr_header6,pr_adddigits,pr_deldigits,pc_cost as cost,dl_emergencyroute,dl_usepin,dl_order,dl_priority,dl_weight,pr_penalty,pr_callerpres,pr_smsurl,pr_smspost,pr_smsuser,pr_smspassword,pr_smsprovider,pr_smsprotocol,pr_calleridregex,pr_ignoresipcause,pr_maxoutchannels from pr_providers,pc_providercosts,dl_dialingrules left outer join no_nodes on dl_no_id=no_id where dl_uselcr='on' and pr_id=pc_pr_id and pr_disabled='' and dl_pr_id=pr_id and ( no_peername='${SQL_ESC(${ARG1})}' or dl_no_id='0' ) and '${SQL_ESC(${ARG2})}' regexp(dl_regex) and dl_rp_id='${SQL_ESC(${ARG3})}' and pc_id=( select c.pc_id from pc_providercosts c where pr_id=c.pc_pr_id and pc_code='${SQL_ESC(${ARG4})}' and '${SQL_ESC(${ARG2})}' like concat(c.pc_prefix,'%') and dl_paused='' order by length(pc_prefix) DESC limit 1) order by isnull(cost),cost ASC,dl_order ASC,dl_priority ASC,dl_weight*pr_penalty ASC limit ${ARG5},1' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' and dl_paused='' union SELECT pr_id,pr_tech,pr_peername,dl_adddigits,dl_deldigits,pr_header1,pr_header2,pr_header3,pr_header4,pr_header5,pr_header6,pr_adddigits,pr_deldigits,pc_cost as cost,dl_emergencyroute,dl_usepin,dl_order,dl_priority,dl_weight,pr_penalty,pr_callerpres,pr_smsurl,pr_smspost,pr_smsuser,pr_smspassword,pr_smsprovider,pr_smsprotocol,pr_calleridregex,pr_ignoresipcause,pr_maxoutchannels from pr_providers,pc_providercosts,dl_dialingrules left outer join no_nodes on dl_no_id=no_id where dl_uselcr='on' and pr_id=pc_pr_id and pr_disabled='' and dl_pr_id=pr_id and ( no_peername='${SQL_ESC(${ARG1})}' or dl_no_id='0' ) and '${SQL_ESC(${ARG2})}' regexp(dl_regex) and dl_rp_id='${SQL_ESC(${ARG3})}' and pc_id=( select c.pc_id from pc_providercosts c where pr_id=c.pc_pr_id and pc_code='${SQL_ESC(${ARG4})}' and '${SQL_ESC(${ARG2})}' like concat(c.pc_prefix,'%') and dl_paused='' order by length(pc_prefix) DESC limit 1) order by isnull(cost),cost ASC,dl_order ASC,dl_priority ASC,dl_weight*pr_penalty ASC limit ${ARG5},1' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '45' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(45) result is '45' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' or dl_no_id='0' ) and '${SQL_ESC(${ARG2})}' regexp(dl_regex) and dl_rp_id='${SQL_ESC(${ARG3})}' and pc_id=( select c.pc_id from pc_providercosts c where pr_id=c.pc_pr_id and pc_code='${SQL_ESC(${ARG4})}' and '${SQL_ESC(${ARG2})}' like concat(c.pc_prefix,'%') and dl_paused='' order by length(pc_prefix) DESC limit 1) order by isnull(cost),cost ASC,dl_order ASC,dl_priority ASC,dl_weight*pr_penalty ASC limit ${ARG5},1' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'db02' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02) result is 'db02' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' regexp(dl_regex) and dl_rp_id='${SQL_ESC(${ARG3})}' and pc_id=( select c.pc_id from pc_providercosts c where pr_id=c.pc_pr_id and pc_code='${SQL_ESC(${ARG4})}' and '${SQL_ESC(${ARG2})}' like concat(c.pc_prefix,'%') and dl_paused='' order by length(pc_prefix) DESC limit 1) order by isnull(cost),cost ASC,dl_order ASC,dl_priority ASC,dl_weight*pr_penalty ASC limit ${ARG5},1' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' and pc_id=( select c.pc_id from pc_providercosts c where pr_id=c.pc_pr_id and pc_code='${SQL_ESC(${ARG4})}' and '${SQL_ESC(${ARG2})}' like concat(c.pc_prefix,'%') and dl_paused='' order by length(pc_prefix) DESC limit 1) order by isnull(cost),cost ASC,dl_order ASC,dl_priority ASC,dl_weight*pr_penalty ASC limit ${ARG5},1' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '45' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(45) result is '45' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG4})' (from 'SQL_ESC(${ARG4})}' and '${SQL_ESC(${ARG2})}' like concat(c.pc_prefix,'%') and dl_paused='' order by length(pc_prefix) DESC limit 1) order by isnull(cost),cost ASC,dl_order ASC,dl_priority ASC,dl_weight*pr_penalty ASC limit ${ARG5},1' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG4' (from 'ARG4})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG4' is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' like concat(c.pc_prefix,'%') and dl_paused='' order by length(pc_prefix) DESC limit 1) order by isnull(cost),cost ASC,dl_order ASC,dl_priority ASC,dl_weight*pr_penalty ASC limit ${ARG5},1' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG5' (from 'ARG5},1' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG5' is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 5 for column 'pr_id' (offset 0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '57' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '57' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 7 for column 'pr_tech' (offset 1) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'PJSIP' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 11 for column 'pr_peername' (offset 2) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'fs2' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 12 for column 'dl_adddigits' (offset 3) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 12 for column 'dl_deldigits' (offset 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 10 for column 'pr_header1' (offset 5) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'P-Accountcode:${BILLINGCODE}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 10 for column 'pr_header2' (offset 6) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'X-Faxid1:${FAXID}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 10 for column 'pr_header3' (offset 7) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'X-Campaignid:${CAID}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 10 for column 'pr_header4' (offset 8) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 10 for column 'pr_header5' (offset 9) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'X-IncomingDID:${INCOMINGDID}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 10 for column 'pr_header6' (offset 10) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 12 for column 'pr_adddigits' (offset 11) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 12 for column 'pr_deldigits' (offset 12) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 4 for column 'cost' (offset 13) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got NULL data [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 17 for column 'dl_emergencyroute' (offset 14) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 9 for column 'dl_usepin' (offset 15) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'dl_order' (offset 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 11 for column 'dl_priority' (offset 17) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,0,0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 9 for column 'dl_weight' (offset 18) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,0,0,0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 10 for column 'pr_penalty' (offset 19) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '229852' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,0,0,0,229852' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 13 for column 'pr_callerpres' (offset 20) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'auto_not_screened' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,0,0,0,229852,auto_not_screened' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 9 for column 'pr_smsurl' (offset 21) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,0,0,0,229852,auto_not_screened,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 10 for column 'pr_smspost' (offset 22) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,0,0,0,229852,auto_not_screened,,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 10 for column 'pr_smsuser' (offset 23) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,0,0,0,229852,auto_not_screened,,,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 14 for column 'pr_smspassword' (offset 24) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,0,0,0,229852,auto_not_screened,,,,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 14 for column 'pr_smsprovider' (offset 25) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '012' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,0,0,0,229852,auto_not_screened,,,,,012' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 14 for column 'pr_smsprotocol' (offset 26) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'WEBURL' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,0,0,0,229852,auto_not_screened,,,,,012,WEBURL' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 16 for column 'pr_calleridregex' (offset 27) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,0,0,0,229852,auto_not_screened,,,,,012,WEBURL,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 17 for column 'pr_ignoresipcause' (offset 28) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,0,0,0,229852,auto_not_screened,,,,,012,WEBURL,,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 17 for column 'pr_maxoutchannels' (offset 29) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '2147483647' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,0,0,0,229852,auto_not_screened,,,,,012,WEBURL,,,2147483647' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,0,0,0,229852,auto_not_screened,,,,,012,WEBURL,,,2147483647' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_OUTBOUND_ROUTE(db02,xxxxxxxxxx,45,xxxxxxxxxx,0) result is '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,0,0,0,229852,auto_not_screened,,,,,012,WEBURL,,,2147483647' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:868] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "HASH(ROUTINGRULE)=57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,0,0,0,229852,auto_not_screened,,,,,012,WEBURL,,,2147483647") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array (pr_id,pr_tech,pr_peername,dl_adddigits,dl_deldigits,pr_header1,pr_header2,pr_header3,pr_header4,pr_header5,pr_header6,pr_adddigits,pr_deldigits,cost,dl_emergencyroute,dl_usepin,dl_order,dl_priority,dl_weight,pr_penalty,pr_callerpres,pr_smsurl,pr_smspost,pr_smsuser,pr_smspassword,pr_smsprovider,pr_smsprotocol,pr_calleridregex,pr_ignoresipcause,pr_maxoutchannels=57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,0,0,0,229852,auto_not_screened,,,,,012,WEBURL,,,2147483647) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_id=57) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_tech=PJSIP) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_peername=fs2) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (dl_adddigits=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (dl_deldigits=0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_header1=P-Accountcode:${BILLINGCODE}) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_header2=X-Faxid1:${FAXID}) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_header3=X-Campaignid:${CAID}) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_header4=X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED}) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_header5=X-IncomingDID:${INCOMINGDID}) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_header6=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_adddigits=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_deldigits=0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (cost=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (dl_emergencyroute=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (dl_usepin=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (dl_order=0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (dl_priority=0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (dl_weight=0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_penalty=229852) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_callerpres=auto_not_screened) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_smsurl=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_smspost=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_smsuser=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_smspassword=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_smsprovider=012) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_smsprotocol=WEBURL) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_calleridregex=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_ignoresipcause=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_maxoutchannels=2147483647) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:869] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_while_dialoutbound_1844_1845") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_id) result is '57' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:870] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?871:1750") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,871) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_id) result is '57' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:871] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "LATESTDIALEDPRID=57") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_id) result is '57' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:872] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?873:878") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,878) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:878] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_while_dialoutbound_1844_1846_1847") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,dl_usepin) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:879] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?880:902") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,902) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:902] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_while_dialoutbound_1844_1846_1848") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:903] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "atleastone=yes") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_tech) result is 'PJSIP' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_peername) result is 'fs2' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,dl_id) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,cost) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:904] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Provider choosen is of type PJSIP with name fs2 - ID - COST Increasing the call count") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ISSMS' is NULL [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:905] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?906:919") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,906) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:906] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "GROUP(TENANT)=15") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SYSTEMNAME' is 'db02' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function GROUP_COUNT(15@TENANT) result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:907] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "ODBC_SET_GROUP_COUNT(15@TENANT,db02)=1") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}','${SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15@TENANT' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15@TENANT) result is '15@TENANT' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'db02' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02) result is 'db02' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(1) result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(1) result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15@TENANT' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15@TENANT) result is '15@TENANT' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 25 for column 'coalesce(sum(gr_count),0)' (offset 0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '3' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '3' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '3' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_GROUP_COUNT(15@TENANT) result is '3' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:908] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "numchannels=3") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 14 for column 'te_maxchannels' (offset 0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '200' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '200' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '200' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_CHANNELSLIMIT_FROM_TENANTID(15) result is '200' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:909] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "maxchannels=200") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'numchannels' is '3' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'maxchannels' is '200' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:910] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "This tenant has now 3 active channels over a limit of 200") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'maxchannels' is '200' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'numchannels' is '3' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'maxchannels' is '200' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,dl_emergencyroute) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:911] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?912:918") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,918) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:918] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_while_dialoutbound_1844_1846_1852_1853") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:919] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_while_dialoutbound_1844_1846_1852") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_id) result is '57' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:920] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "ODBC_SET_INCREASE_PENALTY(57)=1") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1} where pr_id='${SQL_ESC(${ARG1})}'' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '57' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(57) result is '57' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,dl_adddigits) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,dl_deldigits) result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:921] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__DialNumber=xxxxxxxxxx") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'DialNumber' is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:922] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Call final number is xxxxxxxxxx") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(firstdst) result is '900' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:923] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?924:926") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,926) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'DialNumber' is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:926] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "CDR(lastdst)=xxxxxxxxxx") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:927] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_while_dialoutbound_1844_1846_1854") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'DialNumber' is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(sequence) result is '13304' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CALLRATE' is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_peername) result is 'fs2' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'CELGenUserEvent' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:928] CELGenUserEvent("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "DIALOUTBOUND,xxxxxxxxxx,13304,0,fs2") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,dl_emergencyroute) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:929] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?930:956") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,956) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:956] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_while_dialoutbound_1844_1846_1855") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CALLRATE' is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,dl_emergencyroute) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ISSMS' is NULL [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:957] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?958:1383") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1383) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1383] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_while_dialoutbound_1844_1846_1863") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,dl_emergencyroute) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ROUTECOSTLIMIT' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CALLRATE' is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTBILLING' is 'Post Paid' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ISSMS' is NULL [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1384] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?1385:1405") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1405) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1405] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_while_dialoutbound_1844_1846_1950") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_id) result is '57' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '722280800' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and pr_ca_id=ca_id and cr_ca_id=ca_id and '${SQL_ESC(${ARG2})}' regexp(cr_regex) limit 1' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '57' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(57) result is '57' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' regexp(cr_regex) limit 1' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '722280800' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(722280800) result is '722280800' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_CALLERID_MOD(57,722280800) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1406] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "ARRAY(LOCAL(CMODID),LOCAL(CMODADD),LOCAL(CMODDEL))=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array (LOCAL(CMODID),LOCAL(CMODADD),LOCAL(CMODDEL)=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (LOCAL(CMODID)=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (LOCAL(CMODADD)=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (LOCAL(CMODDEL)=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CMODADD' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CMODDEL' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '722280800' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1407] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "CALLERID(num)=722280800") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '722280800' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CALLERID(name) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1408] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "CallerID has been MODded in num <722280800> and name <>") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_callerpres) result is 'auto_not_screened' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1409] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?1410:1428") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1428) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_callerpres) result is 'auto_not_screened' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1428] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?1429:1437") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1429) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_blockcid) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1429] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?1430:1433") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1430) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1430] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "CALLERID(name-pres)=allowed") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1431] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "CALLERID(num-pres)=allowed_not_screened") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1432] Goto("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1435") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1435) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1435] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_if_while_dialoutbound_1844_1846_1954_1958_1959") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1436] Goto("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1446") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1446) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1446] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_while_dialoutbound_1844_1846_1954_1958") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1447] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_while_dialoutbound_1844_1846_1954") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_calleridregex) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1448] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?1449:1467") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1467) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1467] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_while_dialoutbound_1844_1846_1962") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,dl_emergencyroute) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1468] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?1469:1499") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1499) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_peername) result is 'fs2' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1499] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "GROUP(OUTPROVIDER)=fs2") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_peername) result is 'fs2' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SYSTEMNAME' is 'db02' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_peername) result is 'fs2' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function GROUP_COUNT(fs2@OUTPROVIDER) result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1500] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "ODBC_SET_GROUP_COUNT(fs2@OUTPROVIDER,db02)=1") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}','${SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'fs2@OUTPROVIDER' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(fs2@OUTPROVIDER) result is 'fs2@OUTPROVIDER' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'db02' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02) result is 'db02' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(1) result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(1) result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_peername) result is 'fs2' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_peername) result is 'fs2' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function GROUP_COUNT(fs2@OUTPROVIDER) result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_maxoutchannels) result is '2147483647' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1501] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Current provider fs2 has 1 calls running over a limit of 2147483647") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_maxoutchannels) result is '2147483647' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_peername) result is 'fs2' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function GROUP_COUNT(fs2@OUTPROVIDER) result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_maxoutchannels) result is '2147483647' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1502] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?1503:1506") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1506) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1506] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_while_dialoutbound_1844_1846_1966_1973") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1507] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_while_dialoutbound_1844_1846_1966") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'STDDIALOPTION' is 'U(destChannelActions^${ALWAYSRECORD}^${RECORDINGFORMAT}^${CONFIRM}^${CONFIRMMD5}^${ONANSWER}^${ONANSWERID}^${RECORDOTHERLEG}^${MIXMONITOROPTION})b(pjsip_header,setpjsipheader,1)' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'DIALOPTION' is 'TtL(7200000)t' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ALWAYSRECORD' is 'externalchange' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'RECORDINGFORMAT' is 'wav' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CONFIRM' is 'yes' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CONFIRMMD5' is 'pbx/9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ONANSWER' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ONANSWERID' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'RECORDOTHERLEG' is 'on' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'MIXMONITOROPTION' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function EVAL(U(destChannelActions^${ALWAYSRECORD}^${RECORDINGFORMAT}^${CONFIRM}^${CONFIRMMD5}^${ONANSWER}^${ONANSWERID}^${RECORDOTHERLEG}^${MIXMONITOROPTION})b(pjsip_header,setpjsipheader,1)TtL(7200000)t) result is 'U(destChannelActions^externalchange^wav^yes^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1508] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "nowDIALOPTION=U(destChannelActions^externalchange^wav^yes^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_tech) result is 'PJSIP' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1509] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?1510:1538") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1538) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_tech) result is 'PJSIP' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1538] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?1539:1567") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1539) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 14 for column 'te_billingcode' (offset 0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '1574692660' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '1574692660' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 20 for column 'te_prefixbillingcode' (offset 1) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '1574692660,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 12 for column 'te_extracode' (offset 2) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '1574692660,,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '1574692660,,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_BILLINGCODE_FROM_TENANTID(15) result is '1574692660,,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1539] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "ARRAY(BILLINGCODE,PREFIXBILLINGCODE,EXTRACODE)=1574692660,,") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array (BILLINGCODE,PREFIXBILLINGCODE,EXTRACODE=1574692660,,) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (BILLINGCODE=1574692660) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (PREFIXBILLINGCODE=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (EXTRACODE=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 7 for column 'te_code' (offset 0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'call' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'call' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'call' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_ACCOUNTCODE_FROM_TENANTID(15) result is 'call' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1540] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "TENANTCODE=call") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header1) result is 'P-Accountcode:${BILLINGCODE}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1541] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?1542:1543") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1542) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header1) result is 'P-Accountcode:${BILLINGCODE}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'BILLINGCODE' is '1574692660' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function EVAL(P-Accountcode:${BILLINGCODE}) result is 'P-Accountcode:1574692660' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1542] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__SIPADDHEADER01=P-Accountcode:1574692660") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1543] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_if_while_dialoutbound_1844_1846_1974_1982_1983") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header2) result is 'X-Faxid1:${FAXID}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1544] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?1545:1546") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1545) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header2) result is 'X-Faxid1:${FAXID}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'FAXID' is NULL [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function EVAL(X-Faxid1:${FAXID}) result is 'X-Faxid1:' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1545] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__SIPADDHEADER02=X-Faxid1:") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1546] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_if_while_dialoutbound_1844_1846_1974_1982_1984") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header3) result is 'X-Campaignid:${CAID}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1547] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?1548:1549") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1548) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header3) result is 'X-Campaignid:${CAID}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CAID' is NULL [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function EVAL(X-Campaignid:${CAID}) result is 'X-Campaignid:' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1548] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__SIPADDHEADER03=X-Campaignid:") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1549] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_if_while_dialoutbound_1844_1846_1974_1982_1985") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header4) result is 'X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1550] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?1551:1552") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1551) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header4) result is 'X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'PEEREXTEN' is NULL [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'INCOMINGDID' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'PINSTORED' is NULL [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function EVAL(X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED}) result is 'X-Ext:|' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1551] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__SIPADDHEADER04=X-Ext:|") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1552] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_if_while_dialoutbound_1844_1846_1974_1982_1986") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header5) result is 'X-IncomingDID:${INCOMINGDID}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1553] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?1554:1555") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1554) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header5) result is 'X-IncomingDID:${INCOMINGDID}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'INCOMINGDID' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function EVAL(X-IncomingDID:${INCOMINGDID}) result is 'X-IncomingDID:' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1554] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__SIPADDHEADER05=X-IncomingDID:") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1555] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_if_while_dialoutbound_1844_1846_1974_1982_1987") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header6) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1556] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?1557:1558") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1558) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1558] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_if_while_dialoutbound_1844_1846_1974_1982_1988") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'PREFIXBILLINGCODE' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1559] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?1560:1562") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1562) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1562] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "BILLINGPREFIX=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1563] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_if_while_dialoutbound_1844_1846_1974_1982_1989") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'LIMIT_CONNECT_FILE' is NULL [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'LIMIT_WARNING_FILE' is NULL [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1564] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", " ") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_tech) result is 'PJSIP' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'BILLINGPREFIX' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_adddigits) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_deldigits) result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'DialNumber' is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_peername) result is 'fs2' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'DIALTIMEOUT' is '300' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'nowDIALOPTION' is 'U(destChannelActions^externalchange^wav^yes^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Dial' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1565] Dial("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "PJSIP/xxxxxxxxxx@fs2,300,U(destChannelActions^externalchange^wav^yes^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] app_dial.c: Local/AG-000-CC-538@fromotherpbx-00000d2c;2: Data: PJSIP/xxxxxxxxxx@fs2,300,U(destChannelActions^externalchange^wav^yes^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] features.c: Setting call duration limit to 7200.000 seconds. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] chan_pjsip.c: xxxxxxxxxx@fs2 Topology: <0:audio-0:audio:sendrecv (ulaw)> [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] chan_pjsip.c: Couldn't push task [2022-02-07 19:17:26] WARNING[4565][C-00000e4d] app_dial.c: Unable to create channel of type 'PJSIP' (cause 3 - No route to destination) [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] app_dial.c: No devices or endpoints to dial (technology/resource) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] app_dial.c: Exiting with DIALSTATUS=CHANUNAVAIL. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] app_dial.c: Local/AG-000-CC-538@fromotherpbx-00000d2c;2: Done [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1566] Goto("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1686") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1686) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1686] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_while_dialoutbound_1844_1846_1974_1982") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1687] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_while_dialoutbound_1844_1846_1974") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'DIALSTATUS' is 'CHANUNAVAIL' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'HANGUPCAUSE' is '3' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASHKEYS(SIP_CAUSE) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(SIP_CAUSE,) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASHKEYS(SIP_CAUSE) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(dstchannel) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1688] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Dial Status is CHANUNAVAIL HangupCause is 3 Hash SIP Cause is HASHKEYS dstchannel ") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HANGUPCAUSE_KEYS() result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1689] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "This is hangupcause_keys ") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HANGUPCAUSE_KEYS() result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1690] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "ARRAY(item)=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array (item=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (item=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'item' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'item' is '' [2022-02-07 19:17:26] WARNING[4565][C-00000e4d] func_hangupcause.c: Unable to find information for channel [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HANGUPCAUSE(,tech) result is '(null)' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'item' is '' [2022-02-07 19:17:26] WARNING[4565][C-00000e4d] func_hangupcause.c: Unable to find information for channel [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HANGUPCAUSE(,ast) result is '(null)' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1691] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "For Tech Cause Code , Asterisk Cause Code ") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(uniqueid) result is 'db02-1644254245.72706' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1692] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "ODBC_REMOVE_TEMPORARY_COST(15)=Temporary-db02-1644254245.72706") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and cc_uniqueid='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'VAL1' is 'Temporary-db02-1644254245.72706' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(Temporary-db02-1644254245.72706) result is 'Temporary-db02-1644254245.72706' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_ignoresipcause) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1693] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?1694:1722") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1694) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASHKEYS(SIP_CAUSE) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(SIP_CAUSE,) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1694] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?1695:1698") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1698) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1698] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_while_dialoutbound_1844_1846_2015_2016") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASHKEYS(SIP_CAUSE) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(SIP_CAUSE,) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1699] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?1700:1703") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1703) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1703] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_while_dialoutbound_1844_1846_2015_2017") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASHKEYS(SIP_CAUSE) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(SIP_CAUSE,) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1704] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?1705:1708") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1708) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1708] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_while_dialoutbound_1844_1846_2015_2018") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASHKEYS(SIP_CAUSE) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(SIP_CAUSE,) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1709] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?1710:1721") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1721) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1721] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_while_dialoutbound_1844_1846_2015_2019") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1722] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_while_dialoutbound_1844_1846_2015") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CHARGE' is 'yes' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'DIALSTATUS' is 'CHANUNAVAIL' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1723] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?1724:1725") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1725) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1725] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_while_dialoutbound_1844_1846_2022") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'DIALSTATUS' is 'CHANUNAVAIL' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_ignorebusy) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1726] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?1727:1741") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1741) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1741] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_while_dialoutbound_1844_1846_2023") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'DIALSTATUS' is 'CHANUNAVAIL' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'DIALSTATUS' is 'CHANUNAVAIL' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1742] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?1743:1748") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1748) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1748] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_while_dialoutbound_1844_1846_2026") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1749] Goto("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1751") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1751) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1751] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_while_dialoutbound_1844_1846") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'n' is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1752] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "n=1") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1753] Goto("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "862") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,862) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'found' is 'yes' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:862] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?863:1754") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,863) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SAVEDCALLERID' is '722280800' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:863] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "CALLERID(num)=722280800") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'ClearHash' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:864] ClearHash("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "ROUTINGRULE") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ISSMS' is NULL [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:865] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?866:868") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,868) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SYSTEMNAME' is 'db02' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ROUTINGPROFILE' is '45' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CODE' is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'n' is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' or dl_no_id='0' ) and '${SQL_ESC(${ARG2})}' regexp(dl_regex) and dl_rp_id='${SQL_ESC(${ARG3})}' and dl_paused='' union SELECT pr_id,pr_tech,pr_peername,dl_adddigits,dl_deldigits,pr_header1,pr_header2,pr_header3,pr_header4,pr_header5,pr_header6,pr_adddigits,pr_deldigits,pc_cost as cost,dl_emergencyroute,dl_usepin,dl_order,dl_priority,dl_weight,pr_penalty,pr_callerpres,pr_smsurl,pr_smspost,pr_smsuser,pr_smspassword,pr_smsprovider,pr_smsprotocol,pr_calleridregex,pr_ignoresipcause,pr_maxoutchannels from pr_providers,pc_providercosts,dl_dialingrules left outer join no_nodes on dl_no_id=no_id where dl_uselcr='on' and pr_id=pc_pr_id and pr_disabled='' and dl_pr_id=pr_id and ( no_peername='${SQL_ESC(${ARG1})}' or dl_no_id='0' ) and '${SQL_ESC(${ARG2})}' regexp(dl_regex) and dl_rp_id='${SQL_ESC(${ARG3})}' and pc_id=( select c.pc_id from pc_providercosts c where pr_id=c.pc_pr_id and pc_code='${SQL_ESC(${ARG4})}' and '${SQL_ESC(${ARG2})}' like concat(c.pc_prefix,'%') and dl_paused='' order by length(pc_prefix) DESC limit 1) order by isnull(cost),cost ASC,dl_order ASC,dl_priority ASC,dl_weight*pr_penalty ASC limit ${ARG5},1' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'db02' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02) result is 'db02' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' regexp(dl_regex) and dl_rp_id='${SQL_ESC(${ARG3})}' and dl_paused='' union SELECT pr_id,pr_tech,pr_peername,dl_adddigits,dl_deldigits,pr_header1,pr_header2,pr_header3,pr_header4,pr_header5,pr_header6,pr_adddigits,pr_deldigits,pc_cost as cost,dl_emergencyroute,dl_usepin,dl_order,dl_priority,dl_weight,pr_penalty,pr_callerpres,pr_smsurl,pr_smspost,pr_smsuser,pr_smspassword,pr_smsprovider,pr_smsprotocol,pr_calleridregex,pr_ignoresipcause,pr_maxoutchannels from pr_providers,pc_providercosts,dl_dialingrules left outer join no_nodes on dl_no_id=no_id where dl_uselcr='on' and pr_id=pc_pr_id and pr_disabled='' and dl_pr_id=pr_id and ( no_peername='${SQL_ESC(${ARG1})}' or dl_no_id='0' ) and '${SQL_ESC(${ARG2})}' regexp(dl_regex) and dl_rp_id='${SQL_ESC(${ARG3})}' and pc_id=( select c.pc_id from pc_providercosts c where pr_id=c.pc_pr_id and pc_code='${SQL_ESC(${ARG4})}' and '${SQL_ESC(${ARG2})}' like concat(c.pc_prefix,'%') and dl_paused='' order by length(pc_prefix) DESC limit 1) order by isnull(cost),cost ASC,dl_order ASC,dl_priority ASC,dl_weight*pr_penalty ASC limit ${ARG5},1' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' and dl_paused='' union SELECT pr_id,pr_tech,pr_peername,dl_adddigits,dl_deldigits,pr_header1,pr_header2,pr_header3,pr_header4,pr_header5,pr_header6,pr_adddigits,pr_deldigits,pc_cost as cost,dl_emergencyroute,dl_usepin,dl_order,dl_priority,dl_weight,pr_penalty,pr_callerpres,pr_smsurl,pr_smspost,pr_smsuser,pr_smspassword,pr_smsprovider,pr_smsprotocol,pr_calleridregex,pr_ignoresipcause,pr_maxoutchannels from pr_providers,pc_providercosts,dl_dialingrules left outer join no_nodes on dl_no_id=no_id where dl_uselcr='on' and pr_id=pc_pr_id and pr_disabled='' and dl_pr_id=pr_id and ( no_peername='${SQL_ESC(${ARG1})}' or dl_no_id='0' ) and '${SQL_ESC(${ARG2})}' regexp(dl_regex) and dl_rp_id='${SQL_ESC(${ARG3})}' and pc_id=( select c.pc_id from pc_providercosts c where pr_id=c.pc_pr_id and pc_code='${SQL_ESC(${ARG4})}' and '${SQL_ESC(${ARG2})}' like concat(c.pc_prefix,'%') and dl_paused='' order by length(pc_prefix) DESC limit 1) order by isnull(cost),cost ASC,dl_order ASC,dl_priority ASC,dl_weight*pr_penalty ASC limit ${ARG5},1' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '45' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(45) result is '45' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' or dl_no_id='0' ) and '${SQL_ESC(${ARG2})}' regexp(dl_regex) and dl_rp_id='${SQL_ESC(${ARG3})}' and pc_id=( select c.pc_id from pc_providercosts c where pr_id=c.pc_pr_id and pc_code='${SQL_ESC(${ARG4})}' and '${SQL_ESC(${ARG2})}' like concat(c.pc_prefix,'%') and dl_paused='' order by length(pc_prefix) DESC limit 1) order by isnull(cost),cost ASC,dl_order ASC,dl_priority ASC,dl_weight*pr_penalty ASC limit ${ARG5},1' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'db02' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02) result is 'db02' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' regexp(dl_regex) and dl_rp_id='${SQL_ESC(${ARG3})}' and pc_id=( select c.pc_id from pc_providercosts c where pr_id=c.pc_pr_id and pc_code='${SQL_ESC(${ARG4})}' and '${SQL_ESC(${ARG2})}' like concat(c.pc_prefix,'%') and dl_paused='' order by length(pc_prefix) DESC limit 1) order by isnull(cost),cost ASC,dl_order ASC,dl_priority ASC,dl_weight*pr_penalty ASC limit ${ARG5},1' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' and pc_id=( select c.pc_id from pc_providercosts c where pr_id=c.pc_pr_id and pc_code='${SQL_ESC(${ARG4})}' and '${SQL_ESC(${ARG2})}' like concat(c.pc_prefix,'%') and dl_paused='' order by length(pc_prefix) DESC limit 1) order by isnull(cost),cost ASC,dl_order ASC,dl_priority ASC,dl_weight*pr_penalty ASC limit ${ARG5},1' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '45' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(45) result is '45' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG4})' (from 'SQL_ESC(${ARG4})}' and '${SQL_ESC(${ARG2})}' like concat(c.pc_prefix,'%') and dl_paused='' order by length(pc_prefix) DESC limit 1) order by isnull(cost),cost ASC,dl_order ASC,dl_priority ASC,dl_weight*pr_penalty ASC limit ${ARG5},1' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG4' (from 'ARG4})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG4' is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' like concat(c.pc_prefix,'%') and dl_paused='' order by length(pc_prefix) DESC limit 1) order by isnull(cost),cost ASC,dl_order ASC,dl_priority ASC,dl_weight*pr_penalty ASC limit ${ARG5},1' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG5' (from 'ARG5},1' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG5' is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 5 for column 'pr_id' (offset 0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '77' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '77' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 7 for column 'pr_tech' (offset 1) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'PJSIP' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 11 for column 'pr_peername' (offset 2) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'fs4' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 12 for column 'dl_adddigits' (offset 3) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 12 for column 'dl_deldigits' (offset 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 10 for column 'pr_header1' (offset 5) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'P-Accountcode:${BILLINGCODE}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 10 for column 'pr_header2' (offset 6) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'X-Faxid1:${FAXID}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 10 for column 'pr_header3' (offset 7) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'X-Campaignid:${CAID}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 10 for column 'pr_header4' (offset 8) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 10 for column 'pr_header5' (offset 9) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'X-IncomingDID:${INCOMINGDID}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 10 for column 'pr_header6' (offset 10) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 12 for column 'pr_adddigits' (offset 11) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 12 for column 'pr_deldigits' (offset 12) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 4 for column 'cost' (offset 13) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got NULL data [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 17 for column 'dl_emergencyroute' (offset 14) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 9 for column 'dl_usepin' (offset 15) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'dl_order' (offset 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 11 for column 'dl_priority' (offset 17) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,1,0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 9 for column 'dl_weight' (offset 18) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,1,0,0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 10 for column 'pr_penalty' (offset 19) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '38886' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,1,0,0,38886' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 13 for column 'pr_callerpres' (offset 20) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'auto' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,1,0,0,38886,auto' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 9 for column 'pr_smsurl' (offset 21) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,1,0,0,38886,auto,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 10 for column 'pr_smspost' (offset 22) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,1,0,0,38886,auto,,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 10 for column 'pr_smsuser' (offset 23) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,1,0,0,38886,auto,,,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 14 for column 'pr_smspassword' (offset 24) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,1,0,0,38886,auto,,,,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 14 for column 'pr_smsprovider' (offset 25) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '012' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,1,0,0,38886,auto,,,,,012' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 14 for column 'pr_smsprotocol' (offset 26) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'WEBURL' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,1,0,0,38886,auto,,,,,012,WEBURL' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 16 for column 'pr_calleridregex' (offset 27) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,1,0,0,38886,auto,,,,,012,WEBURL,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 17 for column 'pr_ignoresipcause' (offset 28) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,1,0,0,38886,auto,,,,,012,WEBURL,,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 17 for column 'pr_maxoutchannels' (offset 29) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '10000' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,1,0,0,38886,auto,,,,,012,WEBURL,,,10000' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,1,0,0,38886,auto,,,,,012,WEBURL,,,10000' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_OUTBOUND_ROUTE(db02,xxxxxxxxxx,45,xxxxxxxxxx,1) result is '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,1,0,0,38886,auto,,,,,012,WEBURL,,,10000' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:868] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "HASH(ROUTINGRULE)=77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,1,0,0,38886,auto,,,,,012,WEBURL,,,10000") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array (pr_id,pr_tech,pr_peername,dl_adddigits,dl_deldigits,pr_header1,pr_header2,pr_header3,pr_header4,pr_header5,pr_header6,pr_adddigits,pr_deldigits,cost,dl_emergencyroute,dl_usepin,dl_order,dl_priority,dl_weight,pr_penalty,pr_callerpres,pr_smsurl,pr_smspost,pr_smsuser,pr_smspassword,pr_smsprovider,pr_smsprotocol,pr_calleridregex,pr_ignoresipcause,pr_maxoutchannels=77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,1,0,0,38886,auto,,,,,012,WEBURL,,,10000) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_id=77) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_tech=PJSIP) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_peername=fs4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (dl_adddigits=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (dl_deldigits=0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_header1=P-Accountcode:${BILLINGCODE}) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_header2=X-Faxid1:${FAXID}) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_header3=X-Campaignid:${CAID}) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_header4=X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED}) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_header5=X-IncomingDID:${INCOMINGDID}) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_header6=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_adddigits=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_deldigits=0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (cost=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (dl_emergencyroute=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (dl_usepin=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (dl_order=1) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (dl_priority=0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (dl_weight=0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_penalty=38886) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_callerpres=auto) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_smsurl=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_smspost=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_smsuser=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_smspassword=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_smsprovider=012) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_smsprotocol=WEBURL) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_calleridregex=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_ignoresipcause=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (pr_maxoutchannels=10000) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:869] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_while_dialoutbound_1844_1845") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_id) result is '77' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:870] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?871:1750") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,871) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_id) result is '77' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:871] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "LATESTDIALEDPRID=77") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_id) result is '77' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:872] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?873:878") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,878) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:878] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_while_dialoutbound_1844_1846_1847") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,dl_usepin) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:879] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?880:902") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,902) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:902] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_while_dialoutbound_1844_1846_1848") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:903] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "atleastone=yes") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_tech) result is 'PJSIP' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_peername) result is 'fs4' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,dl_id) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,cost) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:904] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Provider choosen is of type PJSIP with name fs4 - ID - COST Increasing the call count") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ISSMS' is NULL [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:905] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?906:919") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,906) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:906] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "GROUP(TENANT)=15") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SYSTEMNAME' is 'db02' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function GROUP_COUNT(15@TENANT) result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:907] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "ODBC_SET_GROUP_COUNT(15@TENANT,db02)=1") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}','${SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15@TENANT' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15@TENANT) result is '15@TENANT' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'db02' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02) result is 'db02' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(1) result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(1) result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15@TENANT' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15@TENANT) result is '15@TENANT' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 25 for column 'coalesce(sum(gr_count),0)' (offset 0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '3' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '3' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '3' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_GROUP_COUNT(15@TENANT) result is '3' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:908] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "numchannels=3") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 14 for column 'te_maxchannels' (offset 0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '200' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '200' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '200' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_CHANNELSLIMIT_FROM_TENANTID(15) result is '200' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:909] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "maxchannels=200") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'numchannels' is '3' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'maxchannels' is '200' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:910] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "This tenant has now 3 active channels over a limit of 200") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'maxchannels' is '200' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'numchannels' is '3' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'maxchannels' is '200' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,dl_emergencyroute) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:911] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?912:918") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,918) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:918] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_while_dialoutbound_1844_1846_1852_1853") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:919] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_while_dialoutbound_1844_1846_1852") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_id) result is '77' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:920] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "ODBC_SET_INCREASE_PENALTY(77)=1") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1} where pr_id='${SQL_ESC(${ARG1})}'' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '77' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(77) result is '77' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,dl_adddigits) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,dl_deldigits) result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:921] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__DialNumber=xxxxxxxxxx") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'DialNumber' is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:922] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Call final number is xxxxxxxxxx") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(firstdst) result is '900' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:923] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?924:926") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,926) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'DialNumber' is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:926] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "CDR(lastdst)=xxxxxxxxxx") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:927] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_while_dialoutbound_1844_1846_1854") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'DialNumber' is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(sequence) result is '13304' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CALLRATE' is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_peername) result is 'fs4' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'CELGenUserEvent' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:928] CELGenUserEvent("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "DIALOUTBOUND,xxxxxxxxxx,13304,0,fs4") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,dl_emergencyroute) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:929] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?930:956") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,956) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:956] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_while_dialoutbound_1844_1846_1855") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CALLRATE' is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,dl_emergencyroute) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ISSMS' is NULL [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:957] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?958:1383") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1383) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1383] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_while_dialoutbound_1844_1846_1863") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,dl_emergencyroute) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ROUTECOSTLIMIT' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CALLRATE' is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTBILLING' is 'Post Paid' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ISSMS' is NULL [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1384] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?1385:1405") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1405) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1405] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_while_dialoutbound_1844_1846_1950") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_id) result is '77' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '722280800' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and pr_ca_id=ca_id and cr_ca_id=ca_id and '${SQL_ESC(${ARG2})}' regexp(cr_regex) limit 1' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '77' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(77) result is '77' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' regexp(cr_regex) limit 1' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '722280800' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(722280800) result is '722280800' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_CALLERID_MOD(77,722280800) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1406] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "ARRAY(LOCAL(CMODID),LOCAL(CMODADD),LOCAL(CMODDEL))=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array (LOCAL(CMODID),LOCAL(CMODADD),LOCAL(CMODDEL)=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (LOCAL(CMODID)=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (LOCAL(CMODADD)=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (LOCAL(CMODDEL)=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CMODADD' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CMODDEL' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '722280800' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1407] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "CALLERID(num)=722280800") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '722280800' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CALLERID(name) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1408] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "CallerID has been MODded in num <722280800> and name <>") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_callerpres) result is 'auto' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1409] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?1410:1428") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1410) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ALLOWANYCALLERIDUSAGE' is NULL [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1410] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?1411:1419") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1411) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_blockcid) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1411] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?1412:1415") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1412) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1412] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "CALLERID(name-pres)=allowed") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1413] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "CALLERID(num-pres)=allowed_passed_screen") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1414] Goto("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1417") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1417) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1417] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_if_while_dialoutbound_1844_1846_1954_1955_1956") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1418] Goto("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1426") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1426) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1426] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_while_dialoutbound_1844_1846_1954_1955") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1427] Goto("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1447") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1447) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1447] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_while_dialoutbound_1844_1846_1954") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_calleridregex) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1448] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?1449:1467") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1467) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1467] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_while_dialoutbound_1844_1846_1962") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,dl_emergencyroute) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1468] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?1469:1499") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1499) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_peername) result is 'fs4' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1499] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "GROUP(OUTPROVIDER)=fs4") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_peername) result is 'fs4' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SYSTEMNAME' is 'db02' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_peername) result is 'fs4' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function GROUP_COUNT(fs4@OUTPROVIDER) result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1500] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "ODBC_SET_GROUP_COUNT(fs4@OUTPROVIDER,db02)=1") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}','${SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'fs4@OUTPROVIDER' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(fs4@OUTPROVIDER) result is 'fs4@OUTPROVIDER' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'db02' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02) result is 'db02' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(1) result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(1) result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_peername) result is 'fs4' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_peername) result is 'fs4' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function GROUP_COUNT(fs4@OUTPROVIDER) result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_maxoutchannels) result is '10000' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1501] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Current provider fs4 has 1 calls running over a limit of 10000") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_maxoutchannels) result is '10000' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_peername) result is 'fs4' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function GROUP_COUNT(fs4@OUTPROVIDER) result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_maxoutchannels) result is '10000' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1502] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?1503:1506") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1506) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1506] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_while_dialoutbound_1844_1846_1966_1973") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1507] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_while_dialoutbound_1844_1846_1966") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'STDDIALOPTION' is 'U(destChannelActions^${ALWAYSRECORD}^${RECORDINGFORMAT}^${CONFIRM}^${CONFIRMMD5}^${ONANSWER}^${ONANSWERID}^${RECORDOTHERLEG}^${MIXMONITOROPTION})b(pjsip_header,setpjsipheader,1)' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'DIALOPTION' is 'TtL(7200000)t' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ALWAYSRECORD' is 'externalchange' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'RECORDINGFORMAT' is 'wav' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CONFIRM' is 'yes' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CONFIRMMD5' is 'pbx/9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ONANSWER' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ONANSWERID' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'RECORDOTHERLEG' is 'on' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'MIXMONITOROPTION' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function EVAL(U(destChannelActions^${ALWAYSRECORD}^${RECORDINGFORMAT}^${CONFIRM}^${CONFIRMMD5}^${ONANSWER}^${ONANSWERID}^${RECORDOTHERLEG}^${MIXMONITOROPTION})b(pjsip_header,setpjsipheader,1)TtL(7200000)t) result is 'U(destChannelActions^externalchange^wav^yes^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1508] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "nowDIALOPTION=U(destChannelActions^externalchange^wav^yes^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_tech) result is 'PJSIP' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1509] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?1510:1538") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1538) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_tech) result is 'PJSIP' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1538] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?1539:1567") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1539) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 14 for column 'te_billingcode' (offset 0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '1574692660' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '1574692660' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 20 for column 'te_prefixbillingcode' (offset 1) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '1574692660,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 12 for column 'te_extracode' (offset 2) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '1574692660,,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '1574692660,,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_BILLINGCODE_FROM_TENANTID(15) result is '1574692660,,' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1539] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "ARRAY(BILLINGCODE,PREFIXBILLINGCODE,EXTRACODE)=1574692660,,") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array (BILLINGCODE,PREFIXBILLINGCODE,EXTRACODE=1574692660,,) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (BILLINGCODE=1574692660) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (PREFIXBILLINGCODE=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_strings.c: array set value (EXTRACODE=) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 7 for column 'te_code' (offset 0) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of 'call' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'call' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to 'call' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_ACCOUNTCODE_FROM_TENANTID(15) result is 'call' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1540] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "TENANTCODE=call") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header1) result is 'P-Accountcode:${BILLINGCODE}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1541] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?1542:1543") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1542) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header1) result is 'P-Accountcode:${BILLINGCODE}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'BILLINGCODE' is '1574692660' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function EVAL(P-Accountcode:${BILLINGCODE}) result is 'P-Accountcode:1574692660' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1542] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__SIPADDHEADER01=P-Accountcode:1574692660") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1543] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_if_while_dialoutbound_1844_1846_1974_1982_1983") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header2) result is 'X-Faxid1:${FAXID}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1544] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?1545:1546") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1545) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header2) result is 'X-Faxid1:${FAXID}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'FAXID' is NULL [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function EVAL(X-Faxid1:${FAXID}) result is 'X-Faxid1:' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1545] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__SIPADDHEADER02=X-Faxid1:") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1546] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_if_while_dialoutbound_1844_1846_1974_1982_1984") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header3) result is 'X-Campaignid:${CAID}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1547] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?1548:1549") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1548) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header3) result is 'X-Campaignid:${CAID}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CAID' is NULL [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function EVAL(X-Campaignid:${CAID}) result is 'X-Campaignid:' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1548] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__SIPADDHEADER03=X-Campaignid:") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1549] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_if_while_dialoutbound_1844_1846_1974_1982_1985") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header4) result is 'X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1550] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?1551:1552") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1551) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header4) result is 'X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'PEEREXTEN' is NULL [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'INCOMINGDID' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'PINSTORED' is NULL [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function EVAL(X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED}) result is 'X-Ext:|' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1551] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__SIPADDHEADER04=X-Ext:|") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1552] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_if_while_dialoutbound_1844_1846_1974_1982_1986") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header5) result is 'X-IncomingDID:${INCOMINGDID}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1553] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?1554:1555") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1554) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header5) result is 'X-IncomingDID:${INCOMINGDID}' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'INCOMINGDID' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function EVAL(X-IncomingDID:${INCOMINGDID}) result is 'X-IncomingDID:' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1554] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__SIPADDHEADER05=X-IncomingDID:") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1555] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_if_while_dialoutbound_1844_1846_1974_1982_1987") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header6) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1556] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?1557:1558") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1558) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1558] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_if_while_dialoutbound_1844_1846_1974_1982_1988") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'PREFIXBILLINGCODE' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1559] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?1560:1562") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1562) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1562] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "BILLINGPREFIX=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1563] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_if_if_while_dialoutbound_1844_1846_1974_1982_1989") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'LIMIT_CONNECT_FILE' is NULL [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'LIMIT_WARNING_FILE' is NULL [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1564] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", " ") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_tech) result is 'PJSIP' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'BILLINGPREFIX' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_adddigits) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_deldigits) result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'DialNumber' is 'xxxxxxxxxx' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_peername) result is 'fs4' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'DIALTIMEOUT' is '300' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'nowDIALOPTION' is 'U(destChannelActions^externalchange^wav^yes^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Dial' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1565] Dial("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "PJSIP/xxxxxxxxxx@fs4,300,U(destChannelActions^externalchange^wav^yes^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] app_dial.c: Local/AG-000-CC-538@fromotherpbx-00000d2c;2: Data: PJSIP/xxxxxxxxxx@fs4,300,U(destChannelActions^externalchange^wav^yes^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] features.c: Setting call duration limit to 7200.000 seconds. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] chan_pjsip.c: xxxxxxxxxx@fs4 Topology: <0:audio-0:audio:sendrecv (ulaw)> [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] chan_pjsip.c: fs4 [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel_internal_api.c: : Formats: (none) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel_internal_api.c: Channel is being initialized or destroyed [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] stasis.c: Creating topic. name: channel:db02-1644254246.72720, detail: [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] stasis.c: Topic 'channel:db02-1644254246.72720': 0x7fe6700039a0 created [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Channel 0x7fe67000a3b0 'PJSIP/fs4-0000007a' allocated [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] chan_pjsip.c: Topology: <0:audio-0:audio:sendrecv (ulaw|alaw)> Formats: (alaw|ulaw) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] chan_pjsip.c: Compatible? yes [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel_internal_api.c: PJSIP/fs4-0000007a: MultistreamFormats: (ulaw|alaw) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel_internal_api.c: Set native formats but not topology [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel_internal_api.c: PJSIP/fs4-0000007a: <0:audio-0:audio:sendrecv (ulaw|alaw)> [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel_internal_api.c: Used provided topology [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] chan_pjsip.c: [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] chan_pjsip.c: Channel: PJSIP/fs4-0000007a [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __SIPADDHEADER05 from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __SIPADDHEADER04 from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __SIPADDHEADER03 from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __SIPADDHEADER02 from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __SIPADDHEADER01 from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __DialNumber from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __SAVEDCALLERID from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __ABUSEDETECTION from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __TENANTBILLING from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __CALLRATE from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __CHARGE from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __INTERNATIONALPREFIX from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __TRUNKPREFIX from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __DYNAMIC_FEATURES from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __context from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __BLINDCONNECTEDNUM from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __SIMPLEANSWERED from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __PICKUPMARK from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __ORIGCHANNEL from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __TRANSFER_CONTEXT from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __AGENTNUMBER from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __CONFIRM from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __TENANTID from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __CONFIRMMD5 from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __TIMEZONE from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __SIMPLEPREVUNIQUEID from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __PEERNAME from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __REALPEERNAME from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __INCOMINGDID from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __SETCALLERID from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __VALIDCALLERID from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __CDRcallUniqueID from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __CDRcallSequence from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __NOFOLLOWEXTENSION from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __ONLYFMFM from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __NOFMFM from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __DIALTIMEOUT from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __DIALEDNUMBER from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __ONANSWER from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __ONANSWERID from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __FMFMDIALTIMEOUT from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __FMFMCALLERID from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __QUEUEOPTION from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __FROMQUEUEID from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __PRIVACYID from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __RESPONSEPATHID from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __PLAYBACKOPTION from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __SETQUEUERULE from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __SETQUEUEMINPENALTY from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __SETQUEUEMAXPENALTY from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __SETQUEUERAISEPENALTY from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __AUTOANSWER from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __QUEUE_MAX_PENALTY from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __QUEUE_MIN_PENALTY from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __QUEUE_RAISE_PENALTY from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __PBX from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __queuenumber from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __queueid from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __maxanychannels from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Inheriting variable __TENANTCODE from Local/AG-000-CC-538@fromotherpbx-00000d2c;2 to PJSIP/fs4-0000007a. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] app_stack.c: Gosub args:pjsip_header,setpjsipheader,1 new_args:pjsip_header,setpjsipheader,1 [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] app_stack.c: PJSIP/fs4-0000007a Internal Gosub(pjsip_header,setpjsipheader,1) start [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] app_stack.c: PJSIP/fs4-0000007a Original location: fromoutside,xxxxxxxxxx,1 [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] app_stack.c: Channel PJSIP/fs4-0000007a has no datastore, so we're allocating one. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] app_stack.c: Gosub exited with status 0 [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'AUTOANSWER' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:1] NoOp("PJSIP/fs4-0000007a", "Autoanswer is ") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CHANNEL(channeltype) result is 'PJSIP' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:2] GotoIf("PJSIP/fs4-0000007a", "1?3:48") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,3) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'AUTOANSWER' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:3] GotoIf("PJSIP/fs4-0000007a", "0?4:33") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,33) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:33] NoOp("PJSIP/fs4-0000007a", "Finish if_if_pjsip_header_778_779") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:34] Set("PJSIP/fs4-0000007a", "i=1") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'i' is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:35] Set("PJSIP/fs4-0000007a", "pos=001") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'pos' is '001' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:36] Set("PJSIP/fs4-0000007a", "pos=01") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'pos' is '01' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPADDHEADER01' is 'P-Accountcode:1574692660' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:37] GotoIf("PJSIP/fs4-0000007a", "0?38:39") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,39) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:39] NoOp("PJSIP/fs4-0000007a", "Finish if_if_pjsip_header_778_783") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'pos' is '01' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPADDHEADER01' (from 'SIPADDHEADER01}' len 14) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPADDHEADER01' is 'P-Accountcode:1574692660' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CUT(SIPADDHEADER01,:,1) result is 'P-Accountcode' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:40] Set("PJSIP/fs4-0000007a", "head=P-Accountcode") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'pos' is '01' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPADDHEADER01' (from 'SIPADDHEADER01}' len 14) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPADDHEADER01' is 'P-Accountcode:1574692660' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CUT(SIPADDHEADER01,:,2-) result is '1574692660' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:41] Set("PJSIP/fs4-0000007a", "tail=1574692660") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'tail' is '1574692660' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:42] GotoIf("PJSIP/fs4-0000007a", "0?43:44") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,44) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:44] NoOp("PJSIP/fs4-0000007a", "Finish if_if_pjsip_header_778_784") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'head' is 'P-Accountcode' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'tail' is '1574692660' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:45] Set("PJSIP/fs4-0000007a", "PJSIP_HEADER(add,P-Accountcode)=1574692660") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'i' is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '2' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:46] Set("PJSIP/fs4-0000007a", "i=2") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:47] Goto("PJSIP/fs4-0000007a", "loop") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,35) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'i' is '2' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:35] Set("PJSIP/fs4-0000007a", "pos=002") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'pos' is '002' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:36] Set("PJSIP/fs4-0000007a", "pos=02") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'pos' is '02' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPADDHEADER02' is 'X-Faxid1:' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:37] GotoIf("PJSIP/fs4-0000007a", "0?38:39") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,39) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:39] NoOp("PJSIP/fs4-0000007a", "Finish if_if_pjsip_header_778_783") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'pos' is '02' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPADDHEADER02' (from 'SIPADDHEADER02}' len 14) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPADDHEADER02' is 'X-Faxid1:' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CUT(SIPADDHEADER02,:,1) result is 'X-Faxid1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:40] Set("PJSIP/fs4-0000007a", "head=X-Faxid1") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'pos' is '02' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPADDHEADER02' (from 'SIPADDHEADER02}' len 14) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPADDHEADER02' is 'X-Faxid1:' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CUT(SIPADDHEADER02,:,2-) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:41] Set("PJSIP/fs4-0000007a", "tail=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'tail' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:42] GotoIf("PJSIP/fs4-0000007a", "0?43:44") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,44) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:44] NoOp("PJSIP/fs4-0000007a", "Finish if_if_pjsip_header_778_784") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'head' is 'X-Faxid1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'tail' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:45] Set("PJSIP/fs4-0000007a", "PJSIP_HEADER(add,X-Faxid1)=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'i' is '2' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '3' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:46] Set("PJSIP/fs4-0000007a", "i=3") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:47] Goto("PJSIP/fs4-0000007a", "loop") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,35) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'i' is '3' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:35] Set("PJSIP/fs4-0000007a", "pos=003") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'pos' is '003' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:36] Set("PJSIP/fs4-0000007a", "pos=03") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'pos' is '03' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPADDHEADER03' is 'X-Campaignid:' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:37] GotoIf("PJSIP/fs4-0000007a", "0?38:39") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,39) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:39] NoOp("PJSIP/fs4-0000007a", "Finish if_if_pjsip_header_778_783") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'pos' is '03' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPADDHEADER03' (from 'SIPADDHEADER03}' len 14) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPADDHEADER03' is 'X-Campaignid:' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CUT(SIPADDHEADER03,:,1) result is 'X-Campaignid' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:40] Set("PJSIP/fs4-0000007a", "head=X-Campaignid") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'pos' is '03' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPADDHEADER03' (from 'SIPADDHEADER03}' len 14) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPADDHEADER03' is 'X-Campaignid:' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CUT(SIPADDHEADER03,:,2-) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:41] Set("PJSIP/fs4-0000007a", "tail=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'tail' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:42] GotoIf("PJSIP/fs4-0000007a", "0?43:44") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,44) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:44] NoOp("PJSIP/fs4-0000007a", "Finish if_if_pjsip_header_778_784") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'head' is 'X-Campaignid' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'tail' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:45] Set("PJSIP/fs4-0000007a", "PJSIP_HEADER(add,X-Campaignid)=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'i' is '3' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '4' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:46] Set("PJSIP/fs4-0000007a", "i=4") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:47] Goto("PJSIP/fs4-0000007a", "loop") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,35) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'i' is '4' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:35] Set("PJSIP/fs4-0000007a", "pos=004") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'pos' is '004' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:36] Set("PJSIP/fs4-0000007a", "pos=04") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'pos' is '04' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPADDHEADER04' is 'X-Ext:|' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:37] GotoIf("PJSIP/fs4-0000007a", "0?38:39") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,39) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:39] NoOp("PJSIP/fs4-0000007a", "Finish if_if_pjsip_header_778_783") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'pos' is '04' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPADDHEADER04' (from 'SIPADDHEADER04}' len 14) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPADDHEADER04' is 'X-Ext:|' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CUT(SIPADDHEADER04,:,1) result is 'X-Ext' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:40] Set("PJSIP/fs4-0000007a", "head=X-Ext") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'pos' is '04' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPADDHEADER04' (from 'SIPADDHEADER04}' len 14) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPADDHEADER04' is 'X-Ext:|' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CUT(SIPADDHEADER04,:,2-) result is '|' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:41] Set("PJSIP/fs4-0000007a", "tail=|") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'tail' is '|' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:42] GotoIf("PJSIP/fs4-0000007a", "0?43:44") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,44) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:44] NoOp("PJSIP/fs4-0000007a", "Finish if_if_pjsip_header_778_784") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'head' is 'X-Ext' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'tail' is '|' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:45] Set("PJSIP/fs4-0000007a", "PJSIP_HEADER(add,X-Ext)=|") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'i' is '4' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '5' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:46] Set("PJSIP/fs4-0000007a", "i=5") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:47] Goto("PJSIP/fs4-0000007a", "loop") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,35) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'i' is '5' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:35] Set("PJSIP/fs4-0000007a", "pos=005") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'pos' is '005' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:36] Set("PJSIP/fs4-0000007a", "pos=05") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'pos' is '05' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPADDHEADER05' is 'X-IncomingDID:' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:37] GotoIf("PJSIP/fs4-0000007a", "0?38:39") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,39) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:39] NoOp("PJSIP/fs4-0000007a", "Finish if_if_pjsip_header_778_783") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'pos' is '05' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPADDHEADER05' (from 'SIPADDHEADER05}' len 14) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPADDHEADER05' is 'X-IncomingDID:' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CUT(SIPADDHEADER05,:,1) result is 'X-IncomingDID' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:40] Set("PJSIP/fs4-0000007a", "head=X-IncomingDID") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'pos' is '05' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SIPADDHEADER05' (from 'SIPADDHEADER05}' len 14) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPADDHEADER05' is 'X-IncomingDID:' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CUT(SIPADDHEADER05,:,2-) result is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:41] Set("PJSIP/fs4-0000007a", "tail=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'tail' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:42] GotoIf("PJSIP/fs4-0000007a", "0?43:44") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,44) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:44] NoOp("PJSIP/fs4-0000007a", "Finish if_if_pjsip_header_778_784") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'head' is 'X-IncomingDID' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'tail' is '' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:45] Set("PJSIP/fs4-0000007a", "PJSIP_HEADER(add,X-IncomingDID)=") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'i' is '5' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '6' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:46] Set("PJSIP/fs4-0000007a", "i=6") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:47] Goto("PJSIP/fs4-0000007a", "loop") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,35) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'i' is '6' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:35] Set("PJSIP/fs4-0000007a", "pos=006") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'pos' is '006' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:36] Set("PJSIP/fs4-0000007a", "pos=06") in new stack [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'pos' is '06' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SIPADDHEADER06' is NULL [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:37] GotoIf("PJSIP/fs4-0000007a", "1?38:39") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,38) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:38] Goto("PJSIP/fs4-0000007a", "endloop") in new stack [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,48) [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:48] NoOp("PJSIP/fs4-0000007a", "Finish if_pjsip_header_778") in new stack [2022-02-07 19:17:26] NOTICE[4565][C-00000e4d] app_stack.c: PJSIP/fs4-0000007a Abnormal 'Gosub(pjsip_header,setpjsipheader,1)' exit. Popping routine return locations. [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] app_stack.c: PJSIP/fs4-0000007a Ending location: pjsip_header,setpjsipheader,49 [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] chan_pjsip.c: PJSIP/fs4-0000007a Topology: <0:audio-0:audio:sendrecv (ulaw|alaw)> [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] chan_pjsip.c: 'call' task pushed [2022-02-07 19:17:26] VERBOSE[4565][C-00000e4d] app_dial.c: Called PJSIP/xxxxxxxxxx@fs4 [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] app_dial.c: Local/AG-000-CC-538@fromotherpbx-00000d2c;2 [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Channel PJSIP/fs4-0000007a setting read format path: ulaw -> ulaw [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Channel Local/AG-000-CC-538@fromotherpbx-00000d2c;2 setting write format path: ulaw -> ulaw [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Channel Local/AG-000-CC-538@fromotherpbx-00000d2c;2 setting read format path: ulaw -> ulaw [2022-02-07 19:17:26] DEBUG[4565][C-00000e4d] channel.c: Channel PJSIP/fs4-0000007a setting write format path: ulaw -> ulaw [2022-02-07 19:17:26] VERBOSE[4560][C-00000e4d] app_queue.c: Local/AG-000-CC-538@fromotherpbx-00000d2c;1 connected line has changed. Saving it until answer for SIP/oraclepbx-00000c08 [2022-02-07 19:17:26] DEBUG[21823][C-00000e4d] chan_sip.c: *** SIP TIMER: Cancelling retransmission #45 - INVITE (got response) [2022-02-07 19:17:26] DEBUG[21823][C-00000e4d] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '0b317f51402757466bf68d6b3fdde478@XXX.XXX.XXX.XXX:5060' Request 102: Found [2022-02-07 19:17:26] DEBUG[21823][C-00000e4d] chan_sip.c: SIP response 100 to standard invite [2022-02-07 19:17:26] DEBUG[21823][C-00000e4d] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '0b317f51402757466bf68d6b3fdde478@XXX.XXX.XXX.XXX:5060' Request 102: Found [2022-02-07 19:17:26] DEBUG[21823][C-00000e4d] chan_sip.c: SIP response 100 to standard invite [2022-02-07 19:17:26] DEBUG[21823][C-00000e4d] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '0b317f51402757466bf68d6b3fdde478@XXX.XXX.XXX.XXX:5060' Request 102: Found [2022-02-07 19:17:26] DEBUG[21823][C-00000e4d] chan_sip.c: SIP response 100 to standard invite [2022-02-07 19:17:26] DEBUG[21823][C-00000e4d] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '0b317f51402757466bf68d6b3fdde478@XXX.XXX.XXX.XXX:5060' Request 102: Found [2022-02-07 19:17:26] DEBUG[21823][C-00000e4d] chan_sip.c: SIP response 180 to standard invite [2022-02-07 19:17:26] VERBOSE[21823][C-00000e4d] sip/route.c: sip_route_dump: route/path hop: [2022-02-07 19:17:26] VERBOSE[4564][C-00000e4d] app_dial.c: SIP/oraclepbx-00000c09 is ringing [2022-02-07 19:17:26] VERBOSE[4560][C-00000e4d] app_queue.c: Local/AG-000-NF-38@fromotherpbx-00000d2b;1 connected line has changed. Saving it until answer for SIP/oraclepbx-00000c08 [2022-02-07 19:17:26] VERBOSE[4560][C-00000e4d] app_queue.c: Local/AG-000-NF-38@fromotherpbx-00000d2b;1 is ringing [2022-02-07 19:17:28] VERBOSE[4565][C-00000e4d] app_dial.c: PJSIP/fs4-0000007a is making progress passing it to Local/AG-000-CC-538@fromotherpbx-00000d2c;2 [2022-02-07 19:17:28] DEBUG[4560][C-00000e4d] app_queue.c: Dunno what to do with control type 14 [2022-02-07 19:17:28] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:28] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:28] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:28] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:28] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:28] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:28] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:28] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:28] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:28] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:28] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:28] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:28] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:28] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:28] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:28] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:28] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:28] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:28] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:28] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:28] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:28] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:28] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:28] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:28] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:28] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:28] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:28] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:28] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:28] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:28] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:28] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:28] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:28] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:29] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4560][C-00000e4d] res_rtp_asterisk.c: (0x7fe7140f9b20) RTCP got report of 100 bytes from XXX.X.XXX.XX:19717 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:30] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:31] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:32] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4565][C-00000e4d] res_rtp_asterisk.c: (0x7fe6301ddcc0) RTCP got report of 72 bytes from 212.199.220.22:36989 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:33] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:34] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4560][C-00000e4d] res_rtp_asterisk.c: (0x7fe7140f9b20) RTCP got report of 100 bytes from XXX.X.XXX.XX:19717 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:35] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:36] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:37] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4565][C-00000e4d] res_rtp_asterisk.c: (0x7fe6301ddcc0) RTCP got report of 72 bytes from 212.199.220.22:36989 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:38] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:39] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4560][C-00000e4d] res_rtp_asterisk.c: (0x7fe7140f9b20) RTCP got report of 100 bytes from XXX.X.XXX.XX:19717 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:40] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:41] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:42] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4565][C-00000e4d] res_rtp_asterisk.c: (0x7fe6301ddcc0) RTCP got report of 72 bytes from 212.199.220.22:36989 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:43] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:44] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] res_rtp_asterisk.c: (0x7fe7140f9b20) RTCP got report of 100 bytes from XXX.X.XXX.XX:19717 [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe670022958 [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] audiohook.c: Read factory 0x7fe670022958 and write factory 0x7fe670023398 both fail to provide 160 samples [2022-02-07 19:17:45] VERBOSE[4560][C-00000e4d] app_queue.c: Nobody picked up in 20000 ms [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6a0004ea0 from class 'asterisk1' [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] res_config_odbc.c: Skip: 0; SQL: INSERT INTO queue_log (time, data5, data4, data3, data2, data1, event, agent, queuename, callid) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] res_config_odbc.c: Parameter 1 ('time') = '2022-02-07 19:17:45.368480' [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] res_config_odbc.c: Parameter 2 ('data5') = '' [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] res_config_odbc.c: Parameter 3 ('data4') = '' [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] res_config_odbc.c: Parameter 4 ('data3') = '' [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] res_config_odbc.c: Parameter 5 ('data2') = '' [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] res_config_odbc.c: Parameter 6 ('data1') = '20000' [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] res_config_odbc.c: Parameter 7 ('event') = 'RINGNOANSWER' [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] res_config_odbc.c: Parameter 8 ('agent') = '203' [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] res_config_odbc.c: Parameter 9 ('queuename') = '9' [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] res_config_odbc.c: Parameter 10 ('callid') = 'db02-1644254244.72696' [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6a0004ea0 into pool [2022-02-07 19:17:45] VERBOSE[4560][C-00000e4d] app_queue.c: Nobody picked up in 20000 ms [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6a0004ea0 from class 'asterisk1' [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] res_config_odbc.c: Skip: 0; SQL: INSERT INTO queue_log (time, data5, data4, data3, data2, data1, event, agent, queuename, callid) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] res_config_odbc.c: Parameter 1 ('time') = '2022-02-07 19:17:45.369655' [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] res_config_odbc.c: Parameter 2 ('data5') = '' [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] res_config_odbc.c: Parameter 3 ('data4') = '' [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] res_config_odbc.c: Parameter 4 ('data3') = '' [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] res_config_odbc.c: Parameter 5 ('data2') = '' [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] res_config_odbc.c: Parameter 6 ('data1') = '20000' [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] res_config_odbc.c: Parameter 7 ('event') = 'RINGNOANSWER' [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] res_config_odbc.c: Parameter 8 ('agent') = 'xxxxxxxxxx' [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] res_config_odbc.c: Parameter 9 ('queuename') = '9' [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] res_config_odbc.c: Parameter 10 ('callid') = 'db02-1644254244.72696' [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6a0004ea0 into pool [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] channel.c: Channel 0x7fe64c043290 'Local/AG-000-NF-38@fromotherpbx-00000d2b;1' hanging up. Refs: 2 [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] channel.c: Channel 0x7fe64c043290 'Local/AG-000-NF-38@fromotherpbx-00000d2b;1' destroying [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] stasis.c: Destroying topic. name: channel:db02-1644254245.72701, detail: [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] stasis.c: Topic 'channel:db02-1644254245.72701': 0x7fe64c00a080 destroyed [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] channel_internal_api.c: : MultistreamFormats: (nothing) [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] channel_internal_api.c: Channel is being initialized or destroyed [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] app_dial.c: Local/AG-000-NF-38@fromotherpbx-00000d2b;2: Caller hung up [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] app_queue.c: Removed xxxxxxxxxx from pending_members [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] channel.c: Channel 0x7fe638024e60 'SIP/oraclepbx-00000c09' hanging up. Refs: 2 [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] channel.c: Channel 0x7fe64c01c380 'Local/AG-000-CC-538@fromotherpbx-00000d2c;1' hanging up. Refs: 2 [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] chan_sip.c: Hangup call SIP/oraclepbx-00000c09, SIP callid 0b317f51402757466bf68d6b3fdde478@XXX.XXX.XXX.XXX:5060 [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] chan_sip.c: update_call_counter(38) - decrement call limit counter on hangup [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] channel.c: Channel 0x7fe64c01c380 'Local/AG-000-CC-538@fromotherpbx-00000d2c;1' destroying [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] chan_sip.c: Updating call counter for outgoing call [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] chan_sip.c: Call to peer 'oraclepbx' removed from call limit 2147483647 [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] chan_sip.c: Hanging up channel in state Ringing (not UP) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] res_rtp_asterisk.c: (0x7fe63801f860) DTLS srtp - stopped timeout timer' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] res_rtp_asterisk.c: (0x7fe63801f860) DTLS srtp - stopped timeout timer' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] chan_sip.c: Scheduling destruction of SIP dialog '0b317f51402757466bf68d6b3fdde478@XXX.XXX.XXX.XXX:5060' in 6400 ms (Method: INVITE) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '0b317f51402757466bf68d6b3fdde478@XXX.XXX.XXX.XXX:5060' Request 102: Found [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] app_dial.c: Local/AG-000-CC-538@fromotherpbx-00000d2c;2: Caller hung up [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] channel.c: Channel 0x7fe67000a3b0 'PJSIP/fs4-0000007a' hanging up. Refs: 2 [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] chan_pjsip.c: PJSIP/fs4-0000007a [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] chan_pjsip.c: AST hangup cause 0 (no match found in PJSIP) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] chan_sip.c: Strict routing enforced for session 0b317f51402757466bf68d6b3fdde478@XXX.XXX.XXX.XXX:5060 [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] chan_pjsip.c: Cause: 0 [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] app_dial.c: Exiting with DIALSTATUS=CANCEL. [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] app_dial.c: Local/AG-000-CC-538@fromotherpbx-00000d2c;2: Done [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Spawn extension (dialoutbound,xxxxxxxxxx,1565) exited non-zero on 'Local/AG-000-CC-538@fromotherpbx-00000d2c;2' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] chan_sip.c: Reliably Transmitting (NAT) to XXX.X.XXX.XX:5060: [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Spawn extension (dialoutbound, xxxxxxxxxx, 1565) exited non-zero on 'Local/AG-000-CC-538@fromotherpbx-00000d2c;2' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] chan_sip.c: *** SIP TIMER: Initializing retransmit timer on packet: Id #30 [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] chan_sip.c: Trying to put 'CANCEL sip:' onto UDP socket destined for XXX.X.XXX.XX:5060 [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] channel.c: Soft-Hanging (0x10) up channel 'Local/AG-000-CC-538@fromotherpbx-00000d2c;2' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] channel.c: Soft-Hanging (0x80) up channel 'Local/AG-000-CC-538@fromotherpbx-00000d2c;2' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [h@dialoutbound:1] Gosub("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "callEnd,~~s~~,1") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'DIALSTATUS' is 'CANCEL' [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] stasis.c: Destroying topic. name: channel:db02-1644254245.72704, detail: [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] stasis.c: Topic 'channel:db02-1644254245.72704': 0x7fe64c045850 destroyed [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] channel_internal_api.c: : MultistreamFormats: (nothing) [2022-02-07 19:17:45] DEBUG[4560][C-00000e4d] channel_internal_api.c: Channel is being initialized or destroyed [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] chan_sip.c: Scheduling destruction of SIP dialog '0b317f51402757466bf68d6b3fdde478@XXX.XXX.XXX.XXX:5060' in 6400 ms (Method: INVITE) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] channel.c: Channel 0x7fe638024e60 'SIP/oraclepbx-00000c09' destroying [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] stasis.c: Destroying topic. name: channel:db02-1644254245.72713, detail: [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] stasis.c: Topic 'channel:db02-1644254245.72713': 0x7fe638044610 destroyed [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] channel_internal_api.c: : Formats: (nothing) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] channel_internal_api.c: Channel is being initialized or destroyed [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] app_dial.c: Exiting with DIALSTATUS=CANCEL. [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] app_dial.c: Local/AG-000-NF-38@fromotherpbx-00000d2b;2: Done [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Spawn extension (dialpeerexten,203,2141) exited non-zero on 'Local/AG-000-NF-38@fromotherpbx-00000d2b;2' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Spawn extension (dialpeerexten, 203, 2141) exited non-zero on 'Local/AG-000-NF-38@fromotherpbx-00000d2b;2' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] channel.c: Soft-Hanging (0x10) up channel 'Local/AG-000-NF-38@fromotherpbx-00000d2b;2' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] channel.c: Soft-Hanging (0x80) up channel 'Local/AG-000-NF-38@fromotherpbx-00000d2b;2' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPCALLID' is NULL [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SIPURI' is NULL [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'CHANNEL' is 'Local/AG-000-NF-38@fromotherpbx-00000d2b;2' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'UNIQUEID' is 'db02-1644254245.72702' [2022-02-07 19:17:45] WARNING[4564][C-00000e4d] chan_sip.c: This function can only be used on SIP channels. [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SIP_HEADER(Call-ID) result is '(null)' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [h@dialpeerexten:1] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Call ended, SIP CALL ID SIP URI CHANNEL Local/AG-000-NF-38@fromotherpbx-00000d2b;2 UNIQUEID db02-1644254245.72702 ") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [h@dialpeerexten:2] Gosub("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "callEnd,~~s~~,1") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'DIALSTATUS' is 'CANCEL' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(disposition) result is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'HANGUPCAUSE' is '3' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:1] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "This is CallEnd - DIALSTATUS is CANCEL CDR disposition is NO ANSWER - HANGUPCAUSE is 3") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CPLAYBACKOFFSET' is NULL [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:2] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Caller hangup at ") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CPLAYBACKSTOPKEY' is NULL [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:3] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Stop key was ") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TIMEZONE' is '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:4] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?5:6") in new stack [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (callEnd,~~s~~,5) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(disposition) result is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'HANGUPCAUSE' is '0' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:1] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "This is CallEnd - DIALSTATUS is CANCEL CDR disposition is NO ANSWER - HANGUPCAUSE is 0") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'CPLAYBACKOFFSET' is NULL [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:2] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Caller hangup at ") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'CPLAYBACKSTOPKEY' is NULL [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:3] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Stop key was ") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TIMEZONE' is '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:4] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "1?5:6") in new stack [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (callEnd,~~s~~,5) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_timezone' (offset 0) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_timezone' (offset 0) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_TENANT_TIMEZONE(15) result is '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:5] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "__TIMEZONE=") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:6] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_callEnd_43") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'DIALSTATUS' is 'CANCEL' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_GET_TENANT_TIMEZONE(15) result is '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:5] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "__TIMEZONE=") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:6] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_callEnd_43") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'DIALSTATUS' is 'CANCEL' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(disposition) result is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(disposition) result is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:7] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?8:12") in new stack [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (callEnd,~~s~~,12) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(disposition) result is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'EPOCH' is '1644254265' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TIMEZONE' is '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function STRFTIME(1644254265,,%Y-%m-%d %H:%M:%S) result is '2022-02-07 19:17:45' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'UNIQUEID' is 'db02-1644254245.72706' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:12] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "ODBC_LOG_CALL_END_SIMPLE("NO ANSWER","","2022-02-07 19:17:45")="db02-1644254245.72706"") in new stack [2022-02-07 19:17:45] WARNING[4565][C-00000e4d] pbx_variables.c: Please avoid unnecessary spaces on variables as it may lead to unexpected results ('ODBC_LOG_CALL_END_SIMPLE("NO ANSWER","","2022-02-07 19:17:45")' set to '"db02-1644254245.72706"'). [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' when 'ANSWERED' then 'ANSWERED' ELSE least('${SQL_ESC(${ARG1})}',sc_disposition) END,sc_duration=timestampdiff(SECOND,sc_start,'${SQL_ESC(${ARG3})}') where sc_uniqueid='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(NO ANSWER) result is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',sc_disposition) END,sc_duration=timestampdiff(SECOND,sc_start,'${SQL_ESC(${ARG3})}') where sc_uniqueid='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(NO ANSWER) result is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}') where sc_uniqueid='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '2022-02-07 19:17:45' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(2022-02-07 19:17:45) result is '2022-02-07 19:17:45' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'VAL1' is 'db02-1644254245.72706' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02-1644254245.72706) result is 'db02-1644254245.72706' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(disposition) result is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(disposition) result is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:7] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?8:12") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe66c00f7d0 from class 'asteriskcdrdb1' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (callEnd,~~s~~,12) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(disposition) result is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'EPOCH' is '1644254265' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TIMEZONE' is '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function STRFTIME(1644254265,,%Y-%m-%d %H:%M:%S) result is '2022-02-07 19:17:45' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'UNIQUEID' is 'db02-1644254245.72702' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:12] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "ODBC_LOG_CALL_END_SIMPLE("NO ANSWER","","2022-02-07 19:17:45")="db02-1644254245.72702"") in new stack [2022-02-07 19:17:45] WARNING[4564][C-00000e4d] pbx_variables.c: Please avoid unnecessary spaces on variables as it may lead to unexpected results ('ODBC_LOG_CALL_END_SIMPLE("NO ANSWER","","2022-02-07 19:17:45")' set to '"db02-1644254245.72702"'). [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' when 'ANSWERED' then 'ANSWERED' ELSE least('${SQL_ESC(${ARG1})}',sc_disposition) END,sc_duration=timestampdiff(SECOND,sc_start,'${SQL_ESC(${ARG3})}') where sc_uniqueid='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(NO ANSWER) result is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',sc_disposition) END,sc_duration=timestampdiff(SECOND,sc_start,'${SQL_ESC(${ARG3})}') where sc_uniqueid='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(NO ANSWER) result is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}') where sc_uniqueid='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '2022-02-07 19:17:45' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(2022-02-07 19:17:45) result is '2022-02-07 19:17:45' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'VAL1' is 'db02-1644254245.72702' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02-1644254245.72702) result is 'db02-1644254245.72702' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe66c00f7d0 into pool [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6880f7900 from class 'asteriskcdrdb1' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6880f7900 into pool [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(disposition) result is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'EPOCH' is '1644254265' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TIMEZONE' is '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function STRFTIME(1644254265,,%Y-%m-%d %H:%M:%S) result is '2022-02-07 19:17:45' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CHANNEL(LinkedID) result is 'db02-1644254244.72696' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:13] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "ODBC_LOG_CALL_END_SIMPLE("NO ANSWER","","2022-02-07 19:17:45")="db02-1644254244.72696"") in new stack [2022-02-07 19:17:45] WARNING[4565][C-00000e4d] pbx_variables.c: Please avoid unnecessary spaces on variables as it may lead to unexpected results ('ODBC_LOG_CALL_END_SIMPLE("NO ANSWER","","2022-02-07 19:17:45")' set to '"db02-1644254244.72696"'). [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' when 'ANSWERED' then 'ANSWERED' ELSE least('${SQL_ESC(${ARG1})}',sc_disposition) END,sc_duration=timestampdiff(SECOND,sc_start,'${SQL_ESC(${ARG3})}') where sc_uniqueid='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(NO ANSWER) result is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',sc_disposition) END,sc_duration=timestampdiff(SECOND,sc_start,'${SQL_ESC(${ARG3})}') where sc_uniqueid='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(NO ANSWER) result is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}') where sc_uniqueid='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '2022-02-07 19:17:45' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(2022-02-07 19:17:45) result is '2022-02-07 19:17:45' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'VAL1' is 'db02-1644254244.72696' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02-1644254244.72696) result is 'db02-1644254244.72696' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(disposition) result is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'EPOCH' is '1644254265' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TIMEZONE' is '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function STRFTIME(1644254265,,%Y-%m-%d %H:%M:%S) result is '2022-02-07 19:17:45' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CHANNEL(LinkedID) result is 'db02-1644254244.72696' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:13] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "ODBC_LOG_CALL_END_SIMPLE("NO ANSWER","","2022-02-07 19:17:45")="db02-1644254244.72696"") in new stack [2022-02-07 19:17:45] WARNING[4564][C-00000e4d] pbx_variables.c: Please avoid unnecessary spaces on variables as it may lead to unexpected results ('ODBC_LOG_CALL_END_SIMPLE("NO ANSWER","","2022-02-07 19:17:45")' set to '"db02-1644254244.72696"'). [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' when 'ANSWERED' then 'ANSWERED' ELSE least('${SQL_ESC(${ARG1})}',sc_disposition) END,sc_duration=timestampdiff(SECOND,sc_start,'${SQL_ESC(${ARG3})}') where sc_uniqueid='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(NO ANSWER) result is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',sc_disposition) END,sc_duration=timestampdiff(SECOND,sc_start,'${SQL_ESC(${ARG3})}') where sc_uniqueid='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(NO ANSWER) result is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}') where sc_uniqueid='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '2022-02-07 19:17:45' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(2022-02-07 19:17:45) result is '2022-02-07 19:17:45' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'VAL1' is 'db02-1644254244.72696' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02-1644254244.72696) result is 'db02-1644254244.72696' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6880f7900 from class 'asteriskcdrdb1' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x2777480 from class 'asteriskcdrdb1' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6880f7900 into pool [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x2777480 into pool [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(disposition) result is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(disposition) result is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'EPOCH' is '1644254265' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'EPOCH' is '1644254265' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TIMEZONE' is '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TIMEZONE' is '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function STRFTIME(1644254265,,%Y-%m-%d %H:%M:%S) result is '2022-02-07 19:17:45' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function STRFTIME(1644254265,,%Y-%m-%d %H:%M:%S) result is '2022-02-07 19:17:45' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'CDRcallUniqueID' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:14] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "ODBC_LOG_CALL_END_SIMPLE("NO ANSWER","","2022-02-07 19:17:45")="oraclepbx-1644254244.1743648"") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CDRcallUniqueID' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:14] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "ODBC_LOG_CALL_END_SIMPLE("NO ANSWER","","2022-02-07 19:17:45")="oraclepbx-1644254244.1743648"") in new stack [2022-02-07 19:17:45] WARNING[4564][C-00000e4d] pbx_variables.c: Please avoid unnecessary spaces on variables as it may lead to unexpected results ('ODBC_LOG_CALL_END_SIMPLE("NO ANSWER","","2022-02-07 19:17:45")' set to '"oraclepbx-1644254244.1743648"'). [2022-02-07 19:17:45] WARNING[4565][C-00000e4d] pbx_variables.c: Please avoid unnecessary spaces on variables as it may lead to unexpected results ('ODBC_LOG_CALL_END_SIMPLE("NO ANSWER","","2022-02-07 19:17:45")' set to '"oraclepbx-1644254244.1743648"'). [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' when 'ANSWERED' then 'ANSWERED' ELSE least('${SQL_ESC(${ARG1})}',sc_disposition) END,sc_duration=timestampdiff(SECOND,sc_start,'${SQL_ESC(${ARG3})}') where sc_uniqueid='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(NO ANSWER) result is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',sc_disposition) END,sc_duration=timestampdiff(SECOND,sc_start,'${SQL_ESC(${ARG3})}') where sc_uniqueid='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(NO ANSWER) result is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' when 'ANSWERED' then 'ANSWERED' ELSE least('${SQL_ESC(${ARG1})}',sc_disposition) END,sc_duration=timestampdiff(SECOND,sc_start,'${SQL_ESC(${ARG3})}') where sc_uniqueid='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}') where sc_uniqueid='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '2022-02-07 19:17:45' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(2022-02-07 19:17:45) result is '2022-02-07 19:17:45' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(NO ANSWER) result is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'VAL1' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',sc_disposition) END,sc_duration=timestampdiff(SECOND,sc_start,'${SQL_ESC(${ARG3})}') where sc_uniqueid='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(oraclepbx-1644254244.1743648) result is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(NO ANSWER) result is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}') where sc_uniqueid='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '2022-02-07 19:17:45' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(2022-02-07 19:17:45) result is '2022-02-07 19:17:45' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'VAL1' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(oraclepbx-1644254244.1743648) result is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe66c00f7d0 from class 'asteriskcdrdb1' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6880f7900 from class 'asteriskcdrdb1' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe66c00f7d0 into pool [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6880f7900 into pool [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:15] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_callEnd_44") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'DIALSTATUS' is 'CANCEL' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(disposition) result is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'OutboundQueueAgent' is NULL [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:16] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?17:18") in new stack [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (callEnd,~~s~~,18) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:18] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_callEnd_45") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'CHARGE' is NULL [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'DIALSTATUS' is 'CANCEL' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:19] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?20:21") in new stack [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (callEnd,~~s~~,21) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:21] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_callEnd_46") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'PRIVACYID' is '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:22] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?23:24") in new stack [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (callEnd,~~s~~,24) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:24] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_callEnd_47") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'DIALSTATUS' is 'CANCEL' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'NOTIFYMISSEDCALL' is '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:25] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?26:27") in new stack [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (callEnd,~~s~~,27) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:27] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_callEnd_48") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:28] Gosub("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "computeCost,~~s~~,1") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:15] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_callEnd_44") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'DIALSTATUS' is 'CANCEL' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] func_version.c: VERSION returns 180600 result, given ASTERISK_VERSION_NUM argument [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function VERSION(ASTERISK_VERSION_NUM) result is '180600' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:1] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "VERSION=180600") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(disposition) result is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(uniqueid) result is 'db02-1644254245.72702' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'OutboundQueueAgent' is NULL [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:2] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Computing cost for call with uniqueid db02-1644254245.72702 for tenant 15") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'BLINDCONNECTEDNUM' is '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:3] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Call BLINDCONNECTEDNUM is ") in new stack [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:16] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?17:18") in new stack [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (callEnd,~~s~~,18) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(billsec) result is '0' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:4] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Call lasts 0 seconds") in new stack [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:18] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_callEnd_45") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CHARGE' is 'yes' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(lastdst) result is '203' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'DIALSTATUS' is 'CANCEL' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:5] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Call final number was 203") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:19] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?20:21") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(disposition) result is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:6] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Call disposition was NO ANSWER") in new stack [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (callEnd,~~s~~,21) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:21] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_callEnd_46") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(sequence) result is '13302' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:7] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Call sequence is 13302") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'PRIVACYID' is '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'CHARGE' is NULL [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:8] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Charge flag is ") in new stack [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:22] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?23:24") in new stack [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (callEnd,~~s~~,24) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'INBOUNDCHARGE' is NULL [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:24] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_callEnd_47") in new stack [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:9] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Inbound Charge flag is ") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'DIALSTATUS' is 'CANCEL' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'CALLRATE' is NULL [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'NOTIFYMISSEDCALL' is NULL [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:10] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Callrate to apply is ") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:25] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?26:27") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ISINTERNATIONAL' is NULL [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (callEnd,~~s~~,27) [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:11] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "International flag is ") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:27] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_callEnd_48") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'BILLINGTYPE' is NULL [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:12] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "BILLINGTYPE is ") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:28] Gosub("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "computeCost,~~s~~,1") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'ClearHash' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:13] ClearHash("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "cost") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'BILLINGTYPE' is NULL [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:14] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "1?15:17") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (computeCost,~~s~~,15) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:15] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "WARNING: BILLINGTYPE is empty") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:16] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "BILLINGTYPE=CDR") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:17] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_computeCost_1388") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] func_version.c: VERSION returns 180600 result, given ASTERISK_VERSION_NUM argument [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'BILLINGTYPE' is 'CDR' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function VERSION(ASTERISK_VERSION_NUM) result is '180600' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:1] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "VERSION=180600") in new stack [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:18] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "1?19:48") in new stack [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (computeCost,~~s~~,19) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'CALLRATE' is NULL [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:19] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "1?20:33") in new stack [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (computeCost,~~s~~,20) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'ClearHash' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:20] ClearHash("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "cldetails") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'CALLRATE' is NULL [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC() result is '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(uniqueid) result is 'db02-1644254245.72706' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:2] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Computing cost for call with uniqueid db02-1644254245.72706 for tenant 15") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'BLINDCONNECTEDNUM' is 'xxxxxxxxxx' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:3] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Call BLINDCONNECTEDNUM is xxxxxxxxxx") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(billsec) result is '0' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:4] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Call lasts 0 seconds") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(lastdst) result is 'xxxxxxxxxx' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:5] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Call final number was xxxxxxxxxx") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(disposition) result is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:6] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Call disposition was NO ANSWER") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(sequence) result is '13304' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:7] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Call sequence is 13304") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CHARGE' is 'yes' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:8] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Charge flag is yes") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'INBOUNDCHARGE' is NULL [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:9] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Inbound Charge flag is ") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CALLRATE' is '0' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:10] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Callrate to apply is 0") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ISINTERNATIONAL' is NULL [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:11] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "International flag is ") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'BILLINGTYPE' is 'CDR' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:12] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "BILLINGTYPE is CDR") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'ClearHash' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:13] ClearHash("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "cost") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'BILLINGTYPE' is 'CDR' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:14] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?15:17") in new stack [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (computeCost,~~s~~,17) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:17] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_computeCost_1388") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'BILLINGTYPE' is 'CDR' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:18] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?19:48") in new stack [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (computeCost,~~s~~,19) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CALLRATE' is '0' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:19] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?20:33") in new stack [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (computeCost,~~s~~,33) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:33] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_computeCost_1389_1390") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'ClearHash' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:34] ClearHash("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "buycost") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_id) result is '77' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:35] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?36:37") in new stack [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (computeCost,~~s~~,36) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_id) result is '77' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(lastdst) result is 'xxxxxxxxxx' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(billsec) result is '0' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3}/pc_roundingtime)*pc_roundingtime/60)),pc_roundingcost) as cost,pc_country,pc_network from pc_providercosts where pc_pr_id='${SQL_ESC(${ARG1})}' and '${SQL_ESC(${ARG2})}' like concat(pc_prefix,'%') order by length(pc_prefix) DESC limit 1' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '0' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and '${SQL_ESC(${ARG2})}' like concat(pc_prefix,'%') order by length(pc_prefix) DESC limit 1' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '77' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(77) result is '77' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' like concat(pc_prefix,'%') order by length(pc_prefix) DESC limit 1' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_GET_CALLRATE() result is '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:21] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "HASH(cldetails)=") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] func_strings.c: array (te_timezone=) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_timezone=) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'CALLRATE' is NULL [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(lastdst) result is '203' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(billsec) result is '0' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3}/ra_roundingtime)*ra_roundingtime/60)),ra_roundingcost) as cost,ra_country,ra_network from ra_rates where ra_cl_id='${SQL_ESC(${ARG1})}' and '${SQL_ESC(${ARG2})}' like concat(ra_prefix,'%') order by length(ra_prefix) DESC limit 1' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '0' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and '${SQL_ESC(${ARG2})}' like concat(ra_prefix,'%') order by length(ra_prefix) DESC limit 1' len 16) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC() result is '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' like concat(ra_prefix,'%') order by length(ra_prefix) DESC limit 1' len 16) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_BUYCOST(77,xxxxxxxxxx,0) result is '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:36] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "HASH(buycost)=") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] func_strings.c: array (te_timezone=) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] func_strings.c: array set value (te_timezone=) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:37] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_computeCost_1389_1394") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CHARGE' is 'yes' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(billsec) result is '0' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:38] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?39:41") in new stack [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (computeCost,~~s~~,41) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(uniqueid) result is 'db02-1644254245.72706' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(sequence) result is '13304' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'LATESTDIALEDPRID' is '77' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'PEERNAME' is '200-call' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(cost,ra_country) result is '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC() result is '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(cost,ra_network) result is '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC() result is '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ISINTERNATIONAL' is NULL [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:41] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "ODBC_SET_COST(db02-1644254245.72706,13304,15,77,0,200-call,OUTNOCHARGE,,,)=0") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}','${SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}','${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG4})}','${SQL_ESC(${ARG5})}','${SQL_ESC(${ARG6})}',NOW(),'${ARG7}','${SQL_ESC(${ARG8})}','${SQL_ESC(${ARG9})}','${SQL_ESC(${ARG10})}')' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'db02-1644254245.72706' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02-1644254245.72706) result is 'db02-1644254245.72706' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}','${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG4})}','${SQL_ESC(${ARG5})}','${SQL_ESC(${ARG6})}',NOW(),'${ARG7}','${SQL_ESC(${ARG8})}','${SQL_ESC(${ARG9})}','${SQL_ESC(${ARG10})}')' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '13304' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(13304) result is '13304' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}','${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG4})}','${SQL_ESC(${ARG5})}','${SQL_ESC(${ARG6})}',NOW(),'${ARG7}','${SQL_ESC(${ARG8})}','${SQL_ESC(${ARG9})}','${SQL_ESC(${ARG10})}')' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '0' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(0) result is '0' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}','${SQL_ESC(${ARG4})}','${SQL_ESC(${ARG5})}','${SQL_ESC(${ARG6})}',NOW(),'${ARG7}','${SQL_ESC(${ARG8})}','${SQL_ESC(${ARG9})}','${SQL_ESC(${ARG10})}')' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '15' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG4})' (from 'SQL_ESC(${ARG4})}','${SQL_ESC(${ARG5})}','${SQL_ESC(${ARG6})}',NOW(),'${ARG7}','${SQL_ESC(${ARG8})}','${SQL_ESC(${ARG9})}','${SQL_ESC(${ARG10})}')' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG4' (from 'ARG4})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG4' is '77' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(77) result is '77' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG5})' (from 'SQL_ESC(${ARG5})}','${SQL_ESC(${ARG6})}',NOW(),'${ARG7}','${SQL_ESC(${ARG8})}','${SQL_ESC(${ARG9})}','${SQL_ESC(${ARG10})}')' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG5' (from 'ARG5})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG5' is '0' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(0) result is '0' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG6})' (from 'SQL_ESC(${ARG6})}',NOW(),'${ARG7}','${SQL_ESC(${ARG8})}','${SQL_ESC(${ARG9})}','${SQL_ESC(${ARG10})}')' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG6' (from 'ARG6})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG6' is '200-call' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG7' (from 'ARG7}','${SQL_ESC(${ARG8})}','${SQL_ESC(${ARG9})}','${SQL_ESC(${ARG10})}')' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG7' is 'OUTNOCHARGE' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG8})' (from 'SQL_ESC(${ARG8})}','${SQL_ESC(${ARG9})}','${SQL_ESC(${ARG10})}')' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG8' (from 'ARG8})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG8' is '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC() result is '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG9})' (from 'SQL_ESC(${ARG9})}','${SQL_ESC(${ARG10})}')' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG9' (from 'ARG9})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG9' is '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC() result is '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG10})' (from 'SQL_ESC(${ARG10})}')' len 17) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG10' (from 'ARG10})' len 5) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG10' is '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC() result is '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_GET_COST(,203,0) result is '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:22] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "HASH(cost)=") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] func_strings.c: array (te_timezone=) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] func_strings.c: array set value (te_timezone=) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(cost,cost) result is '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:23] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "clientcost=") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(cldetails,cl_customratescript) result is '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:24] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?25:32") in new stack [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (computeCost,~~s~~,32) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:32] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_if_if_computeCost_1389_1390_1391") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:33] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_if_computeCost_1389_1390") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'ClearHash' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:34] ClearHash("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "buycost") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_id) result is '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:35] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?36:37") in new stack [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (computeCost,~~s~~,37) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:37] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_if_computeCost_1389_1394") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'CHARGE' is NULL [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(billsec) result is '0' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:38] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?39:41") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (computeCost,~~s~~,41) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(uniqueid) result is 'db02-1644254245.72702' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(sequence) result is '13302' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'LATESTDIALEDPRID' is NULL [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'PEERNAME' is '200-call' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(cost,ra_country) result is '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC() result is '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(cost,ra_network) result is '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC() result is '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ISINTERNATIONAL' is NULL [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:41] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "ODBC_SET_COST(db02-1644254245.72702,13302,15,,0,200-call,OUTNOCHARGE,,,)=0") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}','${SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}','${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG4})}','${SQL_ESC(${ARG5})}','${SQL_ESC(${ARG6})}',NOW(),'${ARG7}','${SQL_ESC(${ARG8})}','${SQL_ESC(${ARG9})}','${SQL_ESC(${ARG10})}')' len 16) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'db02-1644254245.72702' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02-1644254245.72702) result is 'db02-1644254245.72702' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}','${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG4})}','${SQL_ESC(${ARG5})}','${SQL_ESC(${ARG6})}',NOW(),'${ARG7}','${SQL_ESC(${ARG8})}','${SQL_ESC(${ARG9})}','${SQL_ESC(${ARG10})}')' len 16) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '13302' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(13302) result is '13302' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}','${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG4})}','${SQL_ESC(${ARG5})}','${SQL_ESC(${ARG6})}',NOW(),'${ARG7}','${SQL_ESC(${ARG8})}','${SQL_ESC(${ARG9})}','${SQL_ESC(${ARG10})}')' len 16) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '0' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(0) result is '0' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}','${SQL_ESC(${ARG4})}','${SQL_ESC(${ARG5})}','${SQL_ESC(${ARG6})}',NOW(),'${ARG7}','${SQL_ESC(${ARG8})}','${SQL_ESC(${ARG9})}','${SQL_ESC(${ARG10})}')' len 16) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '15' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG4})' (from 'SQL_ESC(${ARG4})}','${SQL_ESC(${ARG5})}','${SQL_ESC(${ARG6})}',NOW(),'${ARG7}','${SQL_ESC(${ARG8})}','${SQL_ESC(${ARG9})}','${SQL_ESC(${ARG10})}')' len 16) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG4' (from 'ARG4})' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG4' is '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC() result is '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG5})' (from 'SQL_ESC(${ARG5})}','${SQL_ESC(${ARG6})}',NOW(),'${ARG7}','${SQL_ESC(${ARG8})}','${SQL_ESC(${ARG9})}','${SQL_ESC(${ARG10})}')' len 16) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG5' (from 'ARG5})' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG5' is '0' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(0) result is '0' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG6})' (from 'SQL_ESC(${ARG6})}',NOW(),'${ARG7}','${SQL_ESC(${ARG8})}','${SQL_ESC(${ARG9})}','${SQL_ESC(${ARG10})}')' len 16) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG6' (from 'ARG6})' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG6' is '200-call' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG7' (from 'ARG7}','${SQL_ESC(${ARG8})}','${SQL_ESC(${ARG9})}','${SQL_ESC(${ARG10})}')' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG7' is 'OUTNOCHARGE' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG8})' (from 'SQL_ESC(${ARG8})}','${SQL_ESC(${ARG9})}','${SQL_ESC(${ARG10})}')' len 16) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG8' (from 'ARG8})' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG8' is '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC() result is '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG9})' (from 'SQL_ESC(${ARG9})}','${SQL_ESC(${ARG10})}')' len 16) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG9' (from 'ARG9})' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG9' is '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC() result is '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG10})' (from 'SQL_ESC(${ARG10})}')' len 17) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG10' (from 'ARG10})' len 5) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG10' is '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC() result is '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:42] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_computeCost_1389_1395") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'INBOUNDCHARGE' is NULL [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(billsec) result is '0' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:43] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?44:46") in new stack [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (computeCost,~~s~~,46) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:46] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_computeCost_1389_1396") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:47] Goto("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "51") in new stack [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (computeCost,~~s~~,51) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:51] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_computeCost_1389") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(uniqueid) result is 'db02-1644254245.72706' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:52] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "ODBC_REMOVE_TEMPORARY_COST(15)=Temporary-db02-1644254245.72706") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and cc_uniqueid='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'VAL1' is 'Temporary-db02-1644254245.72706' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(Temporary-db02-1644254245.72706) result is 'Temporary-db02-1644254245.72706' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:42] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_if_computeCost_1389_1395") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'INBOUNDCHARGE' is NULL [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(billsec) result is '0' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:43] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?44:46") in new stack [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (computeCost,~~s~~,46) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:46] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_if_computeCost_1389_1396") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:47] Goto("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "51") in new stack [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (computeCost,~~s~~,51) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:51] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_computeCost_1389") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(uniqueid) result is 'db02-1644254245.72702' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:52] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "ODBC_REMOVE_TEMPORARY_COST(15)=Temporary-db02-1644254245.72702") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and cc_uniqueid='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'VAL1' is 'Temporary-db02-1644254245.72702' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(Temporary-db02-1644254245.72702) result is 'Temporary-db02-1644254245.72702' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(uniqueid) result is 'db02-1644254245.72706' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:53] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "ODBC_REMOVE_TEMPORARY_COST(15)=Temporary-Inbound-db02-1644254245.72706") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and cc_uniqueid='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'VAL1' is 'Temporary-Inbound-db02-1644254245.72706' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(Temporary-Inbound-db02-1644254245.72706) result is 'Temporary-Inbound-db02-1644254245.72706' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(uniqueid) result is 'db02-1644254245.72702' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:53] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "ODBC_REMOVE_TEMPORARY_COST(15)=Temporary-Inbound-db02-1644254245.72702") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and cc_uniqueid='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'VAL1' is 'Temporary-Inbound-db02-1644254245.72702' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(Temporary-Inbound-db02-1644254245.72702) result is 'Temporary-Inbound-db02-1644254245.72702' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:54] Return("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:29] Gosub("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "updateFaxStatus,~~s~~,1") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'FAXID' is NULL [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'DIALSTATUS' is 'CANCEL' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'FAXSTATUS' is NULL [2022-02-07 19:17:45] ERROR[4565][C-00000e4d] res_fax.c: channel 'Local/AG-000-CC-538@fromotherpbx-00000d2c;2' can't read FAXOPT(ecm) because it has never been written. [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function FAXOPT(ecm) result is '(null)' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@updateFaxStatus:1] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "FAXID is and DIALSTATUS is CANCEL and faxstatus = and ecm = ") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'FAXID' is NULL [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@updateFaxStatus:2] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?3:39") in new stack [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (updateFaxStatus,~~s~~,39) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@updateFaxStatus:39] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_updateFaxStatus_53") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@updateFaxStatus:40] Return("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:30] Gosub("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "updateGroupCalls,~~s~~,1") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function GROUP_LIST() result is '15@ANYTENANT 15@TENANT fs4@OUTPROVIDER' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@updateGroupCalls:1] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Groups were 15@ANYTENANT 15@TENANT fs4@OUTPROVIDER") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function GROUP_LIST() result is '15@ANYTENANT 15@TENANT fs4@OUTPROVIDER' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@updateGroupCalls:2] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "grouplist=15@ANYTENANT 15@TENANT fs4@OUTPROVIDER") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'grouplist' (from 'grouplist}' len 9) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'grouplist' is '15@ANYTENANT 15@TENANT fs4@OUTPROVIDER' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SHIFT(grouplist, ) result is '15@ANYTENANT' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SET(var=15@ANYTENANT) result is '15@ANYTENANT' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'While' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@updateGroupCalls:3] While("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'var' is '15@ANYTENANT' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'var' is '15@ANYTENANT' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function GROUP_COUNT(15@ANYTENANT) result is '3' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@updateGroupCalls:4] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Checking how many channels on group 15@ANYTENANT --> 3") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'var' is '15@ANYTENANT' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function GROUP_COUNT(15@ANYTENANT) result is '3' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '2' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@updateGroupCalls:5] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "num=2") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'var' is '15@ANYTENANT' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SYSTEMNAME' is 'db02' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'num' is '2' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@updateGroupCalls:6] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "ODBC_SET_GROUP_COUNT(15@ANYTENANT,db02)=2") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}','${SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15@ANYTENANT' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15@ANYTENANT) result is '15@ANYTENANT' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'db02' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02) result is 'db02' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@computeCost:54] Return("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:29] Gosub("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "updateFaxStatus,~~s~~,1") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'FAXID' is NULL [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'DIALSTATUS' is 'CANCEL' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'FAXSTATUS' is NULL [2022-02-07 19:17:45] ERROR[4564][C-00000e4d] res_fax.c: channel 'Local/AG-000-NF-38@fromotherpbx-00000d2b;2' can't read FAXOPT(ecm) because it has never been written. [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function FAXOPT(ecm) result is '(null)' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@updateFaxStatus:1] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "FAXID is and DIALSTATUS is CANCEL and faxstatus = and ecm = ") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'FAXID' is NULL [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@updateFaxStatus:2] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?3:39") in new stack [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (updateFaxStatus,~~s~~,39) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@updateFaxStatus:39] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_updateFaxStatus_53") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@updateFaxStatus:40] Return("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:30] Gosub("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "updateGroupCalls,~~s~~,1") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function GROUP_LIST() result is '15@ANYTENANT' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@updateGroupCalls:1] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Groups were 15@ANYTENANT") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function GROUP_LIST() result is '15@ANYTENANT' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@updateGroupCalls:2] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "grouplist=15@ANYTENANT") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'grouplist' (from 'grouplist}' len 9) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'grouplist' is '15@ANYTENANT' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SHIFT(grouplist, ) result is '15@ANYTENANT' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SET(var=15@ANYTENANT) result is '15@ANYTENANT' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'While' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@updateGroupCalls:3] While("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "1") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'var' is '15@ANYTENANT' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'var' is '15@ANYTENANT' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function GROUP_COUNT(15@ANYTENANT) result is '3' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@updateGroupCalls:4] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Checking how many channels on group 15@ANYTENANT --> 3") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'var' is '15@ANYTENANT' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function GROUP_COUNT(15@ANYTENANT) result is '3' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '2' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@updateGroupCalls:5] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "num=2") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'var' is '15@ANYTENANT' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'SYSTEMNAME' is 'db02' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'num' is '2' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@updateGroupCalls:6] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "ODBC_SET_GROUP_COUNT(15@ANYTENANT,db02)=2") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}','${SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15@ANYTENANT' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15@ANYTENANT) result is '15@ANYTENANT' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'db02' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02) result is 'db02' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '2' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(2) result is '2' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '2' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(2) result is '2' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '2' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(2) result is '2' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '2' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(2) result is '2' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'EndWhile' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@updateGroupCalls:7] EndWhile("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'grouplist' (from 'grouplist}' len 9) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'grouplist' is '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SHIFT(grouplist, ) result is '(null)' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SET(var=) result is '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'While' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@updateGroupCalls:3] While("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@updateGroupCalls:8] Return("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:31] Gosub("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "updateCampaigns,~~s~~,1") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'CAID' is NULL [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'CNID' is NULL [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'DIALSTATUS' is 'CANCEL' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@updateCampaigns:1] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Received request to update call status for campaign for number with status CANCEL") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'CNID' is NULL [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@updateCampaigns:2] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?3:20") in new stack [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (updateCampaigns,~~s~~,20) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@updateCampaigns:20] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_updateCampaigns_2205") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@updateCampaigns:21] Return("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:32] Gosub("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "updateQueueCallBacks,~~s~~,1") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'DIALSTATUS' is 'CANCEL' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@updateQueueCallBacks:1] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Dialstatus is CANCEL") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'QCID' is NULL [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@updateQueueCallBacks:2] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?3:8") in new stack [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (updateQueueCallBacks,~~s~~,8) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@updateQueueCallBacks:8] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_updateQueueCallBacks_62") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@updateQueueCallBacks:9] Return("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(tenantinfo,te_id) result is '15' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:33] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?34:35") in new stack [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (callEnd,~~s~~,35) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:35] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_callEnd_49") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(tenantinfo,te_uploadrecordingatcallend) result is 'yes' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:36] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?37:39") in new stack [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (callEnd,~~s~~,39) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function HASH(tenantinfo,te_uploadrecordingatcallend) result is 'yes' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:39] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "UPLOADRECORDINGATCALLEND=yes") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:40] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_callEnd_50") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'UPLOADRECORDINGATCALLEND' is 'yes' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'emergencycall' is NULL [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:41] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "1?42:43") in new stack [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (callEnd,~~s~~,42) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:42] Gosub("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "uploadRecording,~~s~~,1") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@uploadRecording:1] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "LOCAL(monitorfile)=") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'MIXMONITOR_FILENAME' is 'db02-1644254244.72696.wav' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@uploadRecording:2] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "MIXMONITOR_FILENAME is db02-1644254244.72696.wav") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'MIXMONITOR_FILENAME' is 'db02-1644254244.72696.wav' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@uploadRecording:3] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "1?4:14") in new stack [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (uploadRecording,~~s~~,4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'MIXMONITOR_FILENAME' is 'db02-1644254244.72696.wav' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@uploadRecording:4] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "LOCAL(monitorfile)=db02-1644254244.72696.wav") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'RECORDINGFORMAT' is 'wav' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@uploadRecording:5] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "LOCAL(monitorformat)=wav") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'EndWhile' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@updateGroupCalls:7] EndWhile("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'grouplist' (from 'grouplist}' len 9) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'grouplist' is '15@TENANT fs4@OUTPROVIDER' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SHIFT(grouplist, ) result is '15@TENANT' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SET(var=15@TENANT) result is '15@TENANT' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'While' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@updateGroupCalls:3] While("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'var' is '15@TENANT' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'var' is '15@TENANT' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function GROUP_COUNT(15@TENANT) result is '1' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@updateGroupCalls:4] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Checking how many channels on group 15@TENANT --> 1") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'var' is '15@TENANT' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function GROUP_COUNT(15@TENANT) result is '1' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@updateGroupCalls:5] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "num=0") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'var' is '15@TENANT' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SYSTEMNAME' is 'db02' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'num' is '0' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@updateGroupCalls:6] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "ODBC_SET_GROUP_COUNT(15@TENANT,db02)=0") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}','${SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15@TENANT' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15@TENANT) result is '15@TENANT' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'db02' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02) result is 'db02' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '0' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(0) result is '0' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '0' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(0) result is '0' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(start) result is '2022-02-07 19:17:25' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@uploadRecording:6] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Call started at 2022-02-07 19:17:25") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(accountcode) result is 'call' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@uploadRecording:7] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "CDR account code is call") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(accountcode) result is 'call' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'call' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(call) result is 'call' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 5 for column 'te_id' (offset 0) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '15' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'EndWhile' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@updateGroupCalls:7] EndWhile("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'grouplist' (from 'grouplist}' len 9) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'grouplist' is 'fs4@OUTPROVIDER' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SHIFT(grouplist, ) result is 'fs4@OUTPROVIDER' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SET(var=fs4@OUTPROVIDER) result is 'fs4@OUTPROVIDER' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'While' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@updateGroupCalls:3] While("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_TENANTID_FROM_ACCOUNTCODE(call) result is '15' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@uploadRecording:8] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "RecTEID=15") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@uploadRecording:9] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "MIXMONITOR=") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'monitorfile' is 'db02-1644254244.72696.wav' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'monitorformat' is 'wav' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'CDRcallUniqueID' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'RecTEID' is '15' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'var' is 'fs4@OUTPROVIDER' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'var' is 'fs4@OUTPROVIDER' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function GROUP_COUNT(fs4@OUTPROVIDER) result is '1' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@updateGroupCalls:4] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Checking how many channels on group fs4@OUTPROVIDER --> 1") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'var' is 'fs4@OUTPROVIDER' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function GROUP_COUNT(fs4@OUTPROVIDER) result is '1' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@updateGroupCalls:5] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "num=0") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'var' is 'fs4@OUTPROVIDER' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'SYSTEMNAME' is 'db02' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'num' is '0' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@updateGroupCalls:6] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "ODBC_SET_GROUP_COUNT(fs4@OUTPROVIDER,db02)=0") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}','${SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'fs4@OUTPROVIDER' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(start) result is '2022-02-07 19:17:25' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(fs4@OUTPROVIDER) result is 'fs4@OUTPROVIDER' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'db02' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02) result is 'db02' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'EMAILRECORDING' is NULL [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '0' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(0) result is '0' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '0' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(0) result is '0' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(src) result is '200' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(realsrc) result is 'Queue ראשי' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(firstdst) result is '900' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(lastdst) result is '203' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(disposition) result is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'MINEMAILRECORDING' is NULL [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(clid) result is '"BEN" <200>' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function QUOTE("BEN" <200>) result is '"\"BEN\" <200>"' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'AGI' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@uploadRecording:10] AGI("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "uploadRecording.php,db02-1644254244.72696.wav,wav,oraclepbx-1644254244.1743648,15,2022-02-07 19:17:25,"",200,Queue ראשי,900,203,NO ANSWER,,"\"BEN\" <200>"") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] res_agi.c: Hungup channel detected, running agi in dead mode. [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/uploadRecording.php [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'EndWhile' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@updateGroupCalls:7] EndWhile("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'grouplist' (from 'grouplist}' len 9) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'grouplist' is '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SHIFT(grouplist, ) result is '(null)' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SET(var=) result is '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'While' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@updateGroupCalls:3] While("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@updateGroupCalls:8] Return("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:31] Gosub("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "updateCampaigns,~~s~~,1") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CAID' is NULL [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CNID' is NULL [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'DIALSTATUS' is 'CANCEL' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@updateCampaigns:1] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Received request to update call status for campaign for number with status CANCEL") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CNID' is NULL [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@updateCampaigns:2] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?3:20") in new stack [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (updateCampaigns,~~s~~,20) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@updateCampaigns:20] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_updateCampaigns_2205") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@updateCampaigns:21] Return("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:32] Gosub("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "updateQueueCallBacks,~~s~~,1") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'DIALSTATUS' is 'CANCEL' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@updateQueueCallBacks:1] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Dialstatus is CANCEL") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'QCID' is NULL [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@updateQueueCallBacks:2] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?3:8") in new stack [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (updateQueueCallBacks,~~s~~,8) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@updateQueueCallBacks:8] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_updateQueueCallBacks_62") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@updateQueueCallBacks:9] Return("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(tenantinfo,te_id) result is '15' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:33] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?34:35") in new stack [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (callEnd,~~s~~,35) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:35] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_callEnd_49") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(tenantinfo,te_uploadrecordingatcallend) result is 'yes' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:36] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?37:39") in new stack [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (callEnd,~~s~~,39) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function HASH(tenantinfo,te_uploadrecordingatcallend) result is 'yes' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:39] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "UPLOADRECORDINGATCALLEND=yes") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:40] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_callEnd_50") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'UPLOADRECORDINGATCALLEND' is 'yes' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'emergencycall' is NULL [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:41] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?42:43") in new stack [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (callEnd,~~s~~,42) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:42] Gosub("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "uploadRecording,~~s~~,1") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@uploadRecording:1] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "LOCAL(monitorfile)=") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'MIXMONITOR_FILENAME' is '/var/spool/asterisk/monitor/db02-1644254244.72696.wav' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@uploadRecording:2] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "MIXMONITOR_FILENAME is /var/spool/asterisk/monitor/db02-1644254244.72696.wav") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'MIXMONITOR_FILENAME' is '/var/spool/asterisk/monitor/db02-1644254244.72696.wav' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@uploadRecording:3] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?4:14") in new stack [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (uploadRecording,~~s~~,4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'MIXMONITOR_FILENAME' is '/var/spool/asterisk/monitor/db02-1644254244.72696.wav' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@uploadRecording:4] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "LOCAL(monitorfile)=/var/spool/asterisk/monitor/db02-1644254244.72696.wav") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'RECORDINGFORMAT' is 'wav' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@uploadRecording:5] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "LOCAL(monitorformat)=wav") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(start) result is '2022-02-07 19:17:25' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@uploadRecording:6] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Call started at 2022-02-07 19:17:25") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(accountcode) result is 'call' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@uploadRecording:7] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "CDR account code is call") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(accountcode) result is 'call' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'call' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(call) result is 'call' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 5 for column 'te_id' (offset 0) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '15' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_TENANTID_FROM_ACCOUNTCODE(call) result is '15' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@uploadRecording:8] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "RecTEID=15") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@uploadRecording:9] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "MIXMONITOR=") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'monitorfile' is '/var/spool/asterisk/monitor/db02-1644254244.72696.wav' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'monitorformat' is 'wav' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CDRcallUniqueID' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'RecTEID' is '15' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(start) result is '2022-02-07 19:17:25' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'EMAILRECORDING' is NULL [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(src) result is '722280800' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(realsrc) result is 'Queue ראשי' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(firstdst) result is '900' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(lastdst) result is 'xxxxxxxxxx' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(disposition) result is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'MINEMAILRECORDING' is NULL [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(clid) result is '"" <722280800>' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function QUOTE("" <722280800>) result is '"\"\" <722280800>"' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'AGI' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@uploadRecording:10] AGI("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "uploadRecording.php,/var/spool/asterisk/monitor/db02-1644254244.72696.wav,wav,oraclepbx-1644254244.1743648,15,2022-02-07 19:17:25,"",722280800,Queue ראשי,900,xxxxxxxxxx,NO ANSWER,,"\"\" <722280800>"") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] res_agi.c: Hungup channel detected, running agi in dead mode. [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/uploadRecording.php [2022-02-07 19:17:45] DEBUG[21823][C-00000e4d] chan_sip.c: Acked pending invite 102 [2022-02-07 19:17:45] DEBUG[21823][C-00000e4d] chan_sip.c: Stopping retransmission on '0b317f51402757466bf68d6b3fdde478@XXX.XXX.XXX.XXX:5060' of Request 102: Match Found [2022-02-07 19:17:45] DEBUG[21823][C-00000e4d] chan_sip.c: SIP response 487 to standard invite [2022-02-07 19:17:45] DEBUG[21823][C-00000e4d] chan_sip.c: Strict routing enforced for session 0b317f51402757466bf68d6b3fdde478@XXX.XXX.XXX.XXX:5060 [2022-02-07 19:17:45] VERBOSE[21823][C-00000e4d] chan_sip.c: Transmitting (NAT) to XXX.X.XXX.XX:5060: [2022-02-07 19:17:45] DEBUG[21823][C-00000e4d] chan_sip.c: Trying to put 'ACK sip:38@' onto UDP socket destined for XXX.X.XXX.XX:5060 [2022-02-07 19:17:45] DEBUG[21823][C-00000e4d] chan_sip.c: Updating call counter for outgoing call [2022-02-07 19:17:45] DEBUG[21823][C-00000e4d] chan_sip.c: Call to peer 'oraclepbx' removed from call limit 2147483647 [2022-02-07 19:17:45] VERBOSE[21823][C-00000e4d] chan_sip.c: Scheduling destruction of SIP dialog '0b317f51402757466bf68d6b3fdde478@XXX.XXX.XXX.XXX:5060' in 6400 ms (Method: INVITE) [2022-02-07 19:17:45] DEBUG[21823][C-00000e4d] chan_sip.c: ** SIP TIMER: Cancelling retransmit of packet (reply received) Retransid #30 [2022-02-07 19:17:45] DEBUG[21823][C-00000e4d] chan_sip.c: Stopping retransmission on '0b317f51402757466bf68d6b3fdde478@XXX.XXX.XXX.XXX:5060' of Request 102: Match Found [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] res_agi.c: AGI Script uploadRecording.php completed, returning 0 [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'CDRcallUniqueID' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(linkedid) result is 'db02-1644254244.72696' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@uploadRecording:11] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "1?12:13") in new stack [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (uploadRecording,~~s~~,12) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'monitorfile' is 'db02-1644254244.72696.wav' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'monitorformat' is 'wav' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(linkedid) result is 'db02-1644254244.72696' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'RecTEID' is '15' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(start) result is '2022-02-07 19:17:25' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'EMAILRECORDING' is NULL [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(src) result is '200' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(realsrc) result is 'Queue ראשי' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(firstdst) result is '900' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(lastdst) result is '203' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(disposition) result is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'MINEMAILRECORDING' is NULL [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function CDR(clid) result is '"BEN" <200>' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function QUOTE("BEN" <200>) result is '"\"BEN\" <200>"' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'AGI' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@uploadRecording:12] AGI("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "uploadRecording.php,db02-1644254244.72696.wav,wav,db02-1644254244.72696,15,2022-02-07 19:17:25,"",200,Queue ראשי,900,203,NO ANSWER,,"\"BEN\" <200>"") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] res_agi.c: Hungup channel detected, running agi in dead mode. [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/uploadRecording.php [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] res_agi.c: AGI Script uploadRecording.php completed, returning 0 [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CDRcallUniqueID' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(linkedid) result is 'db02-1644254244.72696' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@uploadRecording:11] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "1?12:13") in new stack [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (uploadRecording,~~s~~,12) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'monitorfile' is '/var/spool/asterisk/monitor/db02-1644254244.72696.wav' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'monitorformat' is 'wav' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(linkedid) result is 'db02-1644254244.72696' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'RecTEID' is '15' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(start) result is '2022-02-07 19:17:25' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'EMAILRECORDING' is NULL [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(src) result is '722280800' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(realsrc) result is 'Queue ראשי' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(firstdst) result is '900' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(lastdst) result is 'xxxxxxxxxx' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(disposition) result is 'NO ANSWER' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'MINEMAILRECORDING' is NULL [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function CDR(clid) result is '"" <722280800>' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function QUOTE("" <722280800>) result is '"\"\" <722280800>"' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'AGI' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@uploadRecording:12] AGI("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "uploadRecording.php,/var/spool/asterisk/monitor/db02-1644254244.72696.wav,wav,db02-1644254244.72696,15,2022-02-07 19:17:25,"",722280800,Queue ראשי,900,xxxxxxxxxx,NO ANSWER,,"\"\" <722280800>"") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] res_agi.c: Hungup channel detected, running agi in dead mode. [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/uploadRecording.php [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] res_agi.c: AGI Script uploadRecording.php completed, returning 0 [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@uploadRecording:13] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_if_uploadRecording_1386_1387") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@uploadRecording:14] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_uploadRecording_1386") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'FAXSTATUS' is NULL [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'FAXERROR' is NULL [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'FAXSTATUSSTRING' is NULL [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@uploadRecording:15] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "FaxStatus: FaxError: FaxStatusString: ") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@uploadRecording:16] Return("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:43] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_callEnd_51") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:44] Gosub("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "runAcallcript,~~s~~,1(AGICALLEND)") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG1' to 'AGICALLEND' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'AGICALLEND' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:1] MSet("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "LOCAL(AGICALL)=AGICALLEND") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'AGICALL' is 'AGICALLEND' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'AGICALLEND' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function SQL_ESC(AGICALLEND) result is 'AGICALLEND' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,AGICALLEND) result is '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:2] Set("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "AcallCRIPTID=") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'AcallCRIPTID' is '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:3] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?4:31") in new stack [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (runAcallcript,~~s~~,31) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:31] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_runAcallcript_1379") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:32] Return("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'CDRcallUniqueID' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'UNIQUEID' is 'db02-1644254245.72702' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Result of 'RESPONSEPATHID' is '' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:45] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "0?46:47") in new stack [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx_builtins.c: Goto (callEnd,~~s~~,47) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:47] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "Finish if_callEnd_52") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:45] VERBOSE[4564][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:48] Return("Local/AG-000-NF-38@fromotherpbx-00000d2b;2", "") in new stack [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] channel.c: Channel 0x7fe64c043e50 'Local/AG-000-NF-38@fromotherpbx-00000d2b;2' hanging up. Refs: 2 [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] channel.c: Channel 0x7fe64c043e50 'Local/AG-000-NF-38@fromotherpbx-00000d2b;2' destroying [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] stasis.c: Destroying topic. name: channel:db02-1644254245.72702, detail: [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] stasis.c: Topic 'channel:db02-1644254245.72702': 0x7fe64c0108d0 destroyed [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] channel_internal_api.c: : MultistreamFormats: (nothing) [2022-02-07 19:17:45] DEBUG[4564][C-00000e4d] channel_internal_api.c: Channel is being initialized or destroyed [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] res_agi.c: AGI Script uploadRecording.php completed, returning 0 [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@uploadRecording:13] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_if_uploadRecording_1386_1387") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@uploadRecording:14] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_uploadRecording_1386") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'FAXSTATUS' is NULL [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'FAXERROR' is NULL [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'FAXSTATUSSTRING' is NULL [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@uploadRecording:15] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "FaxStatus: FaxError: FaxStatusString: ") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@uploadRecording:16] Return("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:43] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_callEnd_51") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:44] Gosub("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "runAcallcript,~~s~~,1(AGICALLEND)") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG1' to 'AGICALLEND' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'AGICALLEND' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:1] MSet("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "LOCAL(AGICALL)=AGICALLEND") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'AGICALL' is 'AGICALLEND' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'AGICALLEND' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function SQL_ESC(AGICALLEND) result is 'AGICALLEND' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,AGICALLEND) result is '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:2] Set("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "AcallCRIPTID=") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'AcallCRIPTID' is '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:3] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?4:31") in new stack [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (runAcallcript,~~s~~,31) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:31] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_runAcallcript_1379") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:32] Return("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'CDRcallUniqueID' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'UNIQUEID' is 'db02-1644254245.72706' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Result of 'RESPONSEPATHID' is '' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:45] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "0?46:47") in new stack [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx_builtins.c: Goto (callEnd,~~s~~,47) [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:47] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "Finish if_callEnd_52") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:45] VERBOSE[4565][C-00000e4d] pbx.c: Executing [~~s~~@callEnd:48] Return("Local/AG-000-CC-538@fromotherpbx-00000d2c;2", "") in new stack [2022-02-07 19:17:45] DEBUG[4565][C-00000e4d] channel.c: Channel 0x7fe64c0204b0 'Local/AG-000-CC-538@fromotherpbx-00000d2c;2' hanging up. Refs: 3 [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] autochan.c: Removed autochan 0x7fe67000a2e0 from the list, about to free it [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] channel.c: Channel 0x7fe64c0204b0 'Local/AG-000-CC-538@fromotherpbx-00000d2c;2' destroying [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] stasis.c: Destroying topic. name: channel:db02-1644254245.72706, detail: [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] stasis.c: Topic 'channel:db02-1644254245.72706': 0x7fe64c005610 destroyed [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] channel_internal_api.c: : MultistreamFormats: (nothing) [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] channel_internal_api.c: Channel is being initialized or destroyed [2022-02-07 19:17:45] VERBOSE[4568][C-00000e4d] app_mixmonitor.c: MixMonitor close filestream (mixed) [2022-02-07 19:17:45] VERBOSE[4568][C-00000e4d] app_mixmonitor.c: End MixMonitor Recording Local/AG-000-CC-538@fromotherpbx-00000d2c;2 [2022-02-07 19:17:45] DEBUG[4568][C-00000e4d] app_mixmonitor.c: No recipients to forward monitor to, moving on. [2022-02-07 19:17:46] DEBUG[4560][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:46] DEBUG[4560][C-00000e4d] res_config_odbc.c: Skip: 0; SQL: SELECT * FROM queue_member WHERE interface LIKE ? AND queue_name = ? ORDER BY interface [2022-02-07 19:17:46] DEBUG[4560][C-00000e4d] res_config_odbc.c: Parameter 1 ('interface LIKE') = '%' [2022-02-07 19:17:46] DEBUG[4560][C-00000e4d] res_config_odbc.c: Parameter 2 ('queue_name') = '9' [2022-02-07 19:17:46] DEBUG[4560][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:46] DEBUG[4560][C-00000e4d] app_queue.c: There is 1 available member. [2022-02-07 19:17:46] DEBUG[4560][C-00000e4d] app_queue.c: It's our turn (SIP/oraclepbx-00000c08). [2022-02-07 19:17:46] DEBUG[4560][C-00000e4d] res_musiconhold.c: Destroying MOH class '457' [2022-02-07 19:17:46] DEBUG[4560][C-00000e4d] res_musiconhold.c: killing 4563! [2022-02-07 19:17:46] DEBUG[4560][C-00000e4d] res_musiconhold.c: Sent HUP to pid 4563 and all children [2022-02-07 19:17:46] DEBUG[4560][C-00000e4d] res_musiconhold.c: mpg123 pid 4563 and child died after 62592 bytes read [2022-02-07 19:17:46] DEBUG[4560][C-00000e4d] channel.c: Channel SIP/oraclepbx-00000c08 setting write format path: ulaw -> ulaw [2022-02-07 19:17:46] VERBOSE[4560][C-00000e4d] res_musiconhold.c: Stopped music on hold on SIP/oraclepbx-00000c08 [2022-02-07 19:17:46] DEBUG[4560][C-00000e4d] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second [2022-02-07 19:17:46] DEBUG[4560][C-00000e4d] channel.c: Channel SIP/oraclepbx-00000c08 setting write format path: gsm -> ulaw [2022-02-07 19:17:46] DEBUG[4560][C-00000e4d] res_rtp_asterisk.c: (0x7fe7140f9b20) RTP audio difference is 768, ms is 116 [2022-02-07 19:17:46] DEBUG[4560][C-00000e4d] channel.c: Scheduling timer at (50 requested / 50 actual) timer ticks per second [2022-02-07 19:17:46] VERBOSE[4560][C-00000e4d] file.c: Playing 'queue-youarenext.gsm' (language 'he') [2022-02-07 19:17:50] DEBUG[4560][C-00000e4d] res_rtp_asterisk.c: (0x7fe7140f9b20) RTCP got report of 100 bytes from XXX.X.XXX.XX:19717 [2022-02-07 19:17:51] DEBUG[4560][C-00000e4d] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second [2022-02-07 19:17:51] DEBUG[4560][C-00000e4d] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second [2022-02-07 19:17:51] DEBUG[4560][C-00000e4d] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second [2022-02-07 19:17:51] DEBUG[4560][C-00000e4d] channel.c: Channel SIP/oraclepbx-00000c08 setting write format path: ulaw -> ulaw [2022-02-07 19:17:51] VERBOSE[4560][C-00000e4d] app_queue.c: Told SIP/oraclepbx-00000c08 in 9 their queue position (which was 1) [2022-02-07 19:17:51] DEBUG[4560][C-00000e4d] channel.c: Channel SIP/oraclepbx-00000c08 setting write format path: gsm -> ulaw [2022-02-07 19:17:51] DEBUG[4560][C-00000e4d] channel.c: Scheduling timer at (50 requested / 50 actual) timer ticks per second [2022-02-07 19:17:51] VERBOSE[4560][C-00000e4d] file.c: Playing 'queue-thankyou.gsm' (language 'he') [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Channel SIP/oraclepbx-00000c08 setting write format path: ulaw -> ulaw [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] res_config_odbc.c: Skip: 0; SQL: SELECT * FROM musiconhold WHERE name = ? [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] res_config_odbc.c: Parameter 1 ('name') = '457' [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Channel SIP/oraclepbx-00000c08 setting write format path: slin -> ulaw [2022-02-07 19:17:52] VERBOSE[4560][C-00000e4d] res_musiconhold.c: Started music on hold, class '457', on channel 'SIP/oraclepbx-00000c08' [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Scheduling timer at (50 requested / 50 actual) timer ticks per second [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] app_queue.c: Setting max penalty to 2 for caller SIP/oraclepbx-00000c08 since 20 seconds have elapsed [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] app_queue.c: Setting min penalty to 0 for caller SIP/oraclepbx-00000c08 since 20 seconds have elapsed [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] app_queue.c: Setting raised penalty to 2 for caller SIP/oraclepbx-00000c08 since 20 seconds have elapsed [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] app_queue.c: SIP/oraclepbx-00000c08 is trying to call a queue member. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] app_queue.c: (Parallel) Trying 'Local/AG-000-NF-38@fromotherpbx' with metric 2000000 [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] app_queue.c: Add 203 to pending_members [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: : Formats: (none) [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Channel is being initialized or destroyed [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] stasis.c: Creating topic. name: channel:db02-1644254272.72738, detail: [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] stasis.c: Topic 'channel:db02-1644254272.72738': 0x7fe64c001270 created [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Channel 0x7fe64c045310 'Local/AG-000-NF-38@fromotherpbx-00000d2d;1' allocated [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Local/AG-000-NF-38@fromotherpbx-00000d2d;1: MultistreamFormats: (ulaw) [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Set native formats but not topology [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Local/AG-000-NF-38@fromotherpbx-00000d2d;1: <0:audio-0:audio:sendrecv (ulaw)> [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Used provided topology [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: : Formats: (none) [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Channel is being initialized or destroyed [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] stasis.c: Creating topic. name: channel:db02-1644254272.72739, detail: [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] stasis.c: Topic 'channel:db02-1644254272.72739': 0x7fe64c040570 created [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Channel 0x7fe64c0413f0 'Local/AG-000-NF-38@fromotherpbx-00000d2d;2' allocated [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Local/AG-000-NF-38@fromotherpbx-00000d2d;2: MultistreamFormats: (ulaw) [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Set native formats but not topology [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Local/AG-000-NF-38@fromotherpbx-00000d2d;2: <0:audio-0:audio:sendrecv (ulaw)> [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Used provided topology [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Channel Call ID changing from [C-00000e4d] to [C-00000e4d] [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SIPADDHEADER02 from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __PBX from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __MIXMONITOR_FILENAME from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __queuenumber from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __FROMQUEUEID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __queueid from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __maxanychannels from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __TIMEZONE from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __TRANSFER_CONTEXT from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __TENANTCODE from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __TENANTID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SIPADDHEADER01 from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __PEERNAME from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __REALPEERNAME from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __INCOMINGDID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SETCALLERID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __VALIDCALLERID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __CDRcallUniqueID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __CDRcallSequence from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __NOFOLLOWEXTENSION from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __ONLYFMFM from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __NOFMFM from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __DIALOPTION from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __DIALTIMEOUT from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __DIALEDNUMBER from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __ONANSWER from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __ONANSWERID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __BLINDCONNECTEDNUM from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __FMFMDIALTIMEOUT from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __FMFMCALLERID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __LANGUAGE from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __QUEUEOPTION from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __PRIVACYID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __RESPONSEPATHID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __PLAYBACKOPTION from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SETQUEUERULE from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SETQUEUEMINPENALTY from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SETQUEUEMAXPENALTY from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SETQUEUERAISEPENALTY from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __AUTOANSWER from SIP/oraclepbx-00000c08 to Local/AG-000-NF-38@fromotherpbx-00000d2d;1. [2022-02-07 19:17:52] VERBOSE[4560][C-00000e4d] app_queue.c: Called Local/AG-000-NF-38@fromotherpbx [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] app_queue.c: (Parallel) Trying 'Local/AG-000-NF-36@fromotherpbx' with metric 2000000 [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] app_queue.c: Add 201 to pending_members [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: : Formats: (none) [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Channel is being initialized or destroyed [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] stasis.c: Creating topic. name: channel:db02-1644254272.72741, detail: [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] stasis.c: Topic 'channel:db02-1644254272.72741': 0x7fe64c00d2e0 created [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Channel 0x7fe64c025690 'Local/AG-000-NF-36@fromotherpbx-00000d2e;1' allocated [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Local/AG-000-NF-36@fromotherpbx-00000d2e;1: MultistreamFormats: (ulaw) [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Set native formats but not topology [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Local/AG-000-NF-36@fromotherpbx-00000d2e;1: <0:audio-0:audio:sendrecv (ulaw)> [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Used provided topology [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: : Formats: (none) [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Channel is being initialized or destroyed [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] stasis.c: Creating topic. name: channel:db02-1644254272.72742, detail: [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] stasis.c: Topic 'channel:db02-1644254272.72742': 0x7fe64c016060 created [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Channel 0x7fe64c028570 'Local/AG-000-NF-36@fromotherpbx-00000d2e;2' allocated [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Local/AG-000-NF-36@fromotherpbx-00000d2e;2: MultistreamFormats: (ulaw) [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Set native formats but not topology [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Local/AG-000-NF-36@fromotherpbx-00000d2e;2: <0:audio-0:audio:sendrecv (ulaw)> [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Used provided topology [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Channel Call ID changing from [C-00000e4d] to [C-00000e4d] [2022-02-07 19:17:52] DEBUG[4634][C-00000e4d] func_rand.c: 9 was the lucky number in range [1,10] [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SIPADDHEADER02 from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4634][C-00000e4d] pbx_variables.c: Function RAND(1,10) result is '9' [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __PBX from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __MIXMONITOR_FILENAME from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0.45' [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __queuenumber from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __FROMQUEUEID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __queueid from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __maxanychannels from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:1] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "WaitTime=0.45") in new stack [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __TIMEZONE from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __TRANSFER_CONTEXT from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __TENANTCODE from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __TENANTID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SIPADDHEADER01 from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __PEERNAME from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __REALPEERNAME from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __INCOMINGDID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SETCALLERID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'WaitTime' is '0.45' [2022-02-07 19:17:52] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Wait' [2022-02-07 19:17:52] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:2] Wait("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0.45") in new stack [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __VALIDCALLERID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __CDRcallUniqueID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __CDRcallSequence from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __NOFOLLOWEXTENSION from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __ONLYFMFM from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __NOFMFM from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __DIALOPTION from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __DIALTIMEOUT from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __DIALEDNUMBER from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __ONANSWER from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __ONANSWERID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __BLINDCONNECTEDNUM from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __FMFMDIALTIMEOUT from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __FMFMCALLERID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __LANGUAGE from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __QUEUEOPTION from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __PRIVACYID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __RESPONSEPATHID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __PLAYBACKOPTION from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SETQUEUERULE from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SETQUEUEMINPENALTY from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SETQUEUEMAXPENALTY from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SETQUEUERAISEPENALTY from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __AUTOANSWER from SIP/oraclepbx-00000c08 to Local/AG-000-NF-36@fromotherpbx-00000d2e;1. [2022-02-07 19:17:52] VERBOSE[4560][C-00000e4d] app_queue.c: Called Local/AG-000-NF-36@fromotherpbx [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] app_queue.c: (Parallel) Trying 'Local/AG-000-NF-35@fromotherpbx' with metric 2000000 [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] app_queue.c: Local/AG-000-NF-35@fromotherpbx not available, can't receive call [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] app_queue.c: (Parallel) Trying 'Local/AG-000-NF-246@fromotherpbx' with metric 2000000 [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] app_queue.c: Add 205 to pending_members [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: : Formats: (none) [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Channel is being initialized or destroyed [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] stasis.c: Creating topic. name: channel:db02-1644254272.72744, detail: [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] stasis.c: Topic 'channel:db02-1644254272.72744': 0x7fe64c026850 created [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Channel 0x7fe64c04cf40 'Local/AG-000-NF-246@fromotherpbx-00000d2f;1' allocated [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Local/AG-000-NF-246@fromotherpbx-00000d2f;1: MultistreamFormats: (ulaw) [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Set native formats but not topology [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Local/AG-000-NF-246@fromotherpbx-00000d2f;1: <0:audio-0:audio:sendrecv (ulaw)> [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Used provided topology [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: : Formats: (none) [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Channel is being initialized or destroyed [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] stasis.c: Creating topic. name: channel:db02-1644254272.72745, detail: [2022-02-07 19:17:52] DEBUG[4635][C-00000e4d] func_rand.c: 5 was the lucky number in range [1,10] [2022-02-07 19:17:52] DEBUG[4635][C-00000e4d] pbx_variables.c: Function RAND(1,10) result is '5' [2022-02-07 19:17:52] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0.25' [2022-02-07 19:17:52] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:52] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:1] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "WaitTime=0.25") in new stack [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] stasis.c: Topic 'channel:db02-1644254272.72745': 0x7fe64c038c20 created [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Channel 0x7fe64c04e6e0 'Local/AG-000-NF-246@fromotherpbx-00000d2f;2' allocated [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Local/AG-000-NF-246@fromotherpbx-00000d2f;2: MultistreamFormats: (ulaw) [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Set native formats but not topology [2022-02-07 19:17:52] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'WaitTime' is '0.25' [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Local/AG-000-NF-246@fromotherpbx-00000d2f;2: <0:audio-0:audio:sendrecv (ulaw)> [2022-02-07 19:17:52] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Wait' [2022-02-07 19:17:52] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:2] Wait("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0.25") in new stack [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Used provided topology [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Channel Call ID changing from [C-00000e4d] to [C-00000e4d] [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SIPADDHEADER02 from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __PBX from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __MIXMONITOR_FILENAME from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __queuenumber from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __FROMQUEUEID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __queueid from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __maxanychannels from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __TIMEZONE from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __TRANSFER_CONTEXT from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __TENANTCODE from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __TENANTID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SIPADDHEADER01 from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __PEERNAME from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __REALPEERNAME from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __INCOMINGDID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SETCALLERID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __VALIDCALLERID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __CDRcallUniqueID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __CDRcallSequence from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __NOFOLLOWEXTENSION from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __ONLYFMFM from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __NOFMFM from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __DIALOPTION from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __DIALTIMEOUT from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __DIALEDNUMBER from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __ONANSWER from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __ONANSWERID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __BLINDCONNECTEDNUM from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __FMFMDIALTIMEOUT from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __FMFMCALLERID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __LANGUAGE from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __QUEUEOPTION from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __PRIVACYID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __RESPONSEPATHID from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __PLAYBACKOPTION from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SETQUEUERULE from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SETQUEUEMINPENALTY from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SETQUEUEMAXPENALTY from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SETQUEUERAISEPENALTY from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __AUTOANSWER from SIP/oraclepbx-00000c08 to Local/AG-000-NF-246@fromotherpbx-00000d2f;1. [2022-02-07 19:17:52] VERBOSE[4560][C-00000e4d] app_queue.c: Called Local/AG-000-NF-246@fromotherpbx [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] app_queue.c: (Parallel) Trying 'Local/AG-000-CC-538@fromotherpbx' with metric 2000000 [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] app_queue.c: Add xxxxxxxxxx to pending_members [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: : Formats: (none) [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Channel is being initialized or destroyed [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] stasis.c: Creating topic. name: channel:db02-1644254272.72747, detail: [2022-02-07 19:17:52] DEBUG[4636][C-00000e4d] func_rand.c: 10 was the lucky number in range [1,10] [2022-02-07 19:17:52] DEBUG[4636][C-00000e4d] pbx_variables.c: Function RAND(1,10) result is '10' [2022-02-07 19:17:52] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0.5' [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] stasis.c: Topic 'channel:db02-1644254272.72747': 0x7fe64c01fae0 created [2022-02-07 19:17:52] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:52] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:1] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "WaitTime=0.5") in new stack [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Channel 0x7fe64c04fe90 'Local/AG-000-CC-538@fromotherpbx-00000d30;1' allocated [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Local/AG-000-CC-538@fromotherpbx-00000d30;1: MultistreamFormats: (ulaw) [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Set native formats but not topology [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Local/AG-000-CC-538@fromotherpbx-00000d30;1: <0:audio-0:audio:sendrecv (ulaw)> [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Used provided topology [2022-02-07 19:17:52] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'WaitTime' is '0.5' [2022-02-07 19:17:52] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Wait' [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: : Formats: (none) [2022-02-07 19:17:52] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:2] Wait("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0.5") in new stack [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Channel is being initialized or destroyed [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] stasis.c: Creating topic. name: channel:db02-1644254272.72748, detail: [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] stasis.c: Topic 'channel:db02-1644254272.72748': 0x7fe64c00b210 created [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Channel 0x7fe64c0517e0 'Local/AG-000-CC-538@fromotherpbx-00000d30;2' allocated [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Local/AG-000-CC-538@fromotherpbx-00000d30;2: MultistreamFormats: (ulaw) [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Set native formats but not topology [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Local/AG-000-CC-538@fromotherpbx-00000d30;2: <0:audio-0:audio:sendrecv (ulaw)> [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Used provided topology [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel_internal_api.c: Channel Call ID changing from [C-00000e4d] to [C-00000e4d] [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SIPADDHEADER02 from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __PBX from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __MIXMONITOR_FILENAME from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __queuenumber from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __FROMQUEUEID from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __queueid from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __maxanychannels from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __TIMEZONE from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __TRANSFER_CONTEXT from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __TENANTCODE from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __TENANTID from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SIPADDHEADER01 from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __PEERNAME from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __REALPEERNAME from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __INCOMINGDID from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SETCALLERID from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __VALIDCALLERID from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __CDRcallUniqueID from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __CDRcallSequence from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __NOFOLLOWEXTENSION from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __ONLYFMFM from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __NOFMFM from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __DIALOPTION from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __DIALTIMEOUT from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __DIALEDNUMBER from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __ONANSWER from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __ONANSWERID from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __BLINDCONNECTEDNUM from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __FMFMDIALTIMEOUT from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __FMFMCALLERID from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __LANGUAGE from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __QUEUEOPTION from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __PRIVACYID from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __RESPONSEPATHID from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __PLAYBACKOPTION from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SETQUEUERULE from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SETQUEUEMINPENALTY from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SETQUEUEMAXPENALTY from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __SETQUEUERAISEPENALTY from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] channel.c: Inheriting variable __AUTOANSWER from SIP/oraclepbx-00000c08 to Local/AG-000-CC-538@fromotherpbx-00000d30;1. [2022-02-07 19:17:52] VERBOSE[4560][C-00000e4d] app_queue.c: Called Local/AG-000-CC-538@fromotherpbx [2022-02-07 19:17:52] DEBUG[4637][C-00000e4d] func_rand.c: 4 was the lucky number in range [1,10] [2022-02-07 19:17:52] DEBUG[4637][C-00000e4d] pbx_variables.c: Function RAND(1,10) result is '4' [2022-02-07 19:17:52] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0.2' [2022-02-07 19:17:52] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:52] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:1] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "WaitTime=0.2") in new stack [2022-02-07 19:17:52] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'WaitTime' is '0.2' [2022-02-07 19:17:52] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Wait' [2022-02-07 19:17:52] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:2] Wait("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0.2") in new stack [2022-02-07 19:17:52] DEBUG[4560][C-00000e4d] res_rtp_asterisk.c: (0x7fe7140f9b20) RTP audio difference is 1128, ms is 161 [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:3] Gosub("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "decodeCallParams,~~s~~,1") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_stack.c: Channel Local/AG-000-CC-538@fromotherpbx-00000d30;2 has no datastore, so we're allocating one. [2022-02-07 19:17:53] WARNING[4637][C-00000e4d] chan_sip.c: This function can only be used on SIP channels. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SIP_HEADER(X-PBX) result is '(null)' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:1] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "SIPHEADER=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:2] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?3:4") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (decodeCallParams,~~s~~,3) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'PBX' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||||' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:3] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "SIPHEADER=97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||||") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:4] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_decodeCallParams_1374") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||||' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:5] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?6:44") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (decodeCallParams,~~s~~,6) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||||' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:6] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__QUEUE_RAISE_PENALTY=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9||||||||||||' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:7] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__QUEUE_MIN_PENALTY=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:8] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__QUEUE_MAX_PENALTY=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9||||||||||' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:9] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__AUTOANSWER=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:10] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "USERVARVALUES=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9||||||||' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:11] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "USERVARLIST=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:12] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__SETQUEUERAISEPENALTY=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9||||||' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:13] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__SETQUEUEMAXPENALTY=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:14] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__SETQUEUEMINPENALTY=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9||||' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:15] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__SETQUEUERULE=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:16] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__PLAYBACKOPTION=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9||' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:17] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__RESPONSEPATHID=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:18] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__PRIVACYID=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '9' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:19] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__FROMQUEUEID=9") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he|' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:20] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__QUEUEOPTION=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is 'he' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:21] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__LANGUAGE=he") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457|||||' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:22] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__FMFMCALLERID=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:23] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__FMFMDIALTIMEOUT=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457|||' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:24] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__BLINDCONNECTEDNUM=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:25] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__ONANSWERID=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457|' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:26] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__ONANSWER=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '457' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:27] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "CHANNEL(musicclass)=457") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '900' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:28] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "CDR(firstdst)=900") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '900' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:29] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__DIALEDNUMBER=900") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt|' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:30] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__DIALTIMEOUT=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is 'Tt' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:31] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__DIALOPTION=Tt") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300|||' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:32] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__NOFMFM=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:33] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__ONLYFMFM=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300|' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:34] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__NOFOLLOWEXTENSION=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '13300' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:35] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__CDRcallSequence=13300") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:36] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__CDRcallUniqueID=oraclepbx-1644254244.1743648") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15|||' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:37] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__VALIDCALLERID=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:38] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__SETCALLERID=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15|' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:39] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__INCOMINGDID=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:40] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__TENANTID=15") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:41] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__REALPEERNAME=200-call") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:42] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__PEERNAME=200-call") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '97' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:43] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__TTL=97") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:44] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_decodeCallParams_1375") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'LANGUAGE' is 'he' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:45] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?46:49") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (decodeCallParams,~~s~~,46) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'LANGUAGE' is 'he' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:46] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "CHANNEL(language)=he") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CHANNEL(language) result is 'he' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'he' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(he) result is 'he' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 5 for column 'la_id' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 12 for column 'la_directory' (offset 1) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,he' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 15 for column 'la_languagecode' (offset 2) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,he,he' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 18 for column 'la_sublanguagecode' (offset 3) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'IL' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 9 for column 'la_locale' (offset 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 7 for column 'la_flag' (offset 5) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'il' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 11 for column 'la_language' (offset 6) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'Hebrew' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 10 for column 'la_enabled' (offset 7) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 11 for column 'la_tonezone' (offset 8) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'il' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 6 for column 'la_rtl' (offset 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'yes' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_ALL_LANGUAGE_INFO_FROM_DIRECTORY(he) result is '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:47] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "HASH(alllanguage)=15,he,he,IL,he,il,Hebrew,on,il,yes") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array (la_id,la_directory,la_languagecode,la_sublanguagecode,la_locale,la_flag,la_language,la_enabled,la_tonezone,la_rtl=15,he,he,IL,he,il,Hebrew,on,il,yes) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (la_id=15) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (la_directory=he) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (la_languagecode=he) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (la_sublanguagecode=IL) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (la_locale=he) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (la_flag=il) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (la_language=Hebrew) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (la_enabled=on) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (la_tonezone=il) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (la_rtl=yes) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(alllanguage,la_tonezone) result is 'il' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:48] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "CHANNEL(tonezone)=il") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:49] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_decodeCallParams_1376") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'CDRcallUniqueID' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'CELGenUserEvent' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:50] CELGenUserEvent("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "PREVUNIQUEID,oraclepbx-1644254244.1743648") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'CDRcallUniqueID' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:51] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?52:53") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (decodeCallParams,~~s~~,53) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:53] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_decodeCallParams_1377") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'USERVARLIST' (from 'USERVARLIST}' len 11) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'USERVARLIST' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SHIFT(USERVARLIST) result is '(null)' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SET(var=) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:54] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?55:59") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (decodeCallParams,~~s~~,59) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:59] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish while_decodeCallParams_1378") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:60] Return("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'QUEUENAME' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:4] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Queue ringing ") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is 'AG-000-CC-538' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CHANNEL(musicclass) result is '457' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:5] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Received a call from another server for agent with extension ID 000-CC-538 and Callerid 200 Music class is 457") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'MAXCALLDURATION' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(MAXCALLDURATION) result is 'MAXCALLDURATION' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '7200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '7200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '7200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,MAXCALLDURATION) result is '7200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:6] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "MAXCALLDURATION=7200") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'MAXCALLDURATION' is '7200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:7] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?8:9") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,8) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'MAXCALLDURATION' is '7200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:8] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "TIMEOUT(absolute)=7200") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] func_timeout.c: Channel will hangup at 2022-02-07 21:17:53.079 IST. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:9] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_fromotherpbx_1572") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'UNIQUEID' is 'db02-1644254272.72748' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'SIPAddHeader' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:10] SIPAddHeader("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "X-VoipMonitor-Custom1: db02-1644254272.72748") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] chan_sip.c: SIP Header added "X-VoipMonitor-Custom1: db02-1644254272.72748" as __SIPADDHEADER03 [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'UNIQUEID' is 'db02-1644254272.72748' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:11] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__SIMPLEPREVUNIQUEID=db02-1644254272.72748") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:12] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__TRANSFER_CONTEXT=authenticated") in new stack [2022-02-07 19:17:53] WARNING[4637][C-00000e4d] chan_sip.c: This function can only be used on SIP channels. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SIP_HEADER(Call-Info) result is '(null)' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:13] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Call-Info=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'Call-Info' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:14] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?15:16") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:16] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_fromotherpbx_1573") in new stack [2022-02-07 19:17:53] WARNING[4637][C-00000e4d] chan_sip.c: This function can only be used on SIP channels. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SIP_HEADER(Alert-Info) result is '(null)' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:17] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Alert-Info=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'Alert-Info' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:18] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?19:20") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,20) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:20] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_fromotherpbx_1574") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 5 for column 'te_id' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 7 for column 'te_code' (offset 1) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 13 for column 'te_alertemail' (offset 2) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'te_cl_id' (offset 3) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 15 for column 'te_payment_type' (offset 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'Post Paid' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'te_rp_id' (offset 5) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '45' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 14 for column 'te_billingcode' (offset 6) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '1574692660' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 14 for column 'te_billingtype' (offset 7) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'CDR' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_disabled' (offset 8) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 20 for column 'te_prefixbillingcode' (offset 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 13 for column 'te_allowonnet' (offset 10) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 24 for column 'te_allowanycalleridusage' (offset 11) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 15 for column 'te_allowinonnet' (offset 12) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 12 for column 'te_billonnet' (offset 13) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 19 for column 'te_onnetdigitstoadd' (offset 14) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 22 for column 'te_onnetdigitstoremove' (offset 15) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_ca_rp_id' (offset 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 14 for column 'te_defaultrrid' (offset 17) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 12 for column 'te_sms_rp_id' (offset 18) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '77' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_ca_cl_id' (offset 19) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 13 for column 'te_costlimits' (offset 20) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 23 for column 'te_dailytenantcostlimit' (offset 21) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 25 for column 'te_monthlytenantcostlimit' (offset 22) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 17 for column 'te_routecostlimit' (offset 23) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_cr_no_id' (offset 24) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_ca_no_id' (offset 25) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 27 for column 'te_allowanycalleridforemerg' (offset 26) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 17 for column 'te_abusedetection' (offset 27) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 17 for column 'te_expirationdate' (offset 28) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0000-00-00' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 14 for column 'te_alertamount' (offset 29) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got NULL data [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 20 for column 'te_dailycostlimitdom' (offset 30) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 20 for column 'te_dailycostlimitint' (offset 31) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 26 for column 'te_dailytenantcostlimitdom' (offset 32) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 26 for column 'te_dailytenantcostlimitint' (offset 33) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 28 for column 'te_monthlytenantcostlimitdom' (offset 34) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 28 for column 'te_monthlytenantcostlimitint' (offset 35) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 22 for column 'te_dailycostwarningdom' (offset 36) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 22 for column 'te_dailycostwarningint' (offset 37) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 28 for column 'te_dailytenantcostwarningdom' (offset 38) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 28 for column 'te_dailytenantcostwarningint' (offset 39) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 30 for column 'te_monthlytenantcostwarningdom' (offset 40) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 30 for column 'te_monthlytenantcostwarningint' (offset 41) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 27 for column 'te_uploadrecordingatcallend' (offset 42) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'yes' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 25 for column 'te_dailytenantcostwarning' (offset 43) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 27 for column 'te_monthlytenantcostwarning' (offset 44) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 19 for column 'te_dailycostwarning' (offset 45) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 18 for column 'te_recordemergency' (offset 46) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 24 for column 'te_recordemergency_email' (offset 47) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_timezone' (offset 48) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 29 for column 'te_allowincomingcalleridusage' (offset 49) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 16 for column 'te_forcepinonnet' (offset 50) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 17 for column 'te_dailycostlimit' (offset 51) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 19 for column 'te_monthlycostlimit' (offset 52) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 22 for column 'te_monthlycostlimitdom' (offset 53) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 22 for column 'te_monthlycostlimitint' (offset 54) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 24 for column 'te_monthlycostwarningdom' (offset 55) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 24 for column 'te_monthlycostwarningint' (offset 56) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_TENANTINFO_FROM_ID(15) result is '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:21] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "HASH(tenantinfo)=15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array (te_id,te_code,te_alertemail,te_cl_id,te_payment_type,te_rp_id,te_billingcode,te_billingtype,te_disabled,te_prefixbillingcode,te_allowonnet,te_allowanycalleridusage,te_allowinonnet,te_billonnet,te_onnetdigitstoadd,te_onnetdigitstoremove,te_ca_rp_id,te_defaultrrid,te_sms_rp_id,te_ca_cl_id,te_costlimits,te_dailytenantcostlimit,te_monthlytenantcostlimit,te_routecostlimit,te_cr_no_id,te_ca_no_id,te_allowanycalleridforemerg,te_abusedetection,te_expirationdate,te_alertamount,te_dailycostlimitdom,te_dailycostlimitint,te_dailytenantcostlimitdom,te_dailytenantcostlimitint,te_monthlytenantcostlimitdom,te_monthlytenantcostlimitint,te_dailycostwarningdom,te_dailycostwarningint,te_dailytenantcostwarningdom,te_dailytenantcostwarningint,te_monthlytenantcostwarningdom,te_monthlytenantcostwarningint,te_uploadrecordingatcallend,te_dailytenantcostwarning,te_monthlytenantcostwarning,te_dailycostwarning,te_recordemergency,te_recordemergency_email,te_timezone,te_allowincomingcalleridusage,te_forcepinonnet,te_dailycostlimit,te_monthlycostlimit,te_monthlycostlimitdom,te_monthlycostlimitint,te_monthlycostwarningdom,te_monthlycostwarningint=15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_id=15) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_code=call) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_alertemail=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_cl_id=0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_payment_type=Post Paid) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_rp_id=45) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_billingcode=1574692660) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_billingtype=CDR) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_disabled=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_prefixbillingcode=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_allowonnet=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_allowanycalleridusage=on) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_allowinonnet=on) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_billonnet=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_onnetdigitstoadd=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_onnetdigitstoremove=0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_ca_rp_id=0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_defaultrrid=0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_sms_rp_id=77) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_ca_cl_id=0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_costlimits=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_dailytenantcostlimit=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostlimit=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_routecostlimit=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_cr_no_id=0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_ca_no_id=0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_allowanycalleridforemerg=on) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_abusedetection=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_expirationdate=0000-00-00) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_alertamount=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_dailycostlimitdom=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_dailycostlimitint=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_dailytenantcostlimitdom=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_dailytenantcostlimitint=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostlimitdom=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostlimitint=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_dailycostwarningdom=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_dailycostwarningint=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_dailytenantcostwarningdom=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_dailytenantcostwarningint=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostwarningdom=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostwarningint=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_uploadrecordingatcallend=yes) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_dailytenantcostwarning=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostwarning=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_dailycostwarning=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_recordemergency=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_recordemergency_email=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_timezone=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_allowincomingcalleridusage=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_forcepinonnet=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_dailycostlimit=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_monthlycostlimit=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_monthlycostlimitdom=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_monthlycostlimitint=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_monthlycostwarningdom=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_monthlycostwarningint=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(tenantinfo,te_timezone) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:22] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__TIMEZONE=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPCALLID' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:23] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "CDR(srcCallID)=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is 'AG-000-CC-538' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:24] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "membervalue=000-CC-538") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'membervalue' (from 'membervalue}' len 11) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'membervalue' is '000-CC-538' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CUT(membervalue,-,2) result is 'CC' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:25] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "membertype=CC") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'membervalue' (from 'membervalue}' len 11) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'membervalue' is '000-CC-538' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CUT(membervalue,-,3) result is '538' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:26] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "memberid=538") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'ClearHash' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:27] ClearHash("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "agentQueue") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'queueid' is '9' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and name='${SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '9' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(9) result is '9' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '9' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(9) result is '9' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 5 for column 'qu_id' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '9' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '9' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 9 for column 'qu_hosted' (offset 1) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'db02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '9,db02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 15 for column 'qu_alwaysrecord' (offset 2) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'yes' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 10 for column 'qu_timeout' (offset 3) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '90' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 13 for column 'qu_parameters' (offset 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 't' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 13 for column 'qu_nobodyhome' (offset 5) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 14 for column 'qu_calltimeout' (offset 6) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '7200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 23 for column 'qu_agent_announce_me_id' (offset 7) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 7 for column 'qu_name' (offset 8) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'ראשי' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 15 for column 'qu_nofreemember' (offset 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 9 for column 'qu_ivr_id' (offset 10) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '17' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 14 for column 'qu_agent_ag_id' (offset 11) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 29 for column 'qu_agent_confirmmessage_me_id' (offset 12) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '16' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 12 for column 'qu_agentname' (offset 13) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'NUMBER' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 9 for column 'qu_number' (offset 14) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '900' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 20 for column 'qu_allowoptimization' (offset 15) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 14 for column 'monitor_format' (offset 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'wav' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 12 for column 'qu_spygroups' (offset 17) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 12 for column 'qu_ringinuse' (offset 18) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'no' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 13 for column 'qu_minpenalty' (offset 19) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 13 for column 'qu_maxpenalty' (offset 20) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 15 for column 'qu_raisepenalty' (offset 21) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1,0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1,0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_QUEUE_FROM_ID(9) result is '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1,0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:28] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "HASH(agentQueue)=9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1,0") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array (qu_id,qu_hosted,qu_alwaysrecord,qu_timeout,qu_parameters,qu_nobodyhome,qu_calltimeout,qu_agent_announce_me_id,qu_name,qu_nofreemember,qu_ivr_id,qu_agent_ag_id,qu_agent_confirmmessage_me_id,qu_agentname,qu_number,qu_allowoptimization,monitor_format,qu_spygroups,qu_ringinuse,qu_minpenalty,qu_maxpenalty,qu_raisepenalty=9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1,0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (qu_id=9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (qu_hosted=db02) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (qu_alwaysrecord=yes) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (qu_timeout=90) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (qu_parameters=t) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (qu_nobodyhome=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (qu_calltimeout=7200) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (qu_agent_announce_me_id=0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (qu_name=ראשי) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (qu_nofreemember=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (qu_ivr_id=17) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (qu_agent_ag_id=0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (qu_agent_confirmmessage_me_id=16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (qu_agentname=NUMBER) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (qu_number=900) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (qu_allowoptimization=on) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (monitor_format=wav) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (qu_spygroups=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (qu_ringinuse=no) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (qu_minpenalty=0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (qu_maxpenalty=1) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (qu_raisepenalty=0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_spygroups) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:29] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?30:31") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,31) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:31] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_fromotherpbx_1575") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'RECORDOTHERLEG' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(RECORDOTHERLEG) result is 'RECORDOTHERLEG' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'on' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'on' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,RECORDOTHERLEG) result is 'on' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:32] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "RECORDOTHERLEG=on") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'ALWAYSRECORD' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(ALWAYSRECORD) result is 'ALWAYSRECORD' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'externalchange' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'externalchange' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'externalchange' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,ALWAYSRECORD) result is 'externalchange' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:33] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "ALWAYSRECORD=externalchange") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ALWAYSRECORD' is 'externalchange' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:34] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?35:36") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,36) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:36] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_fromotherpbx_1576") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'RECORDINGFORMAT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(RECORDINGFORMAT) result is 'RECORDINGFORMAT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,RECORDINGFORMAT) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:37] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "RECORDINGFORMAT=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'RECORDINGFORMAT' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:38] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?39:43") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,39) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(-1) result is '-1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'RECORDINGFORMAT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(RECORDINGFORMAT) result is 'RECORDINGFORMAT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'wav' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'wav' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'wav' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-1,RECORDINGFORMAT) result is 'wav' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:39] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "RECORDINGFORMAT=wav") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'RECORDINGFORMAT' is 'wav' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:40] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?41:42") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,42) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:42] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_fromotherpbx_1577_1578") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:43] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_fromotherpbx_1577") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'MIXMONITOR_FILENAME' is 'db02-1644254244.72696.wav' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:44] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?45:46") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,46) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:46] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_fromotherpbx_1579") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:47] Gosub("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "checkRecordingWarning,~~s~~,1") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'RECORDINGWARNING' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(RECORDINGWARNING) result is 'RECORDINGWARNING' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,RECORDINGWARNING) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@checkRecordingWarning:1] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "recordingwarning=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'recordingwarning' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@checkRecordingWarning:2] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?3:15") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (checkRecordingWarning,~~s~~,15) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@checkRecordingWarning:15] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_checkRecordingWarning_1398") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@checkRecordingWarning:16] Return("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_calltimeout) result is '7200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:48] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?49:50") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,50) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:50] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_fromotherpbx_1580") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CDR(realsrc) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:51] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?52:54") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,52) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_name) result is 'ראשי' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:52] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "CDR(realsrc)=Queue ראשי") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:53] Goto("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "59") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,59) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:59] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_fromotherpbx_1581") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_agent_confirmmessage_me_id) result is '16' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:60] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?61:67") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,61) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_agent_confirmmessage_me_id) result is '16' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and me_type='STATIC'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '16' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(16) result is '16' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 6 for column 'me_md5' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 9 for column 'me_format' (offset 1) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'wav' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '9486fbd9ec639aa19a505a653fe47324,wav' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '9486fbd9ec639aa19a505a653fe47324,wav' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_MEDIAFILE_MD5_FROM_ID(16) result is '9486fbd9ec639aa19a505a653fe47324,wav' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:61] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "ARRAY(SYNCMEDIA,format)=9486fbd9ec639aa19a505a653fe47324,wav") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array (SYNCMEDIA,format=9486fbd9ec639aa19a505a653fe47324,wav) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (SYNCMEDIA=9486fbd9ec639aa19a505a653fe47324) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (format=wav) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SYNCMEDIA' is '9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ASTDATADIR' is '/var/lib/asterisk' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SYNCMEDIA' is '9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'format' is 'wav' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:3] Gosub("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "decodeCallParams,~~s~~,1") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function STAT(e,/var/lib/asterisk/sounds/pbx/9486fbd9ec639aa19a505a653fe47324.wav) result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] app_stack.c: Channel Local/AG-000-NF-36@fromotherpbx-00000d2e;2 has no datastore, so we're allocating one. [2022-02-07 19:17:53] WARNING[4635][C-00000e4d] chan_sip.c: This function can only be used on SIP channels. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SIP_HEADER(X-PBX) result is '(null)' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:1] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "SIPHEADER=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:62] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?63:64") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:2] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "1?3:4") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,64) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (decodeCallParams,~~s~~,3) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'PBX' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||||' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:64] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_fromotherpbx_1583_1584") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SYNCMEDIA' is '9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:3] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "SIPHEADER=97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||||") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:65] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__CONFIRMMD5=pbx/9486fbd9ec639aa19a505a653fe47324") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:66] Goto("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "68") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,68) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:68] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_fromotherpbx_1583") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_ringinuse) result is 'no' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:69] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Ringinuse is no") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'membertype' is 'CC' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:70] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?71:83") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,83) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'membertype' is 'CC' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:4] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_decodeCallParams_1374") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:83] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?84:96") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,96) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'membertype' is 'CC' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||||' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:5] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "1?6:44") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:96] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?97:109") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (decodeCallParams,~~s~~,6) [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,109) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'membertype' is 'CC' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:109] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?110:122") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||||' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,122) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'membertype' is 'CC' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:6] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__QUEUE_RAISE_PENALTY=") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:122] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?123:143") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,143) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'membertype' is 'CC' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:143] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?144:165") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9||||||||||||' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:7] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__QUEUE_MIN_PENALTY=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:8] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__QUEUE_MAX_PENALTY=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9||||||||||' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:9] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__AUTOANSWER=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:10] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "USERVARVALUES=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9||||||||' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:11] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "USERVARLIST=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:12] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__SETQUEUERAISEPENALTY=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9||||||' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:13] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__SETQUEUEMAXPENALTY=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:14] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__SETQUEUEMINPENALTY=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9||||' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:15] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__SETQUEUERULE=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:16] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__PLAYBACKOPTION=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9||' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:17] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__RESPONSEPATHID=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:18] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__PRIVACYID=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '9' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:19] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__FROMQUEUEID=9") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he|' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:20] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__QUEUEOPTION=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is 'he' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:21] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__LANGUAGE=he") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,144) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:144] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Monitored Custom Destination with confirm") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457|||||' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'memberid' is '538' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:22] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__FMFMCALLERID=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '538' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:23] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__FMFMDIALTIMEOUT=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(538) result is '538' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457|||' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:24] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__BLINDCONNECTEDNUM=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:25] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__ONANSWERID=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457|' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:26] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__ONANSWER=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '457' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:27] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "CHANNEL(musicclass)=457") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '900' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:28] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "CDR(firstdst)=900") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '900' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:29] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__DIALEDNUMBER=900") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt|' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:30] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__DIALTIMEOUT=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is 'Tt' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:31] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__DIALOPTION=Tt") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300|||' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:32] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__NOFMFM=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:33] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__ONLYFMFM=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300|' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:34] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__NOFOLLOWEXTENSION=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '13300' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:35] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__CDRcallSequence=13300") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:36] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__CDRcallUniqueID=oraclepbx-1644254244.1743648") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 7 for column 'ct_name' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'FORWARD' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 9 for column 'cu_param1' (offset 1) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15|||' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 9 for column 'cu_param2' (offset 2) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '7222280800' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 9 for column 'cu_param3' (offset 3) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '30' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:37] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__VALIDCALLERID=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 9 for column 'cu_param4' (offset 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'unconditional' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 9 for column 'cu_param5' (offset 5) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 9 for column 'cu_param6' (offset 6) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'LEAVEASIS' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 9 for column 'cu_param7' (offset 7) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS,' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:38] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__SETCALLERID=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 9 for column 'cu_param8' (offset 8) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'INCOMINGDID' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS,,INCOMINGDID' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 9 for column 'cu_param9' (offset 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS,,INCOMINGDID,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 10 for column 'cu_param10' (offset 10) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS,,INCOMINGDID,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 10 for column 'cu_param11' (offset 11) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS,,INCOMINGDID,,,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15|' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 10 for column 'cu_param12' (offset 12) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS,,INCOMINGDID,,,,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 10 for column 'cu_param13' (offset 13) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:39] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__INCOMINGDID=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:40] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__TENANTID=15") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS,,INCOMINGDID,,,,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 10 for column 'cu_param14' (offset 14) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS,,INCOMINGDID,,,,,,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 10 for column 'cu_param15' (offset 15) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS,,INCOMINGDID,,,,,,,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 10 for column 'cu_param16' (offset 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS,,INCOMINGDID,,,,,,,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 10 for column 'cu_param17' (offset 17) [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:41] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__REALPEERNAME=200-call") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS,,INCOMINGDID,,,,,,,,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 10 for column 'cu_param18' (offset 18) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS,,INCOMINGDID,,,,,,,,,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 10 for column 'cu_param19' (offset 19) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS,,INCOMINGDID,,,,,,,,,,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 10 for column 'cu_param20' (offset 20) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS,,INCOMINGDID,,,,,,,,,,,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS,,INCOMINGDID,,,,,,,,,,,,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '200-call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:42] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__PEERNAME=200-call") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '97' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:43] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__TTL=97") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:44] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_decodeCallParams_1375") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'LANGUAGE' is 'he' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:45] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "1?46:49") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (decodeCallParams,~~s~~,46) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'LANGUAGE' is 'he' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:46] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "CHANNEL(language)=he") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function CHANNEL(language) result is 'he' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'he' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(he) result is 'he' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 5 for column 'la_id' (offset 0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 12 for column 'la_directory' (offset 1) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,he' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 15 for column 'la_languagecode' (offset 2) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,he,he' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 18 for column 'la_sublanguagecode' (offset 3) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'IL' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 9 for column 'la_locale' (offset 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 7 for column 'la_flag' (offset 5) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'il' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 11 for column 'la_language' (offset 6) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'Hebrew' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 10 for column 'la_enabled' (offset 7) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 11 for column 'la_tonezone' (offset 8) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'il' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 6 for column 'la_rtl' (offset 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'yes' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_CUSTOM_CODE(538) result is 'FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS,,INCOMINGDID,,,,,,,,,,,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:145] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "HASH(customdest)=FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS,,INCOMINGDID,,,,,,,,,,,,") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array (ct_name,cu_param1,cu_param2,cu_param3,cu_param4,cu_param5,cu_param6,cu_param7,cu_param8,cu_param9,cu_param10,cu_param11,cu_param12,cu_param13,cu_param14,cu_param15,cu_param16,cu_param17,cu_param18,cu_param19,cu_param20=FORWARD,xxxxxxxxxx,7222280800,30,unconditional,,LEAVEASIS,,INCOMINGDID,,,,,,,,,,,,) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ct_name=FORWARD) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (cu_param1=xxxxxxxxxx) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (cu_param2=7222280800) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (cu_param3=30) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (cu_param4=unconditional) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (cu_param5=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (cu_param6=LEAVEASIS) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (cu_param7=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (cu_param8=INCOMINGDID) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (cu_param9=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (cu_param10=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (cu_param11=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (cu_param12=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (cu_param13=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (cu_param14=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (cu_param15=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (cu_param16=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (cu_param17=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (cu_param18=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (cu_param19=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (cu_param20=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(customdest,cu_param1) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:146] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "membernumber=xxxxxxxxxx") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(customdest,cu_param4) result is 'unconditional' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'INCOMINGDID' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:147] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?148:161") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,161) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function ODBC_GET_ALL_LANGUAGE_INFO_FROM_DIRECTORY(he) result is '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:47] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "HASH(alllanguage)=15,he,he,IL,he,il,Hebrew,on,il,yes") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:161] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_if_if_if_if_fromotherpbx_1585_1588_1591_1594_1597_1602_1603") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'memberid' is '538' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array (la_id,la_directory,la_languagecode,la_sublanguagecode,la_locale,la_flag,la_language,la_enabled,la_tonezone,la_rtl=15,he,he,IL,he,il,Hebrew,on,il,yes) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (la_id=15) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (la_directory=he) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (la_languagecode=he) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (la_sublanguagecode=IL) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (la_locale=he) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (la_flag=il) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (la_language=Hebrew) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (la_enabled=on) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (la_tonezone=il) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (la_rtl=yes) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '538' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(alllanguage,la_tonezone) result is 'il' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(538) result is '538' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:48] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "CHANNEL(tonezone)=il") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:49] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_decodeCallParams_1376") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'CDRcallUniqueID' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'CELGenUserEvent' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:50] CELGenUserEvent("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "PREVUNIQUEID,oraclepbx-1644254244.1743648") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'CDRcallUniqueID' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'cu_te_id' (offset 0) [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:51] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?52:53") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (decodeCallParams,~~s~~,53) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:53] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_decodeCallParams_1377") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'USERVARLIST' (from 'USERVARLIST}' len 11) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'USERVARLIST' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SHIFT(USERVARLIST) result is '(null)' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SET(var=) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:54] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?55:59") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (decodeCallParams,~~s~~,59) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:59] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish while_decodeCallParams_1378") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:60] Return("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'QUEUENAME' is NULL [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:4] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Queue ringing ") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is 'AG-000-NF-36' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '200' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function CHANNEL(musicclass) result is '457' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:5] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Received a call from another server for agent with extension ID 000-NF-36 and Callerid 200 Music class is 457") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_TENANT_FROM_CUSTOM_ID(538) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:162] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__TENANTID=15") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:163] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__CONFIRM=yes") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'MAXCALLDURATION' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(MAXCALLDURATION) result is 'MAXCALLDURATION' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:164] Goto("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "230") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,230) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:230] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_if_if_if_fromotherpbx_1585_1588_1591_1594_1597_1602") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:231] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_if_if_fromotherpbx_1585_1588_1591_1594_1597") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:232] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_if_fromotherpbx_1585_1588_1591_1594") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:233] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_fromotherpbx_1585_1588_1591") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:234] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_fromotherpbx_1585_1588") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:235] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_fromotherpbx_1585") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CHANNEL(musicclass) result is '457' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:236] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?237:238") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,238) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:238] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_fromotherpbx_1618") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 7 for column 'te_code' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '7200' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '7200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '7200' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_ACCOUNTCODE_FROM_TENANTID(15) result is 'call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:239] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "CDR(accountcode)=call") in new stack [2022-02-07 19:17:53] WARNING[4637][C-00000e4d] func_cdr.c: Using the CDR function to set 'accountcode' is deprecated. Please use the CHANNEL function instead. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,MAXCALLDURATION) result is '7200' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:6] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "MAXCALLDURATION=7200") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'MAXCALLDURATION' is '7200' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:7] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "1?8:9") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-36,8) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'MAXCALLDURATION' is '7200' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:8] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "TIMEOUT(absolute)=7200") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] func_timeout.c: Channel will hangup at 2022-02-07 21:17:53.117 IST. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:9] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_fromotherpbx_1572") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'UNIQUEID' is 'db02-1644254272.72742' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'SIPAddHeader' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:10] SIPAddHeader("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "X-VoipMonitor-Custom1: db02-1644254272.72742") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: SIP Header added "X-VoipMonitor-Custom1: db02-1644254272.72742" as __SIPADDHEADER03 [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'UNIQUEID' is 'db02-1644254272.72742' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:11] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__SIMPLEPREVUNIQUEID=db02-1644254272.72742") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:12] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__TRANSFER_CONTEXT=authenticated") in new stack [2022-02-07 19:17:53] WARNING[4635][C-00000e4d] chan_sip.c: This function can only be used on SIP channels. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SIP_HEADER(Call-Info) result is '(null)' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:13] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Call-Info=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'Call-Info' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:14] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?15:16") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-36,16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:16] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_fromotherpbx_1573") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CDR(firstdst) result is '900' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:240] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?241:243") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,243) [2022-02-07 19:17:53] WARNING[4635][C-00000e4d] chan_sip.c: This function can only be used on SIP channels. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is NULL [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SIP_HEADER(Alert-Info) result is '(null)' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:243] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "CDR(lastdst)=") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:17] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Alert-Info=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'Alert-Info' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:18] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?19:20") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-36,20) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:20] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_fromotherpbx_1574") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:244] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_fromotherpbx_1619") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:245] Gosub("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "setLanguage,~~s~~,1") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'LANGUAGE' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(LANGUAGE) result is 'LANGUAGE' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'he' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'he' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 5 for column 'te_id' (offset 0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 7 for column 'te_code' (offset 1) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 13 for column 'te_alertemail' (offset 2) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 8 for column 'te_cl_id' (offset 3) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 15 for column 'te_payment_type' (offset 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'Post Paid' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 8 for column 'te_rp_id' (offset 5) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '45' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 14 for column 'te_billingcode' (offset 6) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '1574692660' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 14 for column 'te_billingtype' (offset 7) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'CDR' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_disabled' (offset 8) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 20 for column 'te_prefixbillingcode' (offset 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 13 for column 'te_allowonnet' (offset 10) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 24 for column 'te_allowanycalleridusage' (offset 11) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 15 for column 'te_allowinonnet' (offset 12) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 12 for column 'te_billonnet' (offset 13) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 19 for column 'te_onnetdigitstoadd' (offset 14) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 22 for column 'te_onnetdigitstoremove' (offset 15) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_ca_rp_id' (offset 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 14 for column 'te_defaultrrid' (offset 17) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 12 for column 'te_sms_rp_id' (offset 18) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '77' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_ca_cl_id' (offset 19) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 13 for column 'te_costlimits' (offset 20) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 23 for column 'te_dailytenantcostlimit' (offset 21) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 25 for column 'te_monthlytenantcostlimit' (offset 22) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 17 for column 'te_routecostlimit' (offset 23) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_cr_no_id' (offset 24) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_ca_no_id' (offset 25) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 27 for column 'te_allowanycalleridforemerg' (offset 26) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 17 for column 'te_abusedetection' (offset 27) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 17 for column 'te_expirationdate' (offset 28) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0000-00-00' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 14 for column 'te_alertamount' (offset 29) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got NULL data [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 20 for column 'te_dailycostlimitdom' (offset 30) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 20 for column 'te_dailycostlimitint' (offset 31) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 26 for column 'te_dailytenantcostlimitdom' (offset 32) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 26 for column 'te_dailytenantcostlimitint' (offset 33) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 28 for column 'te_monthlytenantcostlimitdom' (offset 34) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 28 for column 'te_monthlytenantcostlimitint' (offset 35) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 22 for column 'te_dailycostwarningdom' (offset 36) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 22 for column 'te_dailycostwarningint' (offset 37) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 28 for column 'te_dailytenantcostwarningdom' (offset 38) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 28 for column 'te_dailytenantcostwarningint' (offset 39) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 30 for column 'te_monthlytenantcostwarningdom' (offset 40) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 30 for column 'te_monthlytenantcostwarningint' (offset 41) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 27 for column 'te_uploadrecordingatcallend' (offset 42) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'yes' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 25 for column 'te_dailytenantcostwarning' (offset 43) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 27 for column 'te_monthlytenantcostwarning' (offset 44) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 19 for column 'te_dailycostwarning' (offset 45) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 18 for column 'te_recordemergency' (offset 46) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 24 for column 'te_recordemergency_email' (offset 47) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_timezone' (offset 48) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 29 for column 'te_allowincomingcalleridusage' (offset 49) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 16 for column 'te_forcepinonnet' (offset 50) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 17 for column 'te_dailycostlimit' (offset 51) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 19 for column 'te_monthlycostlimit' (offset 52) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 22 for column 'te_monthlycostlimitdom' (offset 53) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 22 for column 'te_monthlycostlimitint' (offset 54) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 24 for column 'te_monthlycostwarningdom' (offset 55) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 24 for column 'te_monthlycostwarningint' (offset 56) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,LANGUAGE) result is 'he' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is 'he' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:1] MSet("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "LANGUAGE=he") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'LANGUAGE' is 'he' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:2] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?3:4") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (setLanguage,~~s~~,4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:4] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_setLanguage_1365") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'LANGUAGE' is 'he' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:5] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?6:9") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (setLanguage,~~s~~,6) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'LANGUAGE' is 'he' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:6] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "CHANNEL(language)=he") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CHANNEL(language) result is 'he' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'he' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(he) result is 'he' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function ODBC_TENANTINFO_FROM_ID(15) result is '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:21] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "HASH(tenantinfo)=15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array (te_id,te_code,te_alertemail,te_cl_id,te_payment_type,te_rp_id,te_billingcode,te_billingtype,te_disabled,te_prefixbillingcode,te_allowonnet,te_allowanycalleridusage,te_allowinonnet,te_billonnet,te_onnetdigitstoadd,te_onnetdigitstoremove,te_ca_rp_id,te_defaultrrid,te_sms_rp_id,te_ca_cl_id,te_costlimits,te_dailytenantcostlimit,te_monthlytenantcostlimit,te_routecostlimit,te_cr_no_id,te_ca_no_id,te_allowanycalleridforemerg,te_abusedetection,te_expirationdate,te_alertamount,te_dailycostlimitdom,te_dailycostlimitint,te_dailytenantcostlimitdom,te_dailytenantcostlimitint,te_monthlytenantcostlimitdom,te_monthlytenantcostlimitint,te_dailycostwarningdom,te_dailycostwarningint,te_dailytenantcostwarningdom,te_dailytenantcostwarningint,te_monthlytenantcostwarningdom,te_monthlytenantcostwarningint,te_uploadrecordingatcallend,te_dailytenantcostwarning,te_monthlytenantcostwarning,te_dailycostwarning,te_recordemergency,te_recordemergency_email,te_timezone,te_allowincomingcalleridusage,te_forcepinonnet,te_dailycostlimit,te_monthlycostlimit,te_monthlycostlimitdom,te_monthlycostlimitint,te_monthlycostwarningdom,te_monthlycostwarningint=15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_id=15) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_code=call) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_alertemail=) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_cl_id=0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_payment_type=Post Paid) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_rp_id=45) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_billingcode=1574692660) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_billingtype=CDR) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_disabled=) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_prefixbillingcode=) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_allowonnet=) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_allowanycalleridusage=on) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_allowinonnet=on) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_billonnet=) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_onnetdigitstoadd=) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_onnetdigitstoremove=0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_ca_rp_id=0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_defaultrrid=0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_sms_rp_id=77) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_ca_cl_id=0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_costlimits=) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_dailytenantcostlimit=0.00000) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostlimit=0.00000) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_routecostlimit=0.00000) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_cr_no_id=0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_ca_no_id=0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_allowanycalleridforemerg=on) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_abusedetection=) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_expirationdate=0000-00-00) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_alertamount=) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_dailycostlimitdom=0.00000) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_dailycostlimitint=0.00000) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_dailytenantcostlimitdom=0.00000) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_dailytenantcostlimitint=0.00000) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostlimitdom=0.00000) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostlimitint=0.00000) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_dailycostwarningdom=0.00000) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_dailycostwarningint=0.00000) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_dailytenantcostwarningdom=0.00000) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_dailytenantcostwarningint=0.00000) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostwarningdom=0.00000) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostwarningint=0.00000) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_uploadrecordingatcallend=yes) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_dailytenantcostwarning=0.00000) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostwarning=0.00000) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_dailycostwarning=0.00000) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_recordemergency=) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_recordemergency_email=) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_timezone=) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_allowincomingcalleridusage=) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_forcepinonnet=) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_dailycostlimit=0.00000) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_monthlycostlimit=0.00000) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_monthlycostlimitdom=0.00000) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_monthlycostlimitint=0.00000) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_monthlycostwarningdom=0.00000) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_monthlycostwarningint=0.00000) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(tenantinfo,te_timezone) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:22] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__TIMEZONE=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SIPCALLID' is NULL [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:23] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "CDR(srcCallID)=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is 'AG-000-NF-36' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:24] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "membervalue=000-NF-36") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'membervalue' (from 'membervalue}' len 11) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'membervalue' is '000-NF-36' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function CUT(membervalue,-,2) result is 'NF' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:25] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "membertype=NF") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'membervalue' (from 'membervalue}' len 11) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'membervalue' is '000-NF-36' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function CUT(membervalue,-,3) result is '36' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:26] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "memberid=36") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'ClearHash' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:27] ClearHash("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "agentQueue") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'queueid' is '9' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and name='${SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '9' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(9) result is '9' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '9' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(9) result is '9' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 5 for column 'la_id' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 12 for column 'la_directory' (offset 1) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,he' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 15 for column 'la_languagecode' (offset 2) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,he,he' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 18 for column 'la_sublanguagecode' (offset 3) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'IL' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 9 for column 'la_locale' (offset 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 7 for column 'la_flag' (offset 5) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'il' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 11 for column 'la_language' (offset 6) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'Hebrew' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 10 for column 'la_enabled' (offset 7) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 11 for column 'la_tonezone' (offset 8) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'il' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 6 for column 'la_rtl' (offset 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'yes' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 5 for column 'qu_id' (offset 0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '9' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '9' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 9 for column 'qu_hosted' (offset 1) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'db02' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '9,db02' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 15 for column 'qu_alwaysrecord' (offset 2) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'yes' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 10 for column 'qu_timeout' (offset 3) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '90' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 13 for column 'qu_parameters' (offset 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 't' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 13 for column 'qu_nobodyhome' (offset 5) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 14 for column 'qu_calltimeout' (offset 6) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '7200' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 23 for column 'qu_agent_announce_me_id' (offset 7) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 7 for column 'qu_name' (offset 8) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'ראשי' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 15 for column 'qu_nofreemember' (offset 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 9 for column 'qu_ivr_id' (offset 10) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '17' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 14 for column 'qu_agent_ag_id' (offset 11) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 29 for column 'qu_agent_confirmmessage_me_id' (offset 12) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '16' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 12 for column 'qu_agentname' (offset 13) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'NUMBER' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 9 for column 'qu_number' (offset 14) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '900' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 20 for column 'qu_allowoptimization' (offset 15) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 14 for column 'monitor_format' (offset 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'wav' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 12 for column 'qu_spygroups' (offset 17) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 12 for column 'qu_ringinuse' (offset 18) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'no' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 13 for column 'qu_minpenalty' (offset 19) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 13 for column 'qu_maxpenalty' (offset 20) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 15 for column 'qu_raisepenalty' (offset 21) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1,0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1,0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_ALL_LANGUAGE_INFO_FROM_DIRECTORY(he) result is '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:7] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "HASH(alllanguage)=15,he,he,IL,he,il,Hebrew,on,il,yes") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array (la_id,la_directory,la_languagecode,la_sublanguagecode,la_locale,la_flag,la_language,la_enabled,la_tonezone,la_rtl=15,he,he,IL,he,il,Hebrew,on,il,yes) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (la_id=15) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (la_directory=he) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (la_languagecode=he) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (la_sublanguagecode=IL) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (la_locale=he) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (la_flag=il) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (la_language=Hebrew) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (la_enabled=on) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (la_tonezone=il) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (la_rtl=yes) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(alllanguage,la_tonezone) result is 'il' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:8] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "CHANNEL(tonezone)=il") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:9] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_setLanguage_1366") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:10] Return("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'VOLUMERXLEVEL' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(VOLUMERXLEVEL) result is 'VOLUMERXLEVEL' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function ODBC_GET_QUEUE_FROM_ID(9) result is '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1,0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:28] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "HASH(agentQueue)=9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1,0") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array (qu_id,qu_hosted,qu_alwaysrecord,qu_timeout,qu_parameters,qu_nobodyhome,qu_calltimeout,qu_agent_announce_me_id,qu_name,qu_nofreemember,qu_ivr_id,qu_agent_ag_id,qu_agent_confirmmessage_me_id,qu_agentname,qu_number,qu_allowoptimization,monitor_format,qu_spygroups,qu_ringinuse,qu_minpenalty,qu_maxpenalty,qu_raisepenalty=9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1,0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (qu_id=9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (qu_hosted=db02) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (qu_alwaysrecord=yes) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (qu_timeout=90) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (qu_parameters=t) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (qu_nobodyhome=) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (qu_calltimeout=7200) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (qu_agent_announce_me_id=0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (qu_name=ראשי) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (qu_nofreemember=) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (qu_ivr_id=17) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (qu_agent_ag_id=0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (qu_agent_confirmmessage_me_id=16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (qu_agentname=NUMBER) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (qu_number=900) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (qu_allowoptimization=on) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (monitor_format=wav) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (qu_spygroups=) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (qu_ringinuse=no) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (qu_minpenalty=0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (qu_maxpenalty=1) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (qu_raisepenalty=0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_spygroups) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:29] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?30:31") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-36,31) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:31] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_fromotherpbx_1575") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'RECORDOTHERLEG' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(RECORDOTHERLEG) result is 'RECORDOTHERLEG' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'on' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'on' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,RECORDOTHERLEG) result is 'on' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:32] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "RECORDOTHERLEG=on") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,VOLUMERXLEVEL) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:246] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "VOLUMERXLEVEL=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'ALWAYSRECORD' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(ALWAYSRECORD) result is 'ALWAYSRECORD' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'VOLUMETXLEVEL' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(VOLUMETXLEVEL) result is 'VOLUMETXLEVEL' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'externalchange' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'externalchange' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'externalchange' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,ALWAYSRECORD) result is 'externalchange' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:33] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "ALWAYSRECORD=externalchange") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ALWAYSRECORD' is 'externalchange' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:34] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?35:36") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-36,36) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:36] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_fromotherpbx_1576") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'RECORDINGFORMAT' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(RECORDINGFORMAT) result is 'RECORDINGFORMAT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,VOLUMETXLEVEL) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:247] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "VOLUMETXLEVEL=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'DTMFVOLUME' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(DTMFVOLUME) result is 'DTMFVOLUME' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'on' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'on' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,RECORDINGFORMAT) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:37] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "RECORDINGFORMAT=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'RECORDINGFORMAT' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:38] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "1?39:43") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-36,39) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(-1) result is '-1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'RECORDINGFORMAT' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(RECORDINGFORMAT) result is 'RECORDINGFORMAT' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,DTMFVOLUME) result is 'on' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:248] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "DTMFVOLUME=on") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'DTMFVOLUME' is 'on' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:249] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?250:251") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,250) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:250] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "DTMF=p") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:251] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_fromotherpbx_1620") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'VOLUMERXLEVEL' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:252] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?253:254") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,254) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:254] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_fromotherpbx_1621") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'VOLUMETXLEVEL' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:255] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?256:257") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,257) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:257] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_fromotherpbx_1622") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'QUEUERING' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(QUEUERING) result is 'QUEUERING' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'wav' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'wav' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'wav' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-1,RECORDINGFORMAT) result is 'wav' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:39] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "RECORDINGFORMAT=wav") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'RECORDINGFORMAT' is 'wav' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:40] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?41:42") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-36,42) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:42] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_if_fromotherpbx_1577_1578") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:43] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_fromotherpbx_1577") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'MIXMONITOR_FILENAME' is 'db02-1644254244.72696.wav' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:44] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?45:46") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-36,46) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:46] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_fromotherpbx_1579") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:47] Gosub("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "checkRecordingWarning,~~s~~,1") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'RECORDINGWARNING' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(RECORDINGWARNING) result is 'RECORDINGWARNING' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,QUEUERING) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:258] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "RINGINGTONE=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'RINGINGTONE' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:259] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?260:262") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,262) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:262] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_fromotherpbx_1623") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'RECORDINGFORMAT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(RECORDINGFORMAT) result is 'RECORDINGFORMAT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,RECORDINGWARNING) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@checkRecordingWarning:1] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "recordingwarning=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'recordingwarning' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@checkRecordingWarning:2] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?3:15") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (checkRecordingWarning,~~s~~,15) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@checkRecordingWarning:15] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_checkRecordingWarning_1398") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@checkRecordingWarning:16] Return("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_calltimeout) result is '7200' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:48] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?49:50") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-36,50) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:50] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_fromotherpbx_1580") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function CDR(realsrc) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:51] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "1?52:54") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-36,52) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_name) result is 'ראשי' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:52] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "CDR(realsrc)=Queue ראשי") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:53] Goto("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "59") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-36,59) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:59] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_fromotherpbx_1581") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_agent_confirmmessage_me_id) result is '16' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:60] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "1?61:67") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-36,61) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_agent_confirmmessage_me_id) result is '16' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and me_type='STATIC'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '16' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(16) result is '16' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 6 for column 'me_md5' (offset 0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 9 for column 'me_format' (offset 1) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'wav' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '9486fbd9ec639aa19a505a653fe47324,wav' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '9486fbd9ec639aa19a505a653fe47324,wav' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,RECORDINGFORMAT) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:263] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "RECORDINGFORMAT=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'RECORDINGFORMAT' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:264] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?265:269") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,265) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(-1) result is '-1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'RECORDINGFORMAT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(RECORDINGFORMAT) result is 'RECORDINGFORMAT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'wav' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'wav' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'wav' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function ODBC_MEDIAFILE_MD5_FROM_ID(16) result is '9486fbd9ec639aa19a505a653fe47324,wav' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:61] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "ARRAY(SYNCMEDIA,format)=9486fbd9ec639aa19a505a653fe47324,wav") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array (SYNCMEDIA,format=9486fbd9ec639aa19a505a653fe47324,wav) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (SYNCMEDIA=9486fbd9ec639aa19a505a653fe47324) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (format=wav) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SYNCMEDIA' is '9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ASTDATADIR' is '/var/lib/asterisk' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SYNCMEDIA' is '9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'format' is 'wav' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function STAT(e,/var/lib/asterisk/sounds/pbx/9486fbd9ec639aa19a505a653fe47324.wav) result is '1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:62] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?63:64") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-36,64) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:64] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_if_fromotherpbx_1583_1584") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SYNCMEDIA' is '9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:65] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__CONFIRMMD5=pbx/9486fbd9ec639aa19a505a653fe47324") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:66] Goto("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "68") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-36,68) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:68] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_fromotherpbx_1583") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_ringinuse) result is 'no' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:69] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Ringinuse is no") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'membertype' is 'NF' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:70] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?71:83") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-36,83) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'membertype' is 'NF' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:83] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "1?84:96") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-36,84) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:84] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "NOFOLLOWEXTENSION=yes") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:85] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "No Follow destination new member type") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'memberid' is '36' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '36' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(36) result is '36' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 9 for column 'ex_number' (offset 0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-1,RECORDINGFORMAT) result is 'wav' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:265] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "RECORDINGFORMAT=wav") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'RECORDINGFORMAT' is 'wav' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:266] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?267:268") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,268) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:268] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_fromotherpbx_1624_1625") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:269] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_fromotherpbx_1624") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'CTONANSWERID' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:270] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?271:272") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-CC-538,272) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:272] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_fromotherpbx_1626") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'membernumber' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:273] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__AGENTNUMBER=xxxxxxxxxx") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'queueid' is '9' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:274] Gosub("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "FollowDestination,~~s~~,1(QUEUE-BEFORERINGING,9,)") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_stack.c: Setting 'ARG1' to 'QUEUE-BEFORERINGING' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_stack.c: Setting 'ARG2' to '9' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'QUEUE-BEFORERINGING' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:1] MSet("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "LOCAL(TYPE)=QUEUE-BEFORERINGING") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '9' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:2] MSet("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "LOCAL(ID)=9") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:3] MSet("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "LOCAL(PARAM1)=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TYPE' is 'QUEUE-BEFORERINGING' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ID' is '9' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'PARAM1' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ROUTINGPROFILE' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:4] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Checking how many entries for the destination QUEUE-BEFORERINGING with code 9. PARAM1 is [] - ROUTING PROFILE is ") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TYPE' is 'QUEUE-BEFORERINGING' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ID' is '9' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and de_type_id_src='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'QUEUE-BEFORERINGING' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(QUEUE-BEFORERINGING) result is 'QUEUE-BEFORERINGING' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '9' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(9) result is '9' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'count(*)' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function ODBC_DEVICENUMBER_FROM_ID(36) result is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:86] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "membernumber=201") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'memberid' is '36' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '36' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(36) result is '36' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 8 for column 'ex_te_id' (offset 0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_COUNT_DEST(QUEUE-BEFORERINGING,9) result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:5] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "LOCAL(NDEST)=0") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'NDEST' is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:6] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Identified 0 entries") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'NDEST' is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:7] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?8:9") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (FollowDestination,~~s~~,9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:9] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_FollowDestination_419") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:10] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "LOCAL(niter)=0") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'NDEST' is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:11] MSet("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "niter=0") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'niter' is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:12] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?13:645") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (FollowDestination,~~s~~,645) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:645] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish for_FollowDestination_420") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:646] Return("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'membernumber' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'DIALTIMEOUT' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_calltimeout) result is '7200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [AG-000-CC-538@fromotherpbx:275] Gosub("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "dialpeerexten,xxxxxxxxxx,1(,,,7200)") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_stack.c: Setting 'ARG4' to '7200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'PEERNAME' is '200-call' [2022-02-07 19:17:53] WARNING[4637][C-00000e4d] func_channel.c: Unknown or unavailable item requested: 'PEERNAME' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CHANNEL(PEERNAME) result is '(null)' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CALLERID(name) result is 'BEN' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CDR(accountcode) result is 'call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TTL' is '97' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:1] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Received a call with PEERNAME set to 200-call from with callerid name BEN and callerid num 200 to number xxxxxxxxxx for tenant call TENANTID is 15 TTL is 97") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'BLINDTRANSFER' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:2] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?3:4") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:4] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialpeerexten_2234") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'ADDJITTERBUFFER' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(ADDJITTERBUFFER) result is 'ADDJITTERBUFFER' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function ODBC_GET_TENANT_FROM_PEER_ID(36) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:87] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__TENANTID=15") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_ringinuse) result is 'no' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:88] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?89:94") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-36,94) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:94] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_if_if_fromotherpbx_1585_1588_1589") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:95] Goto("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "234") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-36,234) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:234] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_if_fromotherpbx_1585_1588") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:235] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_fromotherpbx_1585") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function CHANNEL(musicclass) result is '457' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:236] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?237:238") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-36,238) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:238] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_fromotherpbx_1618") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 7 for column 'te_code' (offset 0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,ADDJITTERBUFFER) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:5] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "addjitterbuffer=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'addjitterbuffer' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:6] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?7:8") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,8) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:8] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialpeerexten_2235") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:9] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?10:15") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,15) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:15] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialpeerexten_2236") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function STRFTIME(,,%H:%M:%S.%5q) result is '19:17:53.14462' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:16] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Now is 19:17:53.14462") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function ODBC_ACCOUNTCODE_FROM_TENANTID(15) result is 'call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:17] Gosub("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "saveCallParams,~~s~~,1") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:239] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "CDR(accountcode)=call") in new stack [2022-02-07 19:17:53] WARNING[4635][C-00000e4d] func_cdr.c: Using the CDR function to set 'accountcode' is deprecated. Please use the CHANNEL function instead. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:1] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?2:3") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (saveCallParams,~~s~~,2) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:2] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "savedLevel=0") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:3] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_saveCallParams_1367") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:4] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "savedLevel=1") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'DIALOPTION' is 'Tt' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:5] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "savedDIALOPTION1=Tt") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'CONFIRM' is 'yes' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:6] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "savedCONFIRM1=yes") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'CONFIRMMD5' is 'pbx/9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:7] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "savedCONFIRMMD51=pbx/9486fbd9ec639aa19a505a653fe47324") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'NOFOLLOWEXTENSION' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:8] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "savedNOFOLLOWEXTENSION1=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'NOFMFM' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:9] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "savedNOFMFM1=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ONLYFMFM' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:10] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "savedONLYFMFM1=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:11] Return("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:18] Gosub("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "checkTTL,~~s~~,1") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TTL' is '97' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:1] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?2:6") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (checkTTL,~~s~~,6) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:6] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_checkTTL_2129") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TTL' is '97' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '96' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:7] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "TTL=96") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TTL' is '96' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:8] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?9:13") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (checkTTL,~~s~~,13) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:13] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_checkTTL_2131") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'maxanychannels' is '-1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:14] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?15:16") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (checkTTL,~~s~~,16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:16] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_checkTTL_2132") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:17] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "GROUP(ANYTENANT)=15") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SYSTEMNAME' is 'db02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function GROUP_COUNT(15@ANYTENANT) result is '2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:18] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "ODBC_SET_GROUP_COUNT(15@ANYTENANT,db02)=2") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}','${SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15@ANYTENANT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15@ANYTENANT) result is '15@ANYTENANT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'db02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02) result is 'db02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(2) result is '2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(2) result is '2' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function CDR(firstdst) result is '900' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:240] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?241:243") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-36,243) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is NULL [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:243] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "CDR(lastdst)=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:244] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_fromotherpbx_1619") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:245] Gosub("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "setLanguage,~~s~~,1") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'LANGUAGE' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(LANGUAGE) result is 'LANGUAGE' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'he' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'he' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,LANGUAGE) result is 'he' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is 'he' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:1] MSet("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "LANGUAGE=he") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'LANGUAGE' is 'he' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:2] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?3:4") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (setLanguage,~~s~~,4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:4] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_setLanguage_1365") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'LANGUAGE' is 'he' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:5] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "1?6:9") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (setLanguage,~~s~~,6) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'LANGUAGE' is 'he' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:6] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "CHANNEL(language)=he") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function CHANNEL(language) result is 'he' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'he' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(he) result is 'he' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'maxanychannels' is '-1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'maxanychannels' is '-1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:19] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?20:27") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (checkTTL,~~s~~,27) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:27] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_checkTTL_2133") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:28] Return("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:19] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "LOCAL(NUMBER)=xxxxxxxxxx") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:20] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__TRANSFER_CONTEXT=authenticated") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'CHANNEL' is 'Local/AG-000-CC-538@fromotherpbx-00000d30;2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:21] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__ORIGCHANNEL=Local/AG-000-CC-538@fromotherpbx-00000d30;2") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 5 for column 'la_id' (offset 0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 12 for column 'la_directory' (offset 1) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,he' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 15 for column 'la_languagecode' (offset 2) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,he,he' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 18 for column 'la_sublanguagecode' (offset 3) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'IL' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 9 for column 'la_locale' (offset 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 7 for column 'la_flag' (offset 5) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'il' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 11 for column 'la_language' (offset 6) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'Hebrew' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 10 for column 'la_enabled' (offset 7) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 11 for column 'la_tonezone' (offset 8) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'il' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 6 for column 'la_rtl' (offset 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'yes' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 7 for column 'te_code' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function ODBC_GET_ALL_LANGUAGE_INFO_FROM_DIRECTORY(he) result is '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:7] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "HASH(alllanguage)=15,he,he,IL,he,il,Hebrew,on,il,yes") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array (la_id,la_directory,la_languagecode,la_sublanguagecode,la_locale,la_flag,la_language,la_enabled,la_tonezone,la_rtl=15,he,he,IL,he,il,Hebrew,on,il,yes) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (la_id=15) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (la_directory=he) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (la_languagecode=he) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (la_sublanguagecode=IL) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (la_locale=he) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (la_flag=il) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (la_language=Hebrew) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_ACCOUNTCODE_FROM_TENANTID(15) result is 'call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (la_enabled=on) [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:22] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "LOCAL(TENANTCODE)=call") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (la_tonezone=il) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (la_rtl=yes) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(alllanguage,la_tonezone) result is 'il' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:8] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "CHANNEL(tonezone)=il") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTCODE' is 'call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function LEN(call) result is '3' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:23] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "LOCAL(TENANTCODELEN)=3") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:9] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_setLanguage_1366") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:10] Return("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTCODELEN' is '3' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTCODE' is 'call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTCODE' is 'call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:24] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?25:29") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,29) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:29] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "LOCAL(CLEAREDNUMBER)=xxxxxxxxxx") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:30] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialpeerexten_2238") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTCODE' is 'call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:31] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__PICKUPMARK=xxxxxxxxxx-call") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'VOLUMERXLEVEL' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(VOLUMERXLEVEL) result is 'VOLUMERXLEVEL' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:32] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Arg1 is ") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:33] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Arg2 is ") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:34] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Arg3 is ") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG4' is '7200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:35] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Arg4 is 7200") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG5' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:36] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Arg5 is ") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:37] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?38:39") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,39) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:39] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialpeerexten_2239") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'DIALEDNUMBER' is '900' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:40] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?41:42") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,42) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:42] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialpeerexten_2240") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:43] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "LASTDIALEDNUMBER=xxxxxxxxxx") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:44] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?45:47") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,47) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:47] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?48:50") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,50) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:50] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?51:53") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,53) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:53] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_dialpeerexten_2241_2242_2243") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:54] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_dialpeerexten_2241_2242") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:55] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialpeerexten_2241") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:56] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?57:60") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,60) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:60] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialpeerexten_2244") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG4' is '7200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:61] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?62:63") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,62) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'DIALOPTION' is 'Tt' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG4' is '7200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:62] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "DIALOPTION=TtL(7200000)") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:63] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialpeerexten_2245") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG5' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:64] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?65:66") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,66) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:66] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialpeerexten_2246") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG6' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:67] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?68:78") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,78) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:78] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialpeerexten_2247") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CDR(firstdst) result is '900' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:79] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?80:82") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,82) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'DIALEDPEERNUMBER' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:82] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Checking to fix connected number to ") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'DIALEDPEERNUMBER' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:83] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?84:86") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,86) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:86] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "CDR(lastdst)=xxxxxxxxxx") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:87] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_dialpeerexten_2250_2251") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:88] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialpeerexten_2250") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'BLOCKDTMFTRANSFERS' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(BLOCKDTMFTRANSFERS) result is 'BLOCKDTMFTRANSFERS' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,VOLUMERXLEVEL) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:246] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "VOLUMERXLEVEL=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'VOLUMETXLEVEL' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(VOLUMETXLEVEL) result is 'VOLUMETXLEVEL' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,BLOCKDTMFTRANSFERS) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:89] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "BLOCKDTMFTRANSFERS=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'BLOCKDTMFTRANSFERS' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:90] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?91:92") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,91) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'DIALOPTION' is 'TtL(7200000)' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:91] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "DIALOPTION=TtL(7200000)t") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:92] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialpeerexten_2252") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:93] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Checking internal routing number") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'ClearHash' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:94] ClearHash("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "internalRouting") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and '${SQL_ESC(${ARG2})}' regexp(ir_regexp) limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' regexp(ir_regexp) limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,VOLUMETXLEVEL) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:247] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "VOLUMETXLEVEL=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'DTMFVOLUME' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(DTMFVOLUME) result is 'DTMFVOLUME' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'on' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'on' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_INTERNAL_ROUTE(15,xxxxxxxxxx) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:95] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "HASH(internalRouting)=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array (te_code=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (te_code=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(internalRouting,ir_id) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:96] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?97:99") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,99) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:99] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialpeerexten_2253") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'CALLERIDONATTENDED' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(CALLERIDONATTENDED) result is 'CALLERIDONATTENDED' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,DTMFVOLUME) result is 'on' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:248] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "DTMFVOLUME=on") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'DTMFVOLUME' is 'on' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:249] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "1?250:251") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-36,250) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:250] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "DTMF=p") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:251] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_fromotherpbx_1620") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'VOLUMERXLEVEL' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:252] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?253:254") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-36,254) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:254] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_fromotherpbx_1621") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'VOLUMETXLEVEL' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:255] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?256:257") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-36,257) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:257] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_fromotherpbx_1622") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'QUEUERING' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(QUEUERING) result is 'QUEUERING' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,CALLERIDONATTENDED) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:100] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "LOCAL(CALLERIDONATTENDED)=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'CALLERIDONATTENDED' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:101] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?102:103") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,103) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:103] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialpeerexten_2254") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'CLEAREDNUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:104] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Location number xxxxxxxxxx/xxxxxxxxxx in tenant 15") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'CLEAREDNUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' union SELECT 'MEETME' as tab, cr_id as code,cr_te_id as tenantid from cr_conferencerooms where cr_te_id='${SQL_ESC(${ARG1})}' and cr_number='${SQL_ESC(${ARG3})}' union SELECT 'QUEUE' as tab, qu_id as code,qu_te_id as tenantid from qu_queues where qu_te_id='${SQL_ESC(${ARG1})}' and qu_number='${SQL_ESC(${ARG3})}' union SELECT 'HUNTLIST' as tab, hu_id as code,hu_te_id as tenantid from hu_huntlists where hu_te_id='${SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'MEETME' as tab, cr_id as code,cr_te_id as tenantid from cr_conferencerooms where cr_te_id='${SQL_ESC(${ARG1})}' and cr_number='${SQL_ESC(${ARG3})}' union SELECT 'QUEUE' as tab, qu_id as code,qu_te_id as tenantid from qu_queues where qu_te_id='${SQL_ESC(${ARG1})}' and qu_number='${SQL_ESC(${ARG3})}' union SELECT 'HUNTLIST' as tab, hu_id as code,hu_te_id as tenantid from hu_huntlists where hu_te_id='${SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and cr_number='${SQL_ESC(${ARG3})}' union SELECT 'QUEUE' as tab, qu_id as code,qu_te_id as tenantid from qu_queues where qu_te_id='${SQL_ESC(${ARG1})}' and qu_number='${SQL_ESC(${ARG3})}' union SELECT 'HUNTLIST' as tab, hu_id as code,hu_te_id as tenantid from hu_huntlists where hu_te_id='${SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'QUEUE' as tab, qu_id as code,qu_te_id as tenantid from qu_queues where qu_te_id='${SQL_ESC(${ARG1})}' and qu_number='${SQL_ESC(${ARG3})}' union SELECT 'HUNTLIST' as tab, hu_id as code,hu_te_id as tenantid from hu_huntlists where hu_te_id='${SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and qu_number='${SQL_ESC(${ARG3})}' union SELECT 'HUNTLIST' as tab, hu_id as code,hu_te_id as tenantid from hu_huntlists where hu_te_id='${SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'HUNTLIST' as tab, hu_id as code,hu_te_id as tenantid from hu_huntlists where hu_te_id='${SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,QUEUERING) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:258] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "RINGINGTONE=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'RINGINGTONE' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:259] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?260:262") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-36,262) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:262] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_fromotherpbx_1623") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'RECORDINGFORMAT' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(RECORDINGFORMAT) result is 'RECORDINGFORMAT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,RECORDINGFORMAT) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:263] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "RECORDINGFORMAT=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'RECORDINGFORMAT' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:264] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "1?265:269") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-36,265) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(-1) result is '-1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'RECORDINGFORMAT' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(RECORDINGFORMAT) result is 'RECORDINGFORMAT' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'wav' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'wav' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'wav' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-1,RECORDINGFORMAT) result is 'wav' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:265] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "RECORDINGFORMAT=wav") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'RECORDINGFORMAT' is 'wav' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:266] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?267:268") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-36,268) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:268] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_if_fromotherpbx_1624_1625") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:269] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_fromotherpbx_1624") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'CTONANSWERID' is NULL [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:270] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?271:272") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-36,272) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:272] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_fromotherpbx_1626") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'membernumber' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:273] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__AGENTNUMBER=201") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'queueid' is '9' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:274] Gosub("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "FollowDestination,~~s~~,1(QUEUE-BEFORERINGING,9,)") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] app_stack.c: Setting 'ARG1' to 'QUEUE-BEFORERINGING' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] app_stack.c: Setting 'ARG2' to '9' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'QUEUE-BEFORERINGING' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:1] MSet("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "LOCAL(TYPE)=QUEUE-BEFORERINGING") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '9' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:2] MSet("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "LOCAL(ID)=9") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:3] MSet("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "LOCAL(PARAM1)=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TYPE' is 'QUEUE-BEFORERINGING' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ID' is '9' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'PARAM1' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ROUTINGPROFILE' is NULL [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:4] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Checking how many entries for the destination QUEUE-BEFORERINGING with code 9. PARAM1 is [] - ROUTING PROFILE is ") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TYPE' is 'QUEUE-BEFORERINGING' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ID' is '9' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and de_type_id_src='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'QUEUE-BEFORERINGING' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(QUEUE-BEFORERINGING) result is 'QUEUE-BEFORERINGING' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '9' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(9) result is '9' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 8 for column 'count(*)' (offset 0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function ODBC_COUNT_DEST(QUEUE-BEFORERINGING,9) result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:5] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "LOCAL(NDEST)=0") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'NDEST' is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:6] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Identified 0 entries") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'NDEST' is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:7] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?8:9") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (FollowDestination,~~s~~,9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:9] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_FollowDestination_419") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:10] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "LOCAL(niter)=0") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'NDEST' is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:11] MSet("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "niter=0") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'niter' is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:12] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?13:645") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (FollowDestination,~~s~~,645) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:645] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish for_FollowDestination_420") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:646] Return("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'membernumber' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'DIALTIMEOUT' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_calltimeout) result is '7200' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [AG-000-NF-36@fromotherpbx:275] Gosub("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "dialpeerexten,201,1(,,,7200)") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] app_stack.c: Setting 'ARG4' to '7200' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'PEERNAME' is '200-call' [2022-02-07 19:17:53] WARNING[4635][C-00000e4d] func_channel.c: Unknown or unavailable item requested: 'PEERNAME' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function CHANNEL(PEERNAME) result is '(null)' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function CALLERID(name) result is 'BEN' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '200' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function CDR(accountcode) result is 'call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TTL' is '97' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:1] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Received a call with PEERNAME set to 200-call from with callerid name BEN and callerid num 200 to number 201 for tenant call TENANTID is 15 TTL is 97") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'BLINDTRANSFER' is NULL [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:2] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?3:4") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:4] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_dialpeerexten_2234") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'ADDJITTERBUFFER' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(ADDJITTERBUFFER) result is 'ADDJITTERBUFFER' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,ADDJITTERBUFFER) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:5] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "addjitterbuffer=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'addjitterbuffer' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:6] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?7:8") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,8) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:8] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_dialpeerexten_2235") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:9] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?10:15") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,15) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:15] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_dialpeerexten_2236") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function STRFTIME(,,%H:%M:%S.%5q) result is '19:17:53.16917' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:16] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Now is 19:17:53.16917") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:17] Gosub("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "saveCallParams,~~s~~,1") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is NULL [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:1] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "1?2:3") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (saveCallParams,~~s~~,2) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:2] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "savedLevel=0") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:3] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_saveCallParams_1367") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:4] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "savedLevel=1") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'DIALOPTION' is 'Tt' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:5] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "savedDIALOPTION1=Tt") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'CONFIRM' is NULL [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:6] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "savedCONFIRM1=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'CONFIRMMD5' is 'pbx/9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:7] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "savedCONFIRMMD51=pbx/9486fbd9ec639aa19a505a653fe47324") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'NOFOLLOWEXTENSION' is 'yes' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:8] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "savedNOFOLLOWEXTENSION1=yes") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'NOFMFM' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:9] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "savedNOFMFM1=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ONLYFMFM' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:10] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "savedONLYFMFM1=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:11] Return("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:18] Gosub("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "checkTTL,~~s~~,1") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TTL' is '97' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:1] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?2:6") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (checkTTL,~~s~~,6) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:6] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_checkTTL_2129") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TTL' is '97' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '96' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:7] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "TTL=96") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TTL' is '96' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:8] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?9:13") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (checkTTL,~~s~~,13) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:13] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_checkTTL_2131") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'maxanychannels' is '-1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:14] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?15:16") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (checkTTL,~~s~~,16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:16] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_checkTTL_2132") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:17] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "GROUP(ANYTENANT)=15") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SYSTEMNAME' is 'db02' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function GROUP_COUNT(15@ANYTENANT) result is '3' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:18] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "ODBC_SET_GROUP_COUNT(15@ANYTENANT,db02)=3") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}','${SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15@ANYTENANT' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15@ANYTENANT) result is '15@ANYTENANT' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'db02' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02) result is 'db02' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '3' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(3) result is '3' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '3' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(3) result is '3' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'maxanychannels' is '-1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'maxanychannels' is '-1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:19] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?20:27") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (checkTTL,~~s~~,27) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:27] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_checkTTL_2133") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:28] Return("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:19] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "LOCAL(NUMBER)=201") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:20] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__TRANSFER_CONTEXT=authenticated") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'CHANNEL' is 'Local/AG-000-NF-36@fromotherpbx-00000d2e;2' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:21] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__ORIGCHANNEL=Local/AG-000-NF-36@fromotherpbx-00000d2e;2") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 7 for column 'te_code' (offset 0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function ODBC_ACCOUNTCODE_FROM_TENANTID(15) result is 'call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:22] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "LOCAL(TENANTCODE)=call") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TENANTCODE' is 'call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function LEN(call) result is '3' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:23] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "LOCAL(TENANTCODELEN)=3") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TENANTCODELEN' is '3' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TENANTCODE' is 'call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TENANTCODE' is 'call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:24] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?25:29") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,29) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:29] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "LOCAL(CLEAREDNUMBER)=201") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:30] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_dialpeerexten_2238") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TENANTCODE' is 'call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:31] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__PICKUPMARK=201-call") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:32] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Arg1 is ") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:33] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Arg2 is ") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:34] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Arg3 is ") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG4' is '7200' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:35] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Arg4 is 7200") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG5' is NULL [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:36] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Arg5 is ") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:37] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?38:39") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,39) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:39] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_dialpeerexten_2239") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'DIALEDNUMBER' is '900' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:40] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?41:42") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,42) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:42] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_dialpeerexten_2240") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:43] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "LASTDIALEDNUMBER=201") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:44] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?45:47") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,47) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:47] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?48:50") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,50) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:50] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?51:53") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,53) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:53] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_if_if_dialpeerexten_2241_2242_2243") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:54] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_if_dialpeerexten_2241_2242") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:55] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_dialpeerexten_2241") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:56] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?57:60") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,60) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:60] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_dialpeerexten_2244") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG4' is '7200' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:61] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "1?62:63") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,62) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'DIALOPTION' is 'Tt' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG4' is '7200' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:62] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "DIALOPTION=TtL(7200000)") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:63] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_dialpeerexten_2245") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG5' is NULL [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:64] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?65:66") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,66) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:66] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_dialpeerexten_2246") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG6' is NULL [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:67] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?68:78") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,78) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:78] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_dialpeerexten_2247") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function CDR(firstdst) result is '900' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:79] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?80:82") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,82) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'DIALEDPEERNUMBER' is NULL [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:82] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Checking to fix connected number to ") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'DIALEDPEERNUMBER' is NULL [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:83] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?84:86") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,86) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:86] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "CDR(lastdst)=201") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:87] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_if_dialpeerexten_2250_2251") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:88] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_dialpeerexten_2250") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'BLOCKDTMFTRANSFERS' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(BLOCKDTMFTRANSFERS) result is 'BLOCKDTMFTRANSFERS' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_LOCATE_NUMBER(15,xxxxxxxxxx,xxxxxxxxxx) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:105] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "ARRAY(table,code,locatedteid)=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array (table,code,locatedteid=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (table=) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (code=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (locatedteid=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:106] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__SIMPLEANSWERED=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'table' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:107] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?108:643") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,643) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'table' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:643] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?644:1145") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,1145) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'table' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:1145] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?1146:1708") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,1708) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'table' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:1708] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?1709:2271") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,2271) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'table' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:2271] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?2272:2275") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,2275) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'table' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:2275] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?2276:2279") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,2279) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'table' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:2279] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?2280:2283") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,2283) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'table' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:2283] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?2284:2287") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,2287) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'table' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:2287] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?2288:2293") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,2293) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'table' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:2293] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?2294:2335") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,2335) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'table' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:2335] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?2336:2341") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,2341) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'table' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:2341] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?2342:2362") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,2362) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'table' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:2362] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?2363:2386") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,2386) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'table' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:2386] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?2387:2420") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,2420) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:2420] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Number is an external call") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'X-OUTBOUND' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:2421] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?2422:2425") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,xxxxxxxxxx,2425) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'DIALTIMEOUT' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialpeerexten:2425] Gosub("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "dialoutbound,xxxxxxxxxx,1()") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?2:7") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,7) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:7] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialoutbound_1688") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:8] Gosub("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "checkTTL,~~s~~,1") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TTL' is '96' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:1] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?2:6") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (checkTTL,~~s~~,6) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:6] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_checkTTL_2129") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TTL' is '96' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '95' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:7] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "TTL=95") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TTL' is '95' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:8] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?9:13") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (checkTTL,~~s~~,13) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:13] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_checkTTL_2131") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'maxanychannels' is '-1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:14] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?15:16") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (checkTTL,~~s~~,16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:16] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_checkTTL_2132") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:17] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "GROUP(ANYTENANT)=15") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SYSTEMNAME' is 'db02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function GROUP_COUNT(15@ANYTENANT) result is '3' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:18] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "ODBC_SET_GROUP_COUNT(15@ANYTENANT,db02)=3") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}','${SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15@ANYTENANT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15@ANYTENANT) result is '15@ANYTENANT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'db02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02) result is 'db02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '3' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(3) result is '3' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '3' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(3) result is '3' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,BLOCKDTMFTRANSFERS) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:89] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "BLOCKDTMFTRANSFERS=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'BLOCKDTMFTRANSFERS' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:90] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "1?91:92") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,91) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'DIALOPTION' is 'TtL(7200000)' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:91] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "DIALOPTION=TtL(7200000)t") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:92] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_dialpeerexten_2252") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:93] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Checking internal routing number") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'ClearHash' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:94] ClearHash("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "internalRouting") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and '${SQL_ESC(${ARG2})}' regexp(ir_regexp) limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' regexp(ir_regexp) limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'maxanychannels' is '-1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'maxanychannels' is '-1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:19] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?20:27") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (checkTTL,~~s~~,27) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:27] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_checkTTL_2133") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:28] Return("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CALLERID(name) result is 'BEN' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ROUTINGPROFILE' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SMSROUTINGPROFILE' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'BLINDTRANSFER' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:9] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Received a request to go out to number xxxxxxxxxx from callerid num <200> and name Routing Profile is SMS Routing... is Blind transfer is ") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'BLINDCONNECTEDNUM' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:10] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?11:12") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,11) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:11] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__BLINDCONNECTEDNUM=xxxxxxxxxx") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:12] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialoutbound_1690") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:13] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__context=dialoutbound") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CDR(userfield) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:14] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "CDR(userfield)=[outbound]") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(-1) result is '-1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'ALLOWEDOUTBOUNDDIGITS' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(ALLOWEDOUTBOUNDDIGITS) result is 'ALLOWEDOUTBOUNDDIGITS' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function ODBC_GET_INTERNAL_ROUTE(15,201) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:95] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "HASH(internalRouting)=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array (te_code=) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (te_code=) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(internalRouting,ir_id) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:96] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?97:99") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,99) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:99] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_dialpeerexten_2253") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'CALLERIDONATTENDED' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(CALLERIDONATTENDED) result is 'CALLERIDONATTENDED' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0123456789*+#' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '0123456789*+#' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '0123456789*+#' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-1,ALLOWEDOUTBOUNDDIGITS) result is '0123456789*+#' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:15] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "ALLOWEDOUTBOUNDDIGITS=0123456789*+#") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ALLOWEDOUTBOUNDDIGITS' is '0123456789*+#' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,CALLERIDONATTENDED) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:100] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "LOCAL(CALLERIDONATTENDED)=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: c1=48, consumed=1, args.allowed=0123456789*+# [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: c1=49, consumed=1, args.allowed=123456789*+# [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: c1=50, consumed=1, args.allowed=23456789*+# [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: c1=51, consumed=1, args.allowed=3456789*+# [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: c1=52, consumed=1, args.allowed=456789*+# [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: c1=53, consumed=1, args.allowed=56789*+# [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: c1=54, consumed=1, args.allowed=6789*+# [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'CALLERIDONATTENDED' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: c1=55, consumed=1, args.allowed=789*+# [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: c1=56, consumed=1, args.allowed=89*+# [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: c1=57, consumed=1, args.allowed=9*+# [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: c1=42, consumed=1, args.allowed=*+# [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:101] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?102:103") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: c1=43, consumed=1, args.allowed=+# [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: c1=35, consumed=1, args.allowed=# [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: Allowed: #*+0123456789 [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function FILTER(0123456789*+#,xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,103) [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:16] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "LOCAL(NUMBER)=xxxxxxxxxx") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:103] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_dialpeerexten_2254") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'CLEAREDNUMBER' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:104] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Location number 201/201 in tenant 15") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'CLEAREDNUMBER' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' union SELECT 'MEETME' as tab, cr_id as code,cr_te_id as tenantid from cr_conferencerooms where cr_te_id='${SQL_ESC(${ARG1})}' and cr_number='${SQL_ESC(${ARG3})}' union SELECT 'QUEUE' as tab, qu_id as code,qu_te_id as tenantid from qu_queues where qu_te_id='${SQL_ESC(${ARG1})}' and qu_number='${SQL_ESC(${ARG3})}' union SELECT 'HUNTLIST' as tab, hu_id as code,hu_te_id as tenantid from hu_huntlists where hu_te_id='${SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'MEETME' as tab, cr_id as code,cr_te_id as tenantid from cr_conferencerooms where cr_te_id='${SQL_ESC(${ARG1})}' and cr_number='${SQL_ESC(${ARG3})}' union SELECT 'QUEUE' as tab, qu_id as code,qu_te_id as tenantid from qu_queues where qu_te_id='${SQL_ESC(${ARG1})}' and qu_number='${SQL_ESC(${ARG3})}' union SELECT 'HUNTLIST' as tab, hu_id as code,hu_te_id as tenantid from hu_huntlists where hu_te_id='${SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'NUMBER' (from 'NUMBER}' len 6) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and cr_number='${SQL_ESC(${ARG3})}' union SELECT 'QUEUE' as tab, qu_id as code,qu_te_id as tenantid from qu_queues where qu_te_id='${SQL_ESC(${ARG1})}' and qu_number='${SQL_ESC(${ARG3})}' union SELECT 'HUNTLIST' as tab, hu_id as code,hu_te_id as tenantid from hu_huntlists where hu_te_id='${SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function STRREPLACE(NUMBER,+,\+) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:17] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "LOCAL(REGEXNUMBER)=xxxxxxxxxx") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'QUEUE' as tab, qu_id as code,qu_te_id as tenantid from qu_queues where qu_te_id='${SQL_ESC(${ARG1})}' and qu_number='${SQL_ESC(${ARG3})}' union SELECT 'HUNTLIST' as tab, hu_id as code,hu_te_id as tenantid from hu_huntlists where hu_te_id='${SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and qu_number='${SQL_ESC(${ARG3})}' union SELECT 'HUNTLIST' as tab, hu_id as code,hu_te_id as tenantid from hu_huntlists where hu_te_id='${SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'PEERNAME' is '200-call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:18] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "PEERNAME is already set to 200-call") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'HUNTLIST' as tab, hu_id as code,hu_te_id as tenantid from hu_huntlists where hu_te_id='${SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIMPLEDIRECTION' is NULL [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:19] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?20:22") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,22) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '201' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CALLERID(name) result is 'BEN' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'EPOCH' is '1644254273' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TIMEZONE' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function STRFTIME(1644254273,,%Y-%m-%d %H:%M:%S) result is '2022-02-07 19:17:53' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'UNIQUEID' is 'db02-1644254272.72748' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:22] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "ODBC_LOG_CALL_START_SIMPLE("15","OUT","200","BEN","xxxxxxxxxx","2022-02-07 19:17:53")="db02-1644254272.72748"") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] WARNING[4637][C-00000e4d] pbx_variables.c: Please avoid unnecessary spaces on variables as it may lead to unexpected results ('ODBC_LOG_CALL_START_SIMPLE("15","OUT","200","BEN","xxxxxxxxxx","2022-02-07 19:17:53")' set to '"db02-1644254272.72748"'). [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}','${SQL_ESC(${ARG6})}','${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG4})}','${SQL_ESC(${ARG5})}','ACTIVE','${SQL_ESC(${VAL1})}')' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '201' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG6})' (from 'SQL_ESC(${ARG6})}','${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG4})}','${SQL_ESC(${ARG5})}','ACTIVE','${SQL_ESC(${VAL1})}')' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG6' (from 'ARG6})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG6' is '2022-02-07 19:17:53' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(2022-02-07 19:17:53) result is '2022-02-07 19:17:53' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG4})}','${SQL_ESC(${ARG5})}','ACTIVE','${SQL_ESC(${VAL1})}')' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'OUT' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '201' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(OUT) result is 'OUT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}','${SQL_ESC(${ARG4})}','${SQL_ESC(${ARG5})}','ACTIVE','${SQL_ESC(${VAL1})}')' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '200' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(200) result is '200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG4})' (from 'SQL_ESC(${ARG4})}','${SQL_ESC(${ARG5})}','ACTIVE','${SQL_ESC(${VAL1})}')' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG4' (from 'ARG4})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG4' is 'BEN' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(BEN) result is 'BEN' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG5})' (from 'SQL_ESC(${ARG5})}','ACTIVE','${SQL_ESC(${VAL1})}')' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG5' (from 'ARG5})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '201' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG5' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}')' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '201' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'VAL1' is 'db02-1644254272.72748' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02-1644254272.72748) result is 'db02-1644254272.72748' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6880f7900 from class 'asteriskcdrdb1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6880f7900 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:23] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialoutbound_1691") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:24] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?25:26") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,26) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:26] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialoutbound_1692") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'DIALTIMEOUT' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:27] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?28:29") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,28) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'DIALTIMEOUT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(DIALTIMEOUT) result is 'DIALTIMEOUT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '300' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '300' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '300' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,DIALTIMEOUT) result is '300' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:28] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "LOCAL(DIALTIMEOUT)=300") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:29] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialoutbound_1693") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'FAKERINGING' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(FAKERINGING) result is 'FAKERINGING' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,FAKERINGING) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:30] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "LOCAL(FAKERINGING)=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'FAKERINGING' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:31] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?32:33") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,33) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:33] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialoutbound_1694") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'SIPRemoveHeader' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:34] SIPRemoveHeader("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Alert-Info") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:35] Gosub("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "setpeername,~~s~~,1") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CHANNEL(channeltype) result is 'Local' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@setpeername:1] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Channel type is Local") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SETPEERNAME' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CDR(accountcode) result is 'call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@setpeername:2] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "SETPEERNAME is CDR(accountcode) is call") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'PEERNAME' is '200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@setpeername:3] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?4:63") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (setpeername,~~s~~,63) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@setpeername:63] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_setpeername_2825") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'REALPEERNAME' is '200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@setpeername:64] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?65:66") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (setpeername,~~s~~,66) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@setpeername:66] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_setpeername_2842") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'ClearHash' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@setpeername:67] ClearHash("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "VirtualPeer") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'PEERNAME' is '200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and vi_te_id='${SQL_ESC(${ARG1})}' and vi_name='${SQL_ESC(${ARG2})}' and ve_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ex_tech_id=ve_id and vi_ve_id=ve_id' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and vi_name='${SQL_ESC(${ARG2})}' and ve_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ex_tech_id=ve_id and vi_ve_id=ve_id' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' and ve_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ex_tech_id=ve_id and vi_ve_id=ve_id' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ex_tech_id=ve_id and vi_ve_id=ve_id' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_VIRTUALINFO_FROM_REALPEER(15,200-call) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@setpeername:68] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "HASH(VirtualPeer)=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array (se_value=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (se_value=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(VirtualPeer,ve_name) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@setpeername:69] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?70:71") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (setpeername,~~s~~,71) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@setpeername:71] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_setpeername_2843") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@setpeername:72] Return("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'QUEUELOGOUTBOUND' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(QUEUELOGOUTBOUND) result is 'QUEUELOGOUTBOUND' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 3 for column 'tab' (offset 0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'PJSIP' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'PJSIP' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 4 for column 'code' (offset 1) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '36' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'PJSIP,36' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 8 for column 'tenantid' (offset 2) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'PJSIP,36,15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'PJSIP,36,15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,QUEUELOGOUTBOUND) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:36] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "QUEUELOGOUTBOUND=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'QUEUELOGOUTBOUND' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:37] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?38:44") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function ODBC_LOCATE_NUMBER(15,201,201) result is 'PJSIP,36,15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:105] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "ARRAY(table,code,locatedteid)=PJSIP,36,15") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,44) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:44] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialoutbound_1695") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array (table,code,locatedteid=PJSIP,36,15) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (table=PJSIP) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (code=36) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (locatedteid=15) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:106] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__SIMPLEANSWERED=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'table' is 'PJSIP' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:107] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "1?108:643") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,108) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'CALLERIDONBLIND' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:108] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Number is a pjsip extension") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(CALLERIDONBLIND) result is 'CALLERIDONBLIND' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'CLEAREDNUMBER' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:109] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__SIMPLEANSWERED=201") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:110] Gosub("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "checkExtensionDialing,~~s~~,1") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'PEERNAME' is '200-call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' union select ex_number from ex_extensions,ve_virtualextensions where ex_tech='VIRTUAL' and ex_tech_id=ve_id and ve_name='${SQL_ESC(${ARG1})}' union select ex_number from ex_extensions,ps_endpoints where ex_tech='PJSIP' and ex_tech_id=tech_id and id='${SQL_ESC(${ARG1})}' union select ex_number from ex_extensions,ce_customextensions where ex_tech='CUSTOM' and ex_tech_id=ce_id and ce_peername='${SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' union select ex_number from ex_extensions,ps_endpoints where ex_tech='PJSIP' and ex_tech_id=tech_id and id='${SQL_ESC(${ARG1})}' union select ex_number from ex_extensions,ce_customextensions where ex_tech='CUSTOM' and ex_tech_id=ce_id and ce_peername='${SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' union select ex_number from ex_extensions,ce_customextensions where ex_tech='CUSTOM' and ex_tech_id=ce_id and ce_peername='${SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'ORIGINAL' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'ORIGINAL' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'ORIGINAL' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,CALLERIDONBLIND) result is 'ORIGINAL' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:45] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "LOCAL(CALLERIDONBLIND)=ORIGINAL") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ALWAYSRECORD' is 'externalchange' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:46] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?47:57") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,47) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'BLINDTRANSFER' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:47] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?48:54") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,48) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:48] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__DYNAMIC_FEATURES=FromInsideStopMixMonitor#FromInsideStartMixMonitor") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'MIXMONITORID' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:49] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?50:52") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,50) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'MIXMONITOR_FILENAME' is 'db02-1644254244.72696.wav' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'MIXMONITOROPTION' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'MixMonitor' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:50] MixMonitor("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "db02-1644254244.72696.wav,abi(MIXMONITORID)") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 9 for column 'ex_number' (offset 0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] autochan.c: Created autochan 0x7fe640003f30 to hold channel Local/AG-000-CC-538@fromotherpbx-00000d30;2 (0x7fe64c0517e0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '200' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '200' [2022-02-07 19:17:53] VERBOSE[4640][C-00000e4d] app_mixmonitor.c: Begin MixMonitor Recording Local/AG-000-CC-538@fromotherpbx-00000d30;2 [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SYSTEMNAME' is 'db02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'CHANNEL' is 'Local/AG-000-CC-538@fromotherpbx-00000d30;2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'CDRcallUniqueID' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'MIXMONITORID' is '0x7fe6400100c0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:51] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "ODBC_LOG_RECORDING_START(db02,Local/AG-000-CC-538@fromotherpbx-00000d30;2,oraclepbx-1644254244.1743648)=0x7fe6400100c0") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}','${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}','${SQL_ESC(${VAL1})}',NOW())' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'db02' [2022-02-07 19:17:53] DEBUG[4640][C-00000e4d] audiohook.c: Read factory 0x7fe640121738 and write factory 0x7fe640122178 both fail to provide 160 samples [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02) result is 'db02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}','${SQL_ESC(${VAL1})}',NOW())' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'Local/AG-000-CC-538@fromotherpbx-00000d30;2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(Local/AG-000-CC-538@fromotherpbx-00000d30;2) result is 'Local/AG-000-CC-538@fromotherpbx-00000d30;2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}','${SQL_ESC(${VAL1})}',NOW())' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(oraclepbx-1644254244.1743648) result is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}',NOW())' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '0x7fe6400100c0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(0x7fe6400100c0) result is '0x7fe6400100c0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function ODBC_GET_PEEREXTEN(200-call) result is '200' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@checkExtensionDialing:1] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "PEEREXTEN=200") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'PEEREXTEN' is '200' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@checkExtensionDialing:2] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "1?3:23") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (checkExtensionDialing,~~s~~,3) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'EXTENSIONDIALING' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(EXTENSIONDIALING) result is 'EXTENSIONDIALING' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'Ignore' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'Ignore' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'Ignore' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:52] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_dialoutbound_1697_1698_1699") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:53] Goto("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "55") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,55) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:55] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_dialoutbound_1697_1698") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:56] Goto("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "69") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,69) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:69] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialoutbound_1697") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(-1) result is '-1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'TRUNKPREFIX' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(TRUNKPREFIX) result is 'TRUNKPREFIX' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,EXTENSIONDIALING) result is 'Ignore' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@checkExtensionDialing:3] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "EXTDIALING=Ignore") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'EXTDIALING' is 'Ignore' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@checkExtensionDialing:4] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?5:13") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (checkExtensionDialing,~~s~~,13) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'EXTDIALING' is 'Ignore' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@checkExtensionDialing:13] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?14:21") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (checkExtensionDialing,~~s~~,21) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@checkExtensionDialing:21] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_if_if_checkExtensionDialing_2229_2230_2232") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@checkExtensionDialing:22] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_if_checkExtensionDialing_2229_2230") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@checkExtensionDialing:23] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_checkExtensionDialing_2229") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@checkExtensionDialing:24] Return("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'ClearHash' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:111] ClearHash("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "PJSIPPEER") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-1,TRUNKPREFIX) result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ps_endpoints.te_id='${SQL_ESC(${ARG1})}' and te_tenants.te_id='${SQL_ESC(${ARG1})}' and ( ex_number='${SQL_ESC(${ARG2})}' or ps_endpoints.id='${SQL_ESC(${ARG2})}' or concat(ex_number,te_code)='${SQL_ESC(${ARG2})}' ) and ex_tech='PJSIP' and ex_tech_id=tech_id' len 16) [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:70] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__TRUNKPREFIX=0") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and te_tenants.te_id='${SQL_ESC(${ARG1})}' and ( ex_number='${SQL_ESC(${ARG2})}' or ps_endpoints.id='${SQL_ESC(${ARG2})}' or concat(ex_number,te_code)='${SQL_ESC(${ARG2})}' ) and ex_tech='PJSIP' and ex_tech_id=tech_id' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ( ex_number='${SQL_ESC(${ARG2})}' or ps_endpoints.id='${SQL_ESC(${ARG2})}' or concat(ex_number,te_code)='${SQL_ESC(${ARG2})}' ) and ex_tech='PJSIP' and ex_tech_id=tech_id' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' or ps_endpoints.id='${SQL_ESC(${ARG2})}' or concat(ex_number,te_code)='${SQL_ESC(${ARG2})}' ) and ex_tech='PJSIP' and ex_tech_id=tech_id' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '201' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(-1) result is '-1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'INTERNATIONALPREFIX' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(INTERNATIONALPREFIX) result is 'INTERNATIONALPREFIX' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' or concat(ex_number,te_code)='${SQL_ESC(${ARG2})}' ) and ex_tech='PJSIP' and ex_tech_id=tech_id' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' ) and ex_tech='PJSIP' and ex_tech_id=tech_id' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201) result is '201' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '00' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '00' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '00' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-1,INTERNATIONALPREFIX) result is '00' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:71] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__INTERNATIONALPREFIX=00") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'PEERNAME' is '200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'CALLERIDONBLIND' is 'ORIGINAL' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'INCOMINGDID' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'VALIDCALLERID' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:72] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?73:75") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,75) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'ClearHash' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:75] ClearHash("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "peerdetail") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'PEERNAME' is '200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' union select ex_id,ex_te_id,ex_name,ex_tech,ex_number,ex_trunk,ex_tech_id,ex_cidnum,ex_smscidnum,ex_cidname,ex_blockcid,ex_prefix,ex_regexprefix,ex_fmfmstatus,ex_fmfmnumber,ex_fmfmdialtimeout,ex_fmfmdialmethod,ex_fmfmcallerid,ex_fmfmnumprefix,ex_fmfmnameprefix,ex_recording,ex_dialtimeout,ex_unconditionalstatus,ex_onbusystatus,ex_onofflinestatus,ex_onnoanswerstatus,ex_callallowed,ex_destallowregex,ex_rp_id,ex_sms_rp_id,ex_dnd,ex_emergencycidnum,ex_emailrecording,ex_fmfmconfirm,ex_fmfmconfirmmessage_id,ex_minemailrecording,ex_trunkcidoverride,ex_trunkemergencycidoverride,ex_trunkcidsource,ex_fmfmholdmessage_id,ex_notifymissingemail,ex_ignoreinternalmissed,ex_txvolume,ex_rxvolume,ex_mu_id,ex_faxgateway,ex_faxalert,ex_trunkdid,ex_fmfmdelay,ex_abusedetection,ex_callwaiting,ex_costlimits,ex_dailycostlimit,ex_dailycostlimitdom,ex_dailycostlimitint,ex_routecostlimit,ex_monthlycostlimit,ex_monthlycostlimitdom,ex_monthlycostlimitint,ex_monthlycostwarning,ex_monthlycostwarningdom,ex_monthlycostwarningint,ex_dailycostwarning,ex_dailycostwarningdom,ex_dailycostwarningint,ex_cl_id,'' as language,ex_fromfilterregex,ex_spygroups,ex_rp_id,ex_sms_rp_id,ex_outboundtimeout,ex_useragentsecurity,ex_useragentallowed,ex_calleridregexsamesms,ex_prefixdefault,ex_regexprefixdefault,ex_parkinglot,ex_emergencynotes from ex_extensions,ve_virtualextensions where ex_tech='VIRTUAL' and ex_tech_id=ve_id and ve_name='${SQL_ESC(${ARG1})}' union select ex_id,ex_te_id,ex_name,ex_tech,ex_number,ex_trunk,ex_tech_id,ex_cidnum,ex_smscidnum,ex_cidname,ex_blockcid,ex_prefix,ex_regexprefix,ex_fmfmstatus,ex_fmfmnumber,ex_fmfmdialtimeout,ex_fmfmdialmethod,ex_fmfmcallerid,ex_fmfmnumprefix,ex_fmfmnameprefix,ex_recording,ex_dialtimeout,ex_unconditionalstatus,ex_onbusystatus,ex_onofflinestatus,ex_onnoanswerstatus,ex_callallowed,ex_destallowregex,ex_rp_id,ex_sms_rp_id,ex_dnd,ex_emergencycidnum,ex_emailrecording,ex_fmfmconfirm,ex_fmfmconfirmmessage_id,ex_minemailrecording,ex_trunkcidoverride,ex_trunkemergencycidoverride,ex_trunkcidsource,ex_fmfmholdmessage_id,ex_notifymissingemail,ex_ignoreinternalmissed,ex_txvolume,ex_rxvolume,ex_mu_id,ex_faxgateway,ex_faxalert,ex_trunkdid,ex_fmfmdelay,ex_abusedetection,ex_callwaiting,ex_costlimits,ex_dailycostlimit,ex_dailycostlimitdom,ex_dailycostlimitint,ex_routecostlimit,ex_monthlycostlimit,ex_monthlycostlimitdom,ex_monthlycostlimitint,ex_monthlycostwarning,ex_monthlycostwarningdom,ex_monthlycostwarningint,ex_dailycostwarning,ex_dailycostwarningdom,ex_dailycostwarningint,ex_cl_id,ps_endpoints.language as language,ex_fromfilterregex,ex_spygroups,ex_rp_id,ex_sms_rp_id,ex_outboundtimeout,ex_useragentsecurity,ex_useragentallowed,ex_calleridregexsamesms,ex_prefixdefault,ex_regexprefixdefault,ex_parkinglot,ex_emergencynotes from ex_extensions,ps_endpoints where ex_tech='PJSIP' and ex_tech_id=tech_id and id='${SQL_ESC(${ARG1})}' union select ex_id,ex_te_id,ex_name,ex_tech,ex_number,ex_trunk,ex_tech_id,ex_cidnum,ex_smscidnum,ex_cidname,ex_blockcid,ex_prefix,ex_regexprefix,ex_fmfmstatus,ex_fmfmnumber,ex_fmfmdialtimeout,ex_fmfmdialmethod,ex_fmfmcallerid,ex_fmfmnumprefix,ex_fmfmnameprefix,ex_recording,ex_dialtimeout,ex_unconditionalstatus,ex_onbusystatus,ex_onofflinestatus,ex_onnoanswerstatus,ex_callallowed,ex_destallowregex,ex_rp_id,ex_sms_rp_id,ex_dnd,ex_emergencycidnum,ex_emailrecording,ex_fmfmconfirm,ex_fmfmconfirmmessage_id,ex_minemailrecording,ex_trunkcidoverride,ex_trunkemergencycidoverride,ex_trunkcidsource,ex_fmfmholdmessage_id,ex_notifymissingemail,ex_ignoreinternalmissed,ex_txvolume,ex_rxvolume,ex_mu_id,ex_faxgateway,ex_faxalert,ex_trunkdid,ex_fmfmdelay,ex_abusedetection,ex_callwaiting,ex_costlimits,ex_dailycostlimit,ex_dailycostlimitdom,ex_dailycostlimitint,ex_routecostlimit,ex_monthlycostlimit,ex_monthlycostlimitdom,ex_monthlycostlimitint,ex_monthlycostwarning,ex_monthlycostwarningdom,ex_monthlycostwarningint,ex_dailycostwarning,ex_dailycostwarningdom,ex_dailycostwarningint,ex_cl_id,'' as language,ex_fromfilterregex,ex_spygroups,ex_rp_id,ex_sms_rp_id,ex_outboundtimeout,ex_useragentsecurity,ex_useragentallowed,ex_calleridregexsamesms,ex_prefixdefault,ex_regexprefixdefault,ex_parkinglot,ex_emergencynotes from ex_extensions,ce_customextensions where ex_tech='CUSTOM' and ex_tech_id=ce_id and ce_peername='${SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 10 for column 'reg_server' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'oraclepbx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' union select ex_id,ex_te_id,ex_name,ex_tech,ex_number,ex_trunk,ex_tech_id,ex_cidnum,ex_smscidnum,ex_cidname,ex_blockcid,ex_prefix,ex_regexprefix,ex_fmfmstatus,ex_fmfmnumber,ex_fmfmdialtimeout,ex_fmfmdialmethod,ex_fmfmcallerid,ex_fmfmnumprefix,ex_fmfmnameprefix,ex_recording,ex_dialtimeout,ex_unconditionalstatus,ex_onbusystatus,ex_onofflinestatus,ex_onnoanswerstatus,ex_callallowed,ex_destallowregex,ex_rp_id,ex_sms_rp_id,ex_dnd,ex_emergencycidnum,ex_emailrecording,ex_fmfmconfirm,ex_fmfmconfirmmessage_id,ex_minemailrecording,ex_trunkcidoverride,ex_trunkemergencycidoverride,ex_trunkcidsource,ex_fmfmholdmessage_id,ex_notifymissingemail,ex_ignoreinternalmissed,ex_txvolume,ex_rxvolume,ex_mu_id,ex_faxgateway,ex_faxalert,ex_trunkdid,ex_fmfmdelay,ex_abusedetection,ex_callwaiting,ex_costlimits,ex_dailycostlimit,ex_dailycostlimitdom,ex_dailycostlimitint,ex_routecostlimit,ex_monthlycostlimit,ex_monthlycostlimitdom,ex_monthlycostlimitint,ex_monthlycostwarning,ex_monthlycostwarningdom,ex_monthlycostwarningint,ex_dailycostwarning,ex_dailycostwarningdom,ex_dailycostwarningint,ex_cl_id,ps_endpoints.language as language,ex_fromfilterregex,ex_spygroups,ex_rp_id,ex_sms_rp_id,ex_outboundtimeout,ex_useragentsecurity,ex_useragentallowed,ex_calleridregexsamesms,ex_prefixdefault,ex_regexprefixdefault,ex_parkinglot,ex_emergencynotes from ex_extensions,ps_endpoints where ex_tech='PJSIP' and ex_tech_id=tech_id and id='${SQL_ESC(${ARG1})}' union select ex_id,ex_te_id,ex_name,ex_tech,ex_number,ex_trunk,ex_tech_id,ex_cidnum,ex_smscidnum,ex_cidname,ex_blockcid,ex_prefix,ex_regexprefix,ex_fmfmstatus,ex_fmfmnumber,ex_fmfmdialtimeout,ex_fmfmdialmethod,ex_fmfmcallerid,ex_fmfmnumprefix,ex_fmfmnameprefix,ex_recording,ex_dialtimeout,ex_unconditionalstatus,ex_onbusystatus,ex_onofflinestatus,ex_onnoanswerstatus,ex_callallowed,ex_destallowregex,ex_rp_id,ex_sms_rp_id,ex_dnd,ex_emergencycidnum,ex_emailrecording,ex_fmfmconfirm,ex_fmfmconfirmmessage_id,ex_minemailrecording,ex_trunkcidoverride,ex_trunkemergencycidoverride,ex_trunkcidsource,ex_fmfmholdmessage_id,ex_notifymissingemail,ex_ignoreinternalmissed,ex_txvolume,ex_rxvolume,ex_mu_id,ex_faxgateway,ex_faxalert,ex_trunkdid,ex_fmfmdelay,ex_abusedetection,ex_callwaiting,ex_costlimits,ex_dailycostlimit,ex_dailycostlimitdom,ex_dailycostlimitint,ex_routecostlimit,ex_monthlycostlimit,ex_monthlycostlimitdom,ex_monthlycostlimitint,ex_monthlycostwarning,ex_monthlycostwarningdom,ex_monthlycostwarningint,ex_dailycostwarning,ex_dailycostwarningdom,ex_dailycostwarningint,ex_cl_id,'' as language,ex_fromfilterregex,ex_spygroups,ex_rp_id,ex_sms_rp_id,ex_outboundtimeout,ex_useragentsecurity,ex_useragentallowed,ex_calleridregexsamesms,ex_prefixdefault,ex_regexprefixdefault,ex_parkinglot,ex_emergencynotes from ex_extensions,ce_customextensions where ex_tech='CUSTOM' and ex_tech_id=ce_id and ce_peername='${SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 2 for column 'id' (offset 1) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '201-call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 5 for column 'ex_id' (offset 2) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '36' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' union select ex_id,ex_te_id,ex_name,ex_tech,ex_number,ex_trunk,ex_tech_id,ex_cidnum,ex_smscidnum,ex_cidname,ex_blockcid,ex_prefix,ex_regexprefix,ex_fmfmstatus,ex_fmfmnumber,ex_fmfmdialtimeout,ex_fmfmdialmethod,ex_fmfmcallerid,ex_fmfmnumprefix,ex_fmfmnameprefix,ex_recording,ex_dialtimeout,ex_unconditionalstatus,ex_onbusystatus,ex_onofflinestatus,ex_onnoanswerstatus,ex_callallowed,ex_destallowregex,ex_rp_id,ex_sms_rp_id,ex_dnd,ex_emergencycidnum,ex_emailrecording,ex_fmfmconfirm,ex_fmfmconfirmmessage_id,ex_minemailrecording,ex_trunkcidoverride,ex_trunkemergencycidoverride,ex_trunkcidsource,ex_fmfmholdmessage_id,ex_notifymissingemail,ex_ignoreinternalmissed,ex_txvolume,ex_rxvolume,ex_mu_id,ex_faxgateway,ex_faxalert,ex_trunkdid,ex_fmfmdelay,ex_abusedetection,ex_callwaiting,ex_costlimits,ex_dailycostlimit,ex_dailycostlimitdom,ex_dailycostlimitint,ex_routecostlimit,ex_monthlycostlimit,ex_monthlycostlimitdom,ex_monthlycostlimitint,ex_monthlycostwarning,ex_monthlycostwarningdom,ex_monthlycostwarningint,ex_dailycostwarning,ex_dailycostwarningdom,ex_dailycostwarningint,ex_cl_id,'' as language,ex_fromfilterregex,ex_spygroups,ex_rp_id,ex_sms_rp_id,ex_outboundtimeout,ex_useragentsecurity,ex_useragentallowed,ex_calleridregexsamesms,ex_prefixdefault,ex_regexprefixdefault,ex_parkinglot,ex_emergencynotes from ex_extensions,ce_customextensions where ex_tech='CUSTOM' and ex_tech_id=ce_id and ce_peername='${SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 8 for column 'ex_te_id' (offset 3) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 7 for column 'ex_name' (offset 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'JACK' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 7 for column 'ex_tech' (offset 5) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'PJSIP' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 9 for column 'ex_number' (offset 6) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 8 for column 'ex_trunk' (offset 7) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 10 for column 'ex_tech_id' (offset 8) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '81' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 9 for column 'ex_cidnum' (offset 9) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0000000000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 12 for column 'ex_smscidnum' (offset 10) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 10 for column 'ex_cidname' (offset 11) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 11 for column 'ex_blockcid' (offset 12) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 9 for column 'ex_prefix' (offset 13) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '08' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 14 for column 'ex_regexprefix' (offset 14) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '^[0-9]{7,7}$' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 13 for column 'ex_fmfmstatus' (offset 15) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 13 for column 'ex_fmfmnumber' (offset 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '000000000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 18 for column 'ex_fmfmdialtimeout' (offset 17) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '25' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 17 for column 'ex_fmfmdialmethod' (offset 18) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'Simultaneous' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 15 for column 'ex_fmfmcallerid' (offset 19) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'ORIGINAL' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 16 for column 'ex_fmfmnumprefix' (offset 20) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 17 for column 'ex_fmfmnameprefix' (offset 21) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 12 for column 'ex_recording' (offset 22) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'yes' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 14 for column 'ex_dialtimeout' (offset 23) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '30' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 22 for column 'ex_unconditionalstatus' (offset 24) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 15 for column 'ex_onbusystatus' (offset 25) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 18 for column 'ex_onofflinestatus' (offset 26) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 19 for column 'ex_onnoanswerstatus' (offset 27) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 20 for column 'ex_onconditionstatus' (offset 28) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 17 for column 'ex_oncondition_id' (offset 29) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 14 for column 'ex_callallowed' (offset 30) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'all' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 17 for column 'ex_destallowregex' (offset 31) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 8 for column 'ex_rp_id' (offset 32) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '81' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 6 for column 'ex_dnd' (offset 33) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 18 for column 'ex_emergencycidnum' (offset 34) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 17 for column 'ex_emailrecording' (offset 35) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 14 for column 'ex_fmfmconfirm' (offset 36) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 24 for column 'ex_fmfmconfirmmessage_id' (offset 37) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '16' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 20 for column 'ex_minemailrecording' (offset 38) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 19 for column 'ex_trunkcidoverride' (offset 39) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'both' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 28 for column 'ex_trunkemergencycidoverride' (offset 40) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'number' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 17 for column 'ex_trunkcidsource' (offset 41) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'auto' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 21 for column 'ex_fmfmholdmessage_id' (offset 42) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '-1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 21 for column 'ex_notifymissingemail' (offset 43) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'JACK@call.co' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1,JACK@call.co' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 23 for column 'ex_ignoreinternalmissed' (offset 44) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1,JACK@call.co,on' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 11 for column 'ex_txvolume' (offset 45) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1,JACK@call.co,on,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 11 for column 'ex_rxvolume' (offset 46) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1,JACK@call.co,on,,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 8 for column 'ex_mu_id' (offset 47) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1,JACK@call.co,on,,,0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 13 for column 'ex_faxgateway' (offset 48) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'no' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1,JACK@call.co,on,,,0,no' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 11 for column 'ex_faxalert' (offset 49) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1,JACK@call.co,on,,,0,no,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 11 for column 'ex_trunkdid' (offset 50) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1,JACK@call.co,on,,,0,no,,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 12 for column 'ex_fmfmdelay' (offset 51) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1,JACK@call.co,on,,,0,no,,,0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 17 for column 'ex_abusedetection' (offset 52) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1,JACK@call.co,on,,,0,no,,,0,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 14 for column 'ex_callwaiting' (offset 53) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1,JACK@call.co,on,,,0,no,,,0,,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 13 for column 'ex_autoanswer' (offset 54) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1,JACK@call.co,on,,,0,no,,,0,,,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 13 for column 'ex_costlimits' (offset 55) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1,JACK@call.co,on,,,0,no,,,0,,,,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 17 for column 'ex_dailycostlimit' (offset 56) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1,JACK@call.co,on,,,0,no,,,0,,,,,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 20 for column 'ex_dailycostlimitdom' (offset 57) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1,JACK@call.co,on,,,0,no,,,0,,,,,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 20 for column 'ex_dailycostlimitint' (offset 58) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1,JACK@call.co,on,,,0,no,,,0,,,,,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 17 for column 'ex_routecostlimit' (offset 59) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1,JACK@call.co,on,,,0,no,,,0,,,,,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 19 for column 'ex_monthlycostlimit' (offset 60) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1,JACK@call.co,on,,,0,no,,,0,,,,,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 22 for column 'ex_monthlycostlimitdom' (offset 61) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1,JACK@call.co,on,,,0,no,,,0,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 22 for column 'ex_monthlycostlimitint' (offset 62) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1,JACK@call.co,on,,,0,no,,,0,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 21 for column 'ex_monthlycostwarning' (offset 63) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1,JACK@call.co,on,,,0,no,,,0,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 24 for column 'ex_monthlycostwarningdom' (offset 64) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1,JACK@call.co,on,,,0,no,,,0,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 24 for column 'ex_monthlycostwarningint' (offset 65) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1,JACK@call.co,on,,,0,no,,,0,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 19 for column 'ex_dailycostwarning' (offset 66) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1,JACK@call.co,on,,,0,no,,,0,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 22 for column 'ex_dailycostwarningdom' (offset 67) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1,JACK@call.co,on,,,0,no,,,0,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 22 for column 'ex_dailycostwarningint' (offset 68) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1,JACK@call.co,on,,,0,no,,,0,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 8 for column 'ex_cl_id' (offset 69) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1,JACK@call.co,on,,,0,no,,,0,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 2 for column 'id' (offset 70) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '201-call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1,JACK@call.co,on,,,0,no,,,0,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,201-call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 18 for column 'ex_inboundblockcid' (offset 71) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1,JACK@call.co,on,,,0,no,,,0,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,201-call,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 22 for column 'ex_inboundblockcidname' (offset 72) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1,JACK@call.co,on,,,0,no,,,0,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,201-call,,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 18 for column 'ex_outboundtimeout' (offset 73) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1,JACK@call.co,on,,,0,no,,,0,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,201-call,,,0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 16 for column 'ex_prefixdefault' (offset 74) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1,JACK@call.co,on,,,0,no,,,0,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,201-call,,,0,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 21 for column 'ex_regexprefixdefault' (offset 75) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1,JACK@call.co,on,,,0,no,,,0,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,201-call,,,0,,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1,JACK@call.co,on,,,0,no,,,0,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,201-call,,,0,,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function ODBC_PJSIPDEVICEINFO_FROM_NUMBER(15,201) result is 'oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1,JACK@call.co,on,,,0,no,,,0,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,201-call,,,0,,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:112] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "HASH(PJSIPPEER)=oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1,JACK@call.co,on,,,0,no,,,0,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,201-call,,,0,,") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array (reg_server,id,ex_id,ex_te_id,ex_name,ex_tech,ex_number,ex_trunk,ex_tech_id,ex_cidnum,ex_smscidnum,ex_cidname,ex_blockcid,ex_prefix,ex_regexprefix,ex_fmfmstatus,ex_fmfmnumber,ex_fmfmdialtimeout,ex_fmfmdialmethod,ex_fmfmcallerid,ex_fmfmnumprefix,ex_fmfmnameprefix,ex_recording,ex_dialtimeout,ex_unconditionalstatus,ex_onbusystatus,ex_onofflinestatus,ex_onnoanswerstatus,ex_onconditionstatus,ex_oncondition_id,ex_callallowed,ex_destallowregex,ex_rp_id,ex_dnd,ex_emergencycidnum,ex_emailrecording,ex_fmfmconfirm,ex_fmfmconfirmmessage_id,ex_minemailrecording,ex_trunkcidoverride,ex_trunkemergencycidoverride,ex_trunkcidsource,ex_fmfmholdmessage_id,ex_notifymissingemail,ex_ignoreinternalmissed,ex_txvolume,ex_rxvolume,ex_mu_id,ex_faxgateway,ex_faxalert,ex_trunkdid,ex_fmfmdelay,ex_abusedetection,ex_callwaiting,ex_autoanswer,ex_costlimits,ex_dailycostlimit,ex_dailycostlimitdom,ex_dailycostlimitint,ex_routecostlimit,ex_monthlycostlimit,ex_monthlycostlimitdom,ex_monthlycostlimitint,ex_monthlycostwarning,ex_monthlycostwarningdom,ex_monthlycostwarningint,ex_dailycostwarning,ex_dailycostwarningdom,ex_dailycostwarningint,ex_cl_id,id,ex_inboundblockcid,ex_inboundblockcidname,ex_outboundtimeout,ex_prefixdefault,ex_regexprefixdefault=oraclepbx,201-call,36,15,JACK,PJSIP,201,,81,0000000000,,,,08,^[0-9]{7\,7}$,,000000000,25,Simultaneous,ORIGINAL,,,yes,30,,,,on,,0,all,,81,,,,on,16,0,both,number,auto,-1,JACK@call.co,on,,,0,no,,,0,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,201-call,,,0,,) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (reg_server=oraclepbx) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (id=201-call) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_id=36) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_te_id=15) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_name=JACK) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_tech=PJSIP) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_number=201) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_trunk=) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_tech_id=81) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_cidnum=0000000000) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_smscidnum=) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_cidname=) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_blockcid=) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_prefix=08) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_regexprefix=^[0-9]{7,7}$) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_fmfmstatus=) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_fmfmnumber=000000000) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_fmfmdialtimeout=25) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_fmfmdialmethod=Simultaneous) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_fmfmcallerid=ORIGINAL) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_fmfmnumprefix=) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_fmfmnameprefix=) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_recording=yes) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_dialtimeout=30) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_unconditionalstatus=) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_onbusystatus=) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_onofflinestatus=) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_onnoanswerstatus=on) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_onconditionstatus=) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_oncondition_id=0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_callallowed=all) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_destallowregex=) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_rp_id=81) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_dnd=) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_emergencycidnum=) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_emailrecording=) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_fmfmconfirm=on) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_fmfmconfirmmessage_id=16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_minemailrecording=0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_trunkcidoverride=both) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_trunkemergencycidoverride=number) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_trunkcidsource=auto) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 5 for column 'ex_id' (offset 0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_fmfmholdmessage_id=-1) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '35' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'ex_te_id' (offset 1) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_notifymissingemail=JACK@call.co) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 7 for column 'ex_name' (offset 2) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'BEN' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 7 for column 'ex_tech' (offset 3) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'PJSIP' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 9 for column 'ex_number' (offset 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'ex_trunk' (offset 5) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 10 for column 'ex_tech_id' (offset 6) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_ignoreinternalmissed=on) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '2706' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_txvolume=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 9 for column 'ex_cidnum' (offset 7) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '722280800' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 12 for column 'ex_smscidnum' (offset 8) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_rxvolume=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 10 for column 'ex_cidname' (offset 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 11 for column 'ex_blockcid' (offset 10) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_mu_id=0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 9 for column 'ex_prefix' (offset 11) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 14 for column 'ex_regexprefix' (offset 12) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '^[0-9]{7,7}$' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_faxgateway=no) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 13 for column 'ex_fmfmstatus' (offset 13) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 13 for column 'ex_fmfmnumber' (offset 14) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_faxalert=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 18 for column 'ex_fmfmdialtimeout' (offset 15) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '30' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 17 for column 'ex_fmfmdialmethod' (offset 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'Simultaneous' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 15 for column 'ex_fmfmcallerid' (offset 17) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'ORIGINAL' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 16 for column 'ex_fmfmnumprefix' (offset 18) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_trunkdid=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 17 for column 'ex_fmfmnameprefix' (offset 19) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 12 for column 'ex_recording' (offset 20) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'yes' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 14 for column 'ex_dialtimeout' (offset 21) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_fmfmdelay=0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '20' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 22 for column 'ex_unconditionalstatus' (offset 22) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_abusedetection=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 15 for column 'ex_onbusystatus' (offset 23) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_callwaiting=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 18 for column 'ex_onofflinestatus' (offset 24) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_autoanswer=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 19 for column 'ex_onnoanswerstatus' (offset 25) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_costlimits=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 14 for column 'ex_callallowed' (offset 26) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'all' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_dailycostlimit=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 17 for column 'ex_destallowregex' (offset 27) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'ex_rp_id' (offset 28) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_dailycostlimitdom=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 12 for column 'ex_sms_rp_id' (offset 29) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 6 for column 'ex_dnd' (offset 30) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_dailycostlimitint=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 18 for column 'ex_emergencycidnum' (offset 31) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_routecostlimit=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 17 for column 'ex_emailrecording' (offset 32) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_monthlycostlimit=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 14 for column 'ex_fmfmconfirm' (offset 33) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 24 for column 'ex_fmfmconfirmmessage_id' (offset 34) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '16' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_monthlycostlimitdom=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 20 for column 'ex_minemailrecording' (offset 35) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 19 for column 'ex_trunkcidoverride' (offset 36) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_monthlycostlimitint=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'both' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 28 for column 'ex_trunkemergencycidoverride' (offset 37) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_monthlycostwarning=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'number' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 17 for column 'ex_trunkcidsource' (offset 38) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'auto' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 21 for column 'ex_fmfmholdmessage_id' (offset 39) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '-1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_monthlycostwarningdom=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 21 for column 'ex_notifymissingemail' (offset 40) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 23 for column 'ex_ignoreinternalmissed' (offset 41) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_monthlycostwarningint=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 11 for column 'ex_txvolume' (offset 42) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_dailycostwarning=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 11 for column 'ex_rxvolume' (offset 43) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'ex_mu_id' (offset 44) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_dailycostwarningdom=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 13 for column 'ex_faxgateway' (offset 45) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'no' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 11 for column 'ex_faxalert' (offset 46) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_dailycostwarningint=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 11 for column 'ex_trunkdid' (offset 47) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 12 for column 'ex_fmfmdelay' (offset 48) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 17 for column 'ex_abusedetection' (offset 49) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_cl_id=0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'OFF' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (id=201-call) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 14 for column 'ex_callwaiting' (offset 50) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 13 for column 'ex_costlimits' (offset 51) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'no' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 17 for column 'ex_dailycostlimit' (offset 52) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_inboundblockcid=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 20 for column 'ex_dailycostlimitdom' (offset 53) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 20 for column 'ex_dailycostlimitint' (offset 54) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_inboundblockcidname=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 17 for column 'ex_routecostlimit' (offset 55) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 19 for column 'ex_monthlycostlimit' (offset 56) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_outboundtimeout=0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 22 for column 'ex_monthlycostlimitdom' (offset 57) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 22 for column 'ex_monthlycostlimitint' (offset 58) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_prefixdefault=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 21 for column 'ex_monthlycostwarning' (offset 59) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (ex_regexprefixdefault=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 24 for column 'ex_monthlycostwarningdom' (offset 60) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 24 for column 'ex_monthlycostwarningint' (offset 61) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 19 for column 'ex_dailycostwarning' (offset 62) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 22 for column 'ex_dailycostwarningdom' (offset 63) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 22 for column 'ex_dailycostwarningint' (offset 64) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'ex_cl_id' (offset 65) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'language' (offset 66) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 18 for column 'ex_fromfilterregex' (offset 67) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 12 for column 'ex_spygroups' (offset 68) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(PJSIPPEER,ex_name) result is 'JACK' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,,,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'ex_rp_id' (offset 69) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:113] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "EXTNAME=JACK") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,,,,0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 12 for column 'ex_sms_rp_id' (offset 70) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,,,,0,0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 18 for column 'ex_outboundtimeout' (offset 71) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,,,,0,0,0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 20 for column 'ex_useragentsecurity' (offset 72) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,,,,0,0,0,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 19 for column 'ex_useragentallowed' (offset 73) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,,,,0,0,0,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 23 for column 'ex_calleridregexsamesms' (offset 74) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(PJSIPPEER,ex_rp_id) result is '81' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:114] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "ROUTINGPROFILE=81") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,,,,0,0,0,,,on' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 16 for column 'ex_prefixdefault' (offset 75) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,,,,0,0,0,,,on,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 21 for column 'ex_regexprefixdefault' (offset 76) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,,,,0,0,0,,,on,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 13 for column 'ex_parkinglot' (offset 77) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,,,,0,0,0,,,on,,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 17 for column 'ex_emergencynotes' (offset 78) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,,,,0,0,0,,,on,,,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,,,,0,0,0,,,on,,,,' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(PJSIPPEER,ex_id) result is '36' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:115] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "LOCAL(PEEREXID)=36") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(PJSIPPEER,ex_faxgateway) result is 'no' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:116] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?117:118") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,118) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:118] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_if_dialpeerexten_2255_2256") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(PJSIPPEER,ex_inboundblockcid) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:119] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?120:121") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,121) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:121] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_if_dialpeerexten_2255_2257") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(PJSIPPEER,ex_inboundblockcidname) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:122] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?123:124") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,124) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:124] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_if_dialpeerexten_2255_2258") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(PJSIPPEER,ex_ignoreinternalmissed) result is 'on' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'INCOMINGDID' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:125] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?126:127") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,127) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:127] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_if_dialpeerexten_2255_2259") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(PJSIPPEER,ex_unconditionalstatus) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'NOFOLLOWEXTENSION' is 'yes' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:128] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?129:145") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,145) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(PJSIPPEER,ex_dnd) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:145] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?146:184") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,184) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:184] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_if_if_dialpeerexten_2255_2260_2263") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is '201' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(PJSIPPEER,id) result is '201-call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_EXT_DETAILS_FROM_PEERNAME(200-call) result is '35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,,,,0,0,0,,,on,,,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:76] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "HASH(peerdetail)=35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,,,,0,0,0,,,on,,,,") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_config_odbc.c: Skip: 0; SQL: SELECT * FROM ps_endpoints WHERE id = ? [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array (ex_id,ex_te_id,ex_name,ex_tech,ex_number,ex_trunk,ex_tech_id,ex_cidnum,ex_smscidnum,ex_cidname,ex_blockcid,ex_prefix,ex_regexprefix,ex_fmfmstatus,ex_fmfmnumber,ex_fmfmdialtimeout,ex_fmfmdialmethod,ex_fmfmcallerid,ex_fmfmnumprefix,ex_fmfmnameprefix,ex_recording,ex_dialtimeout,ex_unconditionalstatus,ex_onbusystatus,ex_onofflinestatus,ex_onnoanswerstatus,ex_callallowed,ex_destallowregex,ex_rp_id,ex_sms_rp_id,ex_dnd,ex_emergencycidnum,ex_emailrecording,ex_fmfmconfirm,ex_fmfmconfirmmessage_id,ex_minemailrecording,ex_trunkcidoverride,ex_trunkemergencycidoverride,ex_trunkcidsource,ex_fmfmholdmessage_id,ex_notifymissingemail,ex_ignoreinternalmissed,ex_txvolume,ex_rxvolume,ex_mu_id,ex_faxgateway,ex_faxalert,ex_trunkdid,ex_fmfmdelay,ex_abusedetection,ex_callwaiting,ex_costlimits,ex_dailycostlimit,ex_dailycostlimitdom,ex_dailycostlimitint,ex_routecostlimit,ex_monthlycostlimit,ex_monthlycostlimitdom,ex_monthlycostlimitint,ex_monthlycostwarning,ex_monthlycostwarningdom,ex_monthlycostwarningint,ex_dailycostwarning,ex_dailycostwarningdom,ex_dailycostwarningint,ex_cl_id,language,ex_fromfilterregex,ex_spygroups,ex_rp_id,ex_sms_rp_id,ex_outboundtimeout,ex_useragentsecurity,ex_useragentallowed,ex_calleridregexsamesms,ex_prefixdefault,ex_regexprefixdefault,ex_parkinglot,ex_emergencynotes=35,15,BEN,PJSIP,200,,2706,722280800,,,,02,^[0-9]{7\,7}$,,xxxxxxxxxx,30,Simultaneous,ORIGINAL,,,yes,20,,on,on,on,all,,0,0,,,,on,16,0,both,number,auto,-1,,,,,0,no,,,0,OFF,,no,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0,,,,0,0,0,,,on,,,,) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_id=35) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_te_id=15) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_name=BEN) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_tech=PJSIP) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_number=200) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_trunk=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_tech_id=2706) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_cidnum=722280800) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_smscidnum=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_cidname=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_blockcid=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_prefix=02) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_regexprefix=^[0-9]{7,7}$) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_fmfmstatus=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_fmfmnumber=xxxxxxxxxx) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_fmfmdialtimeout=30) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_fmfmdialmethod=Simultaneous) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_fmfmcallerid=ORIGINAL) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_fmfmnumprefix=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_fmfmnameprefix=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_recording=yes) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_dialtimeout=20) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_unconditionalstatus=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_onbusystatus=on) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_onofflinestatus=on) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_onnoanswerstatus=on) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_callallowed=all) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_destallowregex=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_rp_id=0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_sms_rp_id=0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_dnd=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_emergencycidnum=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_emailrecording=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_fmfmconfirm=on) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_fmfmconfirmmessage_id=16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_minemailrecording=0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_trunkcidoverride=both) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_trunkemergencycidoverride=number) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_trunkcidsource=auto) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_fmfmholdmessage_id=-1) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_notifymissingemail=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_ignoreinternalmissed=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_txvolume=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_rxvolume=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_mu_id=0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_faxgateway=no) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_faxalert=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_trunkdid=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_fmfmdelay=0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_abusedetection=OFF) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_callwaiting=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_costlimits=no) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_dailycostlimit=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_dailycostlimitdom=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_dailycostlimitint=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_routecostlimit=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_monthlycostlimit=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_monthlycostlimitdom=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_monthlycostlimitint=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_monthlycostwarning=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_monthlycostwarningdom=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_monthlycostwarningint=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_dailycostwarning=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_dailycostwarningdom=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_dailycostwarningint=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_cl_id=0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (language=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_fromfilterregex=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_spygroups=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_rp_id=0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_sms_rp_id=0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_outboundtimeout=0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_useragentsecurity=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_useragentallowed=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_calleridregexsamesms=on) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_prefixdefault=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_regexprefixdefault=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_parkinglot=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ex_emergencynotes=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_id) result is '35' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:77] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?78:80") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,80) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_prefix) result is '02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_prefixdefault) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:80] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", ""ex_prefix is 02, ex_prefixdefault is "") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_prefixdefault) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:81] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?82:84") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,84) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_prefix) result is '02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:84] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "extprefix=02") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:85] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_dialoutbound_1703_1704_1705") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'extprefix' is '02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:86] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?87:96") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,87) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_config_odbc.c: Parameter 1 ('id') = '201-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_regexprefixdefault) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:87] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?88:90") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,90) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_regexprefix) result is '^[0-9]{7,7}$' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:90] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "extregexprefix=^[0-9]{7,7}$") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:91] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_if_dialoutbound_1703_1704_1706_1707") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'extregexprefix' is '^[0-9]{7,7}$' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'extregexprefix' is '^[0-9]{7,7}$' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: FUNCTION REGEX (^[0-9]{7,7}$)(xxxxxxxxxx) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function REGEX("^[0-9]{7,7}$" xxxxxxxxxx) result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:92] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?93:95") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,95) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:95] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_if_dialoutbound_1703_1704_1706_1708") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:96] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_dialoutbound_1703_1704_1706") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_trunk) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:97] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?98:120") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,120) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:120] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_dialoutbound_1703_1704_1709") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SETCALLERID' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:121] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "SETCALLERID is ") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_cidnum) result is '722280800' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:122] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?123:124") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,124) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:124] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_dialoutbound_1703_1704_1715") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SETCALLERID' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:125] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?126:174") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,126) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_trunk) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_trunkcidoverride) result is 'both' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_trunkcidoverride) result is 'both' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:126] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?127:133") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,127) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_cidnum) result is '722280800' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function EVAL(722280800) result is '722280800' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:127] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "CALLERID(number)=722280800") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_smscidnum) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:128] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?129:131") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,129) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_cidnum) result is '722280800' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function EVAL(722280800) result is '722280800' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:129] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "SMSMESSAGEFROM=722280800") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:130] Goto("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "132") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,132) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:132] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_if_if_dialoutbound_1703_1704_1716_1717_1718") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:133] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_if_dialoutbound_1703_1704_1716_1717") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_trunk) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_trunkcidoverride) result is 'both' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_trunkcidoverride) result is 'both' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:134] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?135:136") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,135) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_cidname) result is '' [2022-02-07 19:17:53] WARNING[4637][C-00000e4d] func_strings.c: EVAL requires an argument: EVAL() [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function EVAL() result is '(null)' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:135] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "CALLERID(name)=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_sorcery_realtime.c: Filtering out realtime field 'tech_id' from retrieval [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:136] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_if_dialoutbound_1703_1704_1716_1719") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_sorcery_realtime.c: Filtering out realtime field 'te_id' from retrieval [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_sorcery_realtime.c: Filtering out realtime field 'disallow' from retrieval [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'PEERNAME' is '200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] config.c: extract uint from [0] in [0, 4294967295] gives [0](0) [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:137] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Checking callerid regex with 200-call and xxxxxxxxxx") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] config.c: extract uint from [1800] in [0, 4294967295] gives [1800](0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] config.c: extract uint from [0] in [0, 4294967295] gives [0](0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] config.c: extract uint from [0] in [0, 4294967295] gives [0](0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] config.c: extract uint from [0] in [0, 4294967295] gives [0](0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] config.c: extract uint from [1] in [0, 4294967295] gives [1](0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] config.c: extract uint from [1] in [0, 4294967295] gives [1](0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] config.c: extract uint from [0] in [0, 4294967295] gives [0](0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] config.c: extract uint from [0] in [0, 4294967295] gives [0](0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] config.c: extract uint from [0] in [0, 4294967295] gives [0](0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] config.c: extract uint from [90] in [0, 4294967295] gives [90](0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ISSMS' is NULL [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] config.c: extract uint from [0] in [0, 4294967295] gives [0](0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] config.c: extract uint from [0] in [0, 4294967295] gives [0](0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_calleridregexsamesms) result is 'on' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] format_cap.c: Packetization for codec: opus is 20 [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] format_cap.c: Packetization for codec: g722 is 20 [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] format_cap.c: Packetization for codec: alaw is 20 [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:138] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?139:172") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] format_cap.c: Packetization for codec: ulaw is 20 [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] format_cap.c: Packetization for codec: mpeg4 is 20 [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] format_cap.c: Packetization for codec: h264 is 20 [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,139) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'PEERNAME' is '200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:53] ERROR[4635][C-00000e4d] rtp_engine.c: dtlscertfile file /etc/asterisk/certificates/call.co..pem does not exist or is not readable [2022-02-07 19:17:53] ERROR[4635][C-00000e4d] config_options.c: Error parsing dtls_cert_file=/etc/asterisk/certificates/call.co..pem at line 0 of [2022-02-07 19:17:53] WARNING[4635][C-00000e4d] pjsip/dialplan_functions.c: Specified endpoint '201-call' was not found [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function PJSIP_DIAL_CONTACTS(201-call) result is '(null)' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:185] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Number 201 is associated to the devices on this server ... maybe also on other servers") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_cr_id=rr_cr_id and '${SQL_ESC(${ARG2})}' REGEXP rr_regex union SELECT rr_number,rr_co_id from ex_extensions,ve_virtualextensions,rr_calleridregex_rules where ex_tech='VIRTUAL' and ex_tech_id=ve_id and ve_name='${SQL_ESC(${ARG1})}' and ex_cr_id=rr_cr_id and '${SQL_ESC(${ARG2})}' REGEXP rr_regex union SELECT rr_number,rr_co_id from ex_extensions,ce_customextensions,rr_calleridregex_rules where ex_tech='CUSTOM' and ex_tech_id=ce_id and ce_peername='${SQL_ESC(${ARG1})}' and ex_cr_id=rr_cr_id and '${SQL_ESC(${ARG2})}' REGEXP rr_regex union SELECT rr_number,rr_co_id from ex_extensions,ps_endpoints,rr_calleridregex_rules where ex_tech='PJSIP' and ex_tech_id=tech_id and id='${SQL_ESC(${ARG1})}' and ex_cr_id=rr_cr_id and '${SQL_ESC(${ARG2})}' REGEXP rr_regex order by rr_co_id desc, rand()' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:186] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_if_dialpeerexten_2255_2260") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' REGEXP rr_regex union SELECT rr_number,rr_co_id from ex_extensions,ve_virtualextensions,rr_calleridregex_rules where ex_tech='VIRTUAL' and ex_tech_id=ve_id and ve_name='${SQL_ESC(${ARG1})}' and ex_cr_id=rr_cr_id and '${SQL_ESC(${ARG2})}' REGEXP rr_regex union SELECT rr_number,rr_co_id from ex_extensions,ce_customextensions,rr_calleridregex_rules where ex_tech='CUSTOM' and ex_tech_id=ce_id and ce_peername='${SQL_ESC(${ARG1})}' and ex_cr_id=rr_cr_id and '${SQL_ESC(${ARG2})}' REGEXP rr_regex union SELECT rr_number,rr_co_id from ex_extensions,ps_endpoints,rr_calleridregex_rules where ex_tech='PJSIP' and ex_tech_id=tech_id and id='${SQL_ESC(${ARG1})}' and ex_cr_id=rr_cr_id and '${SQL_ESC(${ARG2})}' REGEXP rr_regex order by rr_co_id desc, rand()' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(PJSIPPEER,id) result is '201-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function DEVICE_STATE(Custom:201-call) result is 'NOT_INUSE' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_cr_id=rr_cr_id and '${SQL_ESC(${ARG2})}' REGEXP rr_regex union SELECT rr_number,rr_co_id from ex_extensions,ce_customextensions,rr_calleridregex_rules where ex_tech='CUSTOM' and ex_tech_id=ce_id and ce_peername='${SQL_ESC(${ARG1})}' and ex_cr_id=rr_cr_id and '${SQL_ESC(${ARG2})}' REGEXP rr_regex union SELECT rr_number,rr_co_id from ex_extensions,ps_endpoints,rr_calleridregex_rules where ex_tech='PJSIP' and ex_tech_id=tech_id and id='${SQL_ESC(${ARG1})}' and ex_cr_id=rr_cr_id and '${SQL_ESC(${ARG2})}' REGEXP rr_regex order by rr_co_id desc, rand()' len 16) [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:187] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "STATE=NOT_INUSE") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' REGEXP rr_regex union SELECT rr_number,rr_co_id from ex_extensions,ce_customextensions,rr_calleridregex_rules where ex_tech='CUSTOM' and ex_tech_id=ce_id and ce_peername='${SQL_ESC(${ARG1})}' and ex_cr_id=rr_cr_id and '${SQL_ESC(${ARG2})}' REGEXP rr_regex union SELECT rr_number,rr_co_id from ex_extensions,ps_endpoints,rr_calleridregex_rules where ex_tech='PJSIP' and ex_tech_id=tech_id and id='${SQL_ESC(${ARG1})}' and ex_cr_id=rr_cr_id and '${SQL_ESC(${ARG2})}' REGEXP rr_regex order by rr_co_id desc, rand()' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_cr_id=rr_cr_id and '${SQL_ESC(${ARG2})}' REGEXP rr_regex union SELECT rr_number,rr_co_id from ex_extensions,ps_endpoints,rr_calleridregex_rules where ex_tech='PJSIP' and ex_tech_id=tech_id and id='${SQL_ESC(${ARG1})}' and ex_cr_id=rr_cr_id and '${SQL_ESC(${ARG2})}' REGEXP rr_regex order by rr_co_id desc, rand()' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'STATE' is 'NOT_INUSE' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(PJSIPPEER,ex_id) result is '36' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'CELGenUserEvent' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:188] CELGenUserEvent("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "PJSIP-NOT_INUSE,36") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' REGEXP rr_regex union SELECT rr_number,rr_co_id from ex_extensions,ps_endpoints,rr_calleridregex_rules where ex_tech='PJSIP' and ex_tech_id=tech_id and id='${SQL_ESC(${ARG1})}' and ex_cr_id=rr_cr_id and '${SQL_ESC(${ARG2})}' REGEXP rr_regex order by rr_co_id desc, rand()' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_cr_id=rr_cr_id and '${SQL_ESC(${ARG2})}' REGEXP rr_regex order by rr_co_id desc, rand()' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'STATE' is 'NOT_INUSE' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' REGEXP rr_regex order by rr_co_id desc, rand()' len 16) [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:189] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?190:237") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,237) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:237] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_if_dialpeerexten_2255_2272") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(PJSIPPEER,reg_server) result is 'oraclepbx' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:238] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "HASH(PJSIPPEER,reg_server) - oraclepbx") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'STATE' is 'NOT_INUSE' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:239] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "STATE - NOT_INUSE") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(PJSIPPEER,contact) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:240] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "HASH(PJSIPPEER,contact) - ") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'STATE' is 'NOT_INUSE' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'STATE' is 'NOT_INUSE' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'STATE' is 'NOT_INUSE' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(PJSIPPEER,contact) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:241] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?242:405") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,405) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(PJSIPPEER,ex_dialtimeout) result is '30' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:405] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "extensionDialTimeout=30") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(PJSIPPEER,ex_dialtimeout) result is '30' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(PJSIPPEER,ex_dialtimeout) result is '30' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:406] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?407:408") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,408) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:408] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_if_if_dialpeerexten_2255_2284_2319") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'DIALTIMEOUT' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'DIALTIMEOUT' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:409] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "1?410:412") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,410) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'extensionDialTimeout' is '30' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:410] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "LOCAL(DIALTIMEOUT)=30") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:411] Goto("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "417") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,417) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:417] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_if_if_dialpeerexten_2255_2284_2320") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:418] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "LOCAL(DIALSTRING)=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(PJSIPPEER,id) result is '201-call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '201-call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(201-call) result is '201-call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 10 for column 'reg_server' (offset 0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'oraclepbx' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'oraclepbx' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function ODBC_GET_DISTINCT_CONTACTS_MULTIROW(201-call) result is '983' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:419] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "LOCAL(contacts_odbcid)=983") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ODBCROWS' is '1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:420] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "LOCAL(contacts_odbcrows)=1") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:421] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "LOCAL(contacts_counter)=0") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'contacts_counter' is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'contacts_odbcrows' is '1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:422] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Comparing 0 < 1") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'contacts_counter' is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'contacts_odbcrows' is '1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:423] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "1?424:449") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,424) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'ClearHash' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:424] ClearHash("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "contacts") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'contacts_odbcid' is '983' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function ODBC_FETCH(983) result is 'oraclepbx' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:425] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "HASH(contacts)=oraclepbx") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array (reg_server=oraclepbx) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_strings.c: array set value (reg_server=oraclepbx) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'contacts_counter' is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:426] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "LOCAL(contacts_counter)=1 ") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SYSTEMNAME' is 'db02' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(contacts,reg_server) result is 'oraclepbx' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:427] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?428:443") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,443) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'DIALSTRING' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'DIALSTRING' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:443] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?444:445") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,445) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:445] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_if_while_if_if_dialpeerexten_2255_2284_2323_2324_2329") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'DIALSTRING' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(PJSIPPEER,ex_tech_id) result is '81' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(contacts,reg_server) result is 'oraclepbx' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:446] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "LOCAL(DIALSTRING)=SIP/PJSIP-81@oraclepbx") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:447] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_while_if_if_dialpeerexten_2255_2284_2323_2324") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:448] Goto("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "423") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,423) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'contacts_counter' is '1 ' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'contacts_odbcrows' is '1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:423] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?424:449") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,449) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:449] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish while_if_if_dialpeerexten_2255_2284_2323") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(PJSIPPEER,ex_fmfmstatus) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(PJSIPPEER,ex_fmfmdialmethod) result is 'Simultaneous' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'NOFMFM' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'NOFOLLOWEXTENSION' is 'yes' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:450] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?451:499") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,499) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:499] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_if_if_dialpeerexten_2255_2284_2330") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function CALLERID(name) result is 'BEN' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:500] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Callerid name is BEN") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '200' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:501] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Callerid num is 200") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(PJSIPPEER,ex_rxvolume) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:502] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "1?503:505") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,503) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'VOLUMERXLEVEL' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(VOLUMERXLEVEL) result is 'VOLUMERXLEVEL' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_OUTBOUND_CIDNUM_USING_REGEX_PEERNAME_MULTIROW(200-call,xxxxxxxxxx) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:139] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "outboundcidregex_odbcid=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ODBCROWS' is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:140] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "outboundcidregex_odbcrows=0") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:141] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "outboundcidregex_counter=0") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'outboundcidregex_counter' is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'outboundcidregex_odbcrows' is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:142] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?143:171") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,171) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:171] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish while_if_if_if_if_dialoutbound_1703_1704_1716_1720_1721") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:172] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_if_dialoutbound_1703_1704_1716_1720") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:173] Goto("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "184") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,184) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:184] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_dialoutbound_1703_1704_1716") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:185] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_dialoutbound_1703_1704") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:186] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialoutbound_1703") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '722280800' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CALLERID(name) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:187] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "CallerID has been modified in num <722280800> and name <>") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '722280800' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:188] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?189:191") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,191) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:191] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialoutbound_1728") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CALLERID(name) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:192] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?193:195") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,193) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:193] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Assigning the default CallerID Name") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,VOLUMERXLEVEL) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:503] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "VOLUMERXLEVEL=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:504] Goto("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "506") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,506) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:506] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_if_if_dialpeerexten_2255_2284_2341") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(PJSIPPEER,ex_txvolume) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:507] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "1?508:510") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,508) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'DEFAULTCIDNAME' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(DEFAULTCIDNAME) result is 'DEFAULTCIDNAME' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'VOLUMETXLEVEL' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(VOLUMETXLEVEL) result is 'VOLUMETXLEVEL' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,DEFAULTCIDNAME) result is '' [2022-02-07 19:17:53] WARNING[4637][C-00000e4d] func_strings.c: EVAL requires an argument: EVAL() [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function EVAL() result is '(null)' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:194] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "CALLERID(name)=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:195] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialoutbound_1729") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_destallowregex) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:196] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "destallowregex=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'destallowregex' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:197] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "destallowregex is ") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_callallowed) result is 'all' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:198] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?199:201") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,199) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:199] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Good, all calls are allowed") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,VOLUMETXLEVEL) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:508] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "VOLUMETXLEVEL=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:200] Goto("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "243") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,243) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:243] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialoutbound_1730") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:509] Goto("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "511") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,511) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:511] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_if_if_dialpeerexten_2255_2284_2342") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_id) result is '35' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and de_type_id_src='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'EXT-DONOTCALL' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(EXT-DONOTCALL) result is 'EXT-DONOTCALL' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'DTMFVOLUME' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '35' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(DTMFVOLUME) result is 'DTMFVOLUME' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(35) result is '35' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'on' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to 'on' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'count(*)' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,DTMFVOLUME) result is 'on' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:512] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "DTMFVOLUME=on") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'DTMFVOLUME' is 'on' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_COUNT_DEST(EXT-DONOTCALL,35) result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:244] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "LOCAL(NDNC)=0") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:513] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "1?514:515") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,514) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:514] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "DTMF=p") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'NDNC' is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:245] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Identified 0 do not call lists") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:246] MSet("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "LOCAL(n)=0") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:515] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_if_if_dialpeerexten_2255_2284_2343") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'NDNC' is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:247] MSet("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "n=0") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'VOLUMERXLEVEL' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'n' is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:516] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?517:518") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:248] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?249:259") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,518) [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,259) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:518] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_if_if_dialpeerexten_2255_2284_2344") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:259] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish for_dialoutbound_1738") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_id) result is '35' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'VOLUMETXLEVEL' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:519] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?520:521") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and de_type_id_src='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,521) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'EXT-ONLYALLOWCALL' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:521] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_if_if_dialpeerexten_2255_2284_2345") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'DIALSTRING' is 'SIP/PJSIP-81@oraclepbx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(EXT-ONLYALLOWCALL) result is 'EXT-ONLYALLOWCALL' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '35' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:522] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "1?523:528") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(35) result is '35' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,201,523) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'STDDIALOPTION' is 'U(destChannelActions^${ALWAYSRECORD}^${RECORDINGFORMAT}^${CONFIRM}^${CONFIRMMD5}^${ONANSWER}^${ONANSWERID}^${RECORDOTHERLEG}^${MIXMONITOROPTION})b(pjsip_header,setpjsipheader,1)' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'DIALOPTION' is 'TtL(7200000)t' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ALWAYSRECORD' is 'externalchange' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'RECORDINGFORMAT' is 'wav' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'CONFIRM' is NULL [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'CONFIRMMD5' is 'pbx/9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ONANSWER' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ONANSWERID' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'RECORDOTHERLEG' is 'on' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'MIXMONITOROPTION' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function EVAL(U(destChannelActions^${ALWAYSRECORD}^${RECORDINGFORMAT}^${CONFIRM}^${CONFIRMMD5}^${ONANSWER}^${ONANSWERID}^${RECORDOTHERLEG}^${MIXMONITOROPTION})b(pjsip_header,setpjsipheader,1)TtL(7200000)t) result is 'U(destChannelActions^externalchange^wav^^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:523] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "nowDIALOPTION=U(destChannelActions^externalchange^wav^^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:524] Gosub("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "runAcallcript,~~s~~,1(AGIBEFORECALLEXT)") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] app_stack.c: Setting 'ARG1' to 'AGIBEFORECALLEXT' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'AGIBEFORECALLEXT' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:1] MSet("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "LOCAL(AGICALL)=AGIBEFORECALLEXT") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'AGICALL' is 'AGIBEFORECALLEXT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'count(*)' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'AGIBEFORECALLEXT' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function SQL_ESC(AGIBEFORECALLEXT) result is 'AGIBEFORECALLEXT' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_COUNT_DEST(EXT-ONLYALLOWCALL,35) result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:260] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "LOCAL(NDNC)=0") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'NDNC' is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:261] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Identified 0 only allow call lists") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:262] MSet("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "LOCAL(n)=0") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is 'no' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:263] MSet("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "LOCAL(allowthecall)=no") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'NDNC' is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:264] MSet("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "n=0") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'n' is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:265] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?266:273") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,273) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:273] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish for_dialoutbound_1740") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'NDNC' is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'allowthecall' is 'no' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:274] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?275:279") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,279) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:279] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialoutbound_1742") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'FORCEBLOCKCID' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:280] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?281:283") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,283) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'FORCEBLOCKCID' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:283] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?284:285") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,AGIBEFORECALLEXT) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:2] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "AcallCRIPTID=") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,285) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:285] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_dialoutbound_1743_1744") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:286] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialoutbound_1743") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'AcallCRIPTID' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_blockcid) result is '' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:3] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?4:31") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:287] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?288:290") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (runAcallcript,~~s~~,31) [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,290) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:290] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialoutbound_1745") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:31] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_runAcallcript_1379") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:32] Return("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:525] Gosub("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "encodeCallParams,~~s~~,1") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'ENABLEWORKINGHOURS' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(ENABLEWORKINGHOURS) result is 'ENABLEWORKINGHOURS' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASHKEYS(USRVARS) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:1] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "USERVARLIST=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function HASH(USRVARS) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:2] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "USERVARVALUES=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'SIPRemoveHeader' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:3] SIPRemoveHeader("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "X-PBX") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: removing SIP Header "X-PBX: 97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||||" as SIPADDHEADER02 [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'CDRcallUniqueID' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:4] GotoIf("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "0?5:6") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (encodeCallParams,~~s~~,6) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:6] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Finish if_encodeCallParams_1373") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TTL' is '96' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'PEERNAME' is '200-call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'REALPEERNAME' is '200-call' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'INCOMINGDID' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SETCALLERID' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'VALIDCALLERID' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'CDRcallUniqueID' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function CDR(sequence) result is '13312' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'NOFOLLOWEXTENSION' is 'yes' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ONLYFMFM' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'NOFMFM' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'DIALOPTION' is 'TtL(7200000)t' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'DIALTIMEOUT' is '30' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'DIALEDNUMBER' is '900' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function CDR(firstdst) result is '900' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function CHANNEL(musicclass) result is '457' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ONANSWER' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'ONANSWERID' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'BLINDCONNECTEDNUM' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'FMFMDIALTIMEOUT' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'FMFMCALLERID' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'LANGUAGE' is 'he' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'QUEUEOPTION' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'FROMQUEUEID' is '9' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'PRIVACYID' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'RESPONSEPATHID' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'PLAYBACKOPTION' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SETQUEUERULE' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SETQUEUEMINPENALTY' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SETQUEUEMAXPENALTY' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'SETQUEUERAISEPENALTY' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'USERVARLIST' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'USERVARVALUES' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'AUTOANSWER' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'QUEUE_MAX_PENALTY' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'QUEUE_MIN_PENALTY' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'QUEUE_RAISE_PENALTY' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:7] Set("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "__PBX=96|200-call|200-call|15||||oraclepbx-1644254244.1743648|13312|yes|||TtL(7200000)t|30|900|900|457||||||he||9|||||||||||||") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'PBX' is '96|200-call|200-call|15||||oraclepbx-1644254244.1743648|13312|yes|||TtL(7200000)t|30|900|900|457||||||he||9|||||||||||||' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function LEN(96|200-call|200-call|15||||oraclepbx-1644254244.1743648|13312|yes|||TtL(7200000)t|30|900|900|457||||||he||9|||||||||||||) result is '118' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:8] NoOp("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "Call params length: 118") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'PBX' is '96|200-call|200-call|15||||oraclepbx-1644254244.1743648|13312|yes|||TtL(7200000)t|30|900|900|457||||||he||9|||||||||||||' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'SIPAddHeader' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:9] SIPAddHeader("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "X-PBX: 96|200-call|200-call|15||||oraclepbx-1644254244.1743648|13312|yes|||TtL(7200000)t|30|900|900|457||||||he||9|||||||||||||") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: SIP Header added "X-PBX: 96|200-call|200-call|15||||oraclepbx-1644254244.1743648|13312|yes|||TtL(7200000)t|30|900|900|457||||||he||9|||||||||||||" as __SIPADDHEADER02 [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:10] Return("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'DIALSTRING' is 'SIP/PJSIP-81@oraclepbx' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'DIALTIMEOUT' is '30' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'nowDIALOPTION' is 'U(destChannelActions^externalchange^wav^^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'Dial' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [201@dialpeerexten:526] Dial("Local/AG-000-NF-36@fromotherpbx-00000d2e;2", "SIP/PJSIP-81@oraclepbx,30,U(destChannelActions^externalchange^wav^^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] app_dial.c: Local/AG-000-NF-36@fromotherpbx-00000d2e;2: Data: SIP/PJSIP-81@oraclepbx,30,U(destChannelActions^externalchange^wav^^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] features.c: Setting call duration limit to 7200.000 seconds. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: Asked to create a SIP channel with formats: (ulaw) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: Allocating new SIP dialog for 3c3c82c93f28f7ef0655ea124f8f470a@[fe80::f03c:92ff:fea6:b812]:5060 - INVITE (No RTP) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,ENABLEWORKINGHOURS) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:291] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "enableworkinghours=") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] rtp_engine.c: Using engine 'asterisk' for RTP instance '0x7fe638045cb0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'enableworkinghours' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:292] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?293:326") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_rtp_asterisk.c: (0x7fe638045cb0) RTP allocated port 17636 [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,326) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:326] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialoutbound_1746") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_rtp_asterisk.c: (0x7fe638045cb0) ICE creating session 0.0.0.0:17636 (17636) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_rtp_asterisk.c: (0x7fe638045cb0) ICE create [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:327] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__CHARGE=yes") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(-1) result is '-1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'ALWAYSTOPROVIDER' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(ALWAYSTOPROVIDER) result is 'ALWAYSTOPROVIDER' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_rtp_asterisk.c: (0x7fe638045cb0) ICE add system candidates [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] netsock2.c: Splitting 'XXX.XXX.XXX.XXX' into... [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] netsock2.c: ...host 'XXX.XXX.XXX.XXX' and port ''. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_rtp_asterisk.c: (0x7fe638045cb0) ICE add candidate: XXX.XXX.XXX.XXX:17636, 2130706431 [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] rtp_engine.c: RTP instance '0x7fe638045cb0' is setup and ready to go [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_rtp_asterisk.c: (0x7fe638045cb0) ICE stopped [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] rtp_engine.c: Using engine 'asterisk' for RTP instance '0x7fe638024110' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_rtp_asterisk.c: (0x7fe638024110) RTP allocated port 16158 [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_rtp_asterisk.c: (0x7fe638024110) ICE creating session 0.0.0.0:16158 (16158) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_rtp_asterisk.c: (0x7fe638024110) ICE create [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_rtp_asterisk.c: (0x7fe638024110) ICE add system candidates [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] netsock2.c: Splitting 'XXX.XXX.XXX.XXX' into... [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] netsock2.c: ...host 'XXX.XXX.XXX.XXX' and port ''. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_rtp_asterisk.c: (0x7fe638024110) ICE add candidate: XXX.XXX.XXX.XXX:16158, 2130706431 [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] rtp_engine.c: RTP instance '0x7fe638024110' is setup and ready to go [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_rtp_asterisk.c: (0x7fe638024110) ICE stopped [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] netsock2.c: Splitting 'db02' into... [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] netsock2.c: ...host 'db02' and port ''. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] acl.c: Multiple addresses. Using the first only [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_rtp_asterisk.c: (0x7fe638024110) RTCP setup on RTP instance [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] netsock2.c: Using SIP VIDEO TOS bits 136 [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] netsock2.c: Using SIP VIDEO CoS mark 4 [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] netsock2.c: Splitting 'db02' into... [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] netsock2.c: ...host 'db02' and port ''. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] acl.c: Multiple addresses. Using the first only [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_rtp_asterisk.c: (0x7fe638045cb0) RTCP setup on RTP instance [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] netsock2.c: Using SIP RTP TOS bits 184 [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] netsock2.c: Using SIP RTP CoS mark 5 [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: Setting NAT on RTP to On [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: Setting NAT on VRTP to On [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: OBPROXY: Not applying OBproxy to this call [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] acl.c: For destination 'XXX.X.XXX.XX', our source address is 'XXX.XXX.XXX.XXX'. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: Setting AST_TRANSPORT_UDP with address XXX.XXX.XXX.XXX:5060 [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: Setting NAT on RTP to On [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: Setting NAT on VRTP to On [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: SIP call-id changed from '3c3c82c93f28f7ef0655ea124f8f470a@[fe80::f03c:92ff:fea6:b812]:5060' to '024e4e6c719729c224c546ad2b2bd74c@XXX.XXX.XXX.XXX:5060' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel_internal_api.c: : Formats: (none) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel_internal_api.c: Channel is being initialized or destroyed [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] stasis.c: Creating topic. name: channel:db02-1644254273.72758, detail: [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] stasis.c: Topic 'channel:db02-1644254273.72758': 0x7fe6380095b0 created [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Channel 0x7fe63801f860 'SIP/oraclepbx-00000c0a' allocated [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel_internal_api.c: SIP/oraclepbx-00000c0a: Formats: (ulaw) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel_internal_api.c: New topology set [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: *** Our native formats are (ulaw) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: *** Joint capabilities are (ulaw) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: *** Our capabilities are (ulaw|alaw|gsm|h263|codec2|g723|g726|g726aal2|adpcm|slin|slin12|slin16|slin24|slin32|slin44|slin48|slin96|slin192|lpc10|g729|speex|speex16|speex32|ilbc|g722|siren7|siren14|testlaw|g719|opus|jpeg|png|h261|h263p|h264|h265|mpeg4|vp8|vp9|red|t140|t38|silk8|silk12|silk16|silk24) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: *** AST_CODEC_CHOOSE formats are ulaw [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: *** Our preferred formats from the incoming channel are (ulaw) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_rtp_asterisk.c: (0x7fe638024110) DTLS stop [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_rtp_asterisk.c: (0x7fe638024110) DTLS srtp - stopped timeout timer' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_rtp_asterisk.c: (0x7fe638024110) DTLS srtp - stopped timeout timer' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] res_rtp_asterisk.c: (0x7fe638024110) ICE RTP transport deallocating [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] rtp_engine.c: Destroyed RTP instance '0x7fe638024110' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: This channel will not be able to handle video. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel_internal_api.c: Channel Call ID changing from [C-00000e4d] to [C-00000e4d] [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __SIPADDHEADER02 from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __PBX from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __SIMPLEANSWERED from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __PICKUPMARK from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __ORIGCHANNEL from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __TRANSFER_CONTEXT from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __AGENTNUMBER from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __TENANTID from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __CONFIRMMD5 from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __TIMEZONE from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __SIMPLEPREVUNIQUEID from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __SIPADDHEADER03 from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __PEERNAME from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __REALPEERNAME from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __INCOMINGDID from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __SETCALLERID from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __VALIDCALLERID from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __CDRcallUniqueID from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __CDRcallSequence from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __ONLYFMFM from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __NOFMFM from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __DIALTIMEOUT from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __DIALEDNUMBER from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __ONANSWER from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __ONANSWERID from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __BLINDCONNECTEDNUM from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __FMFMDIALTIMEOUT from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __FMFMCALLERID from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __QUEUEOPTION from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __FROMQUEUEID from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __PRIVACYID from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __RESPONSEPATHID from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __PLAYBACKOPTION from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __SETQUEUERULE from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __SETQUEUEMINPENALTY from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __SETQUEUEMAXPENALTY from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __SETQUEUERAISEPENALTY from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __AUTOANSWER from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __QUEUE_MAX_PENALTY from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __QUEUE_MIN_PENALTY from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __QUEUE_RAISE_PENALTY from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __MIXMONITOR_FILENAME from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __queuenumber from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __queueid from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __maxanychannels from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __TENANTCODE from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Inheriting variable __SIPADDHEADER01 from Local/AG-000-NF-36@fromotherpbx-00000d2e;2 to SIP/oraclepbx-00000c0a. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] app_stack.c: Gosub args:pjsip_header,setpjsipheader,1 new_args:pjsip_header,setpjsipheader,1 [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] app_stack.c: SIP/oraclepbx-00000c0a Internal Gosub(pjsip_header,setpjsipheader,1) start [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] app_stack.c: SIP/oraclepbx-00000c0a Original location: fromotherpbx,201,1 [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] app_stack.c: Channel SIP/oraclepbx-00000c0a has no datastore, so we're allocating one. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] app_stack.c: Gosub exited with status 0 [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Result of 'AUTOANSWER' is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:1] NoOp("SIP/oraclepbx-00000c0a", "Autoanswer is ") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Function CHANNEL(channeltype) result is 'SIP' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:2] GotoIf("SIP/oraclepbx-00000c0a", "0?3:48") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,48) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:48] NoOp("SIP/oraclepbx-00000c0a", "Finish if_pjsip_header_778") in new stack [2022-02-07 19:17:53] NOTICE[4635][C-00000e4d] app_stack.c: SIP/oraclepbx-00000c0a Abnormal 'Gosub(pjsip_header,setpjsipheader,1)' exit. Popping routine return locations. [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] app_stack.c: SIP/oraclepbx-00000c0a Ending location: pjsip_header,setpjsipheader,49 [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-1,ALWAYSTOPROVIDER) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:328] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "ALWAYSTOPROVIDER=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(tenantinfo,te_id) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:329] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?330:331") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,331) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:331] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialoutbound_1752") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_sms_rp_id) result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: Outgoing Call for PJSIP-81 [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:332] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "SMSROUTINGPROFILE=0") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: Updating call counter for outgoing call [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: Call to peer 'oraclepbx' is 2 out of 2147483647 [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SMSROUTINGPROFILE' is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SMSROUTINGPROFILE' is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:333] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?334:335") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,334) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(tenantinfo,te_sms_rp_id) result is '77' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:334] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "SMSROUTINGPROFILE=77") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: Adding SIP Header "X-PBX" with content :96|200-call|200-call|15||||oraclepbx-1644254244.1743648|13312|yes|||TtL(7200000)t|30|900|900|457||||||he||9|||||||||||||: [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: Adding SIP Header "X-VoipMonitor-Custom1" with content :db02-1644254272.72742: [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:335] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialoutbound_1753") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: Adding SIP Header "X-VoipMonitor-Custom1" with content :db02-1644254244.72696: [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'CALLRATE' is NULL [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: This call needs video offers, but there's no video support enabled! [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] chan_sip.c: We think we can do text [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'CALLRATE' is NULL [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: This call needs text offers, but there's no text support enabled ! [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: ** Our capability: (ulaw|alaw|gsm|h263|g723|g726|g726aal2|adpcm|slin|slin12|slin16|slin24|slin32|slin44|slin48|slin96|slin192|lpc10|g729|speex|speex16|speex32|ilbc|g722|testlaw|opus|jpeg|png|h261|h263p|h264|h265|mpeg4|vp8|vp9|red|t140|t38|silk8|silk12|silk16|silk24) Video flag: False Text flag: False [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: ** Our prefcodec: (ulaw) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] chan_sip.c: Audio is at 17636 [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:336] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?337:338") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] chan_sip.c: Adding codec ulaw to SDP [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] chan_sip.c: Adding codec alaw to SDP [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,337) [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] chan_sip.c: Adding codec gsm to SDP [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(tenantinfo,te_cl_id) result is '0' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] chan_sip.c: Adding codec g723 to SDP [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:337] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__CALLRATE=0") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] chan_sip.c: Adding codec g726 to SDP [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] chan_sip.c: Adding codec g726aal2 to SDP [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:338] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialoutbound_1754") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] chan_sip.c: Adding codec adpcm to SDP [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] chan_sip.c: Adding codec slin to SDP [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] chan_sip.c: Adding codec slin12 to SDP [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTBILLING' is NULL [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] chan_sip.c: Adding codec slin16 to SDP [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] chan_sip.c: Adding codec slin24 to SDP [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] chan_sip.c: Adding codec slin32 to SDP [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:339] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?340:341") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] chan_sip.c: Adding codec slin44 to SDP [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] chan_sip.c: Adding codec slin48 to SDP [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] chan_sip.c: Adding codec slin96 to SDP [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] chan_sip.c: Adding codec slin192 to SDP [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] chan_sip.c: Adding codec lpc10 to SDP [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] chan_sip.c: Adding codec g729 to SDP [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,340) [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] chan_sip.c: Adding codec speex to SDP [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] chan_sip.c: Adding codec speex16 to SDP [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(tenantinfo,te_payment_type) result is 'Post Paid' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] chan_sip.c: Adding codec speex32 to SDP [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:340] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__TENANTBILLING=Post Paid") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] chan_sip.c: Adding codec ilbc to SDP [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:341] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialoutbound_1755") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] chan_sip.c: Adding codec g722 to SDP [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(tenantinfo,te_billingtype) result is 'CDR' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] chan_sip.c: Adding codec testlaw to SDP [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:342] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "BILLINGTYPE=CDR") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] chan_sip.c: Adding codec opus to SDP [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] chan_sip.c: Adding codec silk8 to SDP [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ISSMS' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] chan_sip.c: Adding codec silk12 to SDP [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] chan_sip.c: Adding codec silk16 to SDP [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:343] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?344:369") in new stack [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] chan_sip.c: Adding codec silk24 to SDP [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] chan_sip.c: Adding non-codec 0x1 (telephone-event) to SDP [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: -- Done with adding codecs to SDP [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,344) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: Done building SDP. Settling with this capability: (ulaw|alaw|gsm|h263|g723|g726|g726aal2|adpcm|slin|slin12|slin16|slin24|slin32|slin44|slin48|slin96|slin192|lpc10|g729|speex|speex16|speex32|ilbc|g722|testlaw|opus|jpeg|png|h261|h263p|h264|h265|mpeg4|vp8|vp9|red|t140|t38|silk8|silk12|silk16|silk24) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(tenantinfo,te_allowanycalleridusage) result is 'on' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: Initializing initreq for method INVITE - callid 024e4e6c719729c224c546ad2b2bd74c@XXX.XXX.XXX.XXX:5060 [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(tenantinfo,te_allowincomingcalleridusage) result is '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: Header 0 [ 40]: INVITE sip:PJSIP-81@XXX.X.XXX.XX SIP/2.0 [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CALLERID(number) result is '722280800' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: Header 1 [ 66]: Via: SIP/2.0/UDP XXX.XXX.XXX.XXX:5060;branch=z9hG4bK095ab945;rport [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: Header 2 [ 16]: Max-Forwards: 70 [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'INCOMINGCALLERIDNUM' is NULL [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: Header 3 [ 57]: From: "BEN" ;tag=as00e64c61 [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: Header 4 [ 31]: To: [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: Header 5 [ 39]: Contact: [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: Header 6 [ 62]: Call-ID: 024e4e6c719729c224c546ad2b2bd74c@XXX.XXX.XXX.XXX:5060 [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: Header 7 [ 16]: CSeq: 102 INVITE [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: Header 8 [ 31]: User-Agent: Asterisk PBX 18.6.0 [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:344] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?345:367") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: Header 9 [ 35]: Date: Mon, 07 Feb 2022 17:17:53 GMT [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: Header 10 [ 90]: Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: Header 11 [ 26]: Supported: replaces, timer [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: Header 12 [125]: X-PBX: 96|200-call|200-call|15||||oraclepbx-1644254244.1743648|13312|yes|||TtL(7200000)t|30|900|900|457||||||he||9||||||||||||| [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,367) [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: Header 13 [ 44]: X-VoipMonitor-Custom1: db02-1644254272.72742 [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: Header 14 [ 44]: X-VoipMonitor-Custom1: db02-1644254244.72696 [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: Header 15 [ 89]: Remote-Party-ID: "BEN" ;party=calling;privacy=off;screen=no [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:367] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_dialoutbound_1756_1757") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: Header 16 [ 29]: Content-Type: application/sdp [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] chan_sip.c: Reliably Transmitting (NAT) to XXX.X.XXX.XX:5060: [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:368] Goto("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "391") in new stack [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: *** SIP TIMER: Initializing retransmit timer on packet: Id #16 [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] chan_sip.c: Trying to put 'INVITE sip:' onto UDP socket destined for XXX.X.XXX.XX:5060 [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,391) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:391] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialoutbound_1756") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:392] Gosub("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "runAcallcript,~~s~~,1(AGIBEFORECALLOUTBOUND)") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_stack.c: Setting 'ARG1' to 'AGIBEFORECALLOUTBOUND' [2022-02-07 19:17:53] VERBOSE[4635][C-00000e4d] app_dial.c: Called SIP/PJSIP-81@oraclepbx [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] app_dial.c: Local/AG-000-NF-36@fromotherpbx-00000d2e;2 [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Channel SIP/oraclepbx-00000c0a setting read format path: ulaw -> ulaw [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Channel Local/AG-000-NF-36@fromotherpbx-00000d2e;2 setting write format path: ulaw -> ulaw [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Channel Local/AG-000-NF-36@fromotherpbx-00000d2e;2 setting read format path: ulaw -> ulaw [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:53] DEBUG[4635][C-00000e4d] channel.c: Channel SIP/oraclepbx-00000c0a setting write format path: ulaw -> ulaw [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'AGIBEFORECALLOUTBOUND' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:1] MSet("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "LOCAL(AGICALL)=AGIBEFORECALLOUTBOUND") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'AGICALL' is 'AGIBEFORECALLOUTBOUND' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'AGIBEFORECALLOUTBOUND' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(AGIBEFORECALLOUTBOUND) result is 'AGIBEFORECALLOUTBOUND' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,AGIBEFORECALLOUTBOUND) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:2] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "AcallCRIPTID=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'AcallCRIPTID' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:3] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?4:31") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (runAcallcript,~~s~~,31) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:31] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_runAcallcript_1379") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:32] Return("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'ONANSWERCALLOUTBOUND' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(ONANSWERCALLOUTBOUND) result is 'ONANSWERCALLOUTBOUND' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,ONANSWERCALLOUTBOUND) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:393] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "outonanswer=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'outonanswer' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:394] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?395:397") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,397) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:397] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialoutbound_1767") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_outboundtimeout) result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_outboundtimeout) result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:398] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?399:400") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,400) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:400] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialoutbound_1768") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'FAXOUTPREFIX' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(FAXOUTPREFIX) result is 'FAXOUTPREFIX' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,FAXOUTPREFIX) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:401] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "TENANTFAXOUTPREFIX=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ALWAYSTOPROVIDER' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(tenantinfo,te_allowonnet) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:402] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?403:524") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,524) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:524] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialoutbound_1769") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ISSMS' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:525] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?526:535") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,526) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ROUTINGPROFILE' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ROUTINGPROFILE' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:526] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?527:534") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,527) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'REALPEERNAME' is '200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' union SELECT ex_rp_id,ex_applyalwaysrpid FROM ex_extensions,ps_endpoints where ex_tech='PJSIP' and ex_tech_id=tech_id and id='${SQL_ESC(${ARG1})}' union SELECT ex_rp_id,ex_applyalwaysrpid FROM ex_extensions,ce_customextensions where ex_tech='CUSTOM' and ex_tech_id=ce_id and ce_peername='${SQL_ESC(${ARG1})}' union select ex_rp_id,ex_applyalwaysrpid from ex_extensions,ve_virtualextensions where ex_tech='VIRTUAL' and ex_tech_id=ve_id and ve_name='${SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' union SELECT ex_rp_id,ex_applyalwaysrpid FROM ex_extensions,ce_customextensions where ex_tech='CUSTOM' and ex_tech_id=ce_id and ce_peername='${SQL_ESC(${ARG1})}' union select ex_rp_id,ex_applyalwaysrpid from ex_extensions,ve_virtualextensions where ex_tech='VIRTUAL' and ex_tech_id=ve_id and ve_name='${SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' union select ex_rp_id,ex_applyalwaysrpid from ex_extensions,ve_virtualextensions where ex_tech='VIRTUAL' and ex_tech_id=ve_id and ve_name='${SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'ex_rp_id' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 18 for column 'ex_applyalwaysrpid' (offset 1) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '0,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '0,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_ROUTING_PROFILE_FROM_PEERNAME(200-call) result is '0,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:527] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "ARRAY(ROUTINGPROFILE,APPLYALWAYSRPID)=0,") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array (ROUTINGPROFILE,APPLYALWAYSRPID=0,) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ROUTINGPROFILE=0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (APPLYALWAYSRPID=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'APPLYALWAYSRPID' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:528] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?529:530") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,529) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'PEERNAME' is '200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' union SELECT ex_rp_id,ex_applyalwaysrpid FROM ex_extensions,ps_endpoints where ex_tech='PJSIP' and ex_tech_id=tech_id and id='${SQL_ESC(${ARG1})}' union SELECT ex_rp_id,ex_applyalwaysrpid FROM ex_extensions,ce_customextensions where ex_tech='CUSTOM' and ex_tech_id=ce_id and ce_peername='${SQL_ESC(${ARG1})}' union select ex_rp_id,ex_applyalwaysrpid from ex_extensions,ve_virtualextensions where ex_tech='VIRTUAL' and ex_tech_id=ve_id and ve_name='${SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' union SELECT ex_rp_id,ex_applyalwaysrpid FROM ex_extensions,ce_customextensions where ex_tech='CUSTOM' and ex_tech_id=ce_id and ce_peername='${SQL_ESC(${ARG1})}' union select ex_rp_id,ex_applyalwaysrpid from ex_extensions,ve_virtualextensions where ex_tech='VIRTUAL' and ex_tech_id=ve_id and ve_name='${SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' union select ex_rp_id,ex_applyalwaysrpid from ex_extensions,ve_virtualextensions where ex_tech='VIRTUAL' and ex_tech_id=ve_id and ve_name='${SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'ex_rp_id' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 18 for column 'ex_applyalwaysrpid' (offset 1) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '0,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '0,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_ROUTING_PROFILE_FROM_PEERNAME(200-call) result is '0,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:529] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "ARRAY(ROUTINGPROFILE,APPLYALWAYSRPID)=0,") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array (ROUTINGPROFILE,APPLYALWAYSRPID=0,) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (ROUTINGPROFILE=0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (APPLYALWAYSRPID=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:530] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_dialoutbound_1789_1790_1791") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ROUTINGPROFILE' is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ROUTINGPROFILE' is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:531] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?532:533") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,532) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'te_rp_id' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '45' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '45' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '45' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_ROUTING_PROFILE_FROM_TENANTID(15) result is '45' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:532] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "ROUTINGPROFILE=45") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:533] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_dialoutbound_1789_1790_1792") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:534] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_dialoutbound_1789_1790") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:535] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialoutbound_1789") in new stack [2022-02-07 19:17:53] ERROR[4637][C-00000e4d] res_fax.c: channel 'Local/AG-000-CC-538@fromotherpbx-00000d30;2' can't read FAXOPT(gateway) because it has never been written. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function FAXOPT(gateway) result is '(null)' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:536] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?537:539") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,539) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'FAXOUTPREFIX' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:539] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?540:541") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,541) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:541] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_dialoutbound_1793_1794") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:542] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialoutbound_1793") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(-1) result is '-1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'LCRPREFIX' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(LCRPREFIX) result is 'LCRPREFIX' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-1,LCRPREFIX) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:543] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "LCRPREFIX=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'LCRPREFIX' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:544] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "CODE=xxxxxxxxxx") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(-2) result is '-2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'ROUTECOSTLIMIT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(ROUTECOSTLIMIT) result is 'ROUTECOSTLIMIT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-2,ROUTECOSTLIMIT) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:545] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "ROUTECOSTLIMIT=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(-1) result is '-1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'SPLITCOSTLIMIT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(SPLITCOSTLIMIT) result is 'SPLITCOSTLIMIT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-1,SPLITCOSTLIMIT) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:546] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "SPLITCOSTLIMIT=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:547] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Applying general costs limits") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SPLITCOSTLIMIT' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:548] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?549:566") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,566) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(-2) result is '-2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'DAILYCOSTLIMIT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(DAILYCOSTLIMIT) result is 'DAILYCOSTLIMIT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-2,DAILYCOSTLIMIT) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:566] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "DAILYCOSTLIMIT=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(-2) result is '-2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'MONTHLYCOSTLIMIT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(MONTHLYCOSTLIMIT) result is 'MONTHLYCOSTLIMIT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-2,MONTHLYCOSTLIMIT) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:567] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "MONTHLYCOSTLIMIT=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(-2) result is '-2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'MONTHLYTENANTCOSTLIMIT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(MONTHLYTENANTCOSTLIMIT) result is 'MONTHLYTENANTCOSTLIMIT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-2,MONTHLYTENANTCOSTLIMIT) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:568] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "MONTHLYTENANTCOSTLIMIT=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(-2) result is '-2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'DAILYTENANTCOSTLIMIT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(DAILYTENANTCOSTLIMIT) result is 'DAILYTENANTCOSTLIMIT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-2,DAILYTENANTCOSTLIMIT) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:569] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "DAILYTENANTCOSTLIMIT=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(-2) result is '-2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'DAILYCOSTWARNING' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(DAILYCOSTWARNING) result is 'DAILYCOSTWARNING' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-2,DAILYCOSTWARNING) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:570] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "DAILYCOSTWARNING=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(-2) result is '-2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'MONTHLYCOSTWARNING' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(MONTHLYCOSTWARNING) result is 'MONTHLYCOSTWARNING' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-2,MONTHLYCOSTWARNING) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:571] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "MONTHLYCOSTWARNING=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(-2) result is '-2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'MONTHLYTENANTCOSTWARNING' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(MONTHLYTENANTCOSTWARNING) result is 'MONTHLYTENANTCOSTWARNING' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-2,MONTHLYTENANTCOSTWARNING) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:572] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "MONTHLYTENANTCOSTWARNING=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(-2) result is '-2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'DAILYTENANTCOSTWARNING' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(DAILYTENANTCOSTWARNING) result is 'DAILYTENANTCOSTWARNING' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-2,DAILYTENANTCOSTWARNING) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:573] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "DAILYTENANTCOSTWARNING=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:574] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialoutbound_1795") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(tenantinfo,te_costlimits) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:575] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?576:705") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,705) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:705] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialoutbound_1796") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(tenantinfo,te_costlimits) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:706] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?707:733") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,733) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:733] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialoutbound_1823") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_costlimits) result is 'no' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:734] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?735:804") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,804) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:804] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialoutbound_1824") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_costlimits) result is 'no' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:805] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?806:820") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,806) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:806] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Applying costs limits from extension") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:807] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "ROUTECOSTLIMIT=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:808] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "DAILYCOSTLIMIT=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:809] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "DAILYCOSTLIMITDOMESTIC=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:810] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "DAILYCOSTLIMITINTERNATIONAL=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:811] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "DAILYCOSTWARNING=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:812] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "DAILYCOSTWARNINGDOMESTIC=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:813] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "DAILYCOSTWARNINGINTERNATIONAL=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:814] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "MONTHLYCOSTLIMIT=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:815] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "MONTHLYCOSTLIMITDOMESTIC=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:816] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "MONTHLYCOSTLIMITINTERNATIONAL=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:817] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "MONTHLYCOSTWARNING=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:818] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "MONHTLYCOSTWARNINGDOMESTIC=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:819] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "MONTHLYCOSTWARNINGINTERNATIONAL=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:820] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialoutbound_1839") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ABUSEDETECTION' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:821] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?822:823") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,822) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(tenantinfo,te_abusedetection) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:822] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__ABUSEDETECTION=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:823] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialoutbound_1840") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ABUSEDETECTION' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:824] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?825:826") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,825) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(-2) result is '-2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'ABUSEDETECTION' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(ABUSEDETECTION) result is 'ABUSEDETECTION' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '10' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '10' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '10' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-2,ABUSEDETECTION) result is '10' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:825] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__ABUSEDETECTION=10") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:826] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialoutbound_1841") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'INTERNATIONALPREFIX' is '00' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function LEN(00) result is '2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'INTERNATIONALPREFIX' is '00' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:827] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?828:830") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,830) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:830] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialoutbound_1842") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ISSMS' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:831] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?832:857") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,857) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:857] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_dialoutbound_1843") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:858] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "LOCAL(n)=0") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:859] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "LOCAL(found)=yes") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:860] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "LOCAL(atleastone)=no") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '722280800' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:861] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__SAVEDCALLERID=722280800") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'found' is 'yes' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:862] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?863:1754") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,863) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SAVEDCALLERID' is '722280800' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:863] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "CALLERID(num)=722280800") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'ClearHash' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:864] ClearHash("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "ROUTINGRULE") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ISSMS' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:865] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?866:868") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,868) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SYSTEMNAME' is 'db02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ROUTINGPROFILE' is '45' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'CODE' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'n' is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' or dl_no_id='0' ) and '${SQL_ESC(${ARG2})}' regexp(dl_regex) and dl_rp_id='${SQL_ESC(${ARG3})}' and dl_paused='' union SELECT pr_id,pr_tech,pr_peername,dl_adddigits,dl_deldigits,pr_header1,pr_header2,pr_header3,pr_header4,pr_header5,pr_header6,pr_adddigits,pr_deldigits,pc_cost as cost,dl_emergencyroute,dl_usepin,dl_order,dl_priority,dl_weight,pr_penalty,pr_callerpres,pr_smsurl,pr_smspost,pr_smsuser,pr_smspassword,pr_smsprovider,pr_smsprotocol,pr_calleridregex,pr_ignoresipcause,pr_maxoutchannels from pr_providers,pc_providercosts,dl_dialingrules left outer join no_nodes on dl_no_id=no_id where dl_uselcr='on' and pr_id=pc_pr_id and pr_disabled='' and dl_pr_id=pr_id and ( no_peername='${SQL_ESC(${ARG1})}' or dl_no_id='0' ) and '${SQL_ESC(${ARG2})}' regexp(dl_regex) and dl_rp_id='${SQL_ESC(${ARG3})}' and pc_id=( select c.pc_id from pc_providercosts c where pr_id=c.pc_pr_id and pc_code='${SQL_ESC(${ARG4})}' and '${SQL_ESC(${ARG2})}' like concat(c.pc_prefix,'%') and dl_paused='' order by length(pc_prefix) DESC limit 1) order by isnull(cost),cost ASC,dl_order ASC,dl_priority ASC,dl_weight*pr_penalty ASC limit ${ARG5},1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'db02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02) result is 'db02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' regexp(dl_regex) and dl_rp_id='${SQL_ESC(${ARG3})}' and dl_paused='' union SELECT pr_id,pr_tech,pr_peername,dl_adddigits,dl_deldigits,pr_header1,pr_header2,pr_header3,pr_header4,pr_header5,pr_header6,pr_adddigits,pr_deldigits,pc_cost as cost,dl_emergencyroute,dl_usepin,dl_order,dl_priority,dl_weight,pr_penalty,pr_callerpres,pr_smsurl,pr_smspost,pr_smsuser,pr_smspassword,pr_smsprovider,pr_smsprotocol,pr_calleridregex,pr_ignoresipcause,pr_maxoutchannels from pr_providers,pc_providercosts,dl_dialingrules left outer join no_nodes on dl_no_id=no_id where dl_uselcr='on' and pr_id=pc_pr_id and pr_disabled='' and dl_pr_id=pr_id and ( no_peername='${SQL_ESC(${ARG1})}' or dl_no_id='0' ) and '${SQL_ESC(${ARG2})}' regexp(dl_regex) and dl_rp_id='${SQL_ESC(${ARG3})}' and pc_id=( select c.pc_id from pc_providercosts c where pr_id=c.pc_pr_id and pc_code='${SQL_ESC(${ARG4})}' and '${SQL_ESC(${ARG2})}' like concat(c.pc_prefix,'%') and dl_paused='' order by length(pc_prefix) DESC limit 1) order by isnull(cost),cost ASC,dl_order ASC,dl_priority ASC,dl_weight*pr_penalty ASC limit ${ARG5},1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' and dl_paused='' union SELECT pr_id,pr_tech,pr_peername,dl_adddigits,dl_deldigits,pr_header1,pr_header2,pr_header3,pr_header4,pr_header5,pr_header6,pr_adddigits,pr_deldigits,pc_cost as cost,dl_emergencyroute,dl_usepin,dl_order,dl_priority,dl_weight,pr_penalty,pr_callerpres,pr_smsurl,pr_smspost,pr_smsuser,pr_smspassword,pr_smsprovider,pr_smsprotocol,pr_calleridregex,pr_ignoresipcause,pr_maxoutchannels from pr_providers,pc_providercosts,dl_dialingrules left outer join no_nodes on dl_no_id=no_id where dl_uselcr='on' and pr_id=pc_pr_id and pr_disabled='' and dl_pr_id=pr_id and ( no_peername='${SQL_ESC(${ARG1})}' or dl_no_id='0' ) and '${SQL_ESC(${ARG2})}' regexp(dl_regex) and dl_rp_id='${SQL_ESC(${ARG3})}' and pc_id=( select c.pc_id from pc_providercosts c where pr_id=c.pc_pr_id and pc_code='${SQL_ESC(${ARG4})}' and '${SQL_ESC(${ARG2})}' like concat(c.pc_prefix,'%') and dl_paused='' order by length(pc_prefix) DESC limit 1) order by isnull(cost),cost ASC,dl_order ASC,dl_priority ASC,dl_weight*pr_penalty ASC limit ${ARG5},1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '45' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(45) result is '45' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' or dl_no_id='0' ) and '${SQL_ESC(${ARG2})}' regexp(dl_regex) and dl_rp_id='${SQL_ESC(${ARG3})}' and pc_id=( select c.pc_id from pc_providercosts c where pr_id=c.pc_pr_id and pc_code='${SQL_ESC(${ARG4})}' and '${SQL_ESC(${ARG2})}' like concat(c.pc_prefix,'%') and dl_paused='' order by length(pc_prefix) DESC limit 1) order by isnull(cost),cost ASC,dl_order ASC,dl_priority ASC,dl_weight*pr_penalty ASC limit ${ARG5},1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'db02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02) result is 'db02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' regexp(dl_regex) and dl_rp_id='${SQL_ESC(${ARG3})}' and pc_id=( select c.pc_id from pc_providercosts c where pr_id=c.pc_pr_id and pc_code='${SQL_ESC(${ARG4})}' and '${SQL_ESC(${ARG2})}' like concat(c.pc_prefix,'%') and dl_paused='' order by length(pc_prefix) DESC limit 1) order by isnull(cost),cost ASC,dl_order ASC,dl_priority ASC,dl_weight*pr_penalty ASC limit ${ARG5},1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' and pc_id=( select c.pc_id from pc_providercosts c where pr_id=c.pc_pr_id and pc_code='${SQL_ESC(${ARG4})}' and '${SQL_ESC(${ARG2})}' like concat(c.pc_prefix,'%') and dl_paused='' order by length(pc_prefix) DESC limit 1) order by isnull(cost),cost ASC,dl_order ASC,dl_priority ASC,dl_weight*pr_penalty ASC limit ${ARG5},1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '45' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(45) result is '45' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG4})' (from 'SQL_ESC(${ARG4})}' and '${SQL_ESC(${ARG2})}' like concat(c.pc_prefix,'%') and dl_paused='' order by length(pc_prefix) DESC limit 1) order by isnull(cost),cost ASC,dl_order ASC,dl_priority ASC,dl_weight*pr_penalty ASC limit ${ARG5},1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG4' (from 'ARG4})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG4' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' like concat(c.pc_prefix,'%') and dl_paused='' order by length(pc_prefix) DESC limit 1) order by isnull(cost),cost ASC,dl_order ASC,dl_priority ASC,dl_weight*pr_penalty ASC limit ${ARG5},1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG5' (from 'ARG5},1' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG5' is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 5 for column 'pr_id' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '57' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '57' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 7 for column 'pr_tech' (offset 1) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'PJSIP' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 11 for column 'pr_peername' (offset 2) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'fs2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 12 for column 'dl_adddigits' (offset 3) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 12 for column 'dl_deldigits' (offset 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 10 for column 'pr_header1' (offset 5) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'P-Accountcode:${BILLINGCODE}' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE}' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 10 for column 'pr_header2' (offset 6) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'X-Faxid1:${FAXID}' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID}' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 10 for column 'pr_header3' (offset 7) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'X-Campaignid:${CAID}' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID}' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 10 for column 'pr_header4' (offset 8) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED}' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED}' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 10 for column 'pr_header5' (offset 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'X-IncomingDID:${INCOMINGDID}' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID}' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 10 for column 'pr_header6' (offset 10) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 12 for column 'pr_adddigits' (offset 11) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 12 for column 'pr_deldigits' (offset 12) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 4 for column 'cost' (offset 13) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got NULL data [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 17 for column 'dl_emergencyroute' (offset 14) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 9 for column 'dl_usepin' (offset 15) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'dl_order' (offset 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 11 for column 'dl_priority' (offset 17) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,0,0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 9 for column 'dl_weight' (offset 18) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,0,0,0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 10 for column 'pr_penalty' (offset 19) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '229867' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,0,0,0,229867' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 13 for column 'pr_callerpres' (offset 20) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'auto_not_screened' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,0,0,0,229867,auto_not_screened' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 9 for column 'pr_smsurl' (offset 21) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,0,0,0,229867,auto_not_screened,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 10 for column 'pr_smspost' (offset 22) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,0,0,0,229867,auto_not_screened,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 10 for column 'pr_smsuser' (offset 23) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,0,0,0,229867,auto_not_screened,,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 14 for column 'pr_smspassword' (offset 24) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,0,0,0,229867,auto_not_screened,,,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 14 for column 'pr_smsprovider' (offset 25) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '012' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,0,0,0,229867,auto_not_screened,,,,,012' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 14 for column 'pr_smsprotocol' (offset 26) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'WEBURL' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,0,0,0,229867,auto_not_screened,,,,,012,WEBURL' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 16 for column 'pr_calleridregex' (offset 27) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,0,0,0,229867,auto_not_screened,,,,,012,WEBURL,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 17 for column 'pr_ignoresipcause' (offset 28) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,0,0,0,229867,auto_not_screened,,,,,012,WEBURL,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 17 for column 'pr_maxoutchannels' (offset 29) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '2147483647' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,0,0,0,229867,auto_not_screened,,,,,012,WEBURL,,,2147483647' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,0,0,0,229867,auto_not_screened,,,,,012,WEBURL,,,2147483647' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_OUTBOUND_ROUTE(db02,xxxxxxxxxx,45,xxxxxxxxxx,0) result is '57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,0,0,0,229867,auto_not_screened,,,,,012,WEBURL,,,2147483647' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:868] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "HASH(ROUTINGRULE)=57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,0,0,0,229867,auto_not_screened,,,,,012,WEBURL,,,2147483647") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array (pr_id,pr_tech,pr_peername,dl_adddigits,dl_deldigits,pr_header1,pr_header2,pr_header3,pr_header4,pr_header5,pr_header6,pr_adddigits,pr_deldigits,cost,dl_emergencyroute,dl_usepin,dl_order,dl_priority,dl_weight,pr_penalty,pr_callerpres,pr_smsurl,pr_smspost,pr_smsuser,pr_smspassword,pr_smsprovider,pr_smsprotocol,pr_calleridregex,pr_ignoresipcause,pr_maxoutchannels=57,PJSIP,fs2,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,0,0,0,229867,auto_not_screened,,,,,012,WEBURL,,,2147483647) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_id=57) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_tech=PJSIP) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_peername=fs2) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (dl_adddigits=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (dl_deldigits=0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_header1=P-Accountcode:${BILLINGCODE}) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_header2=X-Faxid1:${FAXID}) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_header3=X-Campaignid:${CAID}) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_header4=X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED}) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_header5=X-IncomingDID:${INCOMINGDID}) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_header6=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_adddigits=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_deldigits=0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (cost=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (dl_emergencyroute=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (dl_usepin=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (dl_order=0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (dl_priority=0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (dl_weight=0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_penalty=229867) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_callerpres=auto_not_screened) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_smsurl=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_smspost=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_smsuser=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_smspassword=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_smsprovider=012) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_smsprotocol=WEBURL) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_calleridregex=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_ignoresipcause=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_maxoutchannels=2147483647) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:869] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_while_dialoutbound_1844_1845") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_id) result is '57' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:870] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?871:1750") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,871) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_id) result is '57' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:871] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "LATESTDIALEDPRID=57") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_id) result is '57' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:872] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?873:878") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,878) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:878] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_while_dialoutbound_1844_1846_1847") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,dl_usepin) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:879] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?880:902") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,902) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:902] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_while_dialoutbound_1844_1846_1848") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:903] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "atleastone=yes") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_tech) result is 'PJSIP' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_peername) result is 'fs2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,dl_id) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,cost) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:904] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Provider choosen is of type PJSIP with name fs2 - ID - COST Increasing the call count") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ISSMS' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:905] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?906:919") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,906) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:906] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "GROUP(TENANT)=15") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SYSTEMNAME' is 'db02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function GROUP_COUNT(15@TENANT) result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:907] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "ODBC_SET_GROUP_COUNT(15@TENANT,db02)=1") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}','${SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15@TENANT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15@TENANT) result is '15@TENANT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'db02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02) result is 'db02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(1) result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(1) result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15@TENANT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15@TENANT) result is '15@TENANT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 25 for column 'coalesce(sum(gr_count),0)' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '3' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '3' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '3' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_GROUP_COUNT(15@TENANT) result is '3' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:908] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "numchannels=3") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 14 for column 'te_maxchannels' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_CHANNELSLIMIT_FROM_TENANTID(15) result is '200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:909] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "maxchannels=200") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'numchannels' is '3' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'maxchannels' is '200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:910] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "This tenant has now 3 active channels over a limit of 200") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'maxchannels' is '200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'numchannels' is '3' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'maxchannels' is '200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,dl_emergencyroute) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:911] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?912:918") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,918) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:918] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_while_dialoutbound_1844_1846_1852_1853") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:919] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_while_dialoutbound_1844_1846_1852") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_id) result is '57' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:920] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "ODBC_SET_INCREASE_PENALTY(57)=1") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1} where pr_id='${SQL_ESC(${ARG1})}'' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '57' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(57) result is '57' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,dl_adddigits) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,dl_deldigits) result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:921] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__DialNumber=xxxxxxxxxx") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'DialNumber' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:922] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Call final number is xxxxxxxxxx") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CDR(firstdst) result is '900' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:923] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?924:926") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,926) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'DialNumber' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:926] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "CDR(lastdst)=xxxxxxxxxx") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:927] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_while_dialoutbound_1844_1846_1854") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'DialNumber' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CDR(sequence) result is '13318' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'CALLRATE' is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_peername) result is 'fs2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'CELGenUserEvent' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:928] CELGenUserEvent("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "DIALOUTBOUND,xxxxxxxxxx,13318,0,fs2") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,dl_emergencyroute) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:929] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?930:956") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,956) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:956] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_while_dialoutbound_1844_1846_1855") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'CALLRATE' is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,dl_emergencyroute) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ISSMS' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:957] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?958:1383") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1383) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1383] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_while_dialoutbound_1844_1846_1863") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,dl_emergencyroute) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ROUTECOSTLIMIT' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'CALLRATE' is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTBILLING' is 'Post Paid' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ISSMS' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1384] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?1385:1405") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1405) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1405] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_while_dialoutbound_1844_1846_1950") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_id) result is '57' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '722280800' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and pr_ca_id=ca_id and cr_ca_id=ca_id and '${SQL_ESC(${ARG2})}' regexp(cr_regex) limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '57' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(57) result is '57' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' regexp(cr_regex) limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '722280800' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(722280800) result is '722280800' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_CALLERID_MOD(57,722280800) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1406] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "ARRAY(LOCAL(CMODID),LOCAL(CMODADD),LOCAL(CMODDEL))=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array (LOCAL(CMODID),LOCAL(CMODADD),LOCAL(CMODDEL)=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (LOCAL(CMODID)=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (LOCAL(CMODADD)=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (LOCAL(CMODDEL)=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'CMODADD' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'CMODDEL' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '722280800' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1407] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "CALLERID(num)=722280800") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '722280800' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CALLERID(name) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1408] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "CallerID has been MODded in num <722280800> and name <>") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_callerpres) result is 'auto_not_screened' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1409] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?1410:1428") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1428) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_callerpres) result is 'auto_not_screened' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1428] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?1429:1437") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1429) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_blockcid) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1429] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?1430:1433") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1430) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1430] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "CALLERID(name-pres)=allowed") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1431] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "CALLERID(num-pres)=allowed_not_screened") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1432] Goto("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1435") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1435) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1435] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_if_while_dialoutbound_1844_1846_1954_1958_1959") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1436] Goto("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1446") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1446) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1446] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_while_dialoutbound_1844_1846_1954_1958") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1447] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_while_dialoutbound_1844_1846_1954") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_calleridregex) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1448] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?1449:1467") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:3] Gosub("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "decodeCallParams,~~s~~,1") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] app_stack.c: Channel Local/AG-000-NF-38@fromotherpbx-00000d2d;2 has no datastore, so we're allocating one. [2022-02-07 19:17:53] WARNING[4634][C-00000e4d] chan_sip.c: This function can only be used on SIP channels. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SIP_HEADER(X-PBX) result is '(null)' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:1] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "SIPHEADER=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:2] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "1?3:4") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (decodeCallParams,~~s~~,3) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'PBX' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||||' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:3] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "SIPHEADER=97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||||") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:4] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_decodeCallParams_1374") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||||' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:5] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "1?6:44") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (decodeCallParams,~~s~~,6) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||||' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:6] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__QUEUE_RAISE_PENALTY=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9||||||||||||' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:7] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__QUEUE_MIN_PENALTY=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:8] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__QUEUE_MAX_PENALTY=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9||||||||||' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:9] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__AUTOANSWER=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:10] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "USERVARVALUES=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9||||||||' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:11] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "USERVARLIST=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:12] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__SETQUEUERAISEPENALTY=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9||||||' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:13] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__SETQUEUEMAXPENALTY=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:14] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__SETQUEUEMINPENALTY=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9||||' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:15] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__SETQUEUERULE=") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1467) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1467] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_while_dialoutbound_1844_1846_1962") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,dl_emergencyroute) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1468] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?1469:1499") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1499) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_peername) result is 'fs2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1499] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "GROUP(OUTPROVIDER)=fs2") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_peername) result is 'fs2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SYSTEMNAME' is 'db02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_peername) result is 'fs2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function GROUP_COUNT(fs2@OUTPROVIDER) result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1500] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "ODBC_SET_GROUP_COUNT(fs2@OUTPROVIDER,db02)=1") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}','${SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'fs2@OUTPROVIDER' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(fs2@OUTPROVIDER) result is 'fs2@OUTPROVIDER' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'db02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02) result is 'db02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(1) result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(1) result is '1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:16] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__PLAYBACKOPTION=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9||' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:17] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__RESPONSEPATHID=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:18] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__PRIVACYID=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '9' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:19] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__FROMQUEUEID=9") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he|' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:20] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__QUEUEOPTION=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is 'he' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:21] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__LANGUAGE=he") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457|||||' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:22] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__FMFMCALLERID=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:23] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__FMFMDIALTIMEOUT=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457|||' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:24] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__BLINDCONNECTEDNUM=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:25] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__ONANSWERID=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457|' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:26] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__ONANSWER=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '457' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:27] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "CHANNEL(musicclass)=457") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '900' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:28] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "CDR(firstdst)=900") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '900' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:29] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__DIALEDNUMBER=900") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt|' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:30] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__DIALTIMEOUT=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is 'Tt' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_peername) result is 'fs2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_peername) result is 'fs2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function GROUP_COUNT(fs2@OUTPROVIDER) result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_maxoutchannels) result is '2147483647' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1501] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Current provider fs2 has 1 calls running over a limit of 2147483647") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_maxoutchannels) result is '2147483647' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_peername) result is 'fs2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function GROUP_COUNT(fs2@OUTPROVIDER) result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_maxoutchannels) result is '2147483647' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1502] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?1503:1506") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1506) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1506] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_while_dialoutbound_1844_1846_1966_1973") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1507] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_while_dialoutbound_1844_1846_1966") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'STDDIALOPTION' is 'U(destChannelActions^${ALWAYSRECORD}^${RECORDINGFORMAT}^${CONFIRM}^${CONFIRMMD5}^${ONANSWER}^${ONANSWERID}^${RECORDOTHERLEG}^${MIXMONITOROPTION})b(pjsip_header,setpjsipheader,1)' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'DIALOPTION' is 'TtL(7200000)t' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ALWAYSRECORD' is 'externalchange' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'RECORDINGFORMAT' is 'wav' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'CONFIRM' is 'yes' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'CONFIRMMD5' is 'pbx/9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ONANSWER' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ONANSWERID' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'RECORDOTHERLEG' is 'on' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'MIXMONITOROPTION' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function EVAL(U(destChannelActions^${ALWAYSRECORD}^${RECORDINGFORMAT}^${CONFIRM}^${CONFIRMMD5}^${ONANSWER}^${ONANSWERID}^${RECORDOTHERLEG}^${MIXMONITOROPTION})b(pjsip_header,setpjsipheader,1)TtL(7200000)t) result is 'U(destChannelActions^externalchange^wav^yes^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1508] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "nowDIALOPTION=U(destChannelActions^externalchange^wav^yes^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_tech) result is 'PJSIP' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1509] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?1510:1538") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1538) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_tech) result is 'PJSIP' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1538] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?1539:1567") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1539) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:31] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__DIALOPTION=Tt") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300|||' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:32] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__NOFMFM=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:33] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__ONLYFMFM=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300|' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:34] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__NOFOLLOWEXTENSION=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 14 for column 'te_billingcode' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '1574692660' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '1574692660' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 20 for column 'te_prefixbillingcode' (offset 1) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '1574692660,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 12 for column 'te_extracode' (offset 2) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '1574692660,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '1574692660,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '13300' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:35] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__CDRcallSequence=13300") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:36] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__CDRcallUniqueID=oraclepbx-1644254244.1743648") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15|||' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:37] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__VALIDCALLERID=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:38] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__SETCALLERID=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15|' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:39] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__INCOMINGDID=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:40] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__TENANTID=15") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '200-call' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:41] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__REALPEERNAME=200-call") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '200-call' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:42] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__PEERNAME=200-call") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '97' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:43] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__TTL=97") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:44] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_decodeCallParams_1375") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'LANGUAGE' is 'he' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:45] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "1?46:49") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (decodeCallParams,~~s~~,46) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'LANGUAGE' is 'he' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:46] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "CHANNEL(language)=he") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_BILLINGCODE_FROM_TENANTID(15) result is '1574692660,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1539] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "ARRAY(BILLINGCODE,PREFIXBILLINGCODE,EXTRACODE)=1574692660,,") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array (BILLINGCODE,PREFIXBILLINGCODE,EXTRACODE=1574692660,,) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (BILLINGCODE=1574692660) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (PREFIXBILLINGCODE=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (EXTRACODE=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function CHANNEL(language) result is 'he' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'he' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(he) result is 'he' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 7 for column 'te_code' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 5 for column 'la_id' (offset 0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 12 for column 'la_directory' (offset 1) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,he' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 15 for column 'la_languagecode' (offset 2) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,he,he' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 18 for column 'la_sublanguagecode' (offset 3) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'IL' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 9 for column 'la_locale' (offset 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 7 for column 'la_flag' (offset 5) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'il' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 11 for column 'la_language' (offset 6) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'Hebrew' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 10 for column 'la_enabled' (offset 7) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 11 for column 'la_tonezone' (offset 8) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'il' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 6 for column 'la_rtl' (offset 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'yes' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_ACCOUNTCODE_FROM_TENANTID(15) result is 'call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1540] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "TENANTCODE=call") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header1) result is 'P-Accountcode:${BILLINGCODE}' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1541] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?1542:1543") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1542) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header1) result is 'P-Accountcode:${BILLINGCODE}' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'BILLINGCODE' is '1574692660' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function EVAL(P-Accountcode:${BILLINGCODE}) result is 'P-Accountcode:1574692660' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1542] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__SIPADDHEADER01=P-Accountcode:1574692660") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1543] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_if_while_dialoutbound_1844_1846_1974_1982_1983") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header2) result is 'X-Faxid1:${FAXID}' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1544] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?1545:1546") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1545) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header2) result is 'X-Faxid1:${FAXID}' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'FAXID' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function EVAL(X-Faxid1:${FAXID}) result is 'X-Faxid1:' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1545] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__SIPADDHEADER02=X-Faxid1:") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1546] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_if_while_dialoutbound_1844_1846_1974_1982_1984") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header3) result is 'X-Campaignid:${CAID}' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1547] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?1548:1549") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1548) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header3) result is 'X-Campaignid:${CAID}' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'CAID' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function EVAL(X-Campaignid:${CAID}) result is 'X-Campaignid:' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function ODBC_GET_ALL_LANGUAGE_INFO_FROM_DIRECTORY(he) result is '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1548] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__SIPADDHEADER03=X-Campaignid:") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:47] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "HASH(alllanguage)=15,he,he,IL,he,il,Hebrew,on,il,yes") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array (la_id,la_directory,la_languagecode,la_sublanguagecode,la_locale,la_flag,la_language,la_enabled,la_tonezone,la_rtl=15,he,he,IL,he,il,Hebrew,on,il,yes) [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1549] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_if_while_dialoutbound_1844_1846_1974_1982_1985") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (la_id=15) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (la_directory=he) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (la_languagecode=he) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header4) result is 'X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED}' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (la_sublanguagecode=IL) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1550] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?1551:1552") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1551) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header4) result is 'X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED}' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'PEEREXTEN' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'INCOMINGDID' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'PINSTORED' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function EVAL(X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED}) result is 'X-Ext:|' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1551] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__SIPADDHEADER04=X-Ext:|") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1552] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_if_while_dialoutbound_1844_1846_1974_1982_1986") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header5) result is 'X-IncomingDID:${INCOMINGDID}' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1553] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?1554:1555") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1554) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header5) result is 'X-IncomingDID:${INCOMINGDID}' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'INCOMINGDID' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function EVAL(X-IncomingDID:${INCOMINGDID}) result is 'X-IncomingDID:' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1554] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__SIPADDHEADER05=X-IncomingDID:") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (la_locale=he) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (la_flag=il) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (la_language=Hebrew) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (la_enabled=on) [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1555] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_if_while_dialoutbound_1844_1846_1974_1982_1987") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (la_tonezone=il) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (la_rtl=yes) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header6) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1556] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?1557:1558") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(alllanguage,la_tonezone) result is 'il' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:48] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "CHANNEL(tonezone)=il") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1558) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1558] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_if_while_dialoutbound_1844_1846_1974_1982_1988") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:49] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_decodeCallParams_1376") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'CDRcallUniqueID' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'PREFIXBILLINGCODE' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'CELGenUserEvent' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:50] CELGenUserEvent("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "PREVUNIQUEID,oraclepbx-1644254244.1743648") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1559] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?1560:1562") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1562) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1562] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "BILLINGPREFIX=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'CDRcallUniqueID' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1563] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_if_while_dialoutbound_1844_1846_1974_1982_1989") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'LIMIT_CONNECT_FILE' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'LIMIT_WARNING_FILE' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1564] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", " ") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_tech) result is 'PJSIP' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'BILLINGPREFIX' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_adddigits) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_deldigits) result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'DialNumber' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_peername) result is 'fs2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'DIALTIMEOUT' is '300' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'nowDIALOPTION' is 'U(destChannelActions^externalchange^wav^yes^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Dial' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1565] Dial("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "PJSIP/xxxxxxxxxx@fs2,300,U(destChannelActions^externalchange^wav^yes^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_dial.c: Local/AG-000-CC-538@fromotherpbx-00000d30;2: Data: PJSIP/xxxxxxxxxx@fs2,300,U(destChannelActions^externalchange^wav^yes^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] features.c: Setting call duration limit to 7200.000 seconds. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] chan_pjsip.c: xxxxxxxxxx@fs2 Topology: <0:audio-0:audio:sendrecv (ulaw)> [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:51] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?52:53") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (decodeCallParams,~~s~~,53) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:53] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_decodeCallParams_1377") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'USERVARLIST' (from 'USERVARLIST}' len 11) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'USERVARLIST' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SHIFT(USERVARLIST) result is '(null)' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SET(var=) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:54] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?55:59") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (decodeCallParams,~~s~~,59) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:59] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish while_decodeCallParams_1378") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:60] Return("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'QUEUENAME' is NULL [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:4] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Queue ringing ") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is 'AG-000-NF-38' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '200' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function CHANNEL(musicclass) result is '457' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:5] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Received a call from another server for agent with extension ID 000-NF-38 and Callerid 200 Music class is 457") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'MAXCALLDURATION' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(MAXCALLDURATION) result is 'MAXCALLDURATION' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '7200' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '7200' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '7200' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,MAXCALLDURATION) result is '7200' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:6] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "MAXCALLDURATION=7200") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'MAXCALLDURATION' is '7200' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:7] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "1?8:9") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,8) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'MAXCALLDURATION' is '7200' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:8] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "TIMEOUT(absolute)=7200") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] func_timeout.c: Channel will hangup at 2022-02-07 21:17:53.322 IST. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:9] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_fromotherpbx_1572") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'UNIQUEID' is 'db02-1644254272.72739' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'SIPAddHeader' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:10] SIPAddHeader("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "X-VoipMonitor-Custom1: db02-1644254272.72739") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: SIP Header added "X-VoipMonitor-Custom1: db02-1644254272.72739" as __SIPADDHEADER03 [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'UNIQUEID' is 'db02-1644254272.72739' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:11] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__SIMPLEPREVUNIQUEID=db02-1644254272.72739") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:12] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__TRANSFER_CONTEXT=authenticated") in new stack [2022-02-07 19:17:53] WARNING[4634][C-00000e4d] chan_sip.c: This function can only be used on SIP channels. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SIP_HEADER(Call-Info) result is '(null)' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:13] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Call-Info=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'Call-Info' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:14] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?15:16") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:16] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_fromotherpbx_1573") in new stack [2022-02-07 19:17:53] WARNING[4634][C-00000e4d] chan_sip.c: This function can only be used on SIP channels. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SIP_HEADER(Alert-Info) result is '(null)' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:17] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Alert-Info=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'Alert-Info' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:18] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?19:20") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,20) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:20] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_fromotherpbx_1574") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 5 for column 'te_id' (offset 0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 7 for column 'te_code' (offset 1) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'call' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 13 for column 'te_alertemail' (offset 2) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 8 for column 'te_cl_id' (offset 3) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 15 for column 'te_payment_type' (offset 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'Post Paid' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 8 for column 'te_rp_id' (offset 5) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '45' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 14 for column 'te_billingcode' (offset 6) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '1574692660' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 14 for column 'te_billingtype' (offset 7) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'CDR' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_disabled' (offset 8) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 20 for column 'te_prefixbillingcode' (offset 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 13 for column 'te_allowonnet' (offset 10) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 24 for column 'te_allowanycalleridusage' (offset 11) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 15 for column 'te_allowinonnet' (offset 12) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 12 for column 'te_billonnet' (offset 13) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 19 for column 'te_onnetdigitstoadd' (offset 14) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 22 for column 'te_onnetdigitstoremove' (offset 15) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_ca_rp_id' (offset 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 14 for column 'te_defaultrrid' (offset 17) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 12 for column 'te_sms_rp_id' (offset 18) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '77' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_ca_cl_id' (offset 19) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 13 for column 'te_costlimits' (offset 20) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 23 for column 'te_dailytenantcostlimit' (offset 21) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 25 for column 'te_monthlytenantcostlimit' (offset 22) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 17 for column 'te_routecostlimit' (offset 23) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_cr_no_id' (offset 24) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_ca_no_id' (offset 25) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 27 for column 'te_allowanycalleridforemerg' (offset 26) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 17 for column 'te_abusedetection' (offset 27) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 17 for column 'te_expirationdate' (offset 28) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0000-00-00' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 14 for column 'te_alertamount' (offset 29) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got NULL data [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 20 for column 'te_dailycostlimitdom' (offset 30) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 20 for column 'te_dailycostlimitint' (offset 31) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 26 for column 'te_dailytenantcostlimitdom' (offset 32) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 26 for column 'te_dailytenantcostlimitint' (offset 33) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 28 for column 'te_monthlytenantcostlimitdom' (offset 34) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 28 for column 'te_monthlytenantcostlimitint' (offset 35) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 22 for column 'te_dailycostwarningdom' (offset 36) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 22 for column 'te_dailycostwarningint' (offset 37) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 28 for column 'te_dailytenantcostwarningdom' (offset 38) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 28 for column 'te_dailytenantcostwarningint' (offset 39) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 30 for column 'te_monthlytenantcostwarningdom' (offset 40) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 30 for column 'te_monthlytenantcostwarningint' (offset 41) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 27 for column 'te_uploadrecordingatcallend' (offset 42) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'yes' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 25 for column 'te_dailytenantcostwarning' (offset 43) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 27 for column 'te_monthlytenantcostwarning' (offset 44) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 19 for column 'te_dailycostwarning' (offset 45) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 18 for column 'te_recordemergency' (offset 46) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 24 for column 'te_recordemergency_email' (offset 47) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_timezone' (offset 48) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 29 for column 'te_allowincomingcalleridusage' (offset 49) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 16 for column 'te_forcepinonnet' (offset 50) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 17 for column 'te_dailycostlimit' (offset 51) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 19 for column 'te_monthlycostlimit' (offset 52) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 22 for column 'te_monthlycostlimitdom' (offset 53) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 22 for column 'te_monthlycostlimitint' (offset 54) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 24 for column 'te_monthlycostwarningdom' (offset 55) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 24 for column 'te_monthlycostwarningint' (offset 56) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] chan_pjsip.c: Couldn't push task [2022-02-07 19:17:53] WARNING[4637][C-00000e4d] app_dial.c: Unable to create channel of type 'PJSIP' (cause 3 - No route to destination) [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] app_dial.c: No devices or endpoints to dial (technology/resource) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_dial.c: Exiting with DIALSTATUS=CHANUNAVAIL. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_dial.c: Local/AG-000-CC-538@fromotherpbx-00000d30;2: Done [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1566] Goto("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1686") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1686) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1686] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_while_dialoutbound_1844_1846_1974_1982") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1687] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_while_dialoutbound_1844_1846_1974") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'DIALSTATUS' is 'CHANUNAVAIL' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'HANGUPCAUSE' is '3' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASHKEYS(SIP_CAUSE) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(SIP_CAUSE,) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASHKEYS(SIP_CAUSE) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CDR(dstchannel) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1688] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Dial Status is CHANUNAVAIL HangupCause is 3 Hash SIP Cause is HASHKEYS dstchannel ") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HANGUPCAUSE_KEYS() result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1689] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "This is hangupcause_keys ") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HANGUPCAUSE_KEYS() result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1690] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "ARRAY(item)=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array (item=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (item=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function ODBC_TENANTINFO_FROM_ID(15) result is '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:21] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "HASH(tenantinfo)=15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array (te_id,te_code,te_alertemail,te_cl_id,te_payment_type,te_rp_id,te_billingcode,te_billingtype,te_disabled,te_prefixbillingcode,te_allowonnet,te_allowanycalleridusage,te_allowinonnet,te_billonnet,te_onnetdigitstoadd,te_onnetdigitstoremove,te_ca_rp_id,te_defaultrrid,te_sms_rp_id,te_ca_cl_id,te_costlimits,te_dailytenantcostlimit,te_monthlytenantcostlimit,te_routecostlimit,te_cr_no_id,te_ca_no_id,te_allowanycalleridforemerg,te_abusedetection,te_expirationdate,te_alertamount,te_dailycostlimitdom,te_dailycostlimitint,te_dailytenantcostlimitdom,te_dailytenantcostlimitint,te_monthlytenantcostlimitdom,te_monthlytenantcostlimitint,te_dailycostwarningdom,te_dailycostwarningint,te_dailytenantcostwarningdom,te_dailytenantcostwarningint,te_monthlytenantcostwarningdom,te_monthlytenantcostwarningint,te_uploadrecordingatcallend,te_dailytenantcostwarning,te_monthlytenantcostwarning,te_dailycostwarning,te_recordemergency,te_recordemergency_email,te_timezone,te_allowincomingcalleridusage,te_forcepinonnet,te_dailycostlimit,te_monthlycostlimit,te_monthlycostlimitdom,te_monthlycostlimitint,te_monthlycostwarningdom,te_monthlycostwarningint=15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_id=15) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_code=call) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_alertemail=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'item' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'item' is '' [2022-02-07 19:17:53] WARNING[4637][C-00000e4d] func_hangupcause.c: Unable to find information for channel [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HANGUPCAUSE(,tech) result is '(null)' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'item' is '' [2022-02-07 19:17:53] WARNING[4637][C-00000e4d] func_hangupcause.c: Unable to find information for channel [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HANGUPCAUSE(,ast) result is '(null)' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1691] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "For Tech Cause Code , Asterisk Cause Code ") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_cl_id=0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_payment_type=Post Paid) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_rp_id=45) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_billingcode=1574692660) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_billingtype=CDR) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_disabled=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_prefixbillingcode=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_allowonnet=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_allowanycalleridusage=on) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_allowinonnet=on) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_billonnet=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_onnetdigitstoadd=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_onnetdigitstoremove=0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_ca_rp_id=0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_defaultrrid=0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_sms_rp_id=77) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_ca_cl_id=0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_costlimits=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_dailytenantcostlimit=0.00000) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostlimit=0.00000) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_routecostlimit=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CDR(uniqueid) result is 'db02-1644254272.72748' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1692] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "ODBC_REMOVE_TEMPORARY_COST(15)=Temporary-db02-1644254272.72748") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and cc_uniqueid='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'VAL1' is 'Temporary-db02-1644254272.72748' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(Temporary-db02-1644254272.72748) result is 'Temporary-db02-1644254272.72748' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_cr_no_id=0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_ca_no_id=0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_allowanycalleridforemerg=on) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_abusedetection=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_expirationdate=0000-00-00) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_alertamount=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_dailycostlimitdom=0.00000) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_dailycostlimitint=0.00000) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_dailytenantcostlimitdom=0.00000) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_dailytenantcostlimitint=0.00000) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostlimitdom=0.00000) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostlimitint=0.00000) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_dailycostwarningdom=0.00000) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_dailycostwarningint=0.00000) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_dailytenantcostwarningdom=0.00000) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_dailytenantcostwarningint=0.00000) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostwarningdom=0.00000) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostwarningint=0.00000) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_uploadrecordingatcallend=yes) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_dailytenantcostwarning=0.00000) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostwarning=0.00000) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_dailycostwarning=0.00000) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_recordemergency=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_recordemergency_email=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_timezone=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_allowincomingcalleridusage=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_forcepinonnet=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_dailycostlimit=0.00000) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_monthlycostlimit=0.00000) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_monthlycostlimitdom=0.00000) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_monthlycostlimitint=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_monthlycostwarningdom=0.00000) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_monthlycostwarningint=0.00000) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(tenantinfo,te_timezone) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:22] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__TIMEZONE=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SIPCALLID' is NULL [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:23] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "CDR(srcCallID)=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is 'AG-000-NF-38' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:24] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "membervalue=000-NF-38") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'membervalue' (from 'membervalue}' len 11) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'membervalue' is '000-NF-38' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function CUT(membervalue,-,2) result is 'NF' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:25] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "membertype=NF") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'membervalue' (from 'membervalue}' len 11) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'membervalue' is '000-NF-38' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function CUT(membervalue,-,3) result is '38' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:26] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "memberid=38") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'ClearHash' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:27] ClearHash("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "agentQueue") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'queueid' is '9' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and name='${SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '9' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(9) result is '9' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '9' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(9) result is '9' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 5 for column 'qu_id' (offset 0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '9' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '9' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 9 for column 'qu_hosted' (offset 1) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'db02' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '9,db02' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 15 for column 'qu_alwaysrecord' (offset 2) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'yes' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 10 for column 'qu_timeout' (offset 3) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '90' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 13 for column 'qu_parameters' (offset 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 't' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_ignoresipcause) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1693] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?1694:1722") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1694) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASHKEYS(SIP_CAUSE) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(SIP_CAUSE,) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1694] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?1695:1698") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 13 for column 'qu_nobodyhome' (offset 5) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 14 for column 'qu_calltimeout' (offset 6) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '7200' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 23 for column 'qu_agent_announce_me_id' (offset 7) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 7 for column 'qu_name' (offset 8) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'ראשי' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 15 for column 'qu_nofreemember' (offset 9) [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1698) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1698] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_while_dialoutbound_1844_1846_2015_2016") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASHKEYS(SIP_CAUSE) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(SIP_CAUSE,) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1699] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?1700:1703") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1703) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1703] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_while_dialoutbound_1844_1846_2015_2017") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASHKEYS(SIP_CAUSE) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(SIP_CAUSE,) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1704] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?1705:1708") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1708) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1708] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_while_dialoutbound_1844_1846_2015_2018") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 9 for column 'qu_ivr_id' (offset 10) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '17' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 14 for column 'qu_agent_ag_id' (offset 11) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 29 for column 'qu_agent_confirmmessage_me_id' (offset 12) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '16' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 12 for column 'qu_agentname' (offset 13) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'NUMBER' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 9 for column 'qu_number' (offset 14) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '900' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 20 for column 'qu_allowoptimization' (offset 15) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 14 for column 'monitor_format' (offset 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'wav' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASHKEYS(SIP_CAUSE) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(SIP_CAUSE,) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1709] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?1710:1721") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1721) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1721] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_while_dialoutbound_1844_1846_2015_2019") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1722] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_while_dialoutbound_1844_1846_2015") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'CHARGE' is 'yes' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'DIALSTATUS' is 'CHANUNAVAIL' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1723] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?1724:1725") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1725) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1725] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_while_dialoutbound_1844_1846_2022") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'DIALSTATUS' is 'CHANUNAVAIL' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_ignorebusy) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1726] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?1727:1741") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1741) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1741] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_while_dialoutbound_1844_1846_2023") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'DIALSTATUS' is 'CHANUNAVAIL' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'DIALSTATUS' is 'CHANUNAVAIL' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1742] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?1743:1748") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1748) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1748] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_while_dialoutbound_1844_1846_2026") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 12 for column 'qu_spygroups' (offset 17) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 12 for column 'qu_ringinuse' (offset 18) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'no' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 13 for column 'qu_minpenalty' (offset 19) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 13 for column 'qu_maxpenalty' (offset 20) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 15 for column 'qu_raisepenalty' (offset 21) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1,0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1,0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1749] Goto("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1751") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1751) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1751] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_while_dialoutbound_1844_1846") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'n' is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1752] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "n=1") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1753] Goto("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "862") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,862) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'found' is 'yes' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:862] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?863:1754") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,863) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SAVEDCALLERID' is '722280800' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:863] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "CALLERID(num)=722280800") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'ClearHash' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:864] ClearHash("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "ROUTINGRULE") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ISSMS' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:865] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?866:868") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,868) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SYSTEMNAME' is 'db02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ROUTINGPROFILE' is '45' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'CODE' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'n' is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' or dl_no_id='0' ) and '${SQL_ESC(${ARG2})}' regexp(dl_regex) and dl_rp_id='${SQL_ESC(${ARG3})}' and dl_paused='' union SELECT pr_id,pr_tech,pr_peername,dl_adddigits,dl_deldigits,pr_header1,pr_header2,pr_header3,pr_header4,pr_header5,pr_header6,pr_adddigits,pr_deldigits,pc_cost as cost,dl_emergencyroute,dl_usepin,dl_order,dl_priority,dl_weight,pr_penalty,pr_callerpres,pr_smsurl,pr_smspost,pr_smsuser,pr_smspassword,pr_smsprovider,pr_smsprotocol,pr_calleridregex,pr_ignoresipcause,pr_maxoutchannels from pr_providers,pc_providercosts,dl_dialingrules left outer join no_nodes on dl_no_id=no_id where dl_uselcr='on' and pr_id=pc_pr_id and pr_disabled='' and dl_pr_id=pr_id and ( no_peername='${SQL_ESC(${ARG1})}' or dl_no_id='0' ) and '${SQL_ESC(${ARG2})}' regexp(dl_regex) and dl_rp_id='${SQL_ESC(${ARG3})}' and pc_id=( select c.pc_id from pc_providercosts c where pr_id=c.pc_pr_id and pc_code='${SQL_ESC(${ARG4})}' and '${SQL_ESC(${ARG2})}' like concat(c.pc_prefix,'%') and dl_paused='' order by length(pc_prefix) DESC limit 1) order by isnull(cost),cost ASC,dl_order ASC,dl_priority ASC,dl_weight*pr_penalty ASC limit ${ARG5},1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'db02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02) result is 'db02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' regexp(dl_regex) and dl_rp_id='${SQL_ESC(${ARG3})}' and dl_paused='' union SELECT pr_id,pr_tech,pr_peername,dl_adddigits,dl_deldigits,pr_header1,pr_header2,pr_header3,pr_header4,pr_header5,pr_header6,pr_adddigits,pr_deldigits,pc_cost as cost,dl_emergencyroute,dl_usepin,dl_order,dl_priority,dl_weight,pr_penalty,pr_callerpres,pr_smsurl,pr_smspost,pr_smsuser,pr_smspassword,pr_smsprovider,pr_smsprotocol,pr_calleridregex,pr_ignoresipcause,pr_maxoutchannels from pr_providers,pc_providercosts,dl_dialingrules left outer join no_nodes on dl_no_id=no_id where dl_uselcr='on' and pr_id=pc_pr_id and pr_disabled='' and dl_pr_id=pr_id and ( no_peername='${SQL_ESC(${ARG1})}' or dl_no_id='0' ) and '${SQL_ESC(${ARG2})}' regexp(dl_regex) and dl_rp_id='${SQL_ESC(${ARG3})}' and pc_id=( select c.pc_id from pc_providercosts c where pr_id=c.pc_pr_id and pc_code='${SQL_ESC(${ARG4})}' and '${SQL_ESC(${ARG2})}' like concat(c.pc_prefix,'%') and dl_paused='' order by length(pc_prefix) DESC limit 1) order by isnull(cost),cost ASC,dl_order ASC,dl_priority ASC,dl_weight*pr_penalty ASC limit ${ARG5},1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' and dl_paused='' union SELECT pr_id,pr_tech,pr_peername,dl_adddigits,dl_deldigits,pr_header1,pr_header2,pr_header3,pr_header4,pr_header5,pr_header6,pr_adddigits,pr_deldigits,pc_cost as cost,dl_emergencyroute,dl_usepin,dl_order,dl_priority,dl_weight,pr_penalty,pr_callerpres,pr_smsurl,pr_smspost,pr_smsuser,pr_smspassword,pr_smsprovider,pr_smsprotocol,pr_calleridregex,pr_ignoresipcause,pr_maxoutchannels from pr_providers,pc_providercosts,dl_dialingrules left outer join no_nodes on dl_no_id=no_id where dl_uselcr='on' and pr_id=pc_pr_id and pr_disabled='' and dl_pr_id=pr_id and ( no_peername='${SQL_ESC(${ARG1})}' or dl_no_id='0' ) and '${SQL_ESC(${ARG2})}' regexp(dl_regex) and dl_rp_id='${SQL_ESC(${ARG3})}' and pc_id=( select c.pc_id from pc_providercosts c where pr_id=c.pc_pr_id and pc_code='${SQL_ESC(${ARG4})}' and '${SQL_ESC(${ARG2})}' like concat(c.pc_prefix,'%') and dl_paused='' order by length(pc_prefix) DESC limit 1) order by isnull(cost),cost ASC,dl_order ASC,dl_priority ASC,dl_weight*pr_penalty ASC limit ${ARG5},1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '45' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(45) result is '45' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' or dl_no_id='0' ) and '${SQL_ESC(${ARG2})}' regexp(dl_regex) and dl_rp_id='${SQL_ESC(${ARG3})}' and pc_id=( select c.pc_id from pc_providercosts c where pr_id=c.pc_pr_id and pc_code='${SQL_ESC(${ARG4})}' and '${SQL_ESC(${ARG2})}' like concat(c.pc_prefix,'%') and dl_paused='' order by length(pc_prefix) DESC limit 1) order by isnull(cost),cost ASC,dl_order ASC,dl_priority ASC,dl_weight*pr_penalty ASC limit ${ARG5},1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'db02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02) result is 'db02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' regexp(dl_regex) and dl_rp_id='${SQL_ESC(${ARG3})}' and pc_id=( select c.pc_id from pc_providercosts c where pr_id=c.pc_pr_id and pc_code='${SQL_ESC(${ARG4})}' and '${SQL_ESC(${ARG2})}' like concat(c.pc_prefix,'%') and dl_paused='' order by length(pc_prefix) DESC limit 1) order by isnull(cost),cost ASC,dl_order ASC,dl_priority ASC,dl_weight*pr_penalty ASC limit ${ARG5},1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' and pc_id=( select c.pc_id from pc_providercosts c where pr_id=c.pc_pr_id and pc_code='${SQL_ESC(${ARG4})}' and '${SQL_ESC(${ARG2})}' like concat(c.pc_prefix,'%') and dl_paused='' order by length(pc_prefix) DESC limit 1) order by isnull(cost),cost ASC,dl_order ASC,dl_priority ASC,dl_weight*pr_penalty ASC limit ${ARG5},1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '45' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(45) result is '45' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG4})' (from 'SQL_ESC(${ARG4})}' and '${SQL_ESC(${ARG2})}' like concat(c.pc_prefix,'%') and dl_paused='' order by length(pc_prefix) DESC limit 1) order by isnull(cost),cost ASC,dl_order ASC,dl_priority ASC,dl_weight*pr_penalty ASC limit ${ARG5},1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG4' (from 'ARG4})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG4' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' like concat(c.pc_prefix,'%') and dl_paused='' order by length(pc_prefix) DESC limit 1) order by isnull(cost),cost ASC,dl_order ASC,dl_priority ASC,dl_weight*pr_penalty ASC limit ${ARG5},1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(xxxxxxxxxx) result is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG5' (from 'ARG5},1' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG5' is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function ODBC_GET_QUEUE_FROM_ID(9) result is '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1,0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:28] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "HASH(agentQueue)=9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1,0") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array (qu_id,qu_hosted,qu_alwaysrecord,qu_timeout,qu_parameters,qu_nobodyhome,qu_calltimeout,qu_agent_announce_me_id,qu_name,qu_nofreemember,qu_ivr_id,qu_agent_ag_id,qu_agent_confirmmessage_me_id,qu_agentname,qu_number,qu_allowoptimization,monitor_format,qu_spygroups,qu_ringinuse,qu_minpenalty,qu_maxpenalty,qu_raisepenalty=9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1,0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (qu_id=9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (qu_hosted=db02) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (qu_alwaysrecord=yes) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (qu_timeout=90) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (qu_parameters=t) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (qu_nobodyhome=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (qu_calltimeout=7200) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (qu_agent_announce_me_id=0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (qu_name=ראשי) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (qu_nofreemember=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (qu_ivr_id=17) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (qu_agent_ag_id=0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (qu_agent_confirmmessage_me_id=16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (qu_agentname=NUMBER) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (qu_number=900) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (qu_allowoptimization=on) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (monitor_format=wav) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (qu_spygroups=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (qu_ringinuse=no) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (qu_minpenalty=0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (qu_maxpenalty=1) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (qu_raisepenalty=0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_spygroups) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:29] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?30:31") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,31) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:31] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_fromotherpbx_1575") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'RECORDOTHERLEG' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(RECORDOTHERLEG) result is 'RECORDOTHERLEG' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 5 for column 'pr_id' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '77' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '77' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 7 for column 'pr_tech' (offset 1) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'PJSIP' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 11 for column 'pr_peername' (offset 2) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'fs4' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 12 for column 'dl_adddigits' (offset 3) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 12 for column 'dl_deldigits' (offset 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 10 for column 'pr_header1' (offset 5) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'P-Accountcode:${BILLINGCODE}' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE}' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 10 for column 'pr_header2' (offset 6) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'X-Faxid1:${FAXID}' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID}' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 10 for column 'pr_header3' (offset 7) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'X-Campaignid:${CAID}' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID}' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 10 for column 'pr_header4' (offset 8) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED}' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED}' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 10 for column 'pr_header5' (offset 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'X-IncomingDID:${INCOMINGDID}' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID}' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 10 for column 'pr_header6' (offset 10) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'on' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'on' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 12 for column 'pr_adddigits' (offset 11) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 12 for column 'pr_deldigits' (offset 12) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 4 for column 'cost' (offset 13) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got NULL data [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 17 for column 'dl_emergencyroute' (offset 14) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 9 for column 'dl_usepin' (offset 15) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 8 for column 'dl_order' (offset 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 11 for column 'dl_priority' (offset 17) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,1,0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 9 for column 'dl_weight' (offset 18) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,1,0,0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 10 for column 'pr_penalty' (offset 19) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '38888' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,1,0,0,38888' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 13 for column 'pr_callerpres' (offset 20) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'auto' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,1,0,0,38888,auto' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 9 for column 'pr_smsurl' (offset 21) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,1,0,0,38888,auto,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 10 for column 'pr_smspost' (offset 22) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,1,0,0,38888,auto,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 10 for column 'pr_smsuser' (offset 23) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,1,0,0,38888,auto,,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 14 for column 'pr_smspassword' (offset 24) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,1,0,0,38888,auto,,,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 14 for column 'pr_smsprovider' (offset 25) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '012' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,1,0,0,38888,auto,,,,,012' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 14 for column 'pr_smsprotocol' (offset 26) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'WEBURL' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,1,0,0,38888,auto,,,,,012,WEBURL' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 16 for column 'pr_calleridregex' (offset 27) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,1,0,0,38888,auto,,,,,012,WEBURL,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 17 for column 'pr_ignoresipcause' (offset 28) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,1,0,0,38888,auto,,,,,012,WEBURL,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 17 for column 'pr_maxoutchannels' (offset 29) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '10000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,1,0,0,38888,auto,,,,,012,WEBURL,,,10000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,1,0,0,38888,auto,,,,,012,WEBURL,,,10000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,RECORDOTHERLEG) result is 'on' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:32] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "RECORDOTHERLEG=on") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'ALWAYSRECORD' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(ALWAYSRECORD) result is 'ALWAYSRECORD' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'externalchange' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'externalchange' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'externalchange' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_OUTBOUND_ROUTE(db02,xxxxxxxxxx,45,xxxxxxxxxx,1) result is '77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,1,0,0,38888,auto,,,,,012,WEBURL,,,10000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:868] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "HASH(ROUTINGRULE)=77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,1,0,0,38888,auto,,,,,012,WEBURL,,,10000") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array (pr_id,pr_tech,pr_peername,dl_adddigits,dl_deldigits,pr_header1,pr_header2,pr_header3,pr_header4,pr_header5,pr_header6,pr_adddigits,pr_deldigits,cost,dl_emergencyroute,dl_usepin,dl_order,dl_priority,dl_weight,pr_penalty,pr_callerpres,pr_smsurl,pr_smspost,pr_smsuser,pr_smspassword,pr_smsprovider,pr_smsprotocol,pr_calleridregex,pr_ignoresipcause,pr_maxoutchannels=77,PJSIP,fs4,,0,P-Accountcode:${BILLINGCODE},X-Faxid1:${FAXID},X-Campaignid:${CAID},X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED},X-IncomingDID:${INCOMINGDID},,,0,,,,1,0,0,38888,auto,,,,,012,WEBURL,,,10000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_id=77) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_tech=PJSIP) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_peername=fs4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (dl_adddigits=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (dl_deldigits=0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_header1=P-Accountcode:${BILLINGCODE}) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_header2=X-Faxid1:${FAXID}) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_header3=X-Campaignid:${CAID}) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_header4=X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED}) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_header5=X-IncomingDID:${INCOMINGDID}) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_header6=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_adddigits=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_deldigits=0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (cost=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (dl_emergencyroute=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (dl_usepin=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (dl_order=1) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (dl_priority=0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (dl_weight=0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_penalty=38888) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_callerpres=auto) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_smsurl=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_smspost=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_smsuser=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_smspassword=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_smsprovider=012) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_smsprotocol=WEBURL) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_calleridregex=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_ignoresipcause=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (pr_maxoutchannels=10000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:869] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_while_dialoutbound_1844_1845") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_id) result is '77' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:870] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?871:1750") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,871) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_id) result is '77' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:871] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "LATESTDIALEDPRID=77") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_id) result is '77' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:872] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?873:878") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,878) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:878] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_while_dialoutbound_1844_1846_1847") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,dl_usepin) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:879] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?880:902") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,902) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:902] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_while_dialoutbound_1844_1846_1848") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:903] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "atleastone=yes") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_tech) result is 'PJSIP' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_peername) result is 'fs4' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,dl_id) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,cost) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:904] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Provider choosen is of type PJSIP with name fs4 - ID - COST Increasing the call count") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ISSMS' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:905] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?906:919") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,906) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:906] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "GROUP(TENANT)=15") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SYSTEMNAME' is 'db02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function GROUP_COUNT(15@TENANT) result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:907] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "ODBC_SET_GROUP_COUNT(15@TENANT,db02)=1") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}','${SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15@TENANT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15@TENANT) result is '15@TENANT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'db02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02) result is 'db02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(1) result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(1) result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,ALWAYSRECORD) result is 'externalchange' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:33] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "ALWAYSRECORD=externalchange") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ALWAYSRECORD' is 'externalchange' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:34] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?35:36") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,36) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:36] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_fromotherpbx_1576") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'RECORDINGFORMAT' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(RECORDINGFORMAT) result is 'RECORDINGFORMAT' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,RECORDINGFORMAT) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:37] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "RECORDINGFORMAT=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'RECORDINGFORMAT' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:38] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "1?39:43") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,39) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(-1) result is '-1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'RECORDINGFORMAT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(RECORDINGFORMAT) result is 'RECORDINGFORMAT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15@TENANT' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15@TENANT) result is '15@TENANT' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'wav' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'wav' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'wav' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 25 for column 'coalesce(sum(gr_count),0)' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '3' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '3' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '3' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-1,RECORDINGFORMAT) result is 'wav' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:39] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "RECORDINGFORMAT=wav") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'RECORDINGFORMAT' is 'wav' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:40] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?41:42") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,42) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:42] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_if_fromotherpbx_1577_1578") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:43] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_fromotherpbx_1577") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'MIXMONITOR_FILENAME' is 'db02-1644254244.72696.wav' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:44] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?45:46") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,46) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:46] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_fromotherpbx_1579") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:47] Gosub("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "checkRecordingWarning,~~s~~,1") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_GROUP_COUNT(15@TENANT) result is '3' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:908] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "numchannels=3") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'RECORDINGWARNING' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(RECORDINGWARNING) result is 'RECORDINGWARNING' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 14 for column 'te_maxchannels' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,RECORDINGWARNING) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@checkRecordingWarning:1] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "recordingwarning=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'recordingwarning' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@checkRecordingWarning:2] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?3:15") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_CHANNELSLIMIT_FROM_TENANTID(15) result is '200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:909] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "maxchannels=200") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (checkRecordingWarning,~~s~~,15) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@checkRecordingWarning:15] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_checkRecordingWarning_1398") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@checkRecordingWarning:16] Return("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'numchannels' is '3' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'maxchannels' is '200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:910] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "This tenant has now 3 active channels over a limit of 200") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'maxchannels' is '200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'numchannels' is '3' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'maxchannels' is '200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,dl_emergencyroute) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:911] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?912:918") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,918) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:918] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_while_dialoutbound_1844_1846_1852_1853") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:919] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_while_dialoutbound_1844_1846_1852") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_id) result is '77' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:920] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "ODBC_SET_INCREASE_PENALTY(77)=1") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1} where pr_id='${SQL_ESC(${ARG1})}'' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '77' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(77) result is '77' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_calltimeout) result is '7200' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:48] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?49:50") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,50) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:50] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_fromotherpbx_1580") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function CDR(realsrc) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:51] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "1?52:54") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,52) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_name) result is 'ראשי' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:52] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "CDR(realsrc)=Queue ראשי") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:53] Goto("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "59") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,59) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:59] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_fromotherpbx_1581") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_agent_confirmmessage_me_id) result is '16' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:60] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "1?61:67") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,61) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_agent_confirmmessage_me_id) result is '16' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and me_type='STATIC'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '16' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(16) result is '16' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 6 for column 'me_md5' (offset 0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 9 for column 'me_format' (offset 1) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'wav' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '9486fbd9ec639aa19a505a653fe47324,wav' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '9486fbd9ec639aa19a505a653fe47324,wav' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,dl_adddigits) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,dl_deldigits) result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:921] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__DialNumber=xxxxxxxxxx") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'DialNumber' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:922] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Call final number is xxxxxxxxxx") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CDR(firstdst) result is '900' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:923] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?924:926") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,926) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'DialNumber' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:926] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "CDR(lastdst)=xxxxxxxxxx") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:927] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_while_dialoutbound_1844_1846_1854") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'DialNumber' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CDR(sequence) result is '13318' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'CALLRATE' is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_peername) result is 'fs4' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'CELGenUserEvent' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:928] CELGenUserEvent("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "DIALOUTBOUND,xxxxxxxxxx,13318,0,fs4") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,dl_emergencyroute) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:929] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?930:956") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,956) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:956] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_while_dialoutbound_1844_1846_1855") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'CALLRATE' is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,dl_emergencyroute) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ISSMS' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:957] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?958:1383") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1383) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1383] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_while_dialoutbound_1844_1846_1863") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,dl_emergencyroute) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ROUTECOSTLIMIT' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'CALLRATE' is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTBILLING' is 'Post Paid' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ISSMS' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1384] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?1385:1405") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1405) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1405] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_while_dialoutbound_1844_1846_1950") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_id) result is '77' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '722280800' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and pr_ca_id=ca_id and cr_ca_id=ca_id and '${SQL_ESC(${ARG2})}' regexp(cr_regex) limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '77' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(77) result is '77' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' regexp(cr_regex) limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '722280800' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(722280800) result is '722280800' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function ODBC_MEDIAFILE_MD5_FROM_ID(16) result is '9486fbd9ec639aa19a505a653fe47324,wav' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:61] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "ARRAY(SYNCMEDIA,format)=9486fbd9ec639aa19a505a653fe47324,wav") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array (SYNCMEDIA,format=9486fbd9ec639aa19a505a653fe47324,wav) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (SYNCMEDIA=9486fbd9ec639aa19a505a653fe47324) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (format=wav) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SYNCMEDIA' is '9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ASTDATADIR' is '/var/lib/asterisk' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SYNCMEDIA' is '9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'format' is 'wav' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function STAT(e,/var/lib/asterisk/sounds/pbx/9486fbd9ec639aa19a505a653fe47324.wav) result is '1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:62] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?63:64") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,64) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:64] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_if_fromotherpbx_1583_1584") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SYNCMEDIA' is '9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:65] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__CONFIRMMD5=pbx/9486fbd9ec639aa19a505a653fe47324") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:66] Goto("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "68") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,68) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:68] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_fromotherpbx_1583") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_ringinuse) result is 'no' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:69] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Ringinuse is no") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'membertype' is 'NF' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:70] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?71:83") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,83) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'membertype' is 'NF' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:83] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "1?84:96") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,84) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:84] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "NOFOLLOWEXTENSION=yes") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:85] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "No Follow destination new member type") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'memberid' is '38' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '38' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(38) result is '38' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 9 for column 'ex_number' (offset 0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_CALLERID_MOD(77,722280800) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1406] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "ARRAY(LOCAL(CMODID),LOCAL(CMODADD),LOCAL(CMODDEL))=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array (LOCAL(CMODID),LOCAL(CMODADD),LOCAL(CMODDEL)=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (LOCAL(CMODID)=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (LOCAL(CMODADD)=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (LOCAL(CMODDEL)=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'CMODADD' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'CMODDEL' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '722280800' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1407] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "CALLERID(num)=722280800") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '722280800' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CALLERID(name) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1408] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "CallerID has been MODded in num <722280800> and name <>") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_callerpres) result is 'auto' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1409] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?1410:1428") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1410) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ALLOWANYCALLERIDUSAGE' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1410] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?1411:1419") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1411) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(peerdetail,ex_blockcid) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1411] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?1412:1415") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1412) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1412] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "CALLERID(name-pres)=allowed") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1413] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "CALLERID(num-pres)=allowed_passed_screen") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1414] Goto("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1417") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1417) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1417] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_if_while_dialoutbound_1844_1846_1954_1955_1956") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1418] Goto("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1426") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1426) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1426] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_while_dialoutbound_1844_1846_1954_1955") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1427] Goto("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1447") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1447) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1447] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_while_dialoutbound_1844_1846_1954") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_calleridregex) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1448] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?1449:1467") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1467) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1467] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_while_dialoutbound_1844_1846_1962") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function ODBC_DEVICENUMBER_FROM_ID(38) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:86] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "membernumber=203") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'memberid' is '38' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '38' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(38) result is '38' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 8 for column 'ex_te_id' (offset 0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,dl_emergencyroute) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1468] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?1469:1499") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1499) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_peername) result is 'fs4' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1499] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "GROUP(OUTPROVIDER)=fs4") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_peername) result is 'fs4' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SYSTEMNAME' is 'db02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_peername) result is 'fs4' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function GROUP_COUNT(fs4@OUTPROVIDER) result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1500] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "ODBC_SET_GROUP_COUNT(fs4@OUTPROVIDER,db02)=1") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}','${SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'fs4@OUTPROVIDER' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(fs4@OUTPROVIDER) result is 'fs4@OUTPROVIDER' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'db02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02) result is 'db02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(1) result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(1) result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:3] Gosub("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "decodeCallParams,~~s~~,1") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] app_stack.c: Channel Local/AG-000-NF-246@fromotherpbx-00000d2f;2 has no datastore, so we're allocating one. [2022-02-07 19:17:53] WARNING[4636][C-00000e4d] chan_sip.c: This function can only be used on SIP channels. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SIP_HEADER(X-PBX) result is '(null)' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:1] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "SIPHEADER=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:2] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "1?3:4") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (decodeCallParams,~~s~~,3) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'PBX' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||||' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:3] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "SIPHEADER=97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||||") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:4] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_decodeCallParams_1374") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||||' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function ODBC_GET_TENANT_FROM_PEER_ID(38) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:87] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__TENANTID=15") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_ringinuse) result is 'no' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:88] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?89:94") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,94) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:94] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_if_if_fromotherpbx_1585_1588_1589") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:95] Goto("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "234") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,234) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:234] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_if_fromotherpbx_1585_1588") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:235] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_fromotherpbx_1585") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function CHANNEL(musicclass) result is '457' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:236] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?237:238") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:5] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "1?6:44") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (decodeCallParams,~~s~~,6) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||||' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:6] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__QUEUE_RAISE_PENALTY=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9||||||||||||' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,238) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:238] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_fromotherpbx_1618") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:7] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__QUEUE_MIN_PENALTY=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:8] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__QUEUE_MAX_PENALTY=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9||||||||||' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:9] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__AUTOANSWER=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:10] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "USERVARVALUES=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9||||||||' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:11] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "USERVARLIST=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:12] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__SETQUEUERAISEPENALTY=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9||||||' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:13] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__SETQUEUEMAXPENALTY=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_peername) result is 'fs4' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_peername) result is 'fs4' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function GROUP_COUNT(fs4@OUTPROVIDER) result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_maxoutchannels) result is '10000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1501] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Current provider fs4 has 1 calls running over a limit of 10000") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_maxoutchannels) result is '10000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_peername) result is 'fs4' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function GROUP_COUNT(fs4@OUTPROVIDER) result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_maxoutchannels) result is '10000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1502] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?1503:1506") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:14] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__SETQUEUEMINPENALTY=") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1506) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1506] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_while_dialoutbound_1844_1846_1966_1973") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9||||' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:15] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__SETQUEUERULE=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1507] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_while_dialoutbound_1844_1846_1966") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:16] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__PLAYBACKOPTION=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'STDDIALOPTION' is 'U(destChannelActions^${ALWAYSRECORD}^${RECORDINGFORMAT}^${CONFIRM}^${CONFIRMMD5}^${ONANSWER}^${ONANSWERID}^${RECORDOTHERLEG}^${MIXMONITOROPTION})b(pjsip_header,setpjsipheader,1)' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'DIALOPTION' is 'TtL(7200000)t' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ALWAYSRECORD' is 'externalchange' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'RECORDINGFORMAT' is 'wav' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'CONFIRM' is 'yes' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'CONFIRMMD5' is 'pbx/9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 7 for column 'te_code' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ONANSWER' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'call' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ONANSWERID' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'RECORDOTHERLEG' is 'on' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'MIXMONITOROPTION' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function EVAL(U(destChannelActions^${ALWAYSRECORD}^${RECORDINGFORMAT}^${CONFIRM}^${CONFIRMMD5}^${ONANSWER}^${ONANSWERID}^${RECORDOTHERLEG}^${MIXMONITOROPTION})b(pjsip_header,setpjsipheader,1)TtL(7200000)t) result is 'U(destChannelActions^externalchange^wav^yes^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1508] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "nowDIALOPTION=U(destChannelActions^externalchange^wav^yes^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_tech) result is 'PJSIP' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1509] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?1510:1538") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1538) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9||' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_tech) result is 'PJSIP' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1538] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?1539:1567") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:17] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__RESPONSEPATHID=") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1539) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:18] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__PRIVACYID=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '9' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:19] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__FROMQUEUEID=9") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he|' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:20] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__QUEUEOPTION=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is 'he' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:21] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__LANGUAGE=he") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457|||||' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:22] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__FMFMCALLERID=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 14 for column 'te_billingcode' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '1574692660' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '1574692660' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 20 for column 'te_prefixbillingcode' (offset 1) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '1574692660,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 12 for column 'te_extracode' (offset 2) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '1574692660,,' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to '1574692660,,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:23] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__FMFMDIALTIMEOUT=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457|||' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:24] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__BLINDCONNECTEDNUM=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:25] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__ONANSWERID=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function ODBC_ACCOUNTCODE_FROM_TENANTID(15) result is 'call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457|' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:26] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__ONANSWER=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '457' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:27] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "CHANNEL(musicclass)=457") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:239] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "CDR(accountcode)=call") in new stack [2022-02-07 19:17:53] WARNING[4634][C-00000e4d] func_cdr.c: Using the CDR function to set 'accountcode' is deprecated. Please use the CHANNEL function instead. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '900' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:28] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "CDR(firstdst)=900") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function CDR(firstdst) result is '900' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:240] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?241:243") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,243) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is NULL [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:243] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "CDR(lastdst)=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '900' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:29] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__DIALEDNUMBER=900") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt|' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_GET_BILLINGCODE_FROM_TENANTID(15) result is '1574692660,,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:30] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__DIALTIMEOUT=") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1539] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "ARRAY(BILLINGCODE,PREFIXBILLINGCODE,EXTRACODE)=1574692660,,") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array (BILLINGCODE,PREFIXBILLINGCODE,EXTRACODE=1574692660,,) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (BILLINGCODE=1574692660) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (PREFIXBILLINGCODE=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_strings.c: array set value (EXTRACODE=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:244] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_fromotherpbx_1619") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:245] Gosub("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "setLanguage,~~s~~,1") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is 'Tt' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:31] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__DIALOPTION=Tt") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'LANGUAGE' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(LANGUAGE) result is 'LANGUAGE' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300|||' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:32] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__NOFMFM=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:33] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__ONLYFMFM=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300|' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:34] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__NOFOLLOWEXTENSION=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '13300' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:35] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__CDRcallSequence=13300") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got collength of 7 for column 'te_code' (offset 0) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: Got coldata of 'call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] func_odbc.c: buf is now set to 'call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||||oraclepbx-1644254244.1743648' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:36] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__CDRcallUniqueID=oraclepbx-1644254244.1743648") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15|||' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:37] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__VALIDCALLERID=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15||' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'he' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'he' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:38] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__SETCALLERID=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15|' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:39] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__INCOMINGDID=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function ODBC_ACCOUNTCODE_FROM_TENANTID(15) result is 'call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1540] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "TENANTCODE=call") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call|15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header1) result is 'P-Accountcode:${BILLINGCODE}' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1541] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?1542:1543") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:40] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__TENANTID=15") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1542) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header1) result is 'P-Accountcode:${BILLINGCODE}' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'BILLINGCODE' is '1574692660' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function EVAL(P-Accountcode:${BILLINGCODE}) result is 'P-Accountcode:1574692660' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1542] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__SIPADDHEADER01=P-Accountcode:1574692660") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call|200-call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '200-call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:41] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__REALPEERNAME=200-call") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1543] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_if_while_dialoutbound_1844_1846_1974_1982_1983") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header2) result is 'X-Faxid1:${FAXID}' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97|200-call' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1544] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?1545:1546") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '200-call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1545) [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:42] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__PEERNAME=200-call") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header2) result is 'X-Faxid1:${FAXID}' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SIPHEADER' (from 'SIPHEADER}' len 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPHEADER' is '97' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'FAXID' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function EVAL(X-Faxid1:${FAXID}) result is 'X-Faxid1:' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function POP(SIPHEADER,|) result is '97' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1545] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__SIPADDHEADER02=X-Faxid1:") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:43] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__TTL=97") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1546] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_if_while_dialoutbound_1844_1846_1974_1982_1984") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:44] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_decodeCallParams_1375") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'LANGUAGE' is 'he' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header3) result is 'X-Campaignid:${CAID}' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1547] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?1548:1549") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:45] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "1?46:49") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1548) [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (decodeCallParams,~~s~~,46) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header3) result is 'X-Campaignid:${CAID}' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'LANGUAGE' is 'he' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:46] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "CHANNEL(language)=he") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'CAID' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function EVAL(X-Campaignid:${CAID}) result is 'X-Campaignid:' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1548] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__SIPADDHEADER03=X-Campaignid:") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1549] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_if_while_dialoutbound_1844_1846_1974_1982_1985") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header4) result is 'X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED}' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1550] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?1551:1552") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function CHANNEL(language) result is 'he' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1551) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header4) result is 'X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED}' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'PEEREXTEN' is NULL [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'he' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'INCOMINGDID' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'PINSTORED' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function EVAL(X-Ext:${PEEREXTEN}${INCOMINGDID}|${PINSTORED}) result is 'X-Ext:|' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1551] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__SIPADDHEADER04=X-Ext:|") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1552] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_if_while_dialoutbound_1844_1846_1974_1982_1986") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(he) result is 'he' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header5) result is 'X-IncomingDID:${INCOMINGDID}' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1553] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "1?1554:1555") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1554) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header5) result is 'X-IncomingDID:${INCOMINGDID}' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'INCOMINGDID' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function EVAL(X-IncomingDID:${INCOMINGDID}) result is 'X-IncomingDID:' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1554] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "__SIPADDHEADER05=X-IncomingDID:") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1555] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_if_while_dialoutbound_1844_1846_1974_1982_1987") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_header6) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1556] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?1557:1558") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1558) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1558] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_if_while_dialoutbound_1844_1846_1974_1982_1988") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'PREFIXBILLINGCODE' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1559] GotoIf("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "0?1560:1562") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (dialoutbound,xxxxxxxxxx,1562) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1562] Set("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "BILLINGPREFIX=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1563] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "Finish if_if_if_if_while_dialoutbound_1844_1846_1974_1982_1989") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'LIMIT_CONNECT_FILE' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'LIMIT_WARNING_FILE' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1564] NoOp("Local/AG-000-CC-538@fromotherpbx-00000d30;2", " ") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_tech) result is 'PJSIP' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'BILLINGPREFIX' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_adddigits) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_deldigits) result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'DialNumber' is 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function HASH(ROUTINGRULE,pr_peername) result is 'fs4' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'DIALTIMEOUT' is '300' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'nowDIALOPTION' is 'U(destChannelActions^externalchange^wav^yes^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Dial' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [xxxxxxxxxx@dialoutbound:1565] Dial("Local/AG-000-CC-538@fromotherpbx-00000d30;2", "PJSIP/xxxxxxxxxx@fs4,300,U(destChannelActions^externalchange^wav^yes^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_dial.c: Local/AG-000-CC-538@fromotherpbx-00000d30;2: Data: PJSIP/xxxxxxxxxx@fs4,300,U(destChannelActions^externalchange^wav^yes^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] features.c: Setting call duration limit to 7200.000 seconds. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 5 for column 'la_id' (offset 0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 12 for column 'la_directory' (offset 1) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] chan_pjsip.c: xxxxxxxxxx@fs4 Topology: <0:audio-0:audio:sendrecv (ulaw)> [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,he' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 15 for column 'la_languagecode' (offset 2) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,LANGUAGE) result is 'he' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is 'he' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:1] MSet("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "LANGUAGE=he") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'LANGUAGE' is 'he' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:2] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?3:4") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (setLanguage,~~s~~,4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:4] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_setLanguage_1365") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'LANGUAGE' is 'he' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:5] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "1?6:9") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (setLanguage,~~s~~,6) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'LANGUAGE' is 'he' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:6] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "CHANNEL(language)=he") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function CHANNEL(language) result is 'he' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'he' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(he) result is 'he' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,he,he' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 18 for column 'la_sublanguagecode' (offset 3) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'IL' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 9 for column 'la_locale' (offset 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 7 for column 'la_flag' (offset 5) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'il' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 11 for column 'la_language' (offset 6) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'Hebrew' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 10 for column 'la_enabled' (offset 7) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 11 for column 'la_tonezone' (offset 8) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'il' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 6 for column 'la_rtl' (offset 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'yes' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 5 for column 'la_id' (offset 0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 12 for column 'la_directory' (offset 1) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,he' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 15 for column 'la_languagecode' (offset 2) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,he,he' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 18 for column 'la_sublanguagecode' (offset 3) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'IL' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 9 for column 'la_locale' (offset 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 7 for column 'la_flag' (offset 5) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'il' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 11 for column 'la_language' (offset 6) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'Hebrew' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 10 for column 'la_enabled' (offset 7) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 11 for column 'la_tonezone' (offset 8) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'il' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 6 for column 'la_rtl' (offset 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'yes' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function ODBC_GET_ALL_LANGUAGE_INFO_FROM_DIRECTORY(he) result is '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:47] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "HASH(alllanguage)=15,he,he,IL,he,il,Hebrew,on,il,yes") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array (la_id,la_directory,la_languagecode,la_sublanguagecode,la_locale,la_flag,la_language,la_enabled,la_tonezone,la_rtl=15,he,he,IL,he,il,Hebrew,on,il,yes) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (la_id=15) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (la_directory=he) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (la_languagecode=he) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (la_sublanguagecode=IL) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (la_locale=he) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (la_flag=il) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function ODBC_GET_ALL_LANGUAGE_INFO_FROM_DIRECTORY(he) result is '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (la_language=Hebrew) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:7] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "HASH(alllanguage)=15,he,he,IL,he,il,Hebrew,on,il,yes") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (la_enabled=on) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (la_tonezone=il) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (la_rtl=yes) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array (la_id,la_directory,la_languagecode,la_sublanguagecode,la_locale,la_flag,la_language,la_enabled,la_tonezone,la_rtl=15,he,he,IL,he,il,Hebrew,on,il,yes) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (la_id=15) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (la_directory=he) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(alllanguage,la_tonezone) result is 'il' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (la_languagecode=he) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (la_sublanguagecode=IL) [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:48] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "CHANNEL(tonezone)=il") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (la_locale=he) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (la_flag=il) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (la_language=Hebrew) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (la_enabled=on) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (la_tonezone=il) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (la_rtl=yes) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:49] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_decodeCallParams_1376") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(alllanguage,la_tonezone) result is 'il' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:8] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "CHANNEL(tonezone)=il") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'CDRcallUniqueID' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'CELGenUserEvent' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:9] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_setLanguage_1366") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:50] CELGenUserEvent("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "PREVUNIQUEID,oraclepbx-1644254244.1743648") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:10] Return("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'VOLUMERXLEVEL' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(VOLUMERXLEVEL) result is 'VOLUMERXLEVEL' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'CDRcallUniqueID' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:51] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?52:53") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (decodeCallParams,~~s~~,53) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:53] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_decodeCallParams_1377") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'USERVARLIST' (from 'USERVARLIST}' len 11) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'USERVARLIST' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SHIFT(USERVARLIST) result is '(null)' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SET(var=) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:54] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?55:59") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (decodeCallParams,~~s~~,59) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:59] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish while_decodeCallParams_1378") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@decodeCallParams:60] Return("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'QUEUENAME' is NULL [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:4] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Queue ringing ") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is 'AG-000-NF-246' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '200' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function CHANNEL(musicclass) result is '457' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:5] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Received a call from another server for agent with extension ID 000-NF-246 and Callerid 200 Music class is 457") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'MAXCALLDURATION' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(MAXCALLDURATION) result is 'MAXCALLDURATION' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '7200' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '7200' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '7200' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] chan_pjsip.c: fs4 [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel_internal_api.c: : Formats: (none) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel_internal_api.c: Channel is being initialized or destroyed [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] stasis.c: Creating topic. name: channel:db02-1644254273.72767, detail: [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] stasis.c: Topic 'channel:db02-1644254273.72767': 0x7fe64016ed80 created [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Channel 0x7fe64010f620 'PJSIP/fs4-0000007b' allocated [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] chan_pjsip.c: Topology: <0:audio-0:audio:sendrecv (ulaw|alaw)> Formats: (alaw|ulaw) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] chan_pjsip.c: Compatible? yes [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel_internal_api.c: PJSIP/fs4-0000007b: MultistreamFormats: (ulaw|alaw) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel_internal_api.c: Set native formats but not topology [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel_internal_api.c: PJSIP/fs4-0000007b: <0:audio-0:audio:sendrecv (ulaw|alaw)> [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel_internal_api.c: Used provided topology [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] chan_pjsip.c: [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] chan_pjsip.c: Channel: PJSIP/fs4-0000007b [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __SIPADDHEADER05 from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __SIPADDHEADER04 from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __SIPADDHEADER03 from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __SIPADDHEADER02 from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __SIPADDHEADER01 from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __DialNumber from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __SAVEDCALLERID from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __ABUSEDETECTION from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __TENANTBILLING from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __CALLRATE from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __CHARGE from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __INTERNATIONALPREFIX from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __TRUNKPREFIX from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __DYNAMIC_FEATURES from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __context from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __BLINDCONNECTEDNUM from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __SIMPLEANSWERED from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __PICKUPMARK from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __ORIGCHANNEL from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __TRANSFER_CONTEXT from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __AGENTNUMBER from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __CONFIRM from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __TENANTID from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __CONFIRMMD5 from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __TIMEZONE from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __SIMPLEPREVUNIQUEID from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __PEERNAME from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __REALPEERNAME from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __INCOMINGDID from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __SETCALLERID from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __VALIDCALLERID from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __CDRcallUniqueID from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __CDRcallSequence from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __NOFOLLOWEXTENSION from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __ONLYFMFM from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __NOFMFM from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,MAXCALLDURATION) result is '7200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __DIALTIMEOUT from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __DIALEDNUMBER from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:6] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "MAXCALLDURATION=7200") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __ONANSWER from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __ONANSWERID from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __FMFMDIALTIMEOUT from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __FMFMCALLERID from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __QUEUEOPTION from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __FROMQUEUEID from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __PRIVACYID from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __RESPONSEPATHID from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __PLAYBACKOPTION from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __SETQUEUERULE from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __SETQUEUEMINPENALTY from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'MAXCALLDURATION' is '7200' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __SETQUEUEMAXPENALTY from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __SETQUEUERAISEPENALTY from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,VOLUMERXLEVEL) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __AUTOANSWER from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __QUEUE_MAX_PENALTY from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:246] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "VOLUMERXLEVEL=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __QUEUE_MIN_PENALTY from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __QUEUE_RAISE_PENALTY from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __PBX from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __queuenumber from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __queueid from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __maxanychannels from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Inheriting variable __TENANTCODE from Local/AG-000-CC-538@fromotherpbx-00000d30;2 to PJSIP/fs4-0000007b. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_stack.c: Gosub args:pjsip_header,setpjsipheader,1 new_args:pjsip_header,setpjsipheader,1 [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] app_stack.c: PJSIP/fs4-0000007b Internal Gosub(pjsip_header,setpjsipheader,1) start [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_stack.c: PJSIP/fs4-0000007b Original location: fromoutside,xxxxxxxxxx,1 [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_stack.c: Channel PJSIP/fs4-0000007b has no datastore, so we're allocating one. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_stack.c: Gosub exited with status 0 [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'AUTOANSWER' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:1] NoOp("PJSIP/fs4-0000007b", "Autoanswer is ") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:7] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "1?8:9") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-246,8) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CHANNEL(channeltype) result is 'PJSIP' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'MAXCALLDURATION' is '7200' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:8] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "TIMEOUT(absolute)=7200") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:2] GotoIf("PJSIP/fs4-0000007b", "1?3:48") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,3) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'AUTOANSWER' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:3] GotoIf("PJSIP/fs4-0000007b", "0?4:33") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'VOLUMETXLEVEL' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,33) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(VOLUMETXLEVEL) result is 'VOLUMETXLEVEL' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] func_timeout.c: Channel will hangup at 2022-02-07 21:17:53.379 IST. [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:33] NoOp("PJSIP/fs4-0000007b", "Finish if_if_pjsip_header_778_779") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:9] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_fromotherpbx_1572") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:34] Set("PJSIP/fs4-0000007b", "i=1") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'UNIQUEID' is 'db02-1644254272.72745' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'SIPAddHeader' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:10] SIPAddHeader("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "X-VoipMonitor-Custom1: db02-1644254272.72745") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'i' is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:35] Set("PJSIP/fs4-0000007b", "pos=001") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: SIP Header added "X-VoipMonitor-Custom1: db02-1644254272.72745" as __SIPADDHEADER03 [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'UNIQUEID' is 'db02-1644254272.72745' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'pos' is '001' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:36] Set("PJSIP/fs4-0000007b", "pos=01") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:11] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__SIMPLEPREVUNIQUEID=db02-1644254272.72745") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'pos' is '01' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPADDHEADER01' is 'P-Accountcode:1574692660' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:12] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__TRANSFER_CONTEXT=authenticated") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:37] GotoIf("PJSIP/fs4-0000007b", "0?38:39") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,39) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:39] NoOp("PJSIP/fs4-0000007b", "Finish if_if_pjsip_header_778_783") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'pos' is '01' [2022-02-07 19:17:53] WARNING[4636][C-00000e4d] chan_sip.c: This function can only be used on SIP channels. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SIP_HEADER(Call-Info) result is '(null)' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPADDHEADER01' (from 'SIPADDHEADER01}' len 14) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPADDHEADER01' is 'P-Accountcode:1574692660' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:13] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Call-Info=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CUT(SIPADDHEADER01,:,1) result is 'P-Accountcode' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:40] Set("PJSIP/fs4-0000007b", "head=P-Accountcode") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'Call-Info' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:14] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?15:16") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'pos' is '01' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPADDHEADER01' (from 'SIPADDHEADER01}' len 14) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPADDHEADER01' is 'P-Accountcode:1574692660' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CUT(SIPADDHEADER01,:,2-) result is '1574692660' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-246,16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:41] Set("PJSIP/fs4-0000007b", "tail=1574692660") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:16] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_fromotherpbx_1573") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'tail' is '1574692660' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:42] GotoIf("PJSIP/fs4-0000007b", "0?43:44") in new stack [2022-02-07 19:17:53] WARNING[4636][C-00000e4d] chan_sip.c: This function can only be used on SIP channels. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SIP_HEADER(Alert-Info) result is '(null)' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:17] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Alert-Info=") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,44) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:44] NoOp("PJSIP/fs4-0000007b", "Finish if_if_pjsip_header_778_784") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'head' is 'P-Accountcode' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'tail' is '1574692660' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:45] Set("PJSIP/fs4-0000007b", "PJSIP_HEADER(add,P-Accountcode)=1574692660") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'i' is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:46] Set("PJSIP/fs4-0000007b", "i=2") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:47] Goto("PJSIP/fs4-0000007b", "loop") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,35) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'i' is '2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:35] Set("PJSIP/fs4-0000007b", "pos=002") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'pos' is '002' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:36] Set("PJSIP/fs4-0000007b", "pos=02") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'pos' is '02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPADDHEADER02' is 'X-Faxid1:' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:37] GotoIf("PJSIP/fs4-0000007b", "0?38:39") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,39) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:39] NoOp("PJSIP/fs4-0000007b", "Finish if_if_pjsip_header_778_783") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'pos' is '02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPADDHEADER02' (from 'SIPADDHEADER02}' len 14) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPADDHEADER02' is 'X-Faxid1:' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CUT(SIPADDHEADER02,:,1) result is 'X-Faxid1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:40] Set("PJSIP/fs4-0000007b", "head=X-Faxid1") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'pos' is '02' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPADDHEADER02' (from 'SIPADDHEADER02}' len 14) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPADDHEADER02' is 'X-Faxid1:' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CUT(SIPADDHEADER02,:,2-) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:41] Set("PJSIP/fs4-0000007b", "tail=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'tail' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:42] GotoIf("PJSIP/fs4-0000007b", "0?43:44") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,44) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:44] NoOp("PJSIP/fs4-0000007b", "Finish if_if_pjsip_header_778_784") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'head' is 'X-Faxid1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'tail' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:45] Set("PJSIP/fs4-0000007b", "PJSIP_HEADER(add,X-Faxid1)=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'i' is '2' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '3' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:46] Set("PJSIP/fs4-0000007b", "i=3") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:47] Goto("PJSIP/fs4-0000007b", "loop") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,VOLUMETXLEVEL) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:247] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "VOLUMETXLEVEL=") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,35) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'i' is '3' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:35] Set("PJSIP/fs4-0000007b", "pos=003") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'pos' is '003' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:36] Set("PJSIP/fs4-0000007b", "pos=03") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'Alert-Info' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:18] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?19:20") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'pos' is '03' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPADDHEADER03' is 'X-Campaignid:' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'DTMFVOLUME' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(DTMFVOLUME) result is 'DTMFVOLUME' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:37] GotoIf("PJSIP/fs4-0000007b", "0?38:39") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,39) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:39] NoOp("PJSIP/fs4-0000007b", "Finish if_if_pjsip_header_778_783") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'pos' is '03' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPADDHEADER03' (from 'SIPADDHEADER03}' len 14) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPADDHEADER03' is 'X-Campaignid:' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CUT(SIPADDHEADER03,:,1) result is 'X-Campaignid' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:40] Set("PJSIP/fs4-0000007b", "head=X-Campaignid") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'pos' is '03' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPADDHEADER03' (from 'SIPADDHEADER03}' len 14) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPADDHEADER03' is 'X-Campaignid:' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CUT(SIPADDHEADER03,:,2-) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:41] Set("PJSIP/fs4-0000007b", "tail=") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'tail' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:42] GotoIf("PJSIP/fs4-0000007b", "0?43:44") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'on' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'on' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,44) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:44] NoOp("PJSIP/fs4-0000007b", "Finish if_if_pjsip_header_778_784") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'head' is 'X-Campaignid' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'tail' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:45] Set("PJSIP/fs4-0000007b", "PJSIP_HEADER(add,X-Campaignid)=") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-246,20) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:20] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_fromotherpbx_1574") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'i' is '3' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '4' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:46] Set("PJSIP/fs4-0000007b", "i=4") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:47] Goto("PJSIP/fs4-0000007b", "loop") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,35) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'i' is '4' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:35] Set("PJSIP/fs4-0000007b", "pos=004") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'pos' is '004' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:36] Set("PJSIP/fs4-0000007b", "pos=04") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'pos' is '04' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPADDHEADER04' is 'X-Ext:|' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:37] GotoIf("PJSIP/fs4-0000007b", "0?38:39") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,39) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:39] NoOp("PJSIP/fs4-0000007b", "Finish if_if_pjsip_header_778_783") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'pos' is '04' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPADDHEADER04' (from 'SIPADDHEADER04}' len 14) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPADDHEADER04' is 'X-Ext:|' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CUT(SIPADDHEADER04,:,1) result is 'X-Ext' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:40] Set("PJSIP/fs4-0000007b", "head=X-Ext") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'pos' is '04' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPADDHEADER04' (from 'SIPADDHEADER04}' len 14) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPADDHEADER04' is 'X-Ext:|' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CUT(SIPADDHEADER04,:,2-) result is '|' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:41] Set("PJSIP/fs4-0000007b", "tail=|") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'tail' is '|' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:42] GotoIf("PJSIP/fs4-0000007b", "0?43:44") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,44) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:44] NoOp("PJSIP/fs4-0000007b", "Finish if_if_pjsip_header_778_784") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'head' is 'X-Ext' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'tail' is '|' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:45] Set("PJSIP/fs4-0000007b", "PJSIP_HEADER(add,X-Ext)=|") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'i' is '4' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '5' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:46] Set("PJSIP/fs4-0000007b", "i=5") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:47] Goto("PJSIP/fs4-0000007b", "loop") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,35) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'i' is '5' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:35] Set("PJSIP/fs4-0000007b", "pos=005") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 5 for column 'te_id' (offset 0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 7 for column 'te_code' (offset 1) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 13 for column 'te_alertemail' (offset 2) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'pos' is '005' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:36] Set("PJSIP/fs4-0000007b", "pos=05") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 8 for column 'te_cl_id' (offset 3) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 15 for column 'te_payment_type' (offset 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'Post Paid' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 8 for column 'te_rp_id' (offset 5) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'pos' is '05' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPADDHEADER05' is 'X-IncomingDID:' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,DTMFVOLUME) result is 'on' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:37] GotoIf("PJSIP/fs4-0000007b", "0?38:39") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:248] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "DTMFVOLUME=on") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,39) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:39] NoOp("PJSIP/fs4-0000007b", "Finish if_if_pjsip_header_778_783") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'DTMFVOLUME' is 'on' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:249] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "1?250:251") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'pos' is '05' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPADDHEADER05' (from 'SIPADDHEADER05}' len 14) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPADDHEADER05' is 'X-IncomingDID:' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '45' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CUT(SIPADDHEADER05,:,1) result is 'X-IncomingDID' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 14 for column 'te_billingcode' (offset 6) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '1574692660' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 14 for column 'te_billingtype' (offset 7) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'CDR' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_disabled' (offset 8) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 20 for column 'te_prefixbillingcode' (offset 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 13 for column 'te_allowonnet' (offset 10) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 24 for column 'te_allowanycalleridusage' (offset 11) [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:40] Set("PJSIP/fs4-0000007b", "head=X-IncomingDID") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 15 for column 'te_allowinonnet' (offset 12) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 12 for column 'te_billonnet' (offset 13) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 19 for column 'te_onnetdigitstoadd' (offset 14) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 22 for column 'te_onnetdigitstoremove' (offset 15) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_ca_rp_id' (offset 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 14 for column 'te_defaultrrid' (offset 17) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 12 for column 'te_sms_rp_id' (offset 18) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '77' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_ca_cl_id' (offset 19) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 13 for column 'te_costlimits' (offset 20) [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,250) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:250] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "DTMF=p") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'pos' is '05' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:251] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_fromotherpbx_1620") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Evaluating 'SIPADDHEADER05' (from 'SIPADDHEADER05}' len 14) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPADDHEADER05' is 'X-IncomingDID:' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Function CUT(SIPADDHEADER05,:,2-) result is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:41] Set("PJSIP/fs4-0000007b", "tail=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'VOLUMERXLEVEL' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:252] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?253:254") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'tail' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:42] GotoIf("PJSIP/fs4-0000007b", "0?43:44") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 23 for column 'te_dailytenantcostlimit' (offset 21) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 25 for column 'te_monthlytenantcostlimit' (offset 22) [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,44) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:44] NoOp("PJSIP/fs4-0000007b", "Finish if_if_pjsip_header_778_784") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,254) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:254] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_fromotherpbx_1621") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'VOLUMETXLEVEL' is '' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'head' is 'X-IncomingDID' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'tail' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:45] Set("PJSIP/fs4-0000007b", "PJSIP_HEADER(add,X-IncomingDID)=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 17 for column 'te_routecostlimit' (offset 23) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_cr_no_id' (offset 24) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_ca_no_id' (offset 25) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 27 for column 'te_allowanycalleridforemerg' (offset 26) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 17 for column 'te_abusedetection' (offset 27) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 17 for column 'te_expirationdate' (offset 28) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0000-00-00' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 14 for column 'te_alertamount' (offset 29) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got NULL data [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 20 for column 'te_dailycostlimitdom' (offset 30) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 20 for column 'te_dailycostlimitint' (offset 31) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 26 for column 'te_dailytenantcostlimitdom' (offset 32) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 26 for column 'te_dailytenantcostlimitint' (offset 33) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 28 for column 'te_monthlytenantcostlimitdom' (offset 34) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 28 for column 'te_monthlytenantcostlimitint' (offset 35) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 22 for column 'te_dailycostwarningdom' (offset 36) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 22 for column 'te_dailycostwarningint' (offset 37) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 28 for column 'te_dailytenantcostwarningdom' (offset 38) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 28 for column 'te_dailytenantcostwarningint' (offset 39) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 30 for column 'te_monthlytenantcostwarningdom' (offset 40) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 30 for column 'te_monthlytenantcostwarningint' (offset 41) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 27 for column 'te_uploadrecordingatcallend' (offset 42) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'yes' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 25 for column 'te_dailytenantcostwarning' (offset 43) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 27 for column 'te_monthlytenantcostwarning' (offset 44) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 19 for column 'te_dailycostwarning' (offset 45) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 18 for column 'te_recordemergency' (offset 46) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 24 for column 'te_recordemergency_email' (offset 47) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 11 for column 'te_timezone' (offset 48) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 29 for column 'te_allowincomingcalleridusage' (offset 49) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 16 for column 'te_forcepinonnet' (offset 50) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 17 for column 'te_dailycostlimit' (offset 51) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 19 for column 'te_monthlycostlimit' (offset 52) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 22 for column 'te_monthlycostlimitdom' (offset 53) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 22 for column 'te_monthlycostlimitint' (offset 54) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 24 for column 'te_monthlycostwarningdom' (offset 55) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 24 for column 'te_monthlycostwarningint' (offset 56) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:255] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?256:257") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'i' is '5' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,257) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '6' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:257] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_fromotherpbx_1622") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:46] Set("PJSIP/fs4-0000007b", "i=6") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:47] Goto("PJSIP/fs4-0000007b", "loop") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,35) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'i' is '6' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:35] Set("PJSIP/fs4-0000007b", "pos=006") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'QUEUERING' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'pos' is '006' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(QUEUERING) result is 'QUEUERING' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:36] Set("PJSIP/fs4-0000007b", "pos=06") in new stack [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'pos' is '06' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Result of 'SIPADDHEADER06' is NULL [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:37] GotoIf("PJSIP/fs4-0000007b", "1?38:39") in new stack [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,38) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:38] Goto("PJSIP/fs4-0000007b", "endloop") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,48) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:48] NoOp("PJSIP/fs4-0000007b", "Finish if_pjsip_header_778") in new stack [2022-02-07 19:17:53] NOTICE[4637][C-00000e4d] app_stack.c: PJSIP/fs4-0000007b Abnormal 'Gosub(pjsip_header,setpjsipheader,1)' exit. Popping routine return locations. [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_stack.c: PJSIP/fs4-0000007b Ending location: pjsip_header,setpjsipheader,49 [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function ODBC_TENANTINFO_FROM_ID(15) result is '15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:21] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "HASH(tenantinfo)=15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array (te_id,te_code,te_alertemail,te_cl_id,te_payment_type,te_rp_id,te_billingcode,te_billingtype,te_disabled,te_prefixbillingcode,te_allowonnet,te_allowanycalleridusage,te_allowinonnet,te_billonnet,te_onnetdigitstoadd,te_onnetdigitstoremove,te_ca_rp_id,te_defaultrrid,te_sms_rp_id,te_ca_cl_id,te_costlimits,te_dailytenantcostlimit,te_monthlytenantcostlimit,te_routecostlimit,te_cr_no_id,te_ca_no_id,te_allowanycalleridforemerg,te_abusedetection,te_expirationdate,te_alertamount,te_dailycostlimitdom,te_dailycostlimitint,te_dailytenantcostlimitdom,te_dailytenantcostlimitint,te_monthlytenantcostlimitdom,te_monthlytenantcostlimitint,te_dailycostwarningdom,te_dailycostwarningint,te_dailytenantcostwarningdom,te_dailytenantcostwarningint,te_monthlytenantcostwarningdom,te_monthlytenantcostwarningint,te_uploadrecordingatcallend,te_dailytenantcostwarning,te_monthlytenantcostwarning,te_dailycostwarning,te_recordemergency,te_recordemergency_email,te_timezone,te_allowincomingcalleridusage,te_forcepinonnet,te_dailycostlimit,te_monthlycostlimit,te_monthlycostlimitdom,te_monthlycostlimitint,te_monthlycostwarningdom,te_monthlycostwarningint=15,call,,0,Post Paid,45,1574692660,CDR,,,,on,on,,,0,0,0,77,0,,0.00000,0.00000,0.00000,0,0,on,,0000-00-00,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000,yes,0.00000,0.00000,0.00000,,,,,,0.00000,0.00000,0.00000,0.00000,0.00000,0.00000) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_id=15) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_code=call) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_alertemail=) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_cl_id=0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_payment_type=Post Paid) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_rp_id=45) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_billingcode=1574692660) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_billingtype=CDR) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_disabled=) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_prefixbillingcode=) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_allowonnet=) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_allowanycalleridusage=on) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_allowinonnet=on) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_billonnet=) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_onnetdigitstoadd=) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_onnetdigitstoremove=0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_ca_rp_id=0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_defaultrrid=0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_sms_rp_id=77) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_ca_cl_id=0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_costlimits=) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_dailytenantcostlimit=0.00000) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostlimit=0.00000) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_routecostlimit=0.00000) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_cr_no_id=0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_ca_no_id=0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_allowanycalleridforemerg=on) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_abusedetection=) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_expirationdate=0000-00-00) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_alertamount=) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_dailycostlimitdom=0.00000) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_dailycostlimitint=0.00000) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_dailytenantcostlimitdom=0.00000) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_dailytenantcostlimitint=0.00000) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostlimitdom=0.00000) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostlimitint=0.00000) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_dailycostwarningdom=0.00000) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_dailycostwarningint=0.00000) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_dailytenantcostwarningdom=0.00000) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_dailytenantcostwarningint=0.00000) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostwarningdom=0.00000) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostwarningint=0.00000) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] chan_pjsip.c: PJSIP/fs4-0000007b Topology: <0:audio-0:audio:sendrecv (ulaw|alaw)> [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_uploadrecordingatcallend=yes) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] chan_pjsip.c: 'call' task pushed [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_dailytenantcostwarning=0.00000) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_monthlytenantcostwarning=0.00000) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_dailycostwarning=0.00000) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_recordemergency=) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_recordemergency_email=) [2022-02-07 19:17:53] VERBOSE[4637][C-00000e4d] app_dial.c: Called PJSIP/xxxxxxxxxx@fs4 [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_timezone=) [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] app_dial.c: Local/AG-000-CC-538@fromotherpbx-00000d30;2 [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Channel PJSIP/fs4-0000007b setting read format path: ulaw -> ulaw [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Channel Local/AG-000-CC-538@fromotherpbx-00000d30;2 setting write format path: ulaw -> ulaw [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Channel Local/AG-000-CC-538@fromotherpbx-00000d30;2 setting read format path: ulaw -> ulaw [2022-02-07 19:17:53] DEBUG[4637][C-00000e4d] channel.c: Channel PJSIP/fs4-0000007b setting write format path: ulaw -> ulaw [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_allowincomingcalleridusage=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,QUEUERING) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_forcepinonnet=) [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:258] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "RINGINGTONE=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_dailycostlimit=0.00000) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_monthlycostlimit=0.00000) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_monthlycostlimitdom=0.00000) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_monthlycostlimitint=0.00000) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_monthlycostwarningdom=0.00000) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_monthlycostwarningint=0.00000) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(tenantinfo,te_timezone) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:22] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__TIMEZONE=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'RINGINGTONE' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SIPCALLID' is NULL [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:259] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?260:262") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,262) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:262] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_fromotherpbx_1623") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'RECORDINGFORMAT' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(RECORDINGFORMAT) result is 'RECORDINGFORMAT' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:23] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "CDR(srcCallID)=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is 'AG-000-NF-246' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:24] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "membervalue=000-NF-246") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'membervalue' (from 'membervalue}' len 11) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'membervalue' is '000-NF-246' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function CUT(membervalue,-,2) result is 'NF' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:25] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "membertype=NF") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x296b430 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'membervalue' (from 'membervalue}' len 11) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'membervalue' is '000-NF-246' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function CUT(membervalue,-,3) result is '246' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:26] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "memberid=246") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'ClearHash' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:27] ClearHash("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "agentQueue") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'queueid' is '9' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and name='${SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '9' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(9) result is '9' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '9' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(9) result is '9' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] VERBOSE[4560][C-00000e4d] app_queue.c: Local/AG-000-CC-538@fromotherpbx-00000d30;1 connected line has changed. Saving it until answer for SIP/oraclepbx-00000c08 [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x296b430 into pool [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 5 for column 'qu_id' (offset 0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '9' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '9' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 9 for column 'qu_hosted' (offset 1) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'db02' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '9,db02' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 15 for column 'qu_alwaysrecord' (offset 2) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'yes' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 10 for column 'qu_timeout' (offset 3) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '90' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 13 for column 'qu_parameters' (offset 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 't' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 13 for column 'qu_nobodyhome' (offset 5) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 14 for column 'qu_calltimeout' (offset 6) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '7200' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 23 for column 'qu_agent_announce_me_id' (offset 7) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 7 for column 'qu_name' (offset 8) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'ראשי' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 15 for column 'qu_nofreemember' (offset 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 9 for column 'qu_ivr_id' (offset 10) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '17' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 14 for column 'qu_agent_ag_id' (offset 11) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 29 for column 'qu_agent_confirmmessage_me_id' (offset 12) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '16' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 12 for column 'qu_agentname' (offset 13) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'NUMBER' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 9 for column 'qu_number' (offset 14) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '900' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 20 for column 'qu_allowoptimization' (offset 15) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 14 for column 'monitor_format' (offset 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'wav' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 12 for column 'qu_spygroups' (offset 17) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 12 for column 'qu_ringinuse' (offset 18) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'no' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 13 for column 'qu_minpenalty' (offset 19) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,RECORDINGFORMAT) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:263] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "RECORDINGFORMAT=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 13 for column 'qu_maxpenalty' (offset 20) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 15 for column 'qu_raisepenalty' (offset 21) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1,0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1,0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'RECORDINGFORMAT' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:264] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "1?265:269") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,265) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(-1) result is '-1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'RECORDINGFORMAT' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(RECORDINGFORMAT) result is 'RECORDINGFORMAT' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'wav' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'wav' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'wav' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function ODBC_GET_QUEUE_FROM_ID(9) result is '9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1,0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:28] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "HASH(agentQueue)=9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1,0") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array (qu_id,qu_hosted,qu_alwaysrecord,qu_timeout,qu_parameters,qu_nobodyhome,qu_calltimeout,qu_agent_announce_me_id,qu_name,qu_nofreemember,qu_ivr_id,qu_agent_ag_id,qu_agent_confirmmessage_me_id,qu_agentname,qu_number,qu_allowoptimization,monitor_format,qu_spygroups,qu_ringinuse,qu_minpenalty,qu_maxpenalty,qu_raisepenalty=9,db02,yes,90,t,,7200,0,ראשי,,17,0,16,NUMBER,900,on,wav,,no,0,1,0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (qu_id=9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (qu_hosted=db02) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (qu_alwaysrecord=yes) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (qu_timeout=90) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (qu_parameters=t) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (qu_nobodyhome=) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (qu_calltimeout=7200) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (qu_agent_announce_me_id=0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (qu_name=ראשי) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (qu_nofreemember=) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (qu_ivr_id=17) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (qu_agent_ag_id=0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (qu_agent_confirmmessage_me_id=16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (qu_agentname=NUMBER) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (qu_number=900) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (qu_allowoptimization=on) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (monitor_format=wav) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-1,RECORDINGFORMAT) result is 'wav' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (qu_spygroups=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:265] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "RECORDINGFORMAT=wav") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (qu_ringinuse=no) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (qu_minpenalty=0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (qu_maxpenalty=1) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (qu_raisepenalty=0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_spygroups) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'RECORDINGFORMAT' is 'wav' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:266] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?267:268") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:29] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?30:31") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-246,31) [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,268) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:31] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_fromotherpbx_1575") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:268] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_if_fromotherpbx_1624_1625") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'RECORDOTHERLEG' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(RECORDOTHERLEG) result is 'RECORDOTHERLEG' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:269] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_fromotherpbx_1624") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'CTONANSWERID' is NULL [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:270] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?271:272") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-38,272) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:272] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_fromotherpbx_1626") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'membernumber' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:273] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__AGENTNUMBER=203") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'on' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'on' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'queueid' is '9' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:274] Gosub("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "FollowDestination,~~s~~,1(QUEUE-BEFORERINGING,9,)") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] app_stack.c: Setting 'ARG1' to 'QUEUE-BEFORERINGING' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] app_stack.c: Setting 'ARG2' to '9' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'QUEUE-BEFORERINGING' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:1] MSet("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "LOCAL(TYPE)=QUEUE-BEFORERINGING") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '9' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:2] MSet("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "LOCAL(ID)=9") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:3] MSet("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "LOCAL(PARAM1)=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TYPE' is 'QUEUE-BEFORERINGING' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ID' is '9' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'PARAM1' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ROUTINGPROFILE' is NULL [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:4] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Checking how many entries for the destination QUEUE-BEFORERINGING with code 9. PARAM1 is [] - ROUTING PROFILE is ") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TYPE' is 'QUEUE-BEFORERINGING' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ID' is '9' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,RECORDOTHERLEG) result is 'on' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:32] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "RECORDOTHERLEG=on") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and de_type_id_src='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'QUEUE-BEFORERINGING' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(QUEUE-BEFORERINGING) result is 'QUEUE-BEFORERINGING' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '9' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(9) result is '9' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'ALWAYSRECORD' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(ALWAYSRECORD) result is 'ALWAYSRECORD' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6a0004ea0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 8 for column 'count(*)' (offset 0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'externalchange' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'externalchange' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'externalchange' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6a0004ea0 into pool [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function ODBC_COUNT_DEST(QUEUE-BEFORERINGING,9) result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:5] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "LOCAL(NDEST)=0") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'NDEST' is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:6] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Identified 0 entries") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'NDEST' is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:7] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?8:9") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (FollowDestination,~~s~~,9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:9] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_FollowDestination_419") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:10] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "LOCAL(niter)=0") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'NDEST' is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:11] MSet("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "niter=0") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,ALWAYSRECORD) result is 'externalchange' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:33] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "ALWAYSRECORD=externalchange") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'niter' is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:12] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?13:645") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ALWAYSRECORD' is 'externalchange' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (FollowDestination,~~s~~,645) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:645] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish for_FollowDestination_420") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:34] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?35:36") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:646] Return("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-246,36) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:36] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_fromotherpbx_1576") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'membernumber' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'DIALTIMEOUT' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_calltimeout) result is '7200' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [AG-000-NF-38@fromotherpbx:275] Gosub("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "dialpeerexten,203,1(,,,7200)") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] app_stack.c: Setting 'ARG4' to '7200' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'PEERNAME' is '200-call' [2022-02-07 19:17:53] WARNING[4634][C-00000e4d] func_channel.c: Unknown or unavailable item requested: 'PEERNAME' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function CHANNEL(PEERNAME) result is '(null)' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function CALLERID(name) result is 'BEN' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '200' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is '203' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'RECORDINGFORMAT' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(RECORDINGFORMAT) result is 'RECORDINGFORMAT' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function CDR(accountcode) result is 'call' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TTL' is '97' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Received a call with PEERNAME set to 200-call from with callerid name BEN and callerid num 200 to number 203 for tenant call TENANTID is 15 TTL is 97") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6a0004ea0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'BLINDTRANSFER' is NULL [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?3:4") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:4] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_dialpeerexten_2234") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'ADDJITTERBUFFER' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(ADDJITTERBUFFER) result is 'ADDJITTERBUFFER' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6a0004ea0 into pool [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,RECORDINGFORMAT) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:37] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "RECORDINGFORMAT=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'RECORDINGFORMAT' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:38] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "1?39:43") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-246,39) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(-1) result is '-1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'RECORDINGFORMAT' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(RECORDINGFORMAT) result is 'RECORDINGFORMAT' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,ADDJITTERBUFFER) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:5] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "addjitterbuffer=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'addjitterbuffer' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:6] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?7:8") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,8) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:8] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_dialpeerexten_2235") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:9] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?10:15") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,15) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:15] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_dialpeerexten_2236") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function STRFTIME(,,%H:%M:%S.%5q) result is '19:17:53.40114' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:16] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Now is 19:17:53.40114") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:17] Gosub("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "saveCallParams,~~s~~,1") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is NULL [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:1] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "1?2:3") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (saveCallParams,~~s~~,2) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:2] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "savedLevel=0") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:3] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_saveCallParams_1367") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:4] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "savedLevel=1") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'DIALOPTION' is 'Tt' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:5] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "savedDIALOPTION1=Tt") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'CONFIRM' is NULL [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:6] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "savedCONFIRM1=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'wav' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'wav' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'wav' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'CONFIRMMD5' is 'pbx/9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:7] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "savedCONFIRMMD51=pbx/9486fbd9ec639aa19a505a653fe47324") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'NOFOLLOWEXTENSION' is 'yes' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:8] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "savedNOFOLLOWEXTENSION1=yes") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'NOFMFM' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:9] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "savedNOFMFM1=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ONLYFMFM' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:10] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "savedONLYFMFM1=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:11] Return("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:18] Gosub("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "checkTTL,~~s~~,1") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TTL' is '97' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:1] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?2:6") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (checkTTL,~~s~~,6) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:6] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_checkTTL_2129") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TTL' is '97' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '96' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:7] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "TTL=96") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TTL' is '96' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:8] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?9:13") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (checkTTL,~~s~~,13) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:13] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_checkTTL_2131") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'maxanychannels' is '-1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:14] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?15:16") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (checkTTL,~~s~~,16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:16] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_checkTTL_2132") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:17] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "GROUP(ANYTENANT)=15") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-1,RECORDINGFORMAT) result is 'wav' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:39] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "RECORDINGFORMAT=wav") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'RECORDINGFORMAT' is 'wav' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:40] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?41:42") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SYSTEMNAME' is 'db02' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-246,42) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:42] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_if_fromotherpbx_1577_1578") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function GROUP_COUNT(15@ANYTENANT) result is '4' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:18] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "ODBC_SET_GROUP_COUNT(15@ANYTENANT,db02)=4") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:43] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_fromotherpbx_1577") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'MIXMONITOR_FILENAME' is 'db02-1644254244.72696.wav' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:44] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?45:46") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-246,46) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:46] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_fromotherpbx_1579") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:47] Gosub("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "checkRecordingWarning,~~s~~,1") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}','${SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15@ANYTENANT' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'RECORDINGWARNING' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(RECORDINGWARNING) result is 'RECORDINGWARNING' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15@ANYTENANT) result is '15@ANYTENANT' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'db02' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02) result is 'db02' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '4' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(4) result is '4' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '4' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(4) result is '4' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,RECORDINGWARNING) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@checkRecordingWarning:1] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "recordingwarning=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'recordingwarning' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@checkRecordingWarning:2] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?3:15") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (checkRecordingWarning,~~s~~,15) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@checkRecordingWarning:15] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_checkRecordingWarning_1398") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@checkRecordingWarning:16] Return("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_calltimeout) result is '7200' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:48] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?49:50") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-246,50) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:50] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_fromotherpbx_1580") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function CDR(realsrc) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:51] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "1?52:54") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-246,52) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_name) result is 'ראשי' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:52] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "CDR(realsrc)=Queue ראשי") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'maxanychannels' is '-1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'maxanychannels' is '-1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:19] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?20:27") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (checkTTL,~~s~~,27) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:27] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_checkTTL_2133") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:28] Return("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:19] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "LOCAL(NUMBER)=203") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:20] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__TRANSFER_CONTEXT=authenticated") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'CHANNEL' is 'Local/AG-000-NF-38@fromotherpbx-00000d2d;2' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:21] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__ORIGCHANNEL=Local/AG-000-NF-38@fromotherpbx-00000d2d;2") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 7 for column 'te_code' (offset 0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'call' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'call' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'call' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:53] Goto("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "59") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-246,59) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:59] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_fromotherpbx_1581") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_agent_confirmmessage_me_id) result is '16' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:60] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "1?61:67") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-246,61) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_agent_confirmmessage_me_id) result is '16' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and me_type='STATIC'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '16' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(16) result is '16' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function ODBC_ACCOUNTCODE_FROM_TENANTID(15) result is 'call' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:22] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "LOCAL(TENANTCODE)=call") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TENANTCODE' is 'call' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function LEN(call) result is '3' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:23] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "LOCAL(TENANTCODELEN)=3") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TENANTCODELEN' is '3' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TENANTCODE' is 'call' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TENANTCODE' is 'call' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:24] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?25:29") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,29) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:29] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "LOCAL(CLEAREDNUMBER)=203") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:30] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_dialpeerexten_2238") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TENANTCODE' is 'call' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:31] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__PICKUPMARK=203-call") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:32] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Arg1 is ") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:33] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Arg2 is ") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:34] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Arg3 is ") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG4' is '7200' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:35] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Arg4 is 7200") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG5' is NULL [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:36] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Arg5 is ") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:37] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?38:39") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,39) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:39] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_dialpeerexten_2239") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'DIALEDNUMBER' is '900' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:40] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?41:42") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,42) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:42] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_dialpeerexten_2240") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:43] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "LASTDIALEDNUMBER=203") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:44] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?45:47") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,47) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:47] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?48:50") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 6 for column 'me_md5' (offset 0) [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,50) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 9 for column 'me_format' (offset 1) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'wav' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '9486fbd9ec639aa19a505a653fe47324,wav' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '9486fbd9ec639aa19a505a653fe47324,wav' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:50] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?51:53") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,53) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:53] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_if_if_dialpeerexten_2241_2242_2243") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:54] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_if_dialpeerexten_2241_2242") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:55] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_dialpeerexten_2241") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:56] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?57:60") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,60) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:60] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_dialpeerexten_2244") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG4' is '7200' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:61] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "1?62:63") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,62) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'DIALOPTION' is 'Tt' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG4' is '7200' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:62] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "DIALOPTION=TtL(7200000)") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:63] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_dialpeerexten_2245") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG5' is NULL [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:64] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?65:66") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,66) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:66] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_dialpeerexten_2246") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG6' is NULL [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:67] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?68:78") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,78) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:78] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_dialpeerexten_2247") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function CDR(firstdst) result is '900' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:79] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?80:82") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,82) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'DIALEDPEERNUMBER' is NULL [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:82] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Checking to fix connected number to ") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'DIALEDPEERNUMBER' is NULL [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:83] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?84:86") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,86) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:86] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "CDR(lastdst)=203") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:87] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_if_dialpeerexten_2250_2251") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:88] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_dialpeerexten_2250") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function ODBC_MEDIAFILE_MD5_FROM_ID(16) result is '9486fbd9ec639aa19a505a653fe47324,wav' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'BLOCKDTMFTRANSFERS' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(BLOCKDTMFTRANSFERS) result is 'BLOCKDTMFTRANSFERS' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:61] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "ARRAY(SYNCMEDIA,format)=9486fbd9ec639aa19a505a653fe47324,wav") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array (SYNCMEDIA,format=9486fbd9ec639aa19a505a653fe47324,wav) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (SYNCMEDIA=9486fbd9ec639aa19a505a653fe47324) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (format=wav) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SYNCMEDIA' is '9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ASTDATADIR' is '/var/lib/asterisk' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SYNCMEDIA' is '9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'format' is 'wav' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function STAT(e,/var/lib/asterisk/sounds/pbx/9486fbd9ec639aa19a505a653fe47324.wav) result is '1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:62] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?63:64") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-246,64) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:64] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_if_fromotherpbx_1583_1584") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SYNCMEDIA' is '9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:65] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__CONFIRMMD5=pbx/9486fbd9ec639aa19a505a653fe47324") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:66] Goto("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "68") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-246,68) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:68] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_fromotherpbx_1583") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_ringinuse) result is 'no' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:69] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Ringinuse is no") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'membertype' is 'NF' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:70] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?71:83") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-246,83) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'membertype' is 'NF' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:83] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "1?84:96") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-246,84) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:84] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "NOFOLLOWEXTENSION=yes") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:85] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "No Follow destination new member type") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'memberid' is '246' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '246' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(246) result is '246' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,BLOCKDTMFTRANSFERS) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:89] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "BLOCKDTMFTRANSFERS=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'BLOCKDTMFTRANSFERS' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:90] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "1?91:92") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,91) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'DIALOPTION' is 'TtL(7200000)' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:91] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "DIALOPTION=TtL(7200000)t") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:92] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_dialpeerexten_2252") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:93] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Checking internal routing number") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'ClearHash' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:94] ClearHash("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "internalRouting") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and '${SQL_ESC(${ARG2})}' regexp(ir_regexp) limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' regexp(ir_regexp) limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6a0004ea0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 9 for column 'ex_number' (offset 0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6a0004ea0 into pool [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function ODBC_DEVICENUMBER_FROM_ID(246) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:86] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "membernumber=205") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'memberid' is '246' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function ODBC_GET_INTERNAL_ROUTE(15,203) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:95] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "HASH(internalRouting)=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array (te_code=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (te_code=) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '246' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(internalRouting,ir_id) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:96] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?97:99") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(246) result is '246' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,99) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:99] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_dialpeerexten_2253") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'CALLERIDONATTENDED' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(CALLERIDONATTENDED) result is 'CALLERIDONATTENDED' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6a0004ea0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 8 for column 'ex_te_id' (offset 0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6a0004ea0 into pool [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6a0004ea0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6a0004ea0 into pool [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function ODBC_GET_TENANT_FROM_PEER_ID(246) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:87] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__TENANTID=15") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_ringinuse) result is 'no' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:88] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?89:94") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-246,94) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:94] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_if_if_fromotherpbx_1585_1588_1589") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:95] Goto("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "234") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-246,234) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:234] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_if_fromotherpbx_1585_1588") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:235] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_fromotherpbx_1585") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function CHANNEL(musicclass) result is '457' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:236] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?237:238") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-246,238) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:238] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_fromotherpbx_1618") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,CALLERIDONATTENDED) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:100] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "LOCAL(CALLERIDONATTENDED)=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'CALLERIDONATTENDED' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:101] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?102:103") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,103) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:103] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_dialpeerexten_2254") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'CLEAREDNUMBER' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:104] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Location number 203/203 in tenant 15") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'CLEAREDNUMBER' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' union SELECT 'MEETME' as tab, cr_id as code,cr_te_id as tenantid from cr_conferencerooms where cr_te_id='${SQL_ESC(${ARG1})}' and cr_number='${SQL_ESC(${ARG3})}' union SELECT 'QUEUE' as tab, qu_id as code,qu_te_id as tenantid from qu_queues where qu_te_id='${SQL_ESC(${ARG1})}' and qu_number='${SQL_ESC(${ARG3})}' union SELECT 'HUNTLIST' as tab, hu_id as code,hu_te_id as tenantid from hu_huntlists where hu_te_id='${SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'MEETME' as tab, cr_id as code,cr_te_id as tenantid from cr_conferencerooms where cr_te_id='${SQL_ESC(${ARG1})}' and cr_number='${SQL_ESC(${ARG3})}' union SELECT 'QUEUE' as tab, qu_id as code,qu_te_id as tenantid from qu_queues where qu_te_id='${SQL_ESC(${ARG1})}' and qu_number='${SQL_ESC(${ARG3})}' union SELECT 'HUNTLIST' as tab, hu_id as code,hu_te_id as tenantid from hu_huntlists where hu_te_id='${SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and cr_number='${SQL_ESC(${ARG3})}' union SELECT 'QUEUE' as tab, qu_id as code,qu_te_id as tenantid from qu_queues where qu_te_id='${SQL_ESC(${ARG1})}' and qu_number='${SQL_ESC(${ARG3})}' union SELECT 'HUNTLIST' as tab, hu_id as code,hu_te_id as tenantid from hu_huntlists where hu_te_id='${SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'QUEUE' as tab, qu_id as code,qu_te_id as tenantid from qu_queues where qu_te_id='${SQL_ESC(${ARG1})}' and qu_number='${SQL_ESC(${ARG3})}' union SELECT 'HUNTLIST' as tab, hu_id as code,hu_te_id as tenantid from hu_huntlists where hu_te_id='${SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and qu_number='${SQL_ESC(${ARG3})}' union SELECT 'HUNTLIST' as tab, hu_id as code,hu_te_id as tenantid from hu_huntlists where hu_te_id='${SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6a0004ea0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 7 for column 'te_code' (offset 0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6a0004ea0 into pool [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'HUNTLIST' as tab, hu_id as code,hu_te_id as tenantid from hu_huntlists where hu_te_id='${SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function ODBC_ACCOUNTCODE_FROM_TENANTID(15) result is 'call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:239] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "CDR(accountcode)=call") in new stack [2022-02-07 19:17:53] WARNING[4636][C-00000e4d] func_cdr.c: Using the CDR function to set 'accountcode' is deprecated. Please use the CHANNEL function instead. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function CDR(firstdst) result is '900' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:240] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?241:243") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-246,243) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is NULL [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:243] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "CDR(lastdst)=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:244] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_fromotherpbx_1619") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:245] Gosub("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "setLanguage,~~s~~,1") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'LANGUAGE' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(LANGUAGE) result is 'LANGUAGE' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6a0004ea0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'he' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'he' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6a0004ea0 into pool [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,LANGUAGE) result is 'he' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is 'he' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:1] MSet("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "LANGUAGE=he") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'LANGUAGE' is 'he' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:2] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?3:4") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (setLanguage,~~s~~,4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:4] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_setLanguage_1365") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'LANGUAGE' is 'he' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:5] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "1?6:9") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (setLanguage,~~s~~,6) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'LANGUAGE' is 'he' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:6] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "CHANNEL(language)=he") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function CHANNEL(language) result is 'he' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'he' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(he) result is 'he' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6a0004ea0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 5 for column 'la_id' (offset 0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 12 for column 'la_directory' (offset 1) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,he' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 15 for column 'la_languagecode' (offset 2) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,he,he' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 18 for column 'la_sublanguagecode' (offset 3) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'IL' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 9 for column 'la_locale' (offset 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'he' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 7 for column 'la_flag' (offset 5) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'il' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 11 for column 'la_language' (offset 6) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'Hebrew' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 10 for column 'la_enabled' (offset 7) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 11 for column 'la_tonezone' (offset 8) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'il' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 6 for column 'la_rtl' (offset 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'yes' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function ODBC_GET_ALL_LANGUAGE_INFO_FROM_DIRECTORY(he) result is '15,he,he,IL,he,il,Hebrew,on,il,yes' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:7] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "HASH(alllanguage)=15,he,he,IL,he,il,Hebrew,on,il,yes") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array (la_id,la_directory,la_languagecode,la_sublanguagecode,la_locale,la_flag,la_language,la_enabled,la_tonezone,la_rtl=15,he,he,IL,he,il,Hebrew,on,il,yes) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (la_id=15) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (la_directory=he) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (la_languagecode=he) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (la_sublanguagecode=IL) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (la_locale=he) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (la_flag=il) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (la_language=Hebrew) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (la_enabled=on) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (la_tonezone=il) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (la_rtl=yes) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(alllanguage,la_tonezone) result is 'il' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:8] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "CHANNEL(tonezone)=il") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:9] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_setLanguage_1366") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@setLanguage:10] Return("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'VOLUMERXLEVEL' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(VOLUMERXLEVEL) result is 'VOLUMERXLEVEL' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,VOLUMERXLEVEL) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:246] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "VOLUMERXLEVEL=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'VOLUMETXLEVEL' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(VOLUMETXLEVEL) result is 'VOLUMETXLEVEL' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,VOLUMETXLEVEL) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:247] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "VOLUMETXLEVEL=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'DTMFVOLUME' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(DTMFVOLUME) result is 'DTMFVOLUME' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'on' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'on' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,DTMFVOLUME) result is 'on' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:248] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "DTMFVOLUME=on") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'DTMFVOLUME' is 'on' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:249] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "1?250:251") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-246,250) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:250] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "DTMF=p") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:251] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_fromotherpbx_1620") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'VOLUMERXLEVEL' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:252] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?253:254") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-246,254) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:254] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_fromotherpbx_1621") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'VOLUMETXLEVEL' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:255] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?256:257") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-246,257) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:257] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_fromotherpbx_1622") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'QUEUERING' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(QUEUERING) result is 'QUEUERING' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 3 for column 'tab' (offset 0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'SIP' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 4 for column 'code' (offset 1) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '38' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,38' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 8 for column 'tenantid' (offset 2) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,38,15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,38,15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6a0004ea0 into pool [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function ODBC_LOCATE_NUMBER(15,203,203) result is 'SIP,38,15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:105] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "ARRAY(table,code,locatedteid)=SIP,38,15") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array (table,code,locatedteid=SIP,38,15) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (table=SIP) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (code=38) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (locatedteid=15) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:106] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__SIMPLEANSWERED=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'table' is 'SIP' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:107] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?108:643") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,643) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'table' is 'SIP' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:643] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?644:1145") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,1145) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'table' is 'SIP' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1145] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?1146:1708") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,1708) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'table' is 'SIP' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1708] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "1?1709:2271") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,1709) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1709] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Number is an extension") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'CLEAREDNUMBER' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1710] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__SIMPLEANSWERED=203") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1711] Gosub("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "checkExtensionDialing,~~s~~,1") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'PEERNAME' is '200-call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,QUEUERING) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:258] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "RINGINGTONE=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' union select ex_number from ex_extensions,ve_virtualextensions where ex_tech='VIRTUAL' and ex_tech_id=ve_id and ve_name='${SQL_ESC(${ARG1})}' union select ex_number from ex_extensions,ps_endpoints where ex_tech='PJSIP' and ex_tech_id=tech_id and id='${SQL_ESC(${ARG1})}' union select ex_number from ex_extensions,ce_customextensions where ex_tech='CUSTOM' and ex_tech_id=ce_id and ce_peername='${SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'RINGINGTONE' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:259] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?260:262") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' union select ex_number from ex_extensions,ps_endpoints where ex_tech='PJSIP' and ex_tech_id=tech_id and id='${SQL_ESC(${ARG1})}' union select ex_number from ex_extensions,ce_customextensions where ex_tech='CUSTOM' and ex_tech_id=ce_id and ce_peername='${SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' union select ex_number from ex_extensions,ce_customextensions where ex_tech='CUSTOM' and ex_tech_id=ce_id and ce_peername='${SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-246,262) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:262] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_fromotherpbx_1623") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'RECORDINGFORMAT' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(RECORDINGFORMAT) result is 'RECORDINGFORMAT' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6a0004ea0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 9 for column 'ex_number' (offset 0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '200' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '200' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '200' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6a0004ea0 into pool [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function ODBC_GET_PEEREXTEN(200-call) result is '200' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@checkExtensionDialing:1] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "PEEREXTEN=200") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'PEEREXTEN' is '200' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@checkExtensionDialing:2] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "1?3:23") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (checkExtensionDialing,~~s~~,3) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'EXTENSIONDIALING' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(EXTENSIONDIALING) result is 'EXTENSIONDIALING' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6a0004ea0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,RECORDINGFORMAT) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:263] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "RECORDINGFORMAT=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'RECORDINGFORMAT' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:264] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "1?265:269") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'Ignore' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'Ignore' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'Ignore' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-246,265) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '-1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(-1) result is '-1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'RECORDINGFORMAT' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(RECORDINGFORMAT) result is 'RECORDINGFORMAT' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'wav' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'wav' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'wav' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6a0004ea0 into pool [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,EXTENSIONDIALING) result is 'Ignore' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@checkExtensionDialing:3] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "EXTDIALING=Ignore") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'EXTDIALING' is 'Ignore' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@checkExtensionDialing:4] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?5:13") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (checkExtensionDialing,~~s~~,13) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'EXTDIALING' is 'Ignore' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@checkExtensionDialing:13] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?14:21") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (checkExtensionDialing,~~s~~,21) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@checkExtensionDialing:21] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_if_if_checkExtensionDialing_2229_2230_2232") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@checkExtensionDialing:22] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_if_checkExtensionDialing_2229_2230") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@checkExtensionDialing:23] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_checkExtensionDialing_2229") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@checkExtensionDialing:24] Return("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(-1,RECORDINGFORMAT) result is 'wav' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:265] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "RECORDINGFORMAT=wav") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'RECORDINGFORMAT' is 'wav' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:266] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?267:268") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-246,268) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:268] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_if_fromotherpbx_1624_1625") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:269] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_fromotherpbx_1624") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'CTONANSWERID' is NULL [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:270] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?271:272") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (fromotherpbx,AG-000-NF-246,272) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:272] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_fromotherpbx_1626") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'membernumber' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:273] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__AGENTNUMBER=205") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'queueid' is '9' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:274] Gosub("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "FollowDestination,~~s~~,1(QUEUE-BEFORERINGING,9,)") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] app_stack.c: Setting 'ARG1' to 'QUEUE-BEFORERINGING' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] app_stack.c: Setting 'ARG2' to '9' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'QUEUE-BEFORERINGING' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:1] MSet("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "LOCAL(TYPE)=QUEUE-BEFORERINGING") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '9' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:2] MSet("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "LOCAL(ID)=9") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'ClearHash' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1712] ClearHash("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "PEER") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(203) result is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SYSTEMNAME' is 'db02' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3}' AND sipfriends.regseconds > unix_timestamp(),1,0),if (sipregs.regserver = '${ARG3}' AND sipregs.regseconds > unix_timestamp(),1,0)) as reg_on_me,if(coalesce(sipfriends.regseconds,0)>coalesce(sipregs.regseconds,0),sipfriends.regseconds,sipregs.regseconds) as regseconds,if(coalesce(sipfriends.regseconds,0)>coalesce(sipregs.regseconds,0),sipfriends.regserver,sipregs.regserver) as regserver,sipfriends.name,ex_id,ex_dialtimeout,ex_trunk,if(coalesce(sipfriends.regseconds,0)>coalesce(sipregs.regseconds,0),sipfriends.lastms,sipregs.lastms) as lastms,host,ex_unconditionalstatus,ex_onbusystatus,ex_onofflinestatus,ex_onnoanswerstatus,ex_onconditionstatus,ex_oncondition_id,ex_dnd,ex_rp_id,ex_number,ex_txvolume,ex_rxvolume,ex_notifymissingemail,ex_fmfmstatus,ex_fmfmnumber,ex_fmfmdialtimeout,ex_fmfmcallerid,ex_fmfmnumprefix,ex_fmfmnameprefix,ex_fmfmdialmethod,ex_fmfmconfirmmessage_id,ex_fmfmconfirm,ex_fmfmholdmessage_id,ex_trunkdid,ex_callwaiting,ex_autoanswer,ex_spygroups,ex_inboundblockcid,ex_inboundblockcidname FROM ex_extensions,sipfriends,te_tenants,sipregs WHERE sipfriends.name=sipregs.name and ex_te_id='${ARG1}' and sipfriends.te_id='${ARG1}' and te_tenants.te_id='${ARG1}' and ( ex_number='${ARG2}' or sipfriends.name='${ARG2}' or concat(ex_number,te_code)='${ARG2}' ) and ex_tech='SIP' and ex_tech_id=sipfriends.id order by reg_on_me DESC,regseconds desc,regserver limit 1' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'db02' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3}' AND sipregs.regseconds > unix_timestamp(),1,0)) as reg_on_me,if(coalesce(sipfriends.regseconds,0)>coalesce(sipregs.regseconds,0),sipfriends.regseconds,sipregs.regseconds) as regseconds,if(coalesce(sipfriends.regseconds,0)>coalesce(sipregs.regseconds,0),sipfriends.regserver,sipregs.regserver) as regserver,sipfriends.name,ex_id,ex_dialtimeout,ex_trunk,if(coalesce(sipfriends.regseconds,0)>coalesce(sipregs.regseconds,0),sipfriends.lastms,sipregs.lastms) as lastms,host,ex_unconditionalstatus,ex_onbusystatus,ex_onofflinestatus,ex_onnoanswerstatus,ex_onconditionstatus,ex_oncondition_id,ex_dnd,ex_rp_id,ex_number,ex_txvolume,ex_rxvolume,ex_notifymissingemail,ex_fmfmstatus,ex_fmfmnumber,ex_fmfmdialtimeout,ex_fmfmcallerid,ex_fmfmnumprefix,ex_fmfmnameprefix,ex_fmfmdialmethod,ex_fmfmconfirmmessage_id,ex_fmfmconfirm,ex_fmfmholdmessage_id,ex_trunkdid,ex_callwaiting,ex_autoanswer,ex_spygroups,ex_inboundblockcid,ex_inboundblockcidname FROM ex_extensions,sipfriends,te_tenants,sipregs WHERE sipfriends.name=sipregs.name and ex_te_id='${ARG1}' and sipfriends.te_id='${ARG1}' and te_tenants.te_id='${ARG1}' and ( ex_number='${ARG2}' or sipfriends.name='${ARG2}' or concat(ex_number,te_code)='${ARG2}' ) and ex_tech='SIP' and ex_tech_id=sipfriends.id order by reg_on_me DESC,regseconds desc,regserver limit 1' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'db02' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1}' and sipfriends.te_id='${ARG1}' and te_tenants.te_id='${ARG1}' and ( ex_number='${ARG2}' or sipfriends.name='${ARG2}' or concat(ex_number,te_code)='${ARG2}' ) and ex_tech='SIP' and ex_tech_id=sipfriends.id order by reg_on_me DESC,regseconds desc,regserver limit 1' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1}' and te_tenants.te_id='${ARG1}' and ( ex_number='${ARG2}' or sipfriends.name='${ARG2}' or concat(ex_number,te_code)='${ARG2}' ) and ex_tech='SIP' and ex_tech_id=sipfriends.id order by reg_on_me DESC,regseconds desc,regserver limit 1' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1}' and ( ex_number='${ARG2}' or sipfriends.name='${ARG2}' or concat(ex_number,te_code)='${ARG2}' ) and ex_tech='SIP' and ex_tech_id=sipfriends.id order by reg_on_me DESC,regseconds desc,regserver limit 1' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2}' or sipfriends.name='${ARG2}' or concat(ex_number,te_code)='${ARG2}' ) and ex_tech='SIP' and ex_tech_id=sipfriends.id order by reg_on_me DESC,regseconds desc,regserver limit 1' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2}' or concat(ex_number,te_code)='${ARG2}' ) and ex_tech='SIP' and ex_tech_id=sipfriends.id order by reg_on_me DESC,regseconds desc,regserver limit 1' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2}' ) and ex_tech='SIP' and ex_tech_id=sipfriends.id order by reg_on_me DESC,regseconds desc,regserver limit 1' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '203' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:3] MSet("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "LOCAL(PARAM1)=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TYPE' is 'QUEUE-BEFORERINGING' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ID' is '9' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'PARAM1' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ROUTINGPROFILE' is NULL [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:4] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Checking how many entries for the destination QUEUE-BEFORERINGING with code 9. PARAM1 is [] - ROUTING PROFILE is ") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TYPE' is 'QUEUE-BEFORERINGING' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ID' is '9' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and de_type_id_src='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'QUEUE-BEFORERINGING' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(QUEUE-BEFORERINGING) result is 'QUEUE-BEFORERINGING' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '9' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(9) result is '9' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6a0004ea0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 8 for column 'count(*)' (offset 0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6a0004ea0 into pool [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 7 for column 'ex_tech' (offset 0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'SIP' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 9 for column 'reg_on_me' (offset 1) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 10 for column 'regseconds' (offset 2) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '1644254304' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 9 for column 'regserver' (offset 3) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'oraclepbx' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 4 for column 'name' (offset 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '203-call' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 5 for column 'ex_id' (offset 5) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '38' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 14 for column 'ex_dialtimeout' (offset 6) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '45' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 8 for column 'ex_trunk' (offset 7) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 6 for column 'lastms' (offset 8) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '22' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 4 for column 'host' (offset 9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'dynamic' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 22 for column 'ex_unconditionalstatus' (offset 10) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 15 for column 'ex_onbusystatus' (offset 11) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 18 for column 'ex_onofflinestatus' (offset 12) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function ODBC_COUNT_DEST(QUEUE-BEFORERINGING,9) result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:5] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "LOCAL(NDEST)=0") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'NDEST' is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:6] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Identified 0 entries") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'NDEST' is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 19 for column 'ex_onnoanswerstatus' (offset 13) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 20 for column 'ex_onconditionstatus' (offset 14) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 17 for column 'ex_oncondition_id' (offset 15) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 6 for column 'ex_dnd' (offset 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:7] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?8:9") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (FollowDestination,~~s~~,9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:9] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_FollowDestination_419") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 8 for column 'ex_rp_id' (offset 17) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '45' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 9 for column 'ex_number' (offset 18) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 11 for column 'ex_txvolume' (offset 19) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 11 for column 'ex_rxvolume' (offset 20) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 21 for column 'ex_notifymissingemail' (offset 21) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 13 for column 'ex_fmfmstatus' (offset 22) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 13 for column 'ex_fmfmnumber' (offset 23) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:10] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "LOCAL(niter)=0") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'NDEST' is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:11] MSet("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "niter=0") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'niter' is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:12] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?13:645") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (FollowDestination,~~s~~,645) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:645] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish for_FollowDestination_420") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@FollowDestination:646] Return("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'membernumber' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'DIALTIMEOUT' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(agentQueue,qu_calltimeout) result is '7200' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [AG-000-NF-246@fromotherpbx:275] Gosub("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "dialpeerexten,205,1(,,,7200)") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] app_stack.c: Setting 'ARG4' to '7200' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'PEERNAME' is '200-call' [2022-02-07 19:17:53] WARNING[4636][C-00000e4d] func_channel.c: Unknown or unavailable item requested: 'PEERNAME' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function CHANNEL(PEERNAME) result is '(null)' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function CALLERID(name) result is 'BEN' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '200' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is '205' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 18 for column 'ex_fmfmdialtimeout' (offset 24) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '30' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx,30' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 15 for column 'ex_fmfmcallerid' (offset 25) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'ORIGINAL' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx,30,ORIGINAL' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 16 for column 'ex_fmfmnumprefix' (offset 26) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '9' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx,30,ORIGINAL,9' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 17 for column 'ex_fmfmnameprefix' (offset 27) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx,30,ORIGINAL,9,' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 17 for column 'ex_fmfmdialmethod' (offset 28) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'Simultaneous' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx,30,ORIGINAL,9,,Simultaneous' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 24 for column 'ex_fmfmconfirmmessage_id' (offset 29) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx,30,ORIGINAL,9,,Simultaneous,0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 14 for column 'ex_fmfmconfirm' (offset 30) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx,30,ORIGINAL,9,,Simultaneous,0,on' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 21 for column 'ex_fmfmholdmessage_id' (offset 31) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '-1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx,30,ORIGINAL,9,,Simultaneous,0,on,-1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 11 for column 'ex_trunkdid' (offset 32) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx,30,ORIGINAL,9,,Simultaneous,0,on,-1,' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 14 for column 'ex_callwaiting' (offset 33) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx,30,ORIGINAL,9,,Simultaneous,0,on,-1,,' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 13 for column 'ex_autoanswer' (offset 34) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx,30,ORIGINAL,9,,Simultaneous,0,on,-1,,,' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 12 for column 'ex_spygroups' (offset 35) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx,30,ORIGINAL,9,,Simultaneous,0,on,-1,,,,' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 18 for column 'ex_inboundblockcid' (offset 36) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx,30,ORIGINAL,9,,Simultaneous,0,on,-1,,,,,' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 22 for column 'ex_inboundblockcidname' (offset 37) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx,30,ORIGINAL,9,,Simultaneous,0,on,-1,,,,,,' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx,30,ORIGINAL,9,,Simultaneous,0,on,-1,,,,,,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function CDR(accountcode) result is 'call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TTL' is '97' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:1] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Received a call with PEERNAME set to 200-call from with callerid name BEN and callerid num 200 to number 205 for tenant call TENANTID is 15 TTL is 97") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'BLINDTRANSFER' is NULL [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?3:4") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:4] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_dialpeerexten_2234") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'ADDJITTERBUFFER' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(ADDJITTERBUFFER) result is 'ADDJITTERBUFFER' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function ODBC_DEVICEINFO_FROM_NUMBER(15,203,db02) result is 'SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx,30,ORIGINAL,9,,Simultaneous,0,on,-1,,,,,,' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1713] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "HASH(PEER)=SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx,30,ORIGINAL,9,,Simultaneous,0,on,-1,,,,,,") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array (ex_tech,reg_on_me,regseconds,regserver,name,ex_id,ex_dialtimeout,ex_trunk,lastms,host,ex_unconditionalstatus,ex_onbusystatus,ex_onofflinestatus,ex_onnoanswerstatus,ex_onconditionstatus,ex_oncondition_id,ex_dnd,ex_rp_id,ex_number,ex_txvolume,ex_rxvolume,ex_notifymissingemail,ex_fmfmstatus,ex_fmfmnumber,ex_fmfmdialtimeout,ex_fmfmcallerid,ex_fmfmnumprefix,ex_fmfmnameprefix,ex_fmfmdialmethod,ex_fmfmconfirmmessage_id,ex_fmfmconfirm,ex_fmfmholdmessage_id,ex_trunkdid,ex_callwaiting,ex_autoanswer,ex_spygroups,ex_inboundblockcid,ex_inboundblockcidname=SIP,0,1644254304,oraclepbx,203-call,38,45,,22,dynamic,,,,,,0,,45,203,,,,,xxxxxxxxxx,30,ORIGINAL,9,,Simultaneous,0,on,-1,,,,,,) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (ex_tech=SIP) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (reg_on_me=0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (regseconds=1644254304) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (regserver=oraclepbx) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (name=203-call) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (ex_id=38) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (ex_dialtimeout=45) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (ex_trunk=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (lastms=22) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (host=dynamic) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (ex_unconditionalstatus=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (ex_onbusystatus=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (ex_onofflinestatus=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (ex_onnoanswerstatus=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (ex_onconditionstatus=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (ex_oncondition_id=0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (ex_dnd=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (ex_rp_id=45) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (ex_number=203) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (ex_txvolume=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (ex_rxvolume=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (ex_notifymissingemail=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (ex_fmfmstatus=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (ex_fmfmnumber=xxxxxxxxxx) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (ex_fmfmdialtimeout=30) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (ex_fmfmcallerid=ORIGINAL) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (ex_fmfmnumprefix=9) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (ex_fmfmnameprefix=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (ex_fmfmdialmethod=Simultaneous) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (ex_fmfmconfirmmessage_id=0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (ex_fmfmconfirm=on) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (ex_fmfmholdmessage_id=-1) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (ex_trunkdid=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (ex_callwaiting=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (ex_autoanswer=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (ex_spygroups=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (ex_inboundblockcid=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_strings.c: array set value (ex_inboundblockcidname=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_name) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1714] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "EXTNAME=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_spygroups) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1715] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?1716:1720") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,1720) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1720] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2598") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_rp_id) result is '45' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1721] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "ROUTINGPROFILE=45") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_id) result is '38' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1722] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "LOCAL(PEEREXID)=38") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,ADDJITTERBUFFER) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_faxgateway) result is '' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:5] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "addjitterbuffer=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1723] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?1724:1725") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,1725) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1725] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2600") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'addjitterbuffer' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_inboundblockcid) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1726] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?1727:1728") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:6] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?7:8") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,1728) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1728] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2601") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_inboundblockcidname) result is '' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,8) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1729] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?1730:1731") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:8] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_dialpeerexten_2235") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,1731) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is '205' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1731] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2602") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:9] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?10:15") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,15) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:15] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_dialpeerexten_2236") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_ignoreinternalmissed) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'INCOMINGDID' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1732] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "1?1733:1734") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,1733) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_notifymissingemail) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1733] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "NOTIFYMISSEDCALL=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function STRFTIME(,,%H:%M:%S.%5q) result is '19:17:53.45176' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1734] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2603") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:16] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Now is 19:17:53.45176") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_unconditionalstatus) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'NOFOLLOWEXTENSION' is 'yes' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:17] Gosub("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "saveCallParams,~~s~~,1") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1735] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?1736:1752") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,1752) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_dnd) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1752] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?1753:1791") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is NULL [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,1791) [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:1] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "1?2:3") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1791] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2604_2607") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (saveCallParams,~~s~~,2) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is '203' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_tech) result is 'SIP' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(PEER,name) result is '203-call' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(PEER,regserver) result is 'oraclepbx' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:2] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "savedLevel=0") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1792] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Number 203 is associated to the device SIP/203-call on the server oraclepbx") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1793] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2604") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:3] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_saveCallParams_1367") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_onconditionstatus) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'NOFOLLOWEXTENSION' is 'yes' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1794] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?1795:1817") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:4] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "savedLevel=1") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,1817) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1817] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2616") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(PEER,name) result is '203-call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'DIALOPTION' is 'Tt' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:5] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "savedDIALOPTION1=Tt") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function DEVICE_STATE(Custom:203-call) result is 'NOT_INUSE' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1818] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "STATE=NOT_INUSE") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'STATE' is 'NOT_INUSE' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'CONFIRM' is NULL [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_id) result is '38' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:6] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "savedCONFIRM1=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'CELGenUserEvent' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1819] CELGenUserEvent("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "SIP-NOT_INUSE,38") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'CONFIRMMD5' is 'pbx/9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'STATE' is 'NOT_INUSE' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:7] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "savedCONFIRMMD51=pbx/9486fbd9ec639aa19a505a653fe47324") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1820] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?1821:1868") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,1868) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1868] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2620") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(PEER,regserver) result is 'oraclepbx' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'NOFOLLOWEXTENSION' is 'yes' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:8] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "savedNOFOLLOWEXTENSION1=yes") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'STATE' is 'NOT_INUSE' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'STATE' is 'NOT_INUSE' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'STATE' is 'NOT_INUSE' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(PEER,host) result is 'dynamic' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:1869] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?1870:2028") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,2028) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_dialtimeout) result is '45' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2028] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "extensionDialTimeout=45") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'NOFMFM' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_dialtimeout) result is '45' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:9] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "savedNOFMFM1=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_dialtimeout) result is '45' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2029] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?2030:2031") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'savedLevel' is '1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ONLYFMFM' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:10] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "savedONLYFMFM1=") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,2031) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2031] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2632_2667") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'DIALTIMEOUT' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'DIALTIMEOUT' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2032] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "1?2033:2035") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@saveCallParams:11] Return("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,2033) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'extensionDialTimeout' is '45' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2033] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "LOCAL(DIALTIMEOUT)=45") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:18] Gosub("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "checkTTL,~~s~~,1") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2034] Goto("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "2040") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TTL' is '97' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,2040) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:1] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?2:6") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2040] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2632_2668") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (checkTTL,~~s~~,6) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:6] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_checkTTL_2129") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SYSTEMNAME' is 'db02' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(PEER,regserver) result is 'oraclepbx' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(PEER,host) result is 'dynamic' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TTL' is '97' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '96' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:7] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "TTL=96") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2041] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?2042:2053") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TTL' is '96' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,2053) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:8] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?9:13") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_tech) result is 'SIP' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_id) result is '38' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(PEER,regserver) result is 'oraclepbx' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (checkTTL,~~s~~,13) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:13] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_checkTTL_2131") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2053] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "LOCAL(DIALSTRING)=SIP/38@oraclepbx") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'maxanychannels' is '-1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:14] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?15:16") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2054] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2632_2671") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (checkTTL,~~s~~,16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:16] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_checkTTL_2132") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_fmfmstatus) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_fmfmdialmethod) result is 'Simultaneous' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:17] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "GROUP(ANYTENANT)=15") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'NOFMFM' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'NOFOLLOWEXTENSION' is 'yes' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2055] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?2056:2106") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SYSTEMNAME' is 'db02' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function GROUP_COUNT(15@ANYTENANT) result is '5' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,2106) [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:18] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "ODBC_SET_GROUP_COUNT(15@ANYTENANT,db02)=5") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2106] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2632_2674") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function CALLERID(name) result is 'BEN' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2107] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Callerid name is BEN") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}','${SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15@ANYTENANT' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15@ANYTENANT) result is '15@ANYTENANT' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}','${SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'db02' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '200' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(db02) result is 'db02' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}') ON DUPLICATE KEY UPDATE gr_count='${SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '5' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2108] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Callerid num is 200") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(5) result is '5' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${VAL1})' (from 'SQL_ESC(${VAL1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'VAL1' (from 'VAL1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'VAL1' is '5' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_rxvolume) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(5) result is '5' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2109] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "1?2110:2112") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,2110) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'VOLUMERXLEVEL' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(VOLUMERXLEVEL) result is 'VOLUMERXLEVEL' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6a0004ea0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6a0004ea0 into pool [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'maxanychannels' is '-1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'maxanychannels' is '-1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:19] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?20:27") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (checkTTL,~~s~~,27) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:27] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_checkTTL_2133") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@checkTTL:28] Return("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:19] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "LOCAL(NUMBER)=205") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:20] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__TRANSFER_CONTEXT=authenticated") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,VOLUMERXLEVEL) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'CHANNEL' is 'Local/AG-000-NF-246@fromotherpbx-00000d2f;2' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:21] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__ORIGCHANNEL=Local/AG-000-NF-246@fromotherpbx-00000d2f;2") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2110] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "VOLUMERXLEVEL=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2111] Goto("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "2113") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,2113) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2113] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2632_2685") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_txvolume) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2114] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "1?2115:2117") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,2115) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'VOLUMETXLEVEL' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(VOLUMETXLEVEL) result is 'VOLUMETXLEVEL' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6a0004ea0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 7 for column 'te_code' (offset 0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'call' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6a0004ea0 into pool [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function ODBC_ACCOUNTCODE_FROM_TENANTID(15) result is 'call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:22] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "LOCAL(TENANTCODE)=call") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TENANTCODE' is 'call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function LEN(call) result is '3' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:23] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "LOCAL(TENANTCODELEN)=3") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TENANTCODELEN' is '3' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TENANTCODE' is 'call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TENANTCODE' is 'call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:24] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?25:29") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,29) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:29] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "LOCAL(CLEAREDNUMBER)=205") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:30] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_dialpeerexten_2238") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is '205' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,VOLUMETXLEVEL) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2115] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "VOLUMETXLEVEL=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TENANTCODE' is 'call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:31] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__PICKUPMARK=205-call") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2116] Goto("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "2118") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:32] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Arg1 is ") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,2118) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:33] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Arg2 is ") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2118] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2632_2686") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:34] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Arg3 is ") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG4' is '7200' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:35] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Arg4 is 7200") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG5' is NULL [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:36] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Arg5 is ") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:37] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?38:39") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'DTMFVOLUME' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,39) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(DTMFVOLUME) result is 'DTMFVOLUME' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:39] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_dialpeerexten_2239") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'DIALEDNUMBER' is '900' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:40] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?41:42") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,42) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:42] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_dialpeerexten_2240") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'EXTEN' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:43] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "LASTDIALEDNUMBER=205") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:44] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?45:47") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,47) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:47] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?48:50") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,50) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:50] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?51:53") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,53) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:53] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_if_if_dialpeerexten_2241_2242_2243") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:54] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_if_dialpeerexten_2241_2242") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:55] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_dialpeerexten_2241") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:56] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?57:60") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,60) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'on' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to 'on' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:60] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_dialpeerexten_2244") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG4' is '7200' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:61] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "1?62:63") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,62) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'DIALOPTION' is 'Tt' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG4' is '7200' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:62] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "DIALOPTION=TtL(7200000)") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:63] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_dialpeerexten_2245") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG5' is NULL [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:64] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?65:66") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,66) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:66] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_dialpeerexten_2246") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG6' is NULL [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:67] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?68:78") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,78) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:78] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_dialpeerexten_2247") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function CDR(firstdst) result is '900' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:79] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?80:82") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,82) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'DIALEDPEERNUMBER' is NULL [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:82] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Checking to fix connected number to ") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'DIALEDPEERNUMBER' is NULL [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:83] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?84:86") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,86) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:86] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "CDR(lastdst)=205") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:87] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_if_dialpeerexten_2250_2251") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:88] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_dialpeerexten_2250") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'BLOCKDTMFTRANSFERS' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(BLOCKDTMFTRANSFERS) result is 'BLOCKDTMFTRANSFERS' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,DTMFVOLUME) result is 'on' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2119] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "DTMFVOLUME=on") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'DTMFVOLUME' is 'on' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2120] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "1?2121:2122") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,2121) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2121] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "DTMF=p") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2122] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2632_2687") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'VOLUMERXLEVEL' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2123] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?2124:2125") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,2125) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2125] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2632_2688") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'VOLUMETXLEVEL' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2126] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?2127:2128") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,2128) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2128] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2632_2689") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_autoanswer) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'PEERNAME' is '200-call' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2129] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?2130:2132") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,2132) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2132] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2632_2690") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'DIALSTRING' is 'SIP/38@oraclepbx' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2133] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "1?2134:2143") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,203,2134) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'STDDIALOPTION' is 'U(destChannelActions^${ALWAYSRECORD}^${RECORDINGFORMAT}^${CONFIRM}^${CONFIRMMD5}^${ONANSWER}^${ONANSWERID}^${RECORDOTHERLEG}^${MIXMONITOROPTION})b(pjsip_header,setpjsipheader,1)' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'DIALOPTION' is 'TtL(7200000)t' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ALWAYSRECORD' is 'externalchange' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'RECORDINGFORMAT' is 'wav' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'CONFIRM' is NULL [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'CONFIRMMD5' is 'pbx/9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ONANSWER' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ONANSWERID' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'RECORDOTHERLEG' is 'on' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'MIXMONITOROPTION' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function EVAL(U(destChannelActions^${ALWAYSRECORD}^${RECORDINGFORMAT}^${CONFIRM}^${CONFIRMMD5}^${ONANSWER}^${ONANSWERID}^${RECORDOTHERLEG}^${MIXMONITOROPTION})b(pjsip_header,setpjsipheader,1)TtL(7200000)t) result is 'U(destChannelActions^externalchange^wav^^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2134] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "nowDIALOPTION=U(destChannelActions^externalchange^wav^^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2135] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "CONFIRM=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2136] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "CONFIRMMD5=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2137] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "ONANSWER=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2138] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "ONANSWERID=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2139] Gosub("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "runAcallcript,~~s~~,1(AGIBEFORECALLEXT)") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] app_stack.c: Setting 'ARG1' to 'AGIBEFORECALLEXT' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'AGIBEFORECALLEXT' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:1] MSet("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "LOCAL(AGICALL)=AGIBEFORECALLEXT") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'AGICALL' is 'AGIBEFORECALLEXT' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'AGIBEFORECALLEXT' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function SQL_ESC(AGIBEFORECALLEXT) result is 'AGIBEFORECALLEXT' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,BLOCKDTMFTRANSFERS) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:89] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "BLOCKDTMFTRANSFERS=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'BLOCKDTMFTRANSFERS' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:90] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "1?91:92") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,91) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'DIALOPTION' is 'TtL(7200000)' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:91] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "DIALOPTION=TtL(7200000)t") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:92] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_dialpeerexten_2252") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:93] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Checking internal routing number") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'ClearHash' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:94] ClearHash("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "internalRouting") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and '${SQL_ESC(${ARG2})}' regexp(ir_regexp) limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' regexp(ir_regexp) limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,AGIBEFORECALLEXT) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:2] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "AcallCRIPTID=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'AcallCRIPTID' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:3] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?4:31") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (runAcallcript,~~s~~,31) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:31] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_runAcallcript_1379") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:32] Return("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2140] Gosub("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "encodeCallParams,~~s~~,1") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASHKEYS(USRVARS) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:1] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "USERVARLIST=") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function HASH(USRVARS) result is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:2] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "USERVARVALUES=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function ODBC_GET_INTERNAL_ROUTE(15,205) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:95] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "HASH(internalRouting)=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array (te_code=) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (te_code=) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'SIPRemoveHeader' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:3] SIPRemoveHeader("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "X-PBX") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(internalRouting,ir_id) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: removing SIP Header "X-PBX: 97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||||" as SIPADDHEADER02 [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:96] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?97:99") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'CDRcallUniqueID' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,99) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:4] GotoIf("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "0?5:6") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:99] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_dialpeerexten_2253") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'CALLERIDONATTENDED' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(CALLERIDONATTENDED) result is 'CALLERIDONATTENDED' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (encodeCallParams,~~s~~,6) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:6] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Finish if_encodeCallParams_1373") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TTL' is '96' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'PEERNAME' is '200-call' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'REALPEERNAME' is '200-call' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'INCOMINGDID' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SETCALLERID' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'VALIDCALLERID' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'CDRcallUniqueID' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function CDR(sequence) result is '13309' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'NOFOLLOWEXTENSION' is 'yes' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ONLYFMFM' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'NOFMFM' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'DIALOPTION' is 'TtL(7200000)t' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'DIALTIMEOUT' is '45' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'DIALEDNUMBER' is '900' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function CDR(firstdst) result is '900' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function CHANNEL(musicclass) result is '457' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ONANSWER' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'ONANSWERID' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'BLINDCONNECTEDNUM' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'FMFMDIALTIMEOUT' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'FMFMCALLERID' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'LANGUAGE' is 'he' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'QUEUEOPTION' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'FROMQUEUEID' is '9' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'PRIVACYID' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'RESPONSEPATHID' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'PLAYBACKOPTION' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SETQUEUERULE' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SETQUEUEMINPENALTY' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SETQUEUEMAXPENALTY' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'SETQUEUERAISEPENALTY' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'USERVARLIST' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'USERVARVALUES' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'AUTOANSWER' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'QUEUE_MAX_PENALTY' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'QUEUE_MIN_PENALTY' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'QUEUE_RAISE_PENALTY' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:7] Set("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "__PBX=96|200-call|200-call|15||||oraclepbx-1644254244.1743648|13309|yes|||TtL(7200000)t|45|900|900|457||||||he||9|||||||||||||") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'PBX' is '96|200-call|200-call|15||||oraclepbx-1644254244.1743648|13309|yes|||TtL(7200000)t|45|900|900|457||||||he||9|||||||||||||' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function LEN(96|200-call|200-call|15||||oraclepbx-1644254244.1743648|13309|yes|||TtL(7200000)t|45|900|900|457||||||he||9|||||||||||||) result is '118' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:8] NoOp("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "Call params length: 118") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'PBX' is '96|200-call|200-call|15||||oraclepbx-1644254244.1743648|13309|yes|||TtL(7200000)t|45|900|900|457||||||he||9|||||||||||||' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'SIPAddHeader' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:9] SIPAddHeader("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "X-PBX: 96|200-call|200-call|15||||oraclepbx-1644254244.1743648|13309|yes|||TtL(7200000)t|45|900|900|457||||||he||9|||||||||||||") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: SIP Header added "X-PBX: 96|200-call|200-call|15||||oraclepbx-1644254244.1743648|13309|yes|||TtL(7200000)t|45|900|900|457||||||he||9|||||||||||||" as __SIPADDHEADER02 [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:10] Return("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'DIALSTRING' is 'SIP/38@oraclepbx' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'DIALTIMEOUT' is '45' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'nowDIALOPTION' is 'U(destChannelActions^externalchange^wav^^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'Dial' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [203@dialpeerexten:2141] Dial("Local/AG-000-NF-38@fromotherpbx-00000d2d;2", "SIP/38@oraclepbx,45,U(destChannelActions^externalchange^wav^^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] app_dial.c: Local/AG-000-NF-38@fromotherpbx-00000d2d;2: Data: SIP/38@oraclepbx,45,U(destChannelActions^externalchange^wav^^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,CALLERIDONATTENDED) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:100] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "LOCAL(CALLERIDONATTENDED)=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'CALLERIDONATTENDED' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:101] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?102:103") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,103) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:103] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_dialpeerexten_2254") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'CLEAREDNUMBER' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:104] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Location number 205/205 in tenant 15") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'CLEAREDNUMBER' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' union SELECT 'MEETME' as tab, cr_id as code,cr_te_id as tenantid from cr_conferencerooms where cr_te_id='${SQL_ESC(${ARG1})}' and cr_number='${SQL_ESC(${ARG3})}' union SELECT 'QUEUE' as tab, qu_id as code,qu_te_id as tenantid from qu_queues where qu_te_id='${SQL_ESC(${ARG1})}' and qu_number='${SQL_ESC(${ARG3})}' union SELECT 'HUNTLIST' as tab, hu_id as code,hu_te_id as tenantid from hu_huntlists where hu_te_id='${SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'MEETME' as tab, cr_id as code,cr_te_id as tenantid from cr_conferencerooms where cr_te_id='${SQL_ESC(${ARG1})}' and cr_number='${SQL_ESC(${ARG3})}' union SELECT 'QUEUE' as tab, qu_id as code,qu_te_id as tenantid from qu_queues where qu_te_id='${SQL_ESC(${ARG1})}' and qu_number='${SQL_ESC(${ARG3})}' union SELECT 'HUNTLIST' as tab, hu_id as code,hu_te_id as tenantid from hu_huntlists where hu_te_id='${SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and cr_number='${SQL_ESC(${ARG3})}' union SELECT 'QUEUE' as tab, qu_id as code,qu_te_id as tenantid from qu_queues where qu_te_id='${SQL_ESC(${ARG1})}' and qu_number='${SQL_ESC(${ARG3})}' union SELECT 'HUNTLIST' as tab, hu_id as code,hu_te_id as tenantid from hu_huntlists where hu_te_id='${SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'QUEUE' as tab, qu_id as code,qu_te_id as tenantid from qu_queues where qu_te_id='${SQL_ESC(${ARG1})}' and qu_number='${SQL_ESC(${ARG3})}' union SELECT 'HUNTLIST' as tab, hu_id as code,hu_te_id as tenantid from hu_huntlists where hu_te_id='${SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and qu_number='${SQL_ESC(${ARG3})}' union SELECT 'HUNTLIST' as tab, hu_id as code,hu_te_id as tenantid from hu_huntlists where hu_te_id='${SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'HUNTLIST' as tab, hu_id as code,hu_te_id as tenantid from hu_huntlists where hu_te_id='${SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and hu_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows where fl_te_id='${SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and fl_number='${SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'FLOW' as tab, fl_id as code,fl_te_id as tenantid from fl_flows,ex_extensions where fl_te_id='${SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_te_id='${SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] features.c: Setting call duration limit to 7200.000 seconds. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and replace(fl_number,'[EXT]',ex_number)='${SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: Asked to create a SIP channel with formats: (ulaw) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'SHORT' as tab, sn_id as code,sn_te_id as tenantid from sn_shortnumbers where sn_te_id='${SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and sn_number='${SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' union SELECT 'PARKING' as tab, pk_id as code,pk_te_id as tenantid from pk_parkinglots where pk_te_id='${SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: Allocating new SIP dialog for 60cd31ab0c0042fb26ab4e797a7e2271@[fe80::f03c:92ff:fea6:b812]:5060 - INVITE (No RTP) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and pk_start<=cast('${SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' as unsigned) and pk_end>=cast('${SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' as unsigned) union SELECT 'PAGING' as tab, pa_id as code,pa_te_id as tenantid from pa_paginggroups where pa_te_id='${SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '205' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] rtp_engine.c: Using engine 'asterisk' for RTP instance '0x7fe670012ca0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and pa_number='${SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' union SELECT 'CONDUIT' as tab, tc_id as code,tc_te_id as tenantid from tc_tenantconduits where tc_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' like concat(tc_prefix,'%') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,sipfriends where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_rtp_asterisk.c: (0x7fe670012ca0) RTP allocated port 10640 [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_rtp_asterisk.c: (0x7fe670012ca0) ICE creating session 0.0.0.0:10640 (10640) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_rtp_asterisk.c: (0x7fe670012ca0) ICE create [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_tech='SIP' and sipfriends.id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',sipfriends.name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',sipfriends.name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ve_virtualextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_tech='VIRTUAL' and ve_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ve_name)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ve_name),'_','')='${SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' ) union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ce_customextensions where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_tech='CUSTOM' and ce_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ce_peername)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ce_peername),'_','')='${SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' )union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,ex_extensions,ps_endpoints where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and ex_te_id='${SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_tech='PJSIP' and ps_endpoints.tech_id=ex_tech_id and (replace(fe_code,'[EXT]',ex_number) in ('${SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}','${SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}') OR replace(fe_code,'[EXT]',ps_endpoints.id)='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'-','')='${SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '205' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_rtp_asterisk.c: (0x7fe670012ca0) ICE add system candidates [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' OR replace(replace(fe_code,'[EXT]',ps_endpoints.id),'_','')='${SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '205' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] netsock2.c: Splitting 'XXX.XXX.XXX.XXX' into... [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] netsock2.c: ...host 'XXX.XXX.XXX.XXX' and port ''. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}') union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_rtp_asterisk.c: (0x7fe670012ca0) ICE add candidate: XXX.XXX.XXX.XXX:10640, 2130706431 [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and '${SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] rtp_engine.c: RTP instance '0x7fe670012ca0' is setup and ready to go [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_rtp_asterisk.c: (0x7fe670012ca0) ICE stopped [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] rtp_engine.c: Using engine 'asterisk' for RTP instance '0x7fe67002c450' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' like replace(fe_code,'[NUM]','%') and replace(fe_code,'[NUM]','')<>'${SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '205' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_rtp_asterisk.c: (0x7fe67002c450) RTP allocated port 14016 [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' union SELECT 'FEATURE' as tab, fe_id as code,fe_te_id as tenantid from fe_features,fl_flows where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '205' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_rtp_asterisk.c: (0x7fe67002c450) ICE creating session 0.0.0.0:14016 (14016) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_rtp_asterisk.c: (0x7fe67002c450) ICE create [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and fl_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',fl_number) in ('${SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}','${SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}') union SELECT 'VOICEMAIL' as tab,uniqueid as code,te_id as tenantid from voicemail where te_id='${SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and mailbox='${SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' and '${SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_rtp_asterisk.c: (0x7fe67002c450) ICE add system candidates [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '205' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] netsock2.c: Splitting 'XXX.XXX.XXX.XXX' into... [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] netsock2.c: ...host 'XXX.XXX.XXX.XXX' and port ''. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_rtp_asterisk.c: (0x7fe67002c450) ICE add candidate: XXX.XXX.XXX.XXX:14016, 2130706431 [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] rtp_engine.c: RTP instance '0x7fe67002c450' is setup and ready to go [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' not in ( SELECT ex_number from ex_extensions where ex_te_id='${SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '205' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_rtp_asterisk.c: (0x7fe67002c450) ICE stopped [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] netsock2.c: Splitting 'db02' into... [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] netsock2.c: ...host 'db02' and port ''. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and ex_number='${SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}' ) union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,voicemail where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and te_id='${SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and (replace(fe_code,'[EXT]',mailbox)='${SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG3})' (from 'SQL_ESC(${ARG3})}') union SELECT 'FEATURE' as tab,fe_id as code,fe_te_id as tenantid from fe_features,sn_shortnumbers where fe_te_id in ('${SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG3' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}',0) and sn_te_id='${SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and replace(fe_code,'[EXT]',sn_number)='${SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}' order by tenantid desc limit 1' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] acl.c: Multiple addresses. Using the first only [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_rtp_asterisk.c: (0x7fe67002c450) RTCP setup on RTP instance [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] netsock2.c: Using SIP VIDEO TOS bits 136 [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] netsock2.c: Using SIP VIDEO CoS mark 4 [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] netsock2.c: Splitting 'db02' into... [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] netsock2.c: ...host 'db02' and port ''. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] acl.c: Multiple addresses. Using the first only [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_rtp_asterisk.c: (0x7fe670012ca0) RTCP setup on RTP instance [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] netsock2.c: Using SIP RTP TOS bits 184 [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] netsock2.c: Using SIP RTP CoS mark 5 [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: Setting NAT on RTP to On [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: Setting NAT on VRTP to On [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: OBPROXY: Not applying OBproxy to this call [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] acl.c: For destination 'XXX.X.XXX.XX', our source address is 'XXX.XXX.XXX.XXX'. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: Setting AST_TRANSPORT_UDP with address XXX.XXX.XXX.XXX:5060 [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: Setting NAT on RTP to On [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: Setting NAT on VRTP to On [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: SIP call-id changed from '60cd31ab0c0042fb26ab4e797a7e2271@[fe80::f03c:92ff:fea6:b812]:5060' to '2931d03c633d140b0a035f0809a665ec@XXX.XXX.XXX.XXX:5060' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel_internal_api.c: : Formats: (none) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel_internal_api.c: Channel is being initialized or destroyed [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] stasis.c: Creating topic. name: channel:db02-1644254273.72771, detail: [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] stasis.c: Topic 'channel:db02-1644254273.72771': 0x7fe6700247e0 created [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Channel 0x7fe670004470 'SIP/oraclepbx-00000c0b' allocated [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel_internal_api.c: SIP/oraclepbx-00000c0b: Formats: (ulaw) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel_internal_api.c: New topology set [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: *** Our native formats are (ulaw) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: *** Joint capabilities are (ulaw) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: *** Our capabilities are (ulaw|alaw|gsm|h263|codec2|g723|g726|g726aal2|adpcm|slin|slin12|slin16|slin24|slin32|slin44|slin48|slin96|slin192|lpc10|g729|speex|speex16|speex32|ilbc|g722|siren7|siren14|testlaw|g719|opus|jpeg|png|h261|h263p|h264|h265|mpeg4|vp8|vp9|red|t140|t38|silk8|silk12|silk16|silk24) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: *** AST_CODEC_CHOOSE formats are ulaw [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: *** Our preferred formats from the incoming channel are (ulaw) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_rtp_asterisk.c: (0x7fe67002c450) DTLS stop [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_rtp_asterisk.c: (0x7fe67002c450) DTLS srtp - stopped timeout timer' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_rtp_asterisk.c: (0x7fe67002c450) DTLS srtp - stopped timeout timer' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] res_rtp_asterisk.c: (0x7fe67002c450) ICE RTP transport deallocating [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] rtp_engine.c: Destroyed RTP instance '0x7fe67002c450' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: This channel will not be able to handle video. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel_internal_api.c: Channel Call ID changing from [C-00000e4d] to [C-00000e4d] [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __SIPADDHEADER02 from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __PBX from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __SIMPLEANSWERED from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __PICKUPMARK from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __ORIGCHANNEL from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __TRANSFER_CONTEXT from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __AGENTNUMBER from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __TENANTID from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __TIMEZONE from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __SIMPLEPREVUNIQUEID from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __SIPADDHEADER03 from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __PEERNAME from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __REALPEERNAME from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __INCOMINGDID from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __SETCALLERID from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __VALIDCALLERID from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __CDRcallUniqueID from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __CDRcallSequence from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __ONLYFMFM from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __NOFMFM from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __DIALTIMEOUT from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __DIALEDNUMBER from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __BLINDCONNECTEDNUM from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __FMFMDIALTIMEOUT from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __FMFMCALLERID from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __QUEUEOPTION from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __FROMQUEUEID from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __PRIVACYID from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __RESPONSEPATHID from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __PLAYBACKOPTION from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __SETQUEUERULE from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __SETQUEUEMINPENALTY from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __SETQUEUEMAXPENALTY from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __SETQUEUERAISEPENALTY from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __AUTOANSWER from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __QUEUE_MAX_PENALTY from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __QUEUE_MIN_PENALTY from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __QUEUE_RAISE_PENALTY from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __MIXMONITOR_FILENAME from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __queuenumber from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __queueid from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __maxanychannels from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __TENANTCODE from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Inheriting variable __SIPADDHEADER01 from Local/AG-000-NF-38@fromotherpbx-00000d2d;2 to SIP/oraclepbx-00000c0b. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] app_stack.c: Gosub args:pjsip_header,setpjsipheader,1 new_args:pjsip_header,setpjsipheader,1 [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] app_stack.c: SIP/oraclepbx-00000c0b Internal Gosub(pjsip_header,setpjsipheader,1) start [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] app_stack.c: SIP/oraclepbx-00000c0b Original location: fromotherpbx,203,1 [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] app_stack.c: Channel SIP/oraclepbx-00000c0b has no datastore, so we're allocating one. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] app_stack.c: Gosub exited with status 0 [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Result of 'AUTOANSWER' is '' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:1] NoOp("SIP/oraclepbx-00000c0b", "Autoanswer is ") in new stack [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Function CHANNEL(channeltype) result is 'SIP' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:2] GotoIf("SIP/oraclepbx-00000c0b", "0?3:48") in new stack [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,48) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:48] NoOp("SIP/oraclepbx-00000c0b", "Finish if_pjsip_header_778") in new stack [2022-02-07 19:17:53] NOTICE[4634][C-00000e4d] app_stack.c: SIP/oraclepbx-00000c0b Abnormal 'Gosub(pjsip_header,setpjsipheader,1)' exit. Popping routine return locations. [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] app_stack.c: SIP/oraclepbx-00000c0b Ending location: pjsip_header,setpjsipheader,49 [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: Outgoing Call for 38 [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: Updating call counter for outgoing call [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: Call to peer 'oraclepbx' is 3 out of 2147483647 [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: Adding SIP Header "X-PBX" with content :96|200-call|200-call|15||||oraclepbx-1644254244.1743648|13309|yes|||TtL(7200000)t|45|900|900|457||||||he||9|||||||||||||: [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: Adding SIP Header "X-VoipMonitor-Custom1" with content :db02-1644254272.72739: [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: Adding SIP Header "X-VoipMonitor-Custom1" with content :db02-1644254244.72696: [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: This call needs video offers, but there's no video support enabled! [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] chan_sip.c: We think we can do text [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: This call needs text offers, but there's no text support enabled ! [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: ** Our capability: (ulaw|alaw|gsm|h263|g723|g726|g726aal2|adpcm|slin|slin12|slin16|slin24|slin32|slin44|slin48|slin96|slin192|lpc10|g729|speex|speex16|speex32|ilbc|g722|testlaw|opus|jpeg|png|h261|h263p|h264|h265|mpeg4|vp8|vp9|red|t140|t38|silk8|silk12|silk16|silk24) Video flag: False Text flag: False [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: ** Our prefcodec: (ulaw) [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] chan_sip.c: Audio is at 10640 [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] chan_sip.c: Adding codec ulaw to SDP [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] chan_sip.c: Adding codec alaw to SDP [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] chan_sip.c: Adding codec gsm to SDP [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] chan_sip.c: Adding codec g723 to SDP [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] chan_sip.c: Adding codec g726 to SDP [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] chan_sip.c: Adding codec g726aal2 to SDP [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] chan_sip.c: Adding codec adpcm to SDP [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] chan_sip.c: Adding codec slin to SDP [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] chan_sip.c: Adding codec slin12 to SDP [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] chan_sip.c: Adding codec slin16 to SDP [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] chan_sip.c: Adding codec slin24 to SDP [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] chan_sip.c: Adding codec slin32 to SDP [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] chan_sip.c: Adding codec slin44 to SDP [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] chan_sip.c: Adding codec slin48 to SDP [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] chan_sip.c: Adding codec slin96 to SDP [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] chan_sip.c: Adding codec slin192 to SDP [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] chan_sip.c: Adding codec lpc10 to SDP [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] chan_sip.c: Adding codec g729 to SDP [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] chan_sip.c: Adding codec speex to SDP [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] chan_sip.c: Adding codec speex16 to SDP [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] chan_sip.c: Adding codec speex32 to SDP [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] chan_sip.c: Adding codec ilbc to SDP [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] chan_sip.c: Adding codec g722 to SDP [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] chan_sip.c: Adding codec testlaw to SDP [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] chan_sip.c: Adding codec opus to SDP [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] chan_sip.c: Adding codec silk8 to SDP [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] chan_sip.c: Adding codec silk12 to SDP [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] chan_sip.c: Adding codec silk16 to SDP [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] chan_sip.c: Adding codec silk24 to SDP [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] chan_sip.c: Adding non-codec 0x1 (telephone-event) to SDP [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: -- Done with adding codecs to SDP [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: Done building SDP. Settling with this capability: (ulaw|alaw|gsm|h263|g723|g726|g726aal2|adpcm|slin|slin12|slin16|slin24|slin32|slin44|slin48|slin96|slin192|lpc10|g729|speex|speex16|speex32|ilbc|g722|testlaw|opus|jpeg|png|h261|h263p|h264|h265|mpeg4|vp8|vp9|red|t140|t38|silk8|silk12|silk16|silk24) [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: Initializing initreq for method INVITE - callid 2931d03c633d140b0a035f0809a665ec@XXX.XXX.XXX.XXX:5060 [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: Header 0 [ 34]: INVITE sip:38@XXX.X.XXX.XX SIP/2.0 [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: Header 1 [ 66]: Via: SIP/2.0/UDP XXX.XXX.XXX.XXX:5060;branch=z9hG4bK130dfd93;rport [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: Header 2 [ 16]: Max-Forwards: 70 [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: Header 3 [ 57]: From: "BEN" ;tag=as568b778e [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: Header 4 [ 25]: To: [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: Header 5 [ 39]: Contact: [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: Header 6 [ 62]: Call-ID: 2931d03c633d140b0a035f0809a665ec@XXX.XXX.XXX.XXX:5060 [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: Header 7 [ 16]: CSeq: 102 INVITE [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: Header 8 [ 31]: User-Agent: Asterisk PBX 18.6.0 [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: Header 9 [ 35]: Date: Mon, 07 Feb 2022 17:17:53 GMT [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: Header 10 [ 90]: Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: Header 11 [ 26]: Supported: replaces, timer [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: Header 12 [125]: X-PBX: 96|200-call|200-call|15||||oraclepbx-1644254244.1743648|13309|yes|||TtL(7200000)t|45|900|900|457||||||he||9||||||||||||| [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: Header 13 [ 44]: X-VoipMonitor-Custom1: db02-1644254272.72739 [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: Header 14 [ 44]: X-VoipMonitor-Custom1: db02-1644254244.72696 [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: Header 15 [ 89]: Remote-Party-ID: "BEN" ;party=calling;privacy=off;screen=no [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: Header 16 [ 29]: Content-Type: application/sdp [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] chan_sip.c: Reliably Transmitting (NAT) to XXX.X.XXX.XX:5060: [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: *** SIP TIMER: Initializing retransmit timer on packet: Id #41 [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] chan_sip.c: Trying to put 'INVITE sip:' onto UDP socket destined for XXX.X.XXX.XX:5060 [2022-02-07 19:17:53] VERBOSE[4634][C-00000e4d] app_dial.c: Called SIP/38@oraclepbx [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] app_dial.c: Local/AG-000-NF-38@fromotherpbx-00000d2d;2 [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Channel SIP/oraclepbx-00000c0b setting read format path: ulaw -> ulaw [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Channel Local/AG-000-NF-38@fromotherpbx-00000d2d;2 setting write format path: ulaw -> ulaw [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Channel Local/AG-000-NF-38@fromotherpbx-00000d2d;2 setting read format path: ulaw -> ulaw [2022-02-07 19:17:53] DEBUG[4634][C-00000e4d] channel.c: Channel SIP/oraclepbx-00000c0b setting write format path: ulaw -> ulaw [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 3 for column 'tab' (offset 0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'SIP' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 4 for column 'code' (offset 1) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '246' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,246' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 8 for column 'tenantid' (offset 2) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,246,15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,246,15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function ODBC_LOCATE_NUMBER(15,205,205) result is 'SIP,246,15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:105] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "ARRAY(table,code,locatedteid)=SIP,246,15") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array (table,code,locatedteid=SIP,246,15) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (table=SIP) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (code=246) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (locatedteid=15) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:106] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__SIMPLEANSWERED=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'table' is 'SIP' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:107] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?108:643") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,643) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'table' is 'SIP' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:643] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?644:1145") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,1145) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'table' is 'SIP' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:1145] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?1146:1708") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,1708) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'table' is 'SIP' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:1708] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "1?1709:2271") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,1709) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:1709] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Number is an extension") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'CLEAREDNUMBER' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:1710] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__SIMPLEANSWERED=205") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:1711] Gosub("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "checkExtensionDialing,~~s~~,1") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'PEERNAME' is '200-call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' union select ex_number from ex_extensions,ve_virtualextensions where ex_tech='VIRTUAL' and ex_tech_id=ve_id and ve_name='${SQL_ESC(${ARG1})}' union select ex_number from ex_extensions,ps_endpoints where ex_tech='PJSIP' and ex_tech_id=tech_id and id='${SQL_ESC(${ARG1})}' union select ex_number from ex_extensions,ce_customextensions where ex_tech='CUSTOM' and ex_tech_id=ce_id and ce_peername='${SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' union select ex_number from ex_extensions,ps_endpoints where ex_tech='PJSIP' and ex_tech_id=tech_id and id='${SQL_ESC(${ARG1})}' union select ex_number from ex_extensions,ce_customextensions where ex_tech='CUSTOM' and ex_tech_id=ce_id and ce_peername='${SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' union select ex_number from ex_extensions,ce_customextensions where ex_tech='CUSTOM' and ex_tech_id=ce_id and ce_peername='${SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '200-call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(200-call) result is '200-call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 9 for column 'ex_number' (offset 0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '200' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '200' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '200' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function ODBC_GET_PEEREXTEN(200-call) result is '200' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@checkExtensionDialing:1] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "PEEREXTEN=200") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'PEEREXTEN' is '200' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@checkExtensionDialing:2] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "1?3:23") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (checkExtensionDialing,~~s~~,3) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'EXTENSIONDIALING' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(EXTENSIONDIALING) result is 'EXTENSIONDIALING' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'Ignore' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'Ignore' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'Ignore' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,EXTENSIONDIALING) result is 'Ignore' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@checkExtensionDialing:3] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "EXTDIALING=Ignore") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'EXTDIALING' is 'Ignore' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@checkExtensionDialing:4] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?5:13") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (checkExtensionDialing,~~s~~,13) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'EXTDIALING' is 'Ignore' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@checkExtensionDialing:13] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?14:21") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (checkExtensionDialing,~~s~~,21) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@checkExtensionDialing:21] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_if_if_checkExtensionDialing_2229_2230_2232") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@checkExtensionDialing:22] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_if_checkExtensionDialing_2229_2230") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@checkExtensionDialing:23] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_checkExtensionDialing_2229") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@checkExtensionDialing:24] Return("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'ClearHash' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:1712] ClearHash("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "PEER") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(205) result is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SYSTEMNAME' is 'db02' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3}' AND sipfriends.regseconds > unix_timestamp(),1,0),if (sipregs.regserver = '${ARG3}' AND sipregs.regseconds > unix_timestamp(),1,0)) as reg_on_me,if(coalesce(sipfriends.regseconds,0)>coalesce(sipregs.regseconds,0),sipfriends.regseconds,sipregs.regseconds) as regseconds,if(coalesce(sipfriends.regseconds,0)>coalesce(sipregs.regseconds,0),sipfriends.regserver,sipregs.regserver) as regserver,sipfriends.name,ex_id,ex_dialtimeout,ex_trunk,if(coalesce(sipfriends.regseconds,0)>coalesce(sipregs.regseconds,0),sipfriends.lastms,sipregs.lastms) as lastms,host,ex_unconditionalstatus,ex_onbusystatus,ex_onofflinestatus,ex_onnoanswerstatus,ex_onconditionstatus,ex_oncondition_id,ex_dnd,ex_rp_id,ex_number,ex_txvolume,ex_rxvolume,ex_notifymissingemail,ex_fmfmstatus,ex_fmfmnumber,ex_fmfmdialtimeout,ex_fmfmcallerid,ex_fmfmnumprefix,ex_fmfmnameprefix,ex_fmfmdialmethod,ex_fmfmconfirmmessage_id,ex_fmfmconfirm,ex_fmfmholdmessage_id,ex_trunkdid,ex_callwaiting,ex_autoanswer,ex_spygroups,ex_inboundblockcid,ex_inboundblockcidname FROM ex_extensions,sipfriends,te_tenants,sipregs WHERE sipfriends.name=sipregs.name and ex_te_id='${ARG1}' and sipfriends.te_id='${ARG1}' and te_tenants.te_id='${ARG1}' and ( ex_number='${ARG2}' or sipfriends.name='${ARG2}' or concat(ex_number,te_code)='${ARG2}' ) and ex_tech='SIP' and ex_tech_id=sipfriends.id order by reg_on_me DESC,regseconds desc,regserver limit 1' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'db02' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG3' (from 'ARG3}' AND sipregs.regseconds > unix_timestamp(),1,0)) as reg_on_me,if(coalesce(sipfriends.regseconds,0)>coalesce(sipregs.regseconds,0),sipfriends.regseconds,sipregs.regseconds) as regseconds,if(coalesce(sipfriends.regseconds,0)>coalesce(sipregs.regseconds,0),sipfriends.regserver,sipregs.regserver) as regserver,sipfriends.name,ex_id,ex_dialtimeout,ex_trunk,if(coalesce(sipfriends.regseconds,0)>coalesce(sipregs.regseconds,0),sipfriends.lastms,sipregs.lastms) as lastms,host,ex_unconditionalstatus,ex_onbusystatus,ex_onofflinestatus,ex_onnoanswerstatus,ex_onconditionstatus,ex_oncondition_id,ex_dnd,ex_rp_id,ex_number,ex_txvolume,ex_rxvolume,ex_notifymissingemail,ex_fmfmstatus,ex_fmfmnumber,ex_fmfmdialtimeout,ex_fmfmcallerid,ex_fmfmnumprefix,ex_fmfmnameprefix,ex_fmfmdialmethod,ex_fmfmconfirmmessage_id,ex_fmfmconfirm,ex_fmfmholdmessage_id,ex_trunkdid,ex_callwaiting,ex_autoanswer,ex_spygroups,ex_inboundblockcid,ex_inboundblockcidname FROM ex_extensions,sipfriends,te_tenants,sipregs WHERE sipfriends.name=sipregs.name and ex_te_id='${ARG1}' and sipfriends.te_id='${ARG1}' and te_tenants.te_id='${ARG1}' and ( ex_number='${ARG2}' or sipfriends.name='${ARG2}' or concat(ex_number,te_code)='${ARG2}' ) and ex_tech='SIP' and ex_tech_id=sipfriends.id order by reg_on_me DESC,regseconds desc,regserver limit 1' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG3' is 'db02' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1}' and sipfriends.te_id='${ARG1}' and te_tenants.te_id='${ARG1}' and ( ex_number='${ARG2}' or sipfriends.name='${ARG2}' or concat(ex_number,te_code)='${ARG2}' ) and ex_tech='SIP' and ex_tech_id=sipfriends.id order by reg_on_me DESC,regseconds desc,regserver limit 1' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1}' and te_tenants.te_id='${ARG1}' and ( ex_number='${ARG2}' or sipfriends.name='${ARG2}' or concat(ex_number,te_code)='${ARG2}' ) and ex_tech='SIP' and ex_tech_id=sipfriends.id order by reg_on_me DESC,regseconds desc,regserver limit 1' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1}' and ( ex_number='${ARG2}' or sipfriends.name='${ARG2}' or concat(ex_number,te_code)='${ARG2}' ) and ex_tech='SIP' and ex_tech_id=sipfriends.id order by reg_on_me DESC,regseconds desc,regserver limit 1' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2}' or sipfriends.name='${ARG2}' or concat(ex_number,te_code)='${ARG2}' ) and ex_tech='SIP' and ex_tech_id=sipfriends.id order by reg_on_me DESC,regseconds desc,regserver limit 1' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2}' or concat(ex_number,te_code)='${ARG2}' ) and ex_tech='SIP' and ex_tech_id=sipfriends.id order by reg_on_me DESC,regseconds desc,regserver limit 1' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2}' ) and ex_tech='SIP' and ex_tech_id=sipfriends.id order by reg_on_me DESC,regseconds desc,regserver limit 1' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 7 for column 'ex_tech' (offset 0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'SIP' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 9 for column 'reg_on_me' (offset 1) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 10 for column 'regseconds' (offset 2) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '1644257495' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644257495' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 9 for column 'regserver' (offset 3) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'oraclepbx' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644257495,oraclepbx' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 4 for column 'name' (offset 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '205-call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644257495,oraclepbx,205-call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 5 for column 'ex_id' (offset 5) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '246' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644257495,oraclepbx,205-call,246' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 14 for column 'ex_dialtimeout' (offset 6) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644257495,oraclepbx,205-call,246,0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 8 for column 'ex_trunk' (offset 7) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644257495,oraclepbx,205-call,246,0,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 6 for column 'lastms' (offset 8) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '14' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644257495,oraclepbx,205-call,246,0,,14' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 4 for column 'host' (offset 9) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'dynamic' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644257495,oraclepbx,205-call,246,0,,14,dynamic' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 22 for column 'ex_unconditionalstatus' (offset 10) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644257495,oraclepbx,205-call,246,0,,14,dynamic,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 15 for column 'ex_onbusystatus' (offset 11) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644257495,oraclepbx,205-call,246,0,,14,dynamic,,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 18 for column 'ex_onofflinestatus' (offset 12) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644257495,oraclepbx,205-call,246,0,,14,dynamic,,,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 19 for column 'ex_onnoanswerstatus' (offset 13) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644257495,oraclepbx,205-call,246,0,,14,dynamic,,,,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 20 for column 'ex_onconditionstatus' (offset 14) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644257495,oraclepbx,205-call,246,0,,14,dynamic,,,,,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 17 for column 'ex_oncondition_id' (offset 15) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644257495,oraclepbx,205-call,246,0,,14,dynamic,,,,,,0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 6 for column 'ex_dnd' (offset 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644257495,oraclepbx,205-call,246,0,,14,dynamic,,,,,,0,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 8 for column 'ex_rp_id' (offset 17) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644257495,oraclepbx,205-call,246,0,,14,dynamic,,,,,,0,,0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 9 for column 'ex_number' (offset 18) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644257495,oraclepbx,205-call,246,0,,14,dynamic,,,,,,0,,0,205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 11 for column 'ex_txvolume' (offset 19) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644257495,oraclepbx,205-call,246,0,,14,dynamic,,,,,,0,,0,205,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 11 for column 'ex_rxvolume' (offset 20) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644257495,oraclepbx,205-call,246,0,,14,dynamic,,,,,,0,,0,205,,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 21 for column 'ex_notifymissingemail' (offset 21) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644257495,oraclepbx,205-call,246,0,,14,dynamic,,,,,,0,,0,205,,,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 13 for column 'ex_fmfmstatus' (offset 22) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644257495,oraclepbx,205-call,246,0,,14,dynamic,,,,,,0,,0,205,,,,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 13 for column 'ex_fmfmnumber' (offset 23) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644257495,oraclepbx,205-call,246,0,,14,dynamic,,,,,,0,,0,205,,,,,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 18 for column 'ex_fmfmdialtimeout' (offset 24) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '30' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644257495,oraclepbx,205-call,246,0,,14,dynamic,,,,,,0,,0,205,,,,,,30' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 15 for column 'ex_fmfmcallerid' (offset 25) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'ORIGINAL' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644257495,oraclepbx,205-call,246,0,,14,dynamic,,,,,,0,,0,205,,,,,,30,ORIGINAL' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 16 for column 'ex_fmfmnumprefix' (offset 26) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644257495,oraclepbx,205-call,246,0,,14,dynamic,,,,,,0,,0,205,,,,,,30,ORIGINAL,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 17 for column 'ex_fmfmnameprefix' (offset 27) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644257495,oraclepbx,205-call,246,0,,14,dynamic,,,,,,0,,0,205,,,,,,30,ORIGINAL,,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 17 for column 'ex_fmfmdialmethod' (offset 28) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'Simultaneous' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644257495,oraclepbx,205-call,246,0,,14,dynamic,,,,,,0,,0,205,,,,,,30,ORIGINAL,,,Simultaneous' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 24 for column 'ex_fmfmconfirmmessage_id' (offset 29) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '16' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644257495,oraclepbx,205-call,246,0,,14,dynamic,,,,,,0,,0,205,,,,,,30,ORIGINAL,,,Simultaneous,16' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 14 for column 'ex_fmfmconfirm' (offset 30) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644257495,oraclepbx,205-call,246,0,,14,dynamic,,,,,,0,,0,205,,,,,,30,ORIGINAL,,,Simultaneous,16,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 21 for column 'ex_fmfmholdmessage_id' (offset 31) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '-1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644257495,oraclepbx,205-call,246,0,,14,dynamic,,,,,,0,,0,205,,,,,,30,ORIGINAL,,,Simultaneous,16,,-1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 11 for column 'ex_trunkdid' (offset 32) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644257495,oraclepbx,205-call,246,0,,14,dynamic,,,,,,0,,0,205,,,,,,30,ORIGINAL,,,Simultaneous,16,,-1,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 14 for column 'ex_callwaiting' (offset 33) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644257495,oraclepbx,205-call,246,0,,14,dynamic,,,,,,0,,0,205,,,,,,30,ORIGINAL,,,Simultaneous,16,,-1,,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 13 for column 'ex_autoanswer' (offset 34) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644257495,oraclepbx,205-call,246,0,,14,dynamic,,,,,,0,,0,205,,,,,,30,ORIGINAL,,,Simultaneous,16,,-1,,,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 12 for column 'ex_spygroups' (offset 35) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644257495,oraclepbx,205-call,246,0,,14,dynamic,,,,,,0,,0,205,,,,,,30,ORIGINAL,,,Simultaneous,16,,-1,,,,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 18 for column 'ex_inboundblockcid' (offset 36) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644257495,oraclepbx,205-call,246,0,,14,dynamic,,,,,,0,,0,205,,,,,,30,ORIGINAL,,,Simultaneous,16,,-1,,,,,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 22 for column 'ex_inboundblockcidname' (offset 37) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644257495,oraclepbx,205-call,246,0,,14,dynamic,,,,,,0,,0,205,,,,,,30,ORIGINAL,,,Simultaneous,16,,-1,,,,,,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'SIP,0,1644257495,oraclepbx,205-call,246,0,,14,dynamic,,,,,,0,,0,205,,,,,,30,ORIGINAL,,,Simultaneous,16,,-1,,,,,,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function ODBC_DEVICEINFO_FROM_NUMBER(15,205,db02) result is 'SIP,0,1644257495,oraclepbx,205-call,246,0,,14,dynamic,,,,,,0,,0,205,,,,,,30,ORIGINAL,,,Simultaneous,16,,-1,,,,,,' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:1713] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "HASH(PEER)=SIP,0,1644257495,oraclepbx,205-call,246,0,,14,dynamic,,,,,,0,,0,205,,,,,,30,ORIGINAL,,,Simultaneous,16,,-1,,,,,,") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array (ex_tech,reg_on_me,regseconds,regserver,name,ex_id,ex_dialtimeout,ex_trunk,lastms,host,ex_unconditionalstatus,ex_onbusystatus,ex_onofflinestatus,ex_onnoanswerstatus,ex_onconditionstatus,ex_oncondition_id,ex_dnd,ex_rp_id,ex_number,ex_txvolume,ex_rxvolume,ex_notifymissingemail,ex_fmfmstatus,ex_fmfmnumber,ex_fmfmdialtimeout,ex_fmfmcallerid,ex_fmfmnumprefix,ex_fmfmnameprefix,ex_fmfmdialmethod,ex_fmfmconfirmmessage_id,ex_fmfmconfirm,ex_fmfmholdmessage_id,ex_trunkdid,ex_callwaiting,ex_autoanswer,ex_spygroups,ex_inboundblockcid,ex_inboundblockcidname=SIP,0,1644257495,oraclepbx,205-call,246,0,,14,dynamic,,,,,,0,,0,205,,,,,,30,ORIGINAL,,,Simultaneous,16,,-1,,,,,,) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (ex_tech=SIP) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (reg_on_me=0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (regseconds=1644257495) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (regserver=oraclepbx) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (name=205-call) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (ex_id=246) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (ex_dialtimeout=0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (ex_trunk=) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (lastms=14) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (host=dynamic) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (ex_unconditionalstatus=) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (ex_onbusystatus=) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (ex_onofflinestatus=) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (ex_onnoanswerstatus=) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (ex_onconditionstatus=) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (ex_oncondition_id=0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (ex_dnd=) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (ex_rp_id=0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (ex_number=205) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (ex_txvolume=) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (ex_rxvolume=) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (ex_notifymissingemail=) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (ex_fmfmstatus=) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (ex_fmfmnumber=) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (ex_fmfmdialtimeout=30) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (ex_fmfmcallerid=ORIGINAL) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (ex_fmfmnumprefix=) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (ex_fmfmnameprefix=) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (ex_fmfmdialmethod=Simultaneous) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (ex_fmfmconfirmmessage_id=16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (ex_fmfmconfirm=) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (ex_fmfmholdmessage_id=-1) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (ex_trunkdid=) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (ex_callwaiting=) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (ex_autoanswer=) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (ex_spygroups=) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (ex_inboundblockcid=) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_strings.c: array set value (ex_inboundblockcidname=) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_name) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:1714] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "EXTNAME=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_spygroups) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:1715] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?1716:1720") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,1720) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:1720] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2598") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_rp_id) result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:1721] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "ROUTINGPROFILE=0") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_id) result is '246' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:1722] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "LOCAL(PEEREXID)=246") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_faxgateway) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:1723] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?1724:1725") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,1725) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:1725] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2600") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_inboundblockcid) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:1726] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?1727:1728") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,1728) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:1728] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2601") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_inboundblockcidname) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:1729] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?1730:1731") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,1731) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:1731] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2602") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_ignoreinternalmissed) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'INCOMINGDID' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:1732] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "1?1733:1734") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,1733) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_notifymissingemail) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:1733] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "NOTIFYMISSEDCALL=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:1734] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2603") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_unconditionalstatus) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'NOFOLLOWEXTENSION' is 'yes' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:1735] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?1736:1752") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,1752) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_dnd) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:1752] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?1753:1791") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,1791) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:1791] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2604_2607") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'NUMBER' is '205' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_tech) result is 'SIP' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(PEER,name) result is '205-call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(PEER,regserver) result is 'oraclepbx' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:1792] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Number 205 is associated to the device SIP/205-call on the server oraclepbx") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:1793] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2604") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_onconditionstatus) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'NOFOLLOWEXTENSION' is 'yes' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:1794] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?1795:1817") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,1817) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:1817] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2616") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(PEER,name) result is '205-call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function DEVICE_STATE(Custom:205-call) result is 'NOT_INUSE' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:1818] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "STATE=NOT_INUSE") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'STATE' is 'NOT_INUSE' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_id) result is '246' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'CELGenUserEvent' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:1819] CELGenUserEvent("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "SIP-NOT_INUSE,246") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'STATE' is 'NOT_INUSE' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:1820] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?1821:1868") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,1868) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:1868] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2620") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(PEER,regserver) result is 'oraclepbx' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'STATE' is 'NOT_INUSE' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'STATE' is 'NOT_INUSE' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'STATE' is 'NOT_INUSE' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(PEER,host) result is 'dynamic' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:1869] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?1870:2028") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,2028) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_dialtimeout) result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2028] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "extensionDialTimeout=0") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_dialtimeout) result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_dialtimeout) result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2029] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "1?2030:2031") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,2030) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'EXTDIALTIMEOUT' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(EXTDIALTIMEOUT) result is 'EXTDIALTIMEOUT' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '45' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '45' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '45' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,EXTDIALTIMEOUT) result is '45' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2030] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "extensionDialTimeout=45") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2031] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2632_2667") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'DIALTIMEOUT' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'DIALTIMEOUT' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2032] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "1?2033:2035") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,2033) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'extensionDialTimeout' is '45' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2033] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "LOCAL(DIALTIMEOUT)=45") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2034] Goto("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "2040") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,2040) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2040] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2632_2668") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SYSTEMNAME' is 'db02' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(PEER,regserver) result is 'oraclepbx' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(PEER,host) result is 'dynamic' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2041] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?2042:2053") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,2053) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_tech) result is 'SIP' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_id) result is '246' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(PEER,regserver) result is 'oraclepbx' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2053] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "LOCAL(DIALSTRING)=SIP/246@oraclepbx") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2054] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2632_2671") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_fmfmstatus) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_fmfmdialmethod) result is 'Simultaneous' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'NOFMFM' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'NOFOLLOWEXTENSION' is 'yes' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2055] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?2056:2106") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,2106) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2106] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2632_2674") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function CALLERID(name) result is 'BEN' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2107] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Callerid name is BEN") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function CALLERID(num) result is '200' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2108] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Callerid num is 200") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_rxvolume) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2109] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "1?2110:2112") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,2110) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'VOLUMERXLEVEL' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(VOLUMERXLEVEL) result is 'VOLUMERXLEVEL' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,VOLUMERXLEVEL) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2110] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "VOLUMERXLEVEL=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2111] Goto("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "2113") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,2113) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2113] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2632_2685") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_txvolume) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2114] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "1?2115:2117") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,2115) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'VOLUMETXLEVEL' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(VOLUMETXLEVEL) result is 'VOLUMETXLEVEL' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,VOLUMETXLEVEL) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2115] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "VOLUMETXLEVEL=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Goto' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2116] Goto("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "2118") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,2118) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2118] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2632_2686") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'DTMFVOLUME' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(DTMFVOLUME) result is 'DTMFVOLUME' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of 'on' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'on' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to 'on' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,DTMFVOLUME) result is 'on' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2119] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "DTMFVOLUME=on") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'DTMFVOLUME' is 'on' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2120] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "1?2121:2122") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,2121) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2121] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "DTMF=p") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2122] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2632_2687") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'VOLUMERXLEVEL' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2123] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?2124:2125") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,2125) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2125] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2632_2688") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'VOLUMETXLEVEL' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2126] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?2127:2128") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,2128) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2128] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2632_2689") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(PEER,ex_autoanswer) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'PEERNAME' is '200-call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2129] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?2130:2132") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,2132) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2132] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_if_if_if_if_if_dialpeerexten_2255_2371_2478_2597_2632_2690") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'DIALSTRING' is 'SIP/246@oraclepbx' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2133] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "1?2134:2143") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (dialpeerexten,205,2134) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'STDDIALOPTION' is 'U(destChannelActions^${ALWAYSRECORD}^${RECORDINGFORMAT}^${CONFIRM}^${CONFIRMMD5}^${ONANSWER}^${ONANSWERID}^${RECORDOTHERLEG}^${MIXMONITOROPTION})b(pjsip_header,setpjsipheader,1)' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'DIALOPTION' is 'TtL(7200000)t' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ALWAYSRECORD' is 'externalchange' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'RECORDINGFORMAT' is 'wav' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'CONFIRM' is NULL [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'CONFIRMMD5' is 'pbx/9486fbd9ec639aa19a505a653fe47324' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ONANSWER' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ONANSWERID' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'RECORDOTHERLEG' is 'on' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'MIXMONITOROPTION' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function EVAL(U(destChannelActions^${ALWAYSRECORD}^${RECORDINGFORMAT}^${CONFIRM}^${CONFIRMMD5}^${ONANSWER}^${ONANSWERID}^${RECORDOTHERLEG}^${MIXMONITOROPTION})b(pjsip_header,setpjsipheader,1)TtL(7200000)t) result is 'U(destChannelActions^externalchange^wav^^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2134] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "nowDIALOPTION=U(destChannelActions^externalchange^wav^^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2135] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "CONFIRM=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2136] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "CONFIRMMD5=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2137] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "ONANSWER=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2138] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "ONANSWERID=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2139] Gosub("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "runAcallcript,~~s~~,1(AGIBEFORECALLEXT)") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] app_stack.c: Setting 'ARG1' to 'AGIBEFORECALLEXT' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is 'AGIBEFORECALLEXT' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'MSet' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:1] MSet("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "LOCAL(AGICALL)=AGIBEFORECALLEXT") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'AGICALL' is 'AGIBEFORECALLEXT' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG1})' (from 'SQL_ESC(${ARG1})}' and se_code='${SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG1' (from 'ARG1})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG1' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(15) result is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'SQL_ESC(${ARG2})' (from 'SQL_ESC(${ARG2})}'' len 16) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Evaluating 'ARG2' (from 'ARG2})' len 4) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ARG2' is 'AGIBEFORECALLEXT' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function SQL_ESC(AGIBEFORECALLEXT) result is 'AGIBEFORECALLEXT' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Reusing ODBC handle 0x7fe6b80011f0 from class 'asterisk1' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got collength of 8 for column 'se_value' (offset 0) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: Got coldata of '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] func_odbc.c: buf is now set to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_odbc.c: Releasing ODBC handle 0x7fe6b80011f0 into pool [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function ODBC_GET_SETTING(15,AGIBEFORECALLEXT) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:2] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "AcallCRIPTID=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'AcallCRIPTID' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:3] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?4:31") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (runAcallcript,~~s~~,31) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:31] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_runAcallcript_1379") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@runAcallcript:32] Return("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Gosub' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2140] Gosub("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "encodeCallParams,~~s~~,1") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] app_stack.c: Setting 'ARG1' to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] app_stack.c: Setting 'ARG2' to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] app_stack.c: Setting 'ARG3' to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] app_stack.c: Setting 'ARG4' to '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASHKEYS(USRVARS) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:1] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "USERVARLIST=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function HASH(USRVARS) result is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:2] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "USERVARVALUES=") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'SIPRemoveHeader' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:3] SIPRemoveHeader("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "X-PBX") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: removing SIP Header "X-PBX: 97|200-call|200-call|15||||oraclepbx-1644254244.1743648|13300||||Tt||900|900|457||||||he||9|||||||||||||" as SIPADDHEADER02 [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'CDRcallUniqueID' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:4] GotoIf("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "0?5:6") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (encodeCallParams,~~s~~,6) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:6] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Finish if_encodeCallParams_1373") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TTL' is '96' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'PEERNAME' is '200-call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'REALPEERNAME' is '200-call' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'TENANTID' is '15' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'INCOMINGDID' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SETCALLERID' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'VALIDCALLERID' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'CDRcallUniqueID' is 'oraclepbx-1644254244.1743648' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function CDR(sequence) result is '13315' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'NOFOLLOWEXTENSION' is 'yes' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ONLYFMFM' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'NOFMFM' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'DIALOPTION' is 'TtL(7200000)t' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'DIALTIMEOUT' is '45' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'DIALEDNUMBER' is '900' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function CDR(firstdst) result is '900' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function CHANNEL(musicclass) result is '457' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ONANSWER' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'ONANSWERID' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'BLINDCONNECTEDNUM' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'FMFMDIALTIMEOUT' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'FMFMCALLERID' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'LANGUAGE' is 'he' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'QUEUEOPTION' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'FROMQUEUEID' is '9' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'PRIVACYID' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'RESPONSEPATHID' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'PLAYBACKOPTION' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SETQUEUERULE' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SETQUEUEMINPENALTY' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SETQUEUEMAXPENALTY' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'SETQUEUERAISEPENALTY' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'USERVARLIST' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'USERVARVALUES' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'AUTOANSWER' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'QUEUE_MAX_PENALTY' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'QUEUE_MIN_PENALTY' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'QUEUE_RAISE_PENALTY' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Set' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:7] Set("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "__PBX=96|200-call|200-call|15||||oraclepbx-1644254244.1743648|13315|yes|||TtL(7200000)t|45|900|900|457||||||he||9|||||||||||||") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'PBX' is '96|200-call|200-call|15||||oraclepbx-1644254244.1743648|13315|yes|||TtL(7200000)t|45|900|900|457||||||he||9|||||||||||||' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function LEN(96|200-call|200-call|15||||oraclepbx-1644254244.1743648|13315|yes|||TtL(7200000)t|45|900|900|457||||||he||9|||||||||||||) result is '118' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:8] NoOp("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "Call params length: 118") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'PBX' is '96|200-call|200-call|15||||oraclepbx-1644254244.1743648|13315|yes|||TtL(7200000)t|45|900|900|457||||||he||9|||||||||||||' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'SIPAddHeader' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:9] SIPAddHeader("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "X-PBX: 96|200-call|200-call|15||||oraclepbx-1644254244.1743648|13315|yes|||TtL(7200000)t|45|900|900|457||||||he||9|||||||||||||") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: SIP Header added "X-PBX: 96|200-call|200-call|15||||oraclepbx-1644254244.1743648|13315|yes|||TtL(7200000)t|45|900|900|457||||||he||9|||||||||||||" as __SIPADDHEADER02 [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Return' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [~~s~~@encodeCallParams:10] Return("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'DIALSTRING' is 'SIP/246@oraclepbx' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'DIALTIMEOUT' is '45' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'nowDIALOPTION' is 'U(destChannelActions^externalchange^wav^^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'Dial' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [205@dialpeerexten:2141] Dial("Local/AG-000-NF-246@fromotherpbx-00000d2f;2", "SIP/246@oraclepbx,45,U(destChannelActions^externalchange^wav^^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] app_dial.c: Local/AG-000-NF-246@fromotherpbx-00000d2f;2: Data: SIP/246@oraclepbx,45,U(destChannelActions^externalchange^wav^^pbx/9486fbd9ec639aa19a505a653fe47324^^^on^)b(pjsip_header,setpjsipheader,1)TtL(7200000)t [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] features.c: Setting call duration limit to 7200.000 seconds. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: Asked to create a SIP channel with formats: (ulaw) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: Allocating new SIP dialog for 1c3e047e15e6cf193e079ea33fbd929c@[fe80::f03c:92ff:fea6:b812]:5060 - INVITE (No RTP) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] rtp_engine.c: Using engine 'asterisk' for RTP instance '0x7fe63c02cb60' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_rtp_asterisk.c: (0x7fe63c02cb60) RTP allocated port 12578 [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_rtp_asterisk.c: (0x7fe63c02cb60) ICE creating session 0.0.0.0:12578 (12578) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_rtp_asterisk.c: (0x7fe63c02cb60) ICE create [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_rtp_asterisk.c: (0x7fe63c02cb60) ICE add system candidates [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] netsock2.c: Splitting 'XXX.XXX.XXX.XXX' into... [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] netsock2.c: ...host 'XXX.XXX.XXX.XXX' and port ''. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_rtp_asterisk.c: (0x7fe63c02cb60) ICE add candidate: XXX.XXX.XXX.XXX:12578, 2130706431 [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] rtp_engine.c: RTP instance '0x7fe63c02cb60' is setup and ready to go [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_rtp_asterisk.c: (0x7fe63c02cb60) ICE stopped [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] rtp_engine.c: Using engine 'asterisk' for RTP instance '0x7fe63c02d0f0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_rtp_asterisk.c: (0x7fe63c02d0f0) RTP allocated port 17546 [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_rtp_asterisk.c: (0x7fe63c02d0f0) ICE creating session 0.0.0.0:17546 (17546) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_rtp_asterisk.c: (0x7fe63c02d0f0) ICE create [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_rtp_asterisk.c: (0x7fe63c02d0f0) ICE add system candidates [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] netsock2.c: Splitting 'XXX.XXX.XXX.XXX' into... [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] netsock2.c: ...host 'XXX.XXX.XXX.XXX' and port ''. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_rtp_asterisk.c: (0x7fe63c02d0f0) ICE add candidate: XXX.XXX.XXX.XXX:17546, 2130706431 [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] rtp_engine.c: RTP instance '0x7fe63c02d0f0' is setup and ready to go [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_rtp_asterisk.c: (0x7fe63c02d0f0) ICE stopped [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] netsock2.c: Splitting 'db02' into... [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] netsock2.c: ...host 'db02' and port ''. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] acl.c: Multiple addresses. Using the first only [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_rtp_asterisk.c: (0x7fe63c02d0f0) RTCP setup on RTP instance [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] netsock2.c: Using SIP VIDEO TOS bits 136 [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] netsock2.c: Using SIP VIDEO CoS mark 4 [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] netsock2.c: Splitting 'db02' into... [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] netsock2.c: ...host 'db02' and port ''. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] acl.c: Multiple addresses. Using the first only [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_rtp_asterisk.c: (0x7fe63c02cb60) RTCP setup on RTP instance [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] netsock2.c: Using SIP RTP TOS bits 184 [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] netsock2.c: Using SIP RTP CoS mark 5 [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: Setting NAT on RTP to On [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: Setting NAT on VRTP to On [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: OBPROXY: Not applying OBproxy to this call [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] acl.c: For destination 'XXX.X.XXX.XX', our source address is 'XXX.XXX.XXX.XXX'. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: Setting AST_TRANSPORT_UDP with address XXX.XXX.XXX.XXX:5060 [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: Setting NAT on RTP to On [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: Setting NAT on VRTP to On [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: SIP call-id changed from '1c3e047e15e6cf193e079ea33fbd929c@[fe80::f03c:92ff:fea6:b812]:5060' to '484db6f31013545817861ecf4dcb59c7@XXX.XXX.XXX.XXX:5060' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel_internal_api.c: : Formats: (none) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel_internal_api.c: Channel is being initialized or destroyed [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] stasis.c: Creating topic. name: channel:db02-1644254273.72775, detail: [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] stasis.c: Topic 'channel:db02-1644254273.72775': 0x7fe63c004ed0 created [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Channel 0x7fe63c046160 'SIP/oraclepbx-00000c0c' allocated [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel_internal_api.c: SIP/oraclepbx-00000c0c: Formats: (ulaw) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel_internal_api.c: New topology set [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: *** Our native formats are (ulaw) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: *** Joint capabilities are (ulaw) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: *** Our capabilities are (ulaw|alaw|gsm|h263|codec2|g723|g726|g726aal2|adpcm|slin|slin12|slin16|slin24|slin32|slin44|slin48|slin96|slin192|lpc10|g729|speex|speex16|speex32|ilbc|g722|siren7|siren14|testlaw|g719|opus|jpeg|png|h261|h263p|h264|h265|mpeg4|vp8|vp9|red|t140|t38|silk8|silk12|silk16|silk24) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: *** AST_CODEC_CHOOSE formats are ulaw [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: *** Our preferred formats from the incoming channel are (ulaw) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_rtp_asterisk.c: (0x7fe63c02d0f0) DTLS stop [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_rtp_asterisk.c: (0x7fe63c02d0f0) DTLS srtp - stopped timeout timer' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_rtp_asterisk.c: (0x7fe63c02d0f0) DTLS srtp - stopped timeout timer' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] res_rtp_asterisk.c: (0x7fe63c02d0f0) ICE RTP transport deallocating [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] rtp_engine.c: Destroyed RTP instance '0x7fe63c02d0f0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: This channel will not be able to handle video. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel_internal_api.c: Channel Call ID changing from [C-00000e4d] to [C-00000e4d] [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __SIPADDHEADER02 from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __PBX from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __SIMPLEANSWERED from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __PICKUPMARK from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __ORIGCHANNEL from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __TRANSFER_CONTEXT from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __AGENTNUMBER from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __TENANTID from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __TIMEZONE from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __SIMPLEPREVUNIQUEID from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __SIPADDHEADER03 from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __PEERNAME from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __REALPEERNAME from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __INCOMINGDID from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __SETCALLERID from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __VALIDCALLERID from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __CDRcallUniqueID from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __CDRcallSequence from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __ONLYFMFM from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __NOFMFM from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __DIALTIMEOUT from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __DIALEDNUMBER from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __BLINDCONNECTEDNUM from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __FMFMDIALTIMEOUT from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __FMFMCALLERID from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __QUEUEOPTION from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __FROMQUEUEID from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __PRIVACYID from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __RESPONSEPATHID from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __PLAYBACKOPTION from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __SETQUEUERULE from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __SETQUEUEMINPENALTY from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __SETQUEUEMAXPENALTY from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __SETQUEUERAISEPENALTY from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __AUTOANSWER from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __QUEUE_MAX_PENALTY from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __QUEUE_MIN_PENALTY from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __QUEUE_RAISE_PENALTY from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __MIXMONITOR_FILENAME from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __queuenumber from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __queueid from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __maxanychannels from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __TENANTCODE from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Inheriting variable __SIPADDHEADER01 from Local/AG-000-NF-246@fromotherpbx-00000d2f;2 to SIP/oraclepbx-00000c0c. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] app_stack.c: Gosub args:pjsip_header,setpjsipheader,1 new_args:pjsip_header,setpjsipheader,1 [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] app_stack.c: SIP/oraclepbx-00000c0c Internal Gosub(pjsip_header,setpjsipheader,1) start [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] app_stack.c: SIP/oraclepbx-00000c0c Original location: fromotherpbx,205,1 [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] app_stack.c: Channel SIP/oraclepbx-00000c0c has no datastore, so we're allocating one. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] app_stack.c: Gosub exited with status 0 [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Result of 'AUTOANSWER' is '' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:1] NoOp("SIP/oraclepbx-00000c0c", "Autoanswer is ") in new stack [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Function CHANNEL(channeltype) result is 'SIP' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx_variables.c: Expression result is '0' [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'GotoIf' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:2] GotoIf("SIP/oraclepbx-00000c0c", "0?3:48") in new stack [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx_builtins.c: Goto (pjsip_header,setpjsipheader,48) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] pbx.c: Launching 'NoOp' [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] pbx.c: Executing [setpjsipheader@pjsip_header:48] NoOp("SIP/oraclepbx-00000c0c", "Finish if_pjsip_header_778") in new stack [2022-02-07 19:17:53] NOTICE[4636][C-00000e4d] app_stack.c: SIP/oraclepbx-00000c0c Abnormal 'Gosub(pjsip_header,setpjsipheader,1)' exit. Popping routine return locations. [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] app_stack.c: SIP/oraclepbx-00000c0c Ending location: pjsip_header,setpjsipheader,49 [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: Outgoing Call for 246 [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: Updating call counter for outgoing call [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: Call to peer 'oraclepbx' is 4 out of 2147483647 [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: Adding SIP Header "X-PBX" with content :96|200-call|200-call|15||||oraclepbx-1644254244.1743648|13315|yes|||TtL(7200000)t|45|900|900|457||||||he||9|||||||||||||: [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: Adding SIP Header "X-VoipMonitor-Custom1" with content :db02-1644254272.72745: [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: Adding SIP Header "X-VoipMonitor-Custom1" with content :db02-1644254244.72696: [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: This call needs video offers, but there's no video support enabled! [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] chan_sip.c: We think we can do text [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: This call needs text offers, but there's no text support enabled ! [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: ** Our capability: (ulaw|alaw|gsm|h263|g723|g726|g726aal2|adpcm|slin|slin12|slin16|slin24|slin32|slin44|slin48|slin96|slin192|lpc10|g729|speex|speex16|speex32|ilbc|g722|testlaw|opus|jpeg|png|h261|h263p|h264|h265|mpeg4|vp8|vp9|red|t140|t38|silk8|silk12|silk16|silk24) Video flag: False Text flag: False [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: ** Our prefcodec: (ulaw) [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] chan_sip.c: Audio is at 12578 [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] chan_sip.c: Adding codec ulaw to SDP [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] chan_sip.c: Adding codec alaw to SDP [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] chan_sip.c: Adding codec gsm to SDP [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] chan_sip.c: Adding codec g723 to SDP [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] chan_sip.c: Adding codec g726 to SDP [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] chan_sip.c: Adding codec g726aal2 to SDP [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] chan_sip.c: Adding codec adpcm to SDP [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] chan_sip.c: Adding codec slin to SDP [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] chan_sip.c: Adding codec slin12 to SDP [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] chan_sip.c: Adding codec slin16 to SDP [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] chan_sip.c: Adding codec slin24 to SDP [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] chan_sip.c: Adding codec slin32 to SDP [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] chan_sip.c: Adding codec slin44 to SDP [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] chan_sip.c: Adding codec slin48 to SDP [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] chan_sip.c: Adding codec slin96 to SDP [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] chan_sip.c: Adding codec slin192 to SDP [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] chan_sip.c: Adding codec lpc10 to SDP [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] chan_sip.c: Adding codec g729 to SDP [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] chan_sip.c: Adding codec speex to SDP [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] chan_sip.c: Adding codec speex16 to SDP [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] chan_sip.c: Adding codec speex32 to SDP [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] chan_sip.c: Adding codec ilbc to SDP [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] chan_sip.c: Adding codec g722 to SDP [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] chan_sip.c: Adding codec testlaw to SDP [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] chan_sip.c: Adding codec opus to SDP [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] chan_sip.c: Adding codec silk8 to SDP [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] chan_sip.c: Adding codec silk12 to SDP [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] chan_sip.c: Adding codec silk16 to SDP [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] chan_sip.c: Adding codec silk24 to SDP [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] chan_sip.c: Adding non-codec 0x1 (telephone-event) to SDP [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: -- Done with adding codecs to SDP [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: Done building SDP. Settling with this capability: (ulaw|alaw|gsm|h263|g723|g726|g726aal2|adpcm|slin|slin12|slin16|slin24|slin32|slin44|slin48|slin96|slin192|lpc10|g729|speex|speex16|speex32|ilbc|g722|testlaw|opus|jpeg|png|h261|h263p|h264|h265|mpeg4|vp8|vp9|red|t140|t38|silk8|silk12|silk16|silk24) [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: Initializing initreq for method INVITE - callid 484db6f31013545817861ecf4dcb59c7@XXX.XXX.XXX.XXX:5060 [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: Header 0 [ 35]: INVITE sip:246@XXX.X.XXX.XX SIP/2.0 [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: Header 1 [ 66]: Via: SIP/2.0/UDP XXX.XXX.XXX.XXX:5060;branch=z9hG4bK66491d94;rport [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: Header 2 [ 16]: Max-Forwards: 70 [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: Header 3 [ 57]: From: "BEN" ;tag=as184d1682 [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: Header 4 [ 26]: To: [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: Header 5 [ 39]: Contact: [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: Header 6 [ 62]: Call-ID: 484db6f31013545817861ecf4dcb59c7@XXX.XXX.XXX.XXX:5060 [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: Header 7 [ 16]: CSeq: 102 INVITE [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: Header 8 [ 31]: User-Agent: Asterisk PBX 18.6.0 [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: Header 9 [ 35]: Date: Mon, 07 Feb 2022 17:17:53 GMT [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: Header 10 [ 90]: Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: Header 11 [ 26]: Supported: replaces, timer [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: Header 12 [125]: X-PBX: 96|200-call|200-call|15||||oraclepbx-1644254244.1743648|13315|yes|||TtL(7200000)t|45|900|900|457||||||he||9||||||||||||| [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: Header 13 [ 44]: X-VoipMonitor-Custom1: db02-1644254272.72745 [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: Header 14 [ 44]: X-VoipMonitor-Custom1: db02-1644254244.72696 [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: Header 15 [ 89]: Remote-Party-ID: "BEN" ;party=calling;privacy=off;screen=no [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: Header 16 [ 29]: Content-Type: application/sdp [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] chan_sip.c: Reliably Transmitting (NAT) to XXX.X.XXX.XX:5060: [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: *** SIP TIMER: Initializing retransmit timer on packet: Id #59 [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] chan_sip.c: Trying to put 'INVITE sip:' onto UDP socket destined for XXX.X.XXX.XX:5060 [2022-02-07 19:17:53] VERBOSE[4636][C-00000e4d] app_dial.c: Called SIP/246@oraclepbx [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] app_dial.c: Local/AG-000-NF-246@fromotherpbx-00000d2f;2 [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Channel SIP/oraclepbx-00000c0c setting read format path: ulaw -> ulaw [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Channel Local/AG-000-NF-246@fromotherpbx-00000d2f;2 setting write format path: ulaw -> ulaw [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Channel Local/AG-000-NF-246@fromotherpbx-00000d2f;2 setting read format path: ulaw -> ulaw [2022-02-07 19:17:53] DEBUG[4636][C-00000e4d] channel.c: Channel SIP/oraclepbx-00000c0c setting write format path: ulaw -> ulaw [2022-02-07 19:17:53] DEBUG[21823][C-00000e4d] chan_sip.c: *** SIP TIMER: Cancelling retransmission #16 - INVITE (got response) [2022-02-07 19:17:53] DEBUG[21823][C-00000e4d] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '024e4e6c719729c224c546ad2b2bd74c@XXX.XXX.XXX.XXX:5060' Request 102: Found [2022-02-07 19:17:53] DEBUG[21823][C-00000e4d] chan_sip.c: SIP response 100 to standard invite [2022-02-07 19:17:53] DEBUG[21823][C-00000e4d] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '024e4e6c719729c224c546ad2b2bd74c@XXX.XXX.XXX.XXX:5060' Request 102: Found [2022-02-07 19:17:53] DEBUG[21823][C-00000e4d] chan_sip.c: SIP response 100 to standard invite [2022-02-07 19:17:53] DEBUG[21823][C-00000e4d] chan_sip.c: *** SIP TIMER: Cancelling retransmission #41 - INVITE (got response) [2022-02-07 19:17:53] DEBUG[21823][C-00000e4d] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '2931d03c633d140b0a035f0809a665ec@XXX.XXX.XXX.XXX:5060' Request 102: Found [2022-02-07 19:17:53] DEBUG[21823][C-00000e4d] chan_sip.c: SIP response 100 to standard invite [2022-02-07 19:17:54] DEBUG[21823][C-00000e4d] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '024e4e6c719729c224c546ad2b2bd74c@XXX.XXX.XXX.XXX:5060' Request 102: Found [2022-02-07 19:17:54] DEBUG[21823][C-00000e4d] chan_sip.c: SIP response 180 to standard invite [2022-02-07 19:17:54] VERBOSE[21823][C-00000e4d] sip/route.c: sip_route_dump: route/path hop: [2022-02-07 19:17:54] VERBOSE[4635][C-00000e4d] app_dial.c: SIP/oraclepbx-00000c0a is ringing [2022-02-07 19:17:54] VERBOSE[4560][C-00000e4d] app_queue.c: Local/AG-000-NF-36@fromotherpbx-00000d2e;1 connected line has changed. Saving it until answer for SIP/oraclepbx-00000c08 [2022-02-07 19:17:54] VERBOSE[4560][C-00000e4d] app_queue.c: Local/AG-000-NF-36@fromotherpbx-00000d2e;1 is ringing [2022-02-07 19:17:54] DEBUG[21823][C-00000e4d] chan_sip.c: *** SIP TIMER: Cancelling retransmission #59 - INVITE (got response) [2022-02-07 19:17:54] DEBUG[21823][C-00000e4d] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '484db6f31013545817861ecf4dcb59c7@XXX.XXX.XXX.XXX:5060' Request 102: Found [2022-02-07 19:17:54] DEBUG[21823][C-00000e4d] chan_sip.c: SIP response 100 to standard invite [2022-02-07 19:17:54] DEBUG[21823][C-00000e4d] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '024e4e6c719729c224c546ad2b2bd74c@XXX.XXX.XXX.XXX:5060' Request 102: Found [2022-02-07 19:17:54] DEBUG[21823][C-00000e4d] chan_sip.c: SIP response 100 to standard invite [2022-02-07 19:17:54] DEBUG[21823][C-00000e4d] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '2931d03c633d140b0a035f0809a665ec@XXX.XXX.XXX.XXX:5060' Request 102: Found [2022-02-07 19:17:54] DEBUG[21823][C-00000e4d] chan_sip.c: SIP response 100 to standard invite [2022-02-07 19:17:54] DEBUG[21823][C-00000e4d] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '484db6f31013545817861ecf4dcb59c7@XXX.XXX.XXX.XXX:5060' Request 102: Found [2022-02-07 19:17:54] DEBUG[21823][C-00000e4d] chan_sip.c: SIP response 100 to standard invite [2022-02-07 19:17:54] DEBUG[21823][C-00000e4d] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '2931d03c633d140b0a035f0809a665ec@XXX.XXX.XXX.XXX:5060' Request 102: Found [2022-02-07 19:17:54] DEBUG[21823][C-00000e4d] chan_sip.c: SIP response 100 to standard invite [2022-02-07 19:17:54] DEBUG[21823][C-00000e4d] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '484db6f31013545817861ecf4dcb59c7@XXX.XXX.XXX.XXX:5060' Request 102: Found [2022-02-07 19:17:54] DEBUG[21823][C-00000e4d] chan_sip.c: SIP response 100 to standard invite [2022-02-07 19:17:54] DEBUG[21823][C-00000e4d] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '484db6f31013545817861ecf4dcb59c7@XXX.XXX.XXX.XXX:5060' Request 102: Found [2022-02-07 19:17:54] DEBUG[21823][C-00000e4d] chan_sip.c: SIP response 180 to standard invite [2022-02-07 19:17:54] VERBOSE[21823][C-00000e4d] sip/route.c: sip_route_dump: route/path hop: [2022-02-07 19:17:54] VERBOSE[4636][C-00000e4d] app_dial.c: SIP/oraclepbx-00000c0c is ringing [2022-02-07 19:17:54] VERBOSE[4560][C-00000e4d] app_queue.c: Local/AG-000-NF-246@fromotherpbx-00000d2f;1 connected line has changed. Saving it until answer for SIP/oraclepbx-00000c08 [2022-02-07 19:17:54] VERBOSE[4560][C-00000e4d] app_queue.c: Local/AG-000-NF-246@fromotherpbx-00000d2f;1 is ringing [2022-02-07 19:17:54] DEBUG[21823][C-00000e4d] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '2931d03c633d140b0a035f0809a665ec@XXX.XXX.XXX.XXX:5060' Request 102: Found [2022-02-07 19:17:54] DEBUG[21823][C-00000e4d] chan_sip.c: SIP response 180 to standard invite [2022-02-07 19:17:54] VERBOSE[21823][C-00000e4d] sip/route.c: sip_route_dump: route/path hop: [2022-02-07 19:17:54] VERBOSE[4634][C-00000e4d] app_dial.c: SIP/oraclepbx-00000c0b is ringing [2022-02-07 19:17:54] VERBOSE[4560][C-00000e4d] app_queue.c: Local/AG-000-NF-38@fromotherpbx-00000d2d;1 connected line has changed. Saving it until answer for SIP/oraclepbx-00000c08 [2022-02-07 19:17:54] VERBOSE[4560][C-00000e4d] app_queue.c: Local/AG-000-NF-38@fromotherpbx-00000d2d;1 is ringing [2022-02-07 19:17:54] VERBOSE[4637][C-00000e4d] app_dial.c: PJSIP/fs4-0000007b is making progress passing it to Local/AG-000-CC-538@fromotherpbx-00000d30;2 [2022-02-07 19:17:54] DEBUG[4560][C-00000e4d] app_queue.c: Dunno what to do with control type 14 [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe640121738 [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Read factory 0x7fe640121738 and write factory 0x7fe640122178 both fail to provide 160 samples [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe640121738 [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Read factory 0x7fe640121738 and write factory 0x7fe640122178 both fail to provide 160 samples [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe640121738 [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Read factory 0x7fe640121738 and write factory 0x7fe640122178 both fail to provide 160 samples [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe640121738 [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Read factory 0x7fe640121738 and write factory 0x7fe640122178 both fail to provide 160 samples [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe640121738 [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Read factory 0x7fe640121738 and write factory 0x7fe640122178 both fail to provide 160 samples [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe640121738 [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Read factory 0x7fe640121738 and write factory 0x7fe640122178 both fail to provide 160 samples [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe640121738 [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Read factory 0x7fe640121738 and write factory 0x7fe640122178 both fail to provide 160 samples [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe640121738 [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Read factory 0x7fe640121738 and write factory 0x7fe640122178 both fail to provide 160 samples [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe640121738 [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Read factory 0x7fe640121738 and write factory 0x7fe640122178 both fail to provide 160 samples [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe640121738 [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Read factory 0x7fe640121738 and write factory 0x7fe640122178 both fail to provide 160 samples [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe640121738 [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Read factory 0x7fe640121738 and write factory 0x7fe640122178 both fail to provide 160 samples [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe640121738 [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Read factory 0x7fe640121738 and write factory 0x7fe640122178 both fail to provide 160 samples [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe640121738 [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Read factory 0x7fe640121738 and write factory 0x7fe640122178 both fail to provide 160 samples [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe640121738 [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Read factory 0x7fe640121738 and write factory 0x7fe640122178 both fail to provide 160 samples [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe640121738 [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Read factory 0x7fe640121738 and write factory 0x7fe640122178 both fail to provide 160 samples [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe640121738 [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Read factory 0x7fe640121738 and write factory 0x7fe640122178 both fail to provide 160 samples [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe640121738 [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Read factory 0x7fe640121738 and write factory 0x7fe640122178 both fail to provide 160 samples [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe640121738 [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Read factory 0x7fe640121738 and write factory 0x7fe640122178 both fail to provide 160 samples [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe640121738 [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Read factory 0x7fe640121738 and write factory 0x7fe640122178 both fail to provide 160 samples [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe640121738 [2022-02-07 19:17:54] DEBUG[4640][C-00000e4d] audiohook.c: Read factory 0x7fe640121738 and write factory 0x7fe640122178 both fail to provide 160 samples [2022-02-07 19:17:55] DEBUG[4640][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe640121738 [2022-02-07 19:17:55] DEBUG[4640][C-00000e4d] audiohook.c: Read factory 0x7fe640121738 and write factory 0x7fe640122178 both fail to provide 160 samples [2022-02-07 19:17:55] DEBUG[4640][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe640121738 [2022-02-07 19:17:55] DEBUG[4640][C-00000e4d] audiohook.c: Read factory 0x7fe640121738 and write factory 0x7fe640122178 both fail to provide 160 samples [2022-02-07 19:17:55] DEBUG[4640][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe640121738 [2022-02-07 19:17:55] DEBUG[4640][C-00000e4d] audiohook.c: Read factory 0x7fe640121738 and write factory 0x7fe640122178 both fail to provide 160 samples [2022-02-07 19:17:55] DEBUG[4640][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe640121738 [2022-02-07 19:17:55] DEBUG[4640][C-00000e4d] audiohook.c: Read factory 0x7fe640121738 and write factory 0x7fe640122178 both fail to provide 160 samples [2022-02-07 19:17:55] DEBUG[4640][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe640121738 [2022-02-07 19:17:55] DEBUG[4640][C-00000e4d] audiohook.c: Read factory 0x7fe640121738 and write factory 0x7fe640122178 both fail to provide 160 samples [2022-02-07 19:17:55] DEBUG[4640][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe640121738 [2022-02-07 19:17:55] DEBUG[4640][C-00000e4d] audiohook.c: Read factory 0x7fe640121738 and write factory 0x7fe640122178 both fail to provide 160 samples [2022-02-07 19:17:55] DEBUG[4640][C-00000e4d] audiohook.c: Failed to get 160 samples from read factory 0x7fe640121738 [2022-02-07 19:17:55] DEBUG[4640][C-00000e4d] audiohook.c: Read factory 0x7fe640121738 and write factory 0x7fe640122178 both fail to provide 160 samples