[2014-09-28 16:53:06] VERBOSE[1932] chan_sip.c: 
<--- SIP read from UDP:192.168.1.41:5060 --->
INVITE sip:73333333333@192.168.1.33;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 192.168.1.41:5060;branch=z9hG4bK-d8754z-a77ce2c68edb5c0f-1---d8754z-
Max-Forwards: 70
Contact: <sip:1111111111@192.168.1.41:5060;transport=UDP>
To: <sip:73333333333@192.168.1.33;transport=UDP>
From: <sip:1111111111@192.168.1.33;transport=UDP>;tag=c83d9f10
Call-ID: MjcwNTViZWRlOTI5NGEzYTAxYTM4YTRmY2Y2OWNkMjc.
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
Content-Type: application/sdp
Supported: replaces, norefersub, extended-refer, X-cisco-serviceuri
User-Agent: Zoiper for Windows 2.39 r16838
Allow-Events: presence, kpml
Content-Length: 253

v=0
o=Zoiper_user 0 0 IN IP4 192.168.1.41
s=Zoiper_session
c=IN IP4 192.168.1.41
t=0 0
m=audio 8000 RTP/AVP 3 8 0 101
a=rtpmap:3 GSM/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv
<------------->
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header  0 [ 57]: INVITE sip:73333333333@192.168.1.33;transport=UDP SIP/2.0
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header  1 [ 85]: Via: SIP/2.0/UDP 192.168.1.41:5060;branch=z9hG4bK-d8754z-a77ce2c68edb5c0f-1---d8754z-
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header  2 [ 16]: Max-Forwards: 70
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header  3 [ 57]: Contact: <sip:1111111111@192.168.1.41:5060;transport=UDP>
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header  4 [ 48]: To: <sip:73333333333@192.168.1.33;transport=UDP>
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header  5 [ 62]: From: <sip:1111111111@192.168.1.33;transport=UDP>;tag=c83d9f10
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header  6 [ 53]: Call-ID: MjcwNTViZWRlOTI5NGEzYTAxYTM4YTRmY2Y2OWNkMjc.
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header  7 [ 14]: CSeq: 1 INVITE
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header  8 [ 81]: Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header  9 [ 29]: Content-Type: application/sdp
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header 10 [ 67]: Supported: replaces, norefersub, extended-refer, X-cisco-serviceuri
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header 11 [ 42]: User-Agent: Zoiper for Windows 2.39 r16838
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header 12 [ 28]: Allow-Events: presence, kpml
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header 13 [ 19]: Content-Length: 253
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header 14 [  0]: 
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:    Body  0 [  3]: v=0
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:    Body  1 [ 37]: o=Zoiper_user 0 0 IN IP4 192.168.1.41
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:    Body  2 [ 16]: s=Zoiper_session
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:    Body  3 [ 21]: c=IN IP4 192.168.1.41
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:    Body  4 [  5]: t=0 0
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:    Body  5 [ 30]: m=audio 8000 RTP/AVP 3 8 0 101
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:    Body  6 [ 19]: a=rtpmap:3 GSM/8000
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:    Body  7 [ 20]: a=rtpmap:8 PCMA/8000
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:    Body  8 [ 20]: a=rtpmap:0 PCMU/8000
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:    Body  9 [ 33]: a=rtpmap:101 telephone-event/8000
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:    Body 10 [ 15]: a=fmtp:101 0-15
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:    Body 11 [ 10]: a=sendrecv
[2014-09-28 16:53:06] VERBOSE[1932] chan_sip.c: --- (14 headers 12 lines) ---
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c: = Looking for  Call ID: MjcwNTViZWRlOTI5NGEzYTAxYTM4YTRmY2Y2OWNkMjc. (Checking From) --From tag c83d9f10 --To-tag   
[2014-09-28 16:53:06] DEBUG[1932] acl.c: For destination '192.168.1.41', our source address is '192.168.1.33'.
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c: Setting SIP_TRANSPORT_UDP with address 192.168.1.33:5060
[2014-09-28 16:53:06] DEBUG[1932] netsock2.c: Splitting '192.168.1.41:5060' into...
[2014-09-28 16:53:06] DEBUG[1932] netsock2.c: ...host '192.168.1.41' and port '5060'.
[2014-09-28 16:53:06] VERBOSE[1932] chan_sip.c: Sending to 192.168.1.41:5060 (NAT)
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c: Allocating new SIP dialog for MjcwNTViZWRlOTI5NGEzYTAxYTM4YTRmY2Y2OWNkMjc. - INVITE (No RTP)
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] chan_sip.c: **** Received INVITE (5) - Command in SIP INVITE
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] sip/reqresp_parser.c: Begin: parsing SIP "Supported: replaces, norefersub, extended-refer, X-cisco-serviceuri"
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] sip/reqresp_parser.c: Found SIP option: -replaces-
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] sip/reqresp_parser.c: Matched SIP option: replaces
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] sip/reqresp_parser.c: Found SIP option: -norefersub-
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] sip/reqresp_parser.c: Matched SIP option: norefersub
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] sip/reqresp_parser.c: Found SIP option: -extended-refer-
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] sip/reqresp_parser.c: Found no match for SIP option: extended-refer (Please file bug report!)
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] sip/reqresp_parser.c: Found SIP option: -X-cisco-serviceuri-
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] sip/reqresp_parser.c: Found private SIP option, not supported: X-cisco-serviceuri
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] netsock2.c: Splitting '192.168.1.41:5060' into...
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] netsock2.c: ...host '192.168.1.41' and port '5060'.
[2014-09-28 16:53:06] VERBOSE[1932][C-00000006] chan_sip.c: Sending to 192.168.1.41:5060 (NAT)
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] chan_sip.c: Initializing initreq for method INVITE - callid MjcwNTViZWRlOTI5NGEzYTAxYTM4YTRmY2Y2OWNkMjc.
[2014-09-28 16:53:06] VERBOSE[1932][C-00000006] chan_sip.c: Using INVITE request as basis request - MjcwNTViZWRlOTI5NGEzYTAxYTM4YTRmY2Y2OWNkMjc.
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] netsock2.c: Splitting '192.168.1.33' into...
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] netsock2.c: ...host '192.168.1.33' and port ''.
[2014-09-28 16:53:06] VERBOSE[1932][C-00000006] chan_sip.c: Found peer '1111111111' for '1111111111' from 192.168.1.41:5060
[2014-09-28 16:53:06] VERBOSE[1932][C-00000006] chan_sip.c: 
<--- Reliably Transmitting (NAT) to 192.168.1.41:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.41:5060;branch=z9hG4bK-d8754z-a77ce2c68edb5c0f-1---d8754z-;received=192.168.1.41;rport=5060
From: <sip:1111111111@192.168.1.33;transport=UDP>;tag=c83d9f10
To: <sip:73333333333@192.168.1.33;transport=UDP>;tag=as52c559b0
Call-ID: MjcwNTViZWRlOTI5NGEzYTAxYTM4YTRmY2Y2OWNkMjc.
CSeq: 1 INVITE
Server: FPBX-2.11.0(11.12.1)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="049452f8"
Content-Length: 0


<------------>
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] chan_sip.c: *** SIP TIMER: Initializing retransmit timer on packet: Id  #261
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] chan_sip.c: Trying to put 'SIP/2.0 401' onto UDP socket destined for 192.168.1.41:5060
[2014-09-28 16:53:06] VERBOSE[1932][C-00000006] chan_sip.c: Scheduling destruction of SIP dialog 'MjcwNTViZWRlOTI5NGEzYTAxYTM4YTRmY2Y2OWNkMjc.' in 6400 ms (Method: INVITE)
[2014-09-28 16:53:06] VERBOSE[1932] chan_sip.c: 
<--- SIP read from UDP:192.168.1.41:5060 --->
ACK sip:73333333333@192.168.1.33;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 192.168.1.41:5060;branch=z9hG4bK-d8754z-a77ce2c68edb5c0f-1---d8754z-
Max-Forwards: 70
To: <sip:73333333333@192.168.1.33;transport=UDP>;tag=as52c559b0
From: <sip:1111111111@192.168.1.33;transport=UDP>;tag=c83d9f10
Call-ID: MjcwNTViZWRlOTI5NGEzYTAxYTM4YTRmY2Y2OWNkMjc.
CSeq: 1 ACK
Content-Length: 0

<------------->
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header  0 [ 54]: ACK sip:73333333333@192.168.1.33;transport=UDP SIP/2.0
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header  1 [ 85]: Via: SIP/2.0/UDP 192.168.1.41:5060;branch=z9hG4bK-d8754z-a77ce2c68edb5c0f-1---d8754z-
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header  2 [ 16]: Max-Forwards: 70
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header  3 [ 63]: To: <sip:73333333333@192.168.1.33;transport=UDP>;tag=as52c559b0
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header  4 [ 62]: From: <sip:1111111111@192.168.1.33;transport=UDP>;tag=c83d9f10
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header  5 [ 53]: Call-ID: MjcwNTViZWRlOTI5NGEzYTAxYTM4YTRmY2Y2OWNkMjc.
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header  6 [ 11]: CSeq: 1 ACK
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header  7 [ 17]: Content-Length: 0
[2014-09-28 16:53:06] VERBOSE[1932] chan_sip.c: --- (8 headers 0 lines) ---
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c: = Looking for  Call ID: MjcwNTViZWRlOTI5NGEzYTAxYTM4YTRmY2Y2OWNkMjc. (Checking From) --From tag c83d9f10 --To-tag as52c559b0  
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] chan_sip.c: **** Received ACK (6) - Command in SIP ACK
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] chan_sip.c: ** SIP TIMER: Cancelling retransmit of packet (reply received) Retransid #261
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] chan_sip.c: Stopping retransmission on 'MjcwNTViZWRlOTI5NGEzYTAxYTM4YTRmY2Y2OWNkMjc.' of Response 1: Match Found
[2014-09-28 16:53:06] VERBOSE[1932] chan_sip.c: 
<--- SIP read from UDP:192.168.1.41:5060 --->
INVITE sip:73333333333@192.168.1.33;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 192.168.1.41:5060;branch=z9hG4bK-d8754z-1bd713afe8a7c977-1---d8754z-
Max-Forwards: 70
Contact: <sip:1111111111@192.168.1.41:5060;transport=UDP>
To: <sip:73333333333@192.168.1.33;transport=UDP>
From: <sip:1111111111@192.168.1.33;transport=UDP>;tag=c83d9f10
Call-ID: MjcwNTViZWRlOTI5NGEzYTAxYTM4YTRmY2Y2OWNkMjc.
CSeq: 2 INVITE
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
Content-Type: application/sdp
Supported: replaces, norefersub, extended-refer, X-cisco-serviceuri
User-Agent: Zoiper for Windows 2.39 r16838
Authorization: Digest username="1111111111",realm="asterisk",nonce="049452f8",uri="sip:73333333333@192.168.1.33;transport=UDP",response="a0f07aa98a0f955352ff4490b04e5eb8",algorithm=MD5
Allow-Events: presence, kpml
Content-Length: 253

v=0
o=Zoiper_user 0 0 IN IP4 192.168.1.41
s=Zoiper_session
c=IN IP4 192.168.1.41
t=0 0
m=audio 8000 RTP/AVP 3 8 0 101
a=rtpmap:3 GSM/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv
<------------->
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header  0 [ 57]: INVITE sip:73333333333@192.168.1.33;transport=UDP SIP/2.0
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header  1 [ 85]: Via: SIP/2.0/UDP 192.168.1.41:5060;branch=z9hG4bK-d8754z-1bd713afe8a7c977-1---d8754z-
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header  2 [ 16]: Max-Forwards: 70
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header  3 [ 57]: Contact: <sip:1111111111@192.168.1.41:5060;transport=UDP>
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header  4 [ 48]: To: <sip:73333333333@192.168.1.33;transport=UDP>
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header  5 [ 62]: From: <sip:1111111111@192.168.1.33;transport=UDP>;tag=c83d9f10
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header  6 [ 53]: Call-ID: MjcwNTViZWRlOTI5NGEzYTAxYTM4YTRmY2Y2OWNkMjc.
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header  7 [ 14]: CSeq: 2 INVITE
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header  8 [ 81]: Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header  9 [ 29]: Content-Type: application/sdp
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header 10 [ 67]: Supported: replaces, norefersub, extended-refer, X-cisco-serviceuri
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header 11 [ 42]: User-Agent: Zoiper for Windows 2.39 r16838
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header 12 [184]: Authorization: Digest username="1111111111",realm="asterisk",nonce="049452f8",uri="sip:73333333333@192.168.1.33;transport=UDP",response="a0f07aa98a0f955352ff4490b04e5eb8",algorithm=MD5
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header 13 [ 28]: Allow-Events: presence, kpml
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header 14 [ 19]: Content-Length: 253
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:  Header 15 [  0]: 
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:    Body  0 [  3]: v=0
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:    Body  1 [ 37]: o=Zoiper_user 0 0 IN IP4 192.168.1.41
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:    Body  2 [ 16]: s=Zoiper_session
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:    Body  3 [ 21]: c=IN IP4 192.168.1.41
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:    Body  4 [  5]: t=0 0
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:    Body  5 [ 30]: m=audio 8000 RTP/AVP 3 8 0 101
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:    Body  6 [ 19]: a=rtpmap:3 GSM/8000
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:    Body  7 [ 20]: a=rtpmap:8 PCMA/8000
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:    Body  8 [ 20]: a=rtpmap:0 PCMU/8000
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:    Body  9 [ 33]: a=rtpmap:101 telephone-event/8000
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:    Body 10 [ 15]: a=fmtp:101 0-15
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c:    Body 11 [ 10]: a=sendrecv
[2014-09-28 16:53:06] VERBOSE[1932] chan_sip.c: --- (15 headers 12 lines) ---
[2014-09-28 16:53:06] DEBUG[1932] chan_sip.c: = Looking for  Call ID: MjcwNTViZWRlOTI5NGEzYTAxYTM4YTRmY2Y2OWNkMjc. (Checking From) --From tag c83d9f10 --To-tag   
[2014-09-28 16:53:06] DEBUG[1932] netsock2.c: Splitting '192.168.1.33' into...
[2014-09-28 16:53:06] DEBUG[1932] netsock2.c: ...host '192.168.1.33' and port ''.
[2014-09-28 16:53:06] DEBUG[1932] netsock2.c: Splitting '192.168.1.33' into...
[2014-09-28 16:53:06] DEBUG[1932] netsock2.c: ...host '192.168.1.33' and port ''.
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] chan_sip.c: **** Received INVITE (5) - Command in SIP INVITE
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] netsock2.c: Splitting '192.168.1.41:5060' into...
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] netsock2.c: ...host '192.168.1.41' and port '5060'.
[2014-09-28 16:53:06] VERBOSE[1932][C-00000006] chan_sip.c: Sending to 192.168.1.41:5060 (NAT)
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] chan_sip.c: Initializing initreq for method INVITE - callid MjcwNTViZWRlOTI5NGEzYTAxYTM4YTRmY2Y2OWNkMjc.
[2014-09-28 16:53:06] VERBOSE[1932][C-00000006] chan_sip.c: Using INVITE request as basis request - MjcwNTViZWRlOTI5NGEzYTAxYTM4YTRmY2Y2OWNkMjc.
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] netsock2.c: Splitting '192.168.1.33' into...
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] netsock2.c: ...host '192.168.1.33' and port ''.
[2014-09-28 16:53:06] VERBOSE[1932][C-00000006] chan_sip.c: Found peer '1111111111' for '1111111111' from 192.168.1.41:5060
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] rtp_engine.c: Using engine 'asterisk' for RTP instance '0xb740ddb4'
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] res_rtp_asterisk.c: Allocated port 15330 for RTP instance '0xb740ddb4'
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] netsock2.c: Splitting '192.168.1.33' into...
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] netsock2.c: ...host '192.168.1.33' and port ''.
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] rtp_engine.c: RTP instance '0xb740ddb4' is setup and ready to go
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] res_rtp_asterisk.c: Setup RTCP on RTP instance '0xb740ddb4'
[2014-09-28 16:53:06] VERBOSE[1932][C-00000006] netsock2.c:   == Using SIP RTP TOS bits 184
[2014-09-28 16:53:06] VERBOSE[1932][C-00000006] netsock2.c:   == Using SIP RTP CoS mark 5
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] chan_sip.c: Setting NAT on RTP to On
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] chan_sip.c: Processing session-level SDP v=0... UNSUPPORTED OR FAILED.
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] chan_sip.c: Processing session-level SDP o=Zoiper_user 0 0 IN IP4 192.168.1.41... OK.
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] chan_sip.c: Processing session-level SDP s=Zoiper_session... UNSUPPORTED OR FAILED.
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] netsock2.c: Splitting '192.168.1.41' into...
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] netsock2.c: ...host '192.168.1.41' and port ''.
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] chan_sip.c: Processing session-level SDP c=IN IP4 192.168.1.41... OK.
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] chan_sip.c: Processing session-level SDP t=0 0... UNSUPPORTED OR FAILED.
[2014-09-28 16:53:06] VERBOSE[1932][C-00000006] chan_sip.c: Found RTP audio format 3
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] rtp_engine.c: Setting payload 3 based on m type on 0xb6464e40
[2014-09-28 16:53:06] VERBOSE[1932][C-00000006] chan_sip.c: Found RTP audio format 8
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] rtp_engine.c: Setting payload 8 based on m type on 0xb6464e40
[2014-09-28 16:53:06] VERBOSE[1932][C-00000006] chan_sip.c: Found RTP audio format 0
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] rtp_engine.c: Setting payload 0 based on m type on 0xb6464e40
[2014-09-28 16:53:06] VERBOSE[1932][C-00000006] chan_sip.c: Found RTP audio format 101
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] rtp_engine.c: Setting payload 101 based on m type on 0xb6464e40
[2014-09-28 16:53:06] VERBOSE[1932][C-00000006] chan_sip.c: Found audio description format GSM for ID 3
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] chan_sip.c: Processing media-level (audio) SDP a=rtpmap:3 GSM/8000... OK.
[2014-09-28 16:53:06] VERBOSE[1932][C-00000006] chan_sip.c: Found audio description format PCMA for ID 8
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] chan_sip.c: Processing media-level (audio) SDP a=rtpmap:8 PCMA/8000... OK.
[2014-09-28 16:53:06] VERBOSE[1932][C-00000006] chan_sip.c: Found audio description format PCMU for ID 0
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] chan_sip.c: Processing media-level (audio) SDP a=rtpmap:0 PCMU/8000... OK.
[2014-09-28 16:53:06] VERBOSE[1932][C-00000006] chan_sip.c: Found audio description format telephone-event for ID 101
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] chan_sip.c: Processing media-level (audio) SDP a=rtpmap:101 telephone-event/8000... OK.
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] chan_sip.c: Processing media-level (audio) SDP a=fmtp:101 0-15... UNSUPPORTED OR FAILED.
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] chan_sip.c: Processing media-level (audio) SDP a=sendrecv... OK.
[2014-09-28 16:53:06] VERBOSE[1932][C-00000006] chan_sip.c: Capabilities: us - (gsm|ulaw|alaw|g729), peer - audio=(gsm|ulaw|alaw)/video=(nothing)/text=(nothing), combined - (gsm|ulaw|alaw)
[2014-09-28 16:53:06] VERBOSE[1932][C-00000006] chan_sip.c: Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|)
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] res_rtp_asterisk.c: Setting RTCP address on RTP instance '0xb740ddb4'
[2014-09-28 16:53:06] VERBOSE[1932][C-00000006] chan_sip.c: Peer audio RTP is at port 192.168.1.41:8000
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] rtp_engine.c: Copying payload 0 from 0xb6464e40 to 0xb740df60
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] rtp_engine.c: Copying payload 3 from 0xb6464e40 to 0xb740df60
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] rtp_engine.c: Copying payload 8 from 0xb6464e40 to 0xb740df60
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] rtp_engine.c: Copying payload 101 from 0xb6464e40 to 0xb740df60
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] res_rtp_asterisk.c: Ignoring duplicate RTCP property on RTP instance '0xb740ddb4'
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] chan_sip.c: We're settling with these formats: (gsm|ulaw|alaw)
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] chan_sip.c: Checking SIP call limits for device 1111111111
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] chan_sip.c: Updating call counter for incoming call
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] chan_sip.c: Call from peer '1111111111' is 1 out of 2147483647
[2014-09-28 16:53:06] DEBUG[1915] devicestate.c: No provider found, checking channel drivers for SIP - 1111111111
[2014-09-28 16:53:06] DEBUG[1915] chan_sip.c: Checking device state for peer 1111111111
[2014-09-28 16:53:06] DEBUG[1915] devicestate.c: Changing state for SIP/1111111111 - state 2 (In use)
[2014-09-28 16:53:06] DEBUG[1915] devicestate.c: device 'SIP/1111111111' state '2'
[2014-09-28 16:53:06] DEBUG[1917] devicestate.c: Checking if I can find provider for "Custom" - number: DND1111111111
[2014-09-28 16:53:06] DEBUG[1917] devicestate.c: Checking provider SLA with Custom
[2014-09-28 16:53:06] DEBUG[1917] devicestate.c: Checking provider Meetme with Custom
[2014-09-28 16:53:06] DEBUG[1917] devicestate.c: Checking provider Custom with Custom
[2014-09-28 16:53:06] DEBUG[1917] db.c: Unable to find key 'DND1111111111' in family 'CustomDevstate'
[2014-09-28 16:53:06] DEBUG[1917] app_queue.c: Extension '1111111111@ext-local' changed to state '2' (In use) but we don't care because they're not a member of any queue.
[2014-09-28 16:53:06] DEBUG[1998] app_queue.c: Device 'SIP/1111111111' changed to state '2' (In use) but we don't care because they're not a member of any queue.
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: ExtensionStatus
Privilege: call,all
Exten: 1111111111
Context: ext-local
Hint: SIP/1111111111&Custom:DND1111111111,CustomPresence:1111111111
Status: 1


[2014-09-28 16:53:06] DEBUG[1932][C-00000006] netsock2.c: Splitting '192.168.1.33' into...
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] netsock2.c: ...host '192.168.1.33' and port ''.
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] netsock2.c: Splitting '192.168.1.33' into...
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] netsock2.c: ...host '192.168.1.33' and port ''.
[2014-09-28 16:53:06] VERBOSE[1932][C-00000006] chan_sip.c: Looking for 73333333333 in from-internal (domain 192.168.1.33)
[2014-09-28 16:53:06] DEBUG[1904] res_odbc.c: odbc_release_obj2(0x91f9f3c) called (obj->txf = (nil))
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newchannel
Privilege: call,all
Channel: SIP/1111111111-0000000c
ChannelState: 0
ChannelStateDesc: Down
CallerIDNum: 1111111111
CallerIDName: 1111111111
AccountCode: 
Exten: 73333333333
Context: from-internal
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[1932][C-00000006] chan_sip.c: *** Our native formats are (ulaw) 
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] chan_sip.c: *** Joint capabilities are (gsm|ulaw|alaw) 
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] chan_sip.c: *** Our capabilities are (gsm|ulaw|alaw|g729) 
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] chan_sip.c: *** AST_CODEC_CHOOSE formats are ulaw 
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] chan_sip.c: This channel will not be able to handle video.
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: SIPURI
Value: sip:1111111111@192.168.1.41:5060
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: SIPDOMAIN
Value: 192.168.1.33
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: SIPCALLID
Value: MjcwNTViZWRlOTI5NGEzYTAxYTM4YTRmY2Y2OWNkMjc.
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: ChannelUpdate
Privilege: system,all
Channel: SIP/1111111111-0000000c
Uniqueid: 1411894386.12
Channeltype: SIP
SIPcallid: MjcwNTViZWRlOTI5NGEzYTAxYTM4YTRmY2Y2OWNkMjc.
SIPfullcontact: sip:1111111111@192.168.1.41:5060;rinstance=24097879c169fb76;transport=UDP


[2014-09-28 16:53:06] DEBUG[1932][C-00000006] chan_sip.c: build_route: Contact hop: <sip:1111111111@192.168.1.41:5060;transport=UDP>
[2014-09-28 16:53:06] VERBOSE[1932][C-00000006] chan_sip.c: list_route: hop: <sip:1111111111@192.168.1.41:5060;transport=UDP>
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] chan_sip.c: SIP/1111111111-0000000c: New call is still down.... Trying... 
[2014-09-28 16:53:06] VERBOSE[1932][C-00000006] chan_sip.c: 
<--- Transmitting (NAT) to 192.168.1.41:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.41:5060;branch=z9hG4bK-d8754z-1bd713afe8a7c977-1---d8754z-;received=192.168.1.41;rport=5060
From: <sip:1111111111@192.168.1.33;transport=UDP>;tag=c83d9f10
To: <sip:73333333333@192.168.1.33;transport=UDP>
Call-ID: MjcwNTViZWRlOTI5NGEzYTAxYTM4YTRmY2Y2OWNkMjc.
CSeq: 2 INVITE
Server: FPBX-2.11.0(11.12.1)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Contact: <sip:73333333333@192.168.1.33:5060>
Content-Length: 0


<------------>
[2014-09-28 16:53:06] DEBUG[1932][C-00000006] chan_sip.c: Trying to put 'SIP/2.0 100' onto UDP socket destined for 192.168.1.41:5060
[2014-09-28 16:53:06] DEBUG[1915] devicestate.c: No provider found, checking channel drivers for SIP - 1111111111
[2014-09-28 16:53:06] DEBUG[1915] chan_sip.c: Checking device state for peer 1111111111
[2014-09-28 16:53:06] DEBUG[1915] devicestate.c: Changing state for SIP/1111111111 - state 2 (In use)
[2014-09-28 16:53:06] DEBUG[1915] devicestate.c: device 'SIP/1111111111' state '2'
[2014-09-28 16:53:06] DEBUG[1917] devicestate.c: Checking if I can find provider for "Custom" - number: DND1111111111
[2014-09-28 16:53:06] DEBUG[1917] devicestate.c: Checking provider SLA with Custom
[2014-09-28 16:53:06] DEBUG[1917] devicestate.c: Checking provider Meetme with Custom
[2014-09-28 16:53:06] DEBUG[1917] devicestate.c: Checking provider Custom with Custom
[2014-09-28 16:53:06] DEBUG[1917] db.c: Unable to find key 'DND1111111111' in family 'CustomDevstate'
[2014-09-28 16:53:06] DEBUG[1998] app_queue.c: Device 'SIP/1111111111' changed to state '2' (In use) but we don't care because they're not a member of any queue.
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newstate
Privilege: call,all
Channel: SIP/1111111111-0000000c
ChannelState: 4
ChannelStateDesc: Ring
CallerIDNum: 1111111111
CallerIDName: 1111111111
ConnectedLineNum: 
ConnectedLineName: 
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'Macro'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [73333333333@from-internal:1] Macro("SIP/1111111111-0000000c", "user-callerid,LIMIT,EXTERNAL,") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: from-internal
Extension: 73333333333
Priority: 1
Application: Macro
AppData: user-callerid,LIMIT,EXTERNAL,
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_EXTEN
Value: 73333333333
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_CONTEXT
Value: from-internal
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_PRIORITY
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: ARG1
Value: LIMIT
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: ARG2
Value: EXTERNAL
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: ARG3
Value: 
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'UNIQUEID' is '1411894386.12'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'Set'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-user-callerid:1] Set("SIP/1111111111-0000000c", "TOUCH_MONITOR=1411894386.12") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-user-callerid
Extension: s
Priority: 1
Application: Set
AppData: TOUCH_MONITOR=1411894386.12
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: TOUCH_MONITOR
Value: 1411894386.12
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: Set
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'AMPUSER' is NULL
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '1'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function CALLERID(number) result is '1111111111'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'AMPUSER' is NULL
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function IF(1?1111111111:) result is '1111111111'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'Set'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-user-callerid:2] Set("SIP/1111111111-0000000c", "AMPUSER=1111111111") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-user-callerid
Extension: s
Priority: 2
Application: Set
AppData: AMPUSER=1111111111
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: AMPUSER
Value: 1111111111
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: Set
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Evaluating 'CHANNEL' (from 'CHANNEL}' len 7)
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'CHANNEL' is 'SIP/1111111111-0000000c'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function CUT(CHANNEL,@,2) result is ''
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'AMPUSERCIDNAME' is NULL
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function LEN() result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'GotoIf'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-user-callerid:3] GotoIf("SIP/1111111111-0000000c", "0?report") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-user-callerid
Extension: s
Priority: 3
Application: GotoIf
AppData: 0?report
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Not taking any branch
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: GotoIf
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'REALCALLERIDNUM' is NULL
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '1'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function CALLERID(number) result is '1111111111'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'ExecIf'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-user-callerid:4] ExecIf("SIP/1111111111-0000000c", "1?Set(REALCALLERIDNUM=1111111111)") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-user-callerid
Extension: s
Priority: 4
Application: ExecIf
AppData: 1?Set(REALCALLERIDNUM=1111111111)
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: REALCALLERIDNUM
Value: 1111111111
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: ExecIf
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Evaluating 'REALCALLERIDNUM:1:2' (from 'REALCALLERIDNUM:1:2}" = ""' len 19)
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'REALCALLERIDNUM' is '1111111111'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Evaluating 'CALLERID(number)' (from 'CALLERID(number)})' len 16)
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function CALLERID(number) result is '1111111111'
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'REALCALLERIDNUM' is '1111111111'
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: DB_RESULT
Value: 1111111111
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function DB(DEVICE/1111111111/user) result is '1111111111'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'Set'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-user-callerid:5] Set("SIP/1111111111-0000000c", "AMPUSER=1111111111") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-user-callerid
Extension: s
Priority: 5
Application: Set
AppData: AMPUSER=1111111111
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: AMPUSER
Value: 1111111111
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: Set
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'AMPUSER' is '1111111111'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'GotoIf'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-user-callerid:6] GotoIf("SIP/1111111111-0000000c", "0?limit") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-user-callerid
Extension: s
Priority: 6
Application: GotoIf
AppData: 0?limit
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Not taking any branch
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: GotoIf
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'AMPUSER' is '1111111111'
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: DB_RESULT
Value: 1111111111
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function DB(AMPUSER/1111111111/cidname) result is '1111111111'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'Set'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-user-callerid:7] Set("SIP/1111111111-0000000c", "AMPUSERCIDNAME=1111111111") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-user-callerid
Extension: s
Priority: 7
Application: Set
AppData: AMPUSERCIDNAME=1111111111
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: AMPUSERCIDNAME
Value: 1111111111
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: Set
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'AMPUSERCIDNAME' is '1111111111'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'GotoIf'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-user-callerid:8] GotoIf("SIP/1111111111-0000000c", "0?report") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-user-callerid
Extension: s
Priority: 8
Application: GotoIf
AppData: 0?report
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Not taking any branch
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: GotoIf
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'ARG2' is 'EXTERNAL'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'AMPUSER' is '1111111111'
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: DB_RESULT
Value: 1111111111
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function DB_EXISTS(AMPUSER/1111111111/cidnum) result is '1'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'DB_RESULT' is '1111111111'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'AMPUSER' is '1111111111'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function IF(0?1111111111:1111111111) result is '1111111111'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'Set'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-user-callerid:9] Set("SIP/1111111111-0000000c", "AMPUSERCID=1111111111") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten

Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-user-callerid
Extension: s
Priority: 9
Application: Set
AppData: AMPUSERCID=1111111111
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: AMPUSERCID
Value: 1111111111
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: Set
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'AMPUSER' is '1111111111'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] db.c: Unable to find key '1111111111/dialopts' in family 'AMPUSER'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function DB_EXISTS(AMPUSER/1111111111/dialopts) result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'DB_RESULT' is '1111111111'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'DIAL_OPTIONS' is 'Ttr'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function IF(0?1111111111:Ttr) result is 'Ttr'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'Set'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-user-callerid:10] Set("SIP/1111111111-0000000c", "__DIAL_OPTIONS=Ttr") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-user-callerid
Extension: s
Priority: 10
Application: Set
AppData: __DIAL_OPTIONS=Ttr
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: __DIAL_OPTIONS
Value: Ttr
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: Set
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'AMPUSERCIDNAME' is '1111111111'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'AMPUSERCID' is '1111111111'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'Set'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-user-callerid:11] Set("SIP/1111111111-0000000c", "CALLERID(all)="1111111111" <1111111111>") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-user-callerid
Extension: s
Priority: 11
Application: Set
AppData: CALLERID(all)="1111111111" <1111111111>
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: NewCallerid
Privilege: call,all
Channel: SIP/1111111111-0000000c
CallerIDNum: 1111111111
CallerIDName: 1111111111
Uniqueid: 1411894386.12
CID-CallingPres: 0 (Presentation Allowed, Not Screened)


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: Set
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'ARG1' is 'LIMIT'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'AMPUSER' is '1111111111'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function LEN(1111111111) result is '10'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'AMPUSER' is '1111111111'
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: DB_RESULT
Value: 3
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function DB(AMPUSER/1111111111/concurrency_limit) result is '3'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'AMPUSER' is '1111111111'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function GROUP_COUNT(1111111111@concurrency_limit) result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'AMPUSER' is '1111111111'
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: DB_RESULT
Value: 3
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function DB(AMPUSER/1111111111/concurrency_limit) result is '3'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'GotoIf'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-user-callerid:12] GotoIf("SIP/1111111111-0000000c", "0?limit") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-user-callerid
Extension: s
Priority: 12
Application: GotoIf
AppData: 0?limit
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Not taking any branch
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: GotoIf
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'ARG1' is 'LIMIT'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'AMPUSER' is '1111111111'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function LEN(1111111111) result is '10'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '1'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'AMPUSER' is '1111111111'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'ExecIf'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-user-callerid:13] ExecIf("SIP/1111111111-0000000c", "1?Set(GROUP(concurrency_limit)=1111111111)") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-user-callerid
Extension: s
Priority: 13
Application: ExecIf
AppData: 1?Set(GROUP(concurrency_limit)=1111111111)
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: ExecIf
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Evaluating 'ARG1' (from 'ARG1}"="LIMIT" & ${LEN(${AMPUSER})}' len 4)
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'ARG1' is 'LIMIT'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Evaluating 'LEN(${AMPUSER})' (from 'LEN(${AMPUSER})}' len 15)
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Evaluating 'AMPUSER' (from 'AMPUSER})' len 7)
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'AMPUSER' is '1111111111'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function LEN(1111111111) result is '10'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '1'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Evaluating 'AMPUSER' (from 'AMPUSER})' len 7)
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'AMPUSER' is '1111111111'
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'AMPUSER' is '1111111111'
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: DB_RESULT
Value: generic
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function DB(AMPUSER/1111111111/ccss/cc_agent_policy) result is 'generic'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function LEN(generic) result is '7'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'AMPUSER' is '1111111111'
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: DB_RESULT
Value: generic
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function DB(AMPUSER/1111111111/ccss/cc_agent_policy) result is 'generic'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '7'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'MACRO_CONTEXT' is 'from-internal'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function CALLERID(dnid) result is '73333333333'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'GosubIf'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-user-callerid:14] GosubIf("SIP/1111111111-0000000c", "7?sub-ccss,s,1(from-internal,73333333333)") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-user-callerid
Extension: s
Priority: 14
Application: GosubIf
AppData: 7?sub-ccss,s,1(from-internal,73333333333)
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_stack.c: Channel SIP/1111111111-0000000c has no datastore, so we're allocating one.
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: LOCAL(ARG1)
Value: from-internal
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_stack.c: Setting 'ARG1' to 'from-internal'
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: LOCAL(ARG2)
Value: 73333333333
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_stack.c: Setting 'ARG2' to '73333333333'
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: LOCAL(ARGC)
Value: 2
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: GosubIf
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Evaluating 'LEN(${DB(AMPUSER/${AMPUSER}/ccss/cc_agent_policy)})' (from 'LEN(${DB(AMPUSER/${AMPUSER}/ccss/cc_agent_policy)})} & "${DB(AMPUSER/${AMPUSER}/ccss/cc_agent_policy)}" != "never"' len 51)
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Evaluating 'DB(AMPUSER/${AMPUSER}/ccss/cc_agent_policy)' (from 'DB(AMPUSER/${AMPUSER}/ccss/cc_agent_policy)})' len 43)
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Evaluating 'AMPUSER' (from 'AMPUSER}/ccss/cc_agent_policy)' len 7)
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'AMPUSER' is '1111111111'
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: DB_RESULT
Value: generic
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function DB(AMPUSER/1111111111/ccss/cc_agent_policy) result is 'generic'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function LEN(generic) result is '7'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Evaluating 'DB(AMPUSER/${AMPUSER}/ccss/cc_agent_policy)' (from 'DB(AMPUSER/${AMPUSER}/ccss/cc_agent_policy)}" != "never"' len 43)
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Evaluating 'AMPUSER' (from 'AMPUSER}/ccss/cc_agent_policy)' len 7)
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'AMPUSER' is '1111111111'
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: DB_RESULT
Value: generic
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function DB(AMPUSER/1111111111/ccss/cc_agent_policy) result is 'generic'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '7'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Evaluating 'MACRO_CONTEXT' (from 'MACRO_CONTEXT},${CALLERID(dnid)})' len 13)
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'MACRO_CONTEXT' is 'from-internal'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Evaluating 'CALLERID(dnid)' (from 'CALLERID(dnid)})' len 14)
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function CALLERID(dnid) result is '73333333333'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Incrementing gosub_level
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'CCSS_SETUP' is NULL
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function LEN() result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'ExecIf'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@sub-ccss:1] ExecIf("SIP/1111111111-0000000c", "0?Return()") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: sub-ccss
Extension: s
Priority: 1
Application: ExecIf
AppData: 0?Return()
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: ExecIf
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Evaluating 'LEN(${CCSS_SETUP})' (from 'LEN(${CCSS_SETUP})}' len 18)
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Evaluating 'CCSS_SETUP' (from 'CCSS_SETUP})' len 10)
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'CCSS_SETUP' is NULL
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function LEN() result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'Set'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@sub-ccss:2] Set("SIP/1111111111-0000000c", "CCSS_SETUP=TRUE") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: sub-ccss
Extension: s
Priority: 2
Application: Set
AppData: CCSS_SETUP=TRUE
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: CCSS_SETUP
Value: TRUE
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: Set
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'ARG2' is '73333333333'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] db.c: Unable to find key '73333333333/ccss/cc_monitor_policy' in family 'AMPUSER'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] func_db.c: DB: AMPUSER/73333333333/ccss/cc_monitor_policy not found in database.
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function DB(AMPUSER/73333333333/ccss/cc_monitor_policy) result is ''
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function LEN() result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'ARG1' is 'from-internal'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'ARG2' is '73333333333'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'ARG1' is 'from-internal'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'ARG2' is '73333333333'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'GosubIf'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@sub-ccss:3] GosubIf("SIP/1111111111-0000000c", "0?monitor_config,1(from-internal,73333333333):monitor_default,1(from-internal,73333333333)") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: sub-ccss
Extension: s
Priority: 3
Application: GosubIf
AppData: 0?monitor_config,1(from-internal,73333333333):monitor_default,1(from-internal,73333333333)
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: LOCAL(ARG1)
Value: from-internal
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_stack.c: Setting 'ARG1' to 'from-internal'
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: LOCAL(ARG2)
Value: 73333333333
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_stack.c: Setting 'ARG2' to '73333333333'
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: LOCAL(ARGC)
Value: 2
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: GosubIf
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Evaluating 'LEN(${DB(AMPUSER/${ARG2}/ccss/cc_monitor_policy)})' (from 'LEN(${DB(AMPUSER/${ARG2}/ccss/cc_monitor_policy)})}' len 50)
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Evaluating 'DB(AMPUSER/${ARG2}/ccss/cc_monitor_policy)' (from 'DB(AMPUSER/${ARG2}/ccss/cc_monitor_policy)})' len 42)
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Evaluating 'ARG2' (from 'ARG2}/ccss/cc_monitor_policy)' len 4)
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'ARG2' is '73333333333'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] db.c: Unable to find key '73333333333/ccss/cc_monitor_policy' in family 'AMPUSER'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] func_db.c: DB: AMPUSER/73333333333/ccss/cc_monitor_policy not found in database.
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function DB(AMPUSER/73333333333/ccss/cc_monitor_policy) result is ''
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function LEN() result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Evaluating 'ARG1' (from 'ARG1},${ARG2}):monitor_default,1(${ARG1},${ARG2})' len 4)
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'ARG1' is 'from-internal'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Evaluating 'ARG2' (from 'ARG2}):monitor_default,1(${ARG1},${ARG2})' len 4)
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'ARG2' is '73333333333'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Evaluating 'ARG1' (from 'ARG1},${ARG2})' len 4)
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'ARG1' is 'from-internal'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Evaluating 'ARG2' (from 'ARG2})' len 4)
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'ARG2' is '73333333333'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Incrementing gosub_level
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'ARG2' is '73333333333'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] db.c: Unable to find key '73333333333/cidname' in family 'AMPUSER'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] func_db.c: DB: AMPUSER/73333333333/cidname not found in database.
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function DB(AMPUSER/73333333333/cidname) result is ''
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'GotoIf'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [monitor_default@sub-ccss:1] GotoIf("SIP/1111111111-0000000c", "0?is_exten") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: sub-ccss
Extension: monitor_default
Priority: 1
Application: GotoIf
AppData: 0?is_exten
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Not taking any branch
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: GotoIf
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'StackPop'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [monitor_default@sub-ccss:2] StackPop("SIP/1111111111-0000000c", "") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: sub-ccss
Extension: monitor_default
Priority: 2
Application: StackPop
AppData: 
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: StackPop
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Decrementing gosub_level
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'Return'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [monitor_default@sub-ccss:3] Return("SIP/1111111111-0000000c", "FALSE") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: sub-ccss
Extension: monitor_default
Priority: 3
Application: Return
AppData: FALSE
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: GOSUB_RETVAL
Value: FALSE
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: Return
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Decrementing gosub_level
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'AMPUSER' is '1111111111'
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: DB_RESULT
Value: 
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function DB(AMPUSER/1111111111/language) result is ''
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'AMPUSER' is '1111111111'
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: DB_RESULT
Value: 
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function DB(AMPUSER/1111111111/language) result is ''
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'ExecIf'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-user-callerid:15] ExecIf("SIP/1111111111-0000000c", "0?Set(CHANNEL(language)=)") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-user-callerid
Extension: s
Priority: 15
Application: ExecIf
AppData: 0?Set(CHANNEL(language)=)
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: ExecIf
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Evaluating 'DB(AMPUSER/${AMPUSER}/language)' (from 'DB(AMPUSER/${AMPUSER}/language)}" != ""' len 31)
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Evaluating 'AMPUSER' (from 'AMPUSER}/language)' len 7)
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'AMPUSER' is '1111111111'
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: DB_RESULT
Value: 
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function DB(AMPUSER/1111111111/language) result is ''
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Evaluating 'DB(AMPUSER/${AMPUSER}/language)' (from 'DB(AMPUSER/${AMPUSER}/language)})' len 31)
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Evaluating 'AMPUSER' (from 'AMPUSER}/language)' len 7)
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'AMPUSER' is '1111111111'
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: DB_RESULT
Value: 
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function DB(AMPUSER/1111111111/language) result is ''
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'ARG1' is 'LIMIT'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'ARG1' is 'LIMIT'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '1'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'GotoIf'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-user-callerid:16] GotoIf("SIP/1111111111-0000000c", "1?continue") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-user-callerid
Extension: s
Priority: 16
Application: GotoIf
AppData: 1?continue
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Goto (macro-user-callerid,s,30)
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: GotoIf
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function CALLERID(number) result is '1111111111'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'Set'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-user-callerid:30] Set("SIP/1111111111-0000000c", "CALLERID(number)=1111111111") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-user-callerid
Extension: s
Priority: 30
Application: Set
AppData: CALLERID(number)=1111111111
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: Set
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function CALLERID(name) result is '1111111111'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'Set'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-user-callerid:31] Set("SIP/1111111111-0000000c", "CALLERID(name)=1111111111") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-user-callerid
Extension: s
Priority: 31
Application: Set
AppData: CALLERID(name)=1111111111
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: Set
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function CALLERID(num) result is '1111111111'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'Set'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-user-callerid:32] Set("SIP/1111111111-0000000c", "CDR(cnum)=1111111111") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-user-callerid
Extension: s
Priority: 32
Application: Set
AppData: CDR(cnum)=1111111111
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: Set
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function CALLERID(name) result is '1111111111'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'Set'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-user-callerid:33] Set("SIP/1111111111-0000000c", "CDR(cnam)=1111111111") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-user-callerid
Extension: s
Priority: 33
Application: Set
AppData: CDR(cnam)=1111111111
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: Set
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Evaluating 'CHANNEL(language)' (from 'CHANNEL(language)}' len 17)
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function CHANNEL(language) result is 'ru_gsm'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function MASTER_CHANNEL(CHANNEL(language)) result is 'ru_gsm'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'Set'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-user-callerid:34] Set("SIP/1111111111-0000000c", "CHANNEL(language)=ru_gsm") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-user-callerid
Extension: s
Priority: 34
Application: Set
AppData: CHANNEL(language)=ru_gsm
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: Set
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 0
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'CALLEE_ACCOUNCODE' is NULL
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'CALLEE_ACCOUNCODE' is NULL
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'ExecIf'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [73333333333@from-internal:2] ExecIf("SIP/1111111111-0000000c", "0 ?Set(CDR(accountcode)=)") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: from-internal
Extension: 73333333333
Priority: 2
Application: ExecIf
AppData: 0 ?Set(CDR(accountcode)=)
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'MOHCLASS' is NULL
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '1'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'MOHCLASS' is NULL
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function IF(1?default:) result is 'default'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'Set'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [73333333333@from-internal:3] Set("SIP/1111111111-0000000c", "MOHCLASS=default") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: from-internal
Extension: 73333333333
Priority: 3
Application: Set
AppData: MOHCLASS=default
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MOHCLASS
Value: default
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'Set'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [73333333333@from-internal:4] Set("SIP/1111111111-0000000c", "_NODEST=") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: from-internal
Extension: 73333333333
Priority: 4
Application: Set
AppData: _NODEST=
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: _NODEST
Value: 
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'EXTEN' is '73333333333'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'Gosub'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [73333333333@from-internal:5] Gosub("SIP/1111111111-0000000c", "sub-record-check,s,1(out,73333333333,)") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: from-internal
Extension: 73333333333
Priority: 5
Application: Gosub
AppData: sub-record-check,s,1(out,73333333333,)
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: LOCAL(ARG1)
Value: out
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_stack.c: Setting 'ARG1' to 'out'
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: LOCAL(ARG2)
Value: 73333333333
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_stack.c: Setting 'ARG2' to '73333333333'
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: LOCAL(ARG3)
Value: 
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_stack.c: Setting 'ARG3' to ''
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: LOCAL(ARGC)
Value: 3
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'REC_POLICY_MODE' is NULL
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'Set'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@sub-record-check:1] Set("SIP/1111111111-0000000c", "REC_POLICY_MODE_SAVE=") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: sub-record-check
Extension: s
Priority: 1
Application: Set
AppData: REC_POLICY_MODE_SAVE=
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: REC_POLICY_MODE_SAVE
Value: 
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'BLINDTRANSFER' is NULL
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '1'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'GotoIf'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@sub-record-check:2] GotoIf("SIP/1111111111-0000000c", "1?check") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: sub-record-check
Extension: s
Priority: 2
Application: GotoIf
AppData: 1?check
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Goto (sub-record-check,s,7)
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'MIXMON_FORMAT' is 'wav'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'MIXMON_FORMAT' is 'wav'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function IF(0?WAV:wav) result is 'wav'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'Set'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@sub-record-check:7] Set("SIP/1111111111-0000000c", "__MON_FMT=wav") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: sub-record-check
Extension: s
Priority: 7
Application: Set
AppData: __MON_FMT=wav
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: __MON_FMT
Value: wav
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'REC_STATUS' is NULL
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '1'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'GotoIf'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@sub-record-check:8] GotoIf("SIP/1111111111-0000000c", "1?next") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: sub-record-check
Extension: s
Priority: 8
Application: GotoIf
AppData: 1?next
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Goto (sub-record-check,s,11)
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'ARG1' is 'out'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function LEN(out) result is '3'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'ExecIf'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@sub-record-check:11] ExecIf("SIP/1111111111-0000000c", "0?Return()") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: sub-record-check
Extension: s
Priority: 11
Application: ExecIf
AppData: 0?Return()
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'REC_POLICY_MODE' is NULL
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'ARG3' is ''
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'ARG3' is ''
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'ExecIf'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@sub-record-check:12] ExecIf("SIP/1111111111-0000000c", "0?Set(__REC_POLICY_MODE=)") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: sub-record-check
Extension: s
Priority: 12
Application: ExecIf
AppData: 0?Set(__REC_POLICY_MODE=)
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'REC_STATUS' is NULL
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'ARG1' is 'out'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'GotoIf'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@sub-record-check:13] GotoIf("SIP/1111111111-0000000c", "0?out,1") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: sub-record-check
Extension: s
Priority: 13
Application: GotoIf
AppData: 0?out,1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Not taking any branch
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'Set'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@sub-record-check:14] Set("SIP/1111111111-0000000c", "__REC_STATUS=INITIALIZED") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: sub-record-check
Extension: s
Priority: 14
Application: Set
AppData: __REC_STATUS=INITIALIZED
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: __REC_STATUS
Value: INITIALIZED
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'EPOCH' is '1411894386'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'Set'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@sub-record-check:15] Set("SIP/1111111111-0000000c", "NOW=1411894386") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: sub-record-check
Extension: s
Priority: 15
Application: Set
AppData: NOW=1411894386
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: NOW
Value: 1411894386
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'NOW' is '1411894386'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function STRFTIME(1411894386,,%d) result is '28'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'Set'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@sub-record-check:16] Set("SIP/1111111111-0000000c", "__DAY=28") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: sub-record-check
Extension: s
Priority: 16
Application: Set
AppData: __DAY=28
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: __DAY
Value: 28
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'NOW' is '1411894386'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function STRFTIME(1411894386,,%m) result is '09'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'Set'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@sub-record-check:17] Set("SIP/1111111111-0000000c", "__MONTH=09") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: sub-record-check
Extension: s
Priority: 17
Application: Set
AppData: __MONTH=09
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: __MONTH
Value: 09
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'NOW' is '1411894386'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function STRFTIME(1411894386,,%Y) result is '2014'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'Set'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@sub-record-check:18] Set("SIP/1111111111-0000000c", "__YEAR=2014") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: sub-record-check
Extension: s
Priority: 18
Application: Set
AppData: __YEAR=2014
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: __YEAR
Value: 2014
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'YEAR' is '2014'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'MONTH' is '09'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'DAY' is '28'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'NOW' is '1411894386'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function STRFTIME(1411894386,,%H%M%S) result is '165306'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'Set'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@sub-record-check:19] Set("SIP/1111111111-0000000c", "__TIMESTR=20140928-165306") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: sub-record-check
Extension: s
Priority: 19
Application: Set
AppData: __TIMESTR=20140928-165306
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: __TIMESTR
Value: 20140928-165306
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'AMPUSER' is '1111111111'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function LEN(1111111111) result is '10'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '10'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'AMPUSER' is '1111111111'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'REALCALLERIDNUM' is '1111111111'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function LEN(1111111111) result is '10'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '10'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'REALCALLERIDNUM' is '1111111111'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function IF(10?1111111111:unknown) result is '1111111111'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function IF(10?1111111111:1111111111) result is '1111111111'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'Set'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@sub-record-check:20] Set("SIP/1111111111-0000000c", "__FROMEXTEN=1111111111") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: sub-record-check
Extension: s
Priority: 20
Application: Set
AppData: __FROMEXTEN=1111111111
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: __FROMEXTEN
Value: 1111111111
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'ARG1' is 'out'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'ARG2' is '73333333333'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'FROMEXTEN' is '1111111111'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'TIMESTR' is '20140928-165306'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'UNIQUEID' is '1411894386.12'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'Set'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@sub-record-check:21] Set("SIP/1111111111-0000000c", "__CALLFILENAME=out-73333333333-1111111111-20140928-165306-1411894386.12") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: sub-record-check
Extension: s
Priority: 21
Application: Set
AppData: __CALLFILENAME=out-73333333333-1111111111-20140928-165306-1411894386.12
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: __CALLFILENAME
Value: out-73333333333-1111111111-20140928-165306-1411894386.12
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'ARG1' is 'out'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'Goto'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@sub-record-check:22] Goto("SIP/1111111111-0000000c", "out,1") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: sub-record-check
Extension: s
Priority: 22
Application: Goto
AppData: out,1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Goto (sub-record-check,out,1)
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'REC_POLICY_MODE' is NULL
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '1'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'FROMEXTEN' is '1111111111'
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: DB_RESULT
Value: dontcare
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function DB(AMPUSER/1111111111/recording/out/external) result is 'dontcare'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'ExecIf'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [out@sub-record-check:1] ExecIf("SIP/1111111111-0000000c", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: sub-record-check
Extension: out
Priority: 1
Application: ExecIf
AppData: 1?Set(__REC_POLICY_MODE=dontcare)
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: __REC_POLICY_MODE
Value: dontcare
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'REC_POLICY_MODE' is 'dontcare'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'ARG2' is '73333333333'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'FROMEXTEN' is '1111111111'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'GosubIf'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [out@sub-record-check:2] GosubIf("SIP/1111111111-0000000c", "0?record,1(exten,73333333333,1111111111)") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: sub-record-check
Extension: out
Priority: 2
Application: GosubIf
AppData: 0?record,1(exten,73333333333,1111111111)
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'Return'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [out@sub-record-check:3] Return("SIP/1111111111-0000000c", "") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: sub-record-check
Extension: out
Priority: 3
Application: Return
AppData: 
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: GOSUB_RETVAL
Value: 
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'EXTEN' is '73333333333'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'Macro'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [73333333333@from-internal:6] Macro("SIP/1111111111-0000000c", "dialout-trunk,4,73333333333,,off") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: from-internal
Extension: 73333333333
Priority: 6
Application: Macro
AppData: dialout-trunk,4,73333333333,,off
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_EXTEN
Value: 73333333333
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_CONTEXT
Value: from-internal
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_PRIORITY
Value: 6
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: ARG1
Value: 4
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: ARG2
Value: 73333333333
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: ARG3
Value: 
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: ARG4
Value: off
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'ARG1' is '4'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'Set'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-dialout-trunk:1] Set("SIP/1111111111-0000000c", "DIAL_TRUNK=4") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-dialout-trunk
Extension: s
Priority: 1
Application: Set
AppData: DIAL_TRUNK=4
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: DIAL_TRUNK
Value: 4
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: Set
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'ARG3' is ''
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'AMPUSER' is '1111111111'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] db.c: Unable to find key '1111111111/pinless' in family 'AMPUSER'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] func_db.c: DB: AMPUSER/1111111111/pinless not found in database.
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function DB(AMPUSER/1111111111/pinless) result is ''
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '1'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'GosubIf'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/1111111111-0000000c", "0?sub-pincheck,s,1()") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-dialout-trunk
Extension: s
Priority: 2
Application: GosubIf
AppData: 0?sub-pincheck,s,1()
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: GosubIf
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Evaluating 'ARG3' (from 'ARG3}" != ""' len 4)
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'ARG3' is ''
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Evaluating 'DB(AMPUSER/${AMPUSER}/pinless)' (from 'DB(AMPUSER/${AMPUSER}/pinless)}" != "NOPASSWD"' len 30)
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Evaluating 'AMPUSER' (from 'AMPUSER}/pinless)' len 7)
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'AMPUSER' is '1111111111'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] db.c: Unable to find key '1111111111/pinless' in family 'AMPUSER'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] func_db.c: DB: AMPUSER/1111111111/pinless not found in database.
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function DB(AMPUSER/1111111111/pinless) result is ''
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '1'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'DIAL_TRUNK' is '4'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'OUTDISABLE_4' is 'off'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'GotoIf'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/1111111111-0000000c", "0?disabletrunk,1") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-dialout-trunk
Extension: s
Priority: 3
Application: GotoIf
AppData: 0?disabletrunk,1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Not taking any branch
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: GotoIf
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'ARG2' is '73333333333'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'Set'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-dialout-trunk:4] Set("SIP/1111111111-0000000c", "DIAL_NUMBER=73333333333") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-dialout-trunk
Extension: s
Priority: 4
Application: Set
AppData: DIAL_NUMBER=73333333333
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: DIAL_NUMBER
Value: 73333333333
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: Set
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'DIAL_OPTIONS' is 'Ttr'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'Set'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-dialout-trunk:5] Set("SIP/1111111111-0000000c", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-dialout-trunk
Extension: s
Priority: 5
Application: Set
AppData: DIAL_TRUNK_OPTIONS=Ttr
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: DIAL_TRUNK_OPTIONS
Value: Ttr
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: Set
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'DIAL_TRUNK' is '4'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'Set'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-dialout-trunk:6] Set("SIP/1111111111-0000000c", "OUTBOUND_GROUP=OUT_4") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-dialout-trunk
Extension: s
Priority: 6
Application: Set
AppData: OUTBOUND_GROUP=OUT_4
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: OUTBOUND_GROUP
Value: OUT_4
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: Set
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'DIAL_TRUNK' is '4'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'OUTMAXCHANS_4' is '10'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'GotoIf'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/1111111111-0000000c", "0?nomax") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-dialout-trunk
Extension: s
Priority: 7
Application: GotoIf
AppData: 0?nomax
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Not taking any branch
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: GotoIf
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'DIAL_TRUNK' is '4'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function GROUP_COUNT(OUT_4) result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'DIAL_TRUNK' is '4'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'OUTMAXCHANS_4' is '10'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'GotoIf'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/1111111111-0000000c", "0?chanfull") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-dialout-trunk
Extension: s
Priority: 8
Application: GotoIf
AppData: 0?chanfull
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Not taking any branch
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: GotoIf
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'INTRACOMPANYROUTE' is NULL
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'GotoIf'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/1111111111-0000000c", "0?skipoutcid") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-dialout-trunk
Extension: s
Priority: 9
Application: GotoIf
AppData: 0?skipoutcid
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Not taking any branch
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: GotoIf
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'DIAL_TRUNK' is '4'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] db.c: Unable to find key '4/dialopts' in family 'TRUNK'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function DB_EXISTS(TRUNK/4/dialopts) result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'DB_RESULT' is 'dontcare'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'TRUNK_OPTIONS' is 'Tt'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function IF(0?dontcare:Tt) result is 'Tt'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'Set'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-dialout-trunk:10] Set("SIP/1111111111-0000000c", "DIAL_TRUNK_OPTIONS=Tt") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-dialout-trunk
Extension: s
Priority: 10
Application: Set
AppData: DIAL_TRUNK_OPTIONS=Tt
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: DIAL_TRUNK_OPTIONS
Value: Tt
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: Set
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'DIAL_TRUNK' is '4'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'Macro'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-dialout-trunk:11] Macro("SIP/1111111111-0000000c", "outbound-callerid,4") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-dialout-trunk
Extension: s
Priority: 11
Application: Macro
AppData: outbound-callerid,4
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_EXTEN
Value: s
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_CONTEXT
Value: macro-dialout-trunk
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_PRIORITY
Value: 11
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 2
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: ARG1
Value: 4
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 2
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'CALLINGPRES_SV' is NULL
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'CALLINGPRES_SV' is NULL
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'ExecIf'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/1111111111-0000000c", "0?Set(CALLERPRES()=)") in new stack
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-outbound-callerid
Extension: s
Priority: 1
Application: ExecIf
AppData: 0?Set(CALLERPRES()=)
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] app_macro.c: Executed application: ExecIf
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Evaluating 'CALLINGPRES_SV' (from 'CALLINGPRES_SV}" != ""' len 14)
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'CALLINGPRES_SV' is NULL
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Evaluating 'CALLINGPRES_SV' (from 'CALLINGPRES_SV})' len 14)
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'CALLINGPRES_SV' is NULL
[2014-09-28 16:53:06] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 2
Uniqueid: 1411894386.12


[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Result of 'REALCALLERIDNUM' is '1111111111'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Function CALLERID(number) result is '1111111111'
[2014-09-28 16:53:06] DEBUG[3397][C-00000006] pbx.c: Launching 'ExecIf'
[2014-09-28 16:53:06] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/1111111111-0000000c", "0?Set(REALCALLERIDNUM=1111111111)") in new stack
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-outbound-callerid
Extension: s
Priority: 2
Application: ExecIf
AppData: 0?Set(REALCALLERIDNUM=1111111111)
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] app_macro.c: Executed application: ExecIf
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'REALCALLERIDNUM:1:2' (from 'REALCALLERIDNUM:1:2}" = ""' len 19)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'REALCALLERIDNUM' is '1111111111'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'CALLERID(number)' (from 'CALLERID(number)})' len 16)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Function CALLERID(number) result is '1111111111'
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 2
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'REALCALLERIDNUM' is '1111111111'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'KEEPCID' is NULL
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Expression result is '1'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'ARG1' is '4'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'OUTKEEPCID_4' is 'off'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Expression result is '1'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Launching 'GotoIf'
[2014-09-28 16:53:07] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/1111111111-0000000c", "1?normcid") in new stack
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-outbound-callerid
Extension: s
Priority: 3
Application: GotoIf
AppData: 1?normcid
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] VERBOSE[3397][C-00000006] pbx.c:     -- Goto (macro-outbound-callerid,s,6)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] app_macro.c: Executed application: GotoIf
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 2
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'AMPUSER' is '1111111111'
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: DB_RESULT
Value: 
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Function DB(AMPUSER/1111111111/outboundcid) result is ''
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Launching 'Set'
[2014-09-28 16:53:07] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-outbound-callerid:6] Set("SIP/1111111111-0000000c", "USEROUTCID=") in new stack
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-outbound-callerid
Extension: s
Priority: 6
Application: Set
AppData: USEROUTCID=
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: USEROUTCID
Value: 
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] app_macro.c: Executed application: Set
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 2
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'REALCALLERIDNUM' is '1111111111'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] db.c: Unable to find key '1111111111/emergency_cid' in family 'DEVICE'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] func_db.c: DB: DEVICE/1111111111/emergency_cid not found in database.
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Function DB(DEVICE/1111111111/emergency_cid) result is ''
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Launching 'Set'
[2014-09-28 16:53:07] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-outbound-callerid:7] Set("SIP/1111111111-0000000c", "EMERGENCYCID=") in new stack
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-outbound-callerid
Extension: s
Priority: 7
Application: Set
AppData: EMERGENCYCID=
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: EMERGENCYCID
Value: 
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] app_macro.c: Executed application: Set
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 2
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'ARG1' is '4'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'OUTCID_4' is 'XXXXXXXXXX'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Launching 'Set'
[2014-09-28 16:53:07] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-outbound-callerid:8] Set("SIP/1111111111-0000000c", "TRUNKOUTCID=XXXXXXXXXX") in new stack
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-outbound-callerid
Extension: s
Priority: 8
Application: Set
AppData: TRUNKOUTCID=XXXXXXXXXX
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: TRUNKOUTCID
Value: XXXXXXXXXX
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] app_macro.c: Executed application: Set
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 2
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'EMERGENCYROUTE' is NULL
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'EMERGENCYCID' is ''
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Expression result is '1'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Launching 'GotoIf'
[2014-09-28 16:53:07] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/1111111111-0000000c", "1?trunkcid") in new stack
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-outbound-callerid
Extension: s
Priority: 9
Application: GotoIf
AppData: 1?trunkcid
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] VERBOSE[3397][C-00000006] pbx.c:     -- Goto (macro-outbound-callerid,s,14)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] app_macro.c: Executed application: GotoIf
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 2
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'TRUNKOUTCID' is 'XXXXXXXXXX'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Function LEN(XXXXXXXXXX) result is '10'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Expression result is '1'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'TRUNKOUTCID' is 'XXXXXXXXXX'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Launching 'ExecIf'
[2014-09-28 16:53:07] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/1111111111-0000000c", "1?Set(CALLERID(all)=XXXXXXXXXX)") in new stack
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-outbound-callerid
Extension: s
Priority: 14
Application: ExecIf
AppData: 1?Set(CALLERID(all)=XXXXXXXXXX)
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: NewCallerid
Privilege: call,all
Channel: SIP/1111111111-0000000c
CallerIDNum: XXXXXXXXXX
CallerIDName: 
Uniqueid: 1411894386.12
CID-CallingPres: 0 (Presentation Allowed, Not Screened)


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] app_macro.c: Executed application: ExecIf
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'LEN(${TRUNKOUTCID})' (from 'LEN(${TRUNKOUTCID})} != 0' len 19)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'TRUNKOUTCID' (from 'TRUNKOUTCID})' len 11)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'TRUNKOUTCID' is 'XXXXXXXXXX'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Function LEN(XXXXXXXXXX) result is '10'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Expression result is '1'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'TRUNKOUTCID' (from 'TRUNKOUTCID})' len 11)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'TRUNKOUTCID' is 'XXXXXXXXXX'
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 2
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'USEROUTCID' is ''
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Function LEN() result is '0'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'USEROUTCID' is ''
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Launching 'ExecIf'
[2014-09-28 16:53:07] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/1111111111-0000000c", "0?Set(CALLERID(all)=)") in new stack
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-outbound-callerid
Extension: s
Priority: 15
Application: ExecIf
AppData: 0?Set(CALLERID(all)=)
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] app_macro.c: Executed application: ExecIf
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'LEN(${USEROUTCID})' (from 'LEN(${USEROUTCID})} != 0' len 18)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'USEROUTCID' (from 'USEROUTCID})' len 10)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'USEROUTCID' is ''
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Function LEN() result is '0'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'USEROUTCID' (from 'USEROUTCID})' len 10)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'USEROUTCID' is ''
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 2
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'TRUNKCIDOVERRIDE' is NULL
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Function LEN() result is '0'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'ARG1' is '4'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'FORCEDOUTCID_4' is ''
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Function LEN() result is '0'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'ARG1' is '4'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'FORCEDOUTCID_4' is ''
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Function LEN() result is '0'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Expression result is '1'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'TRUNKCIDOVERRIDE' is NULL
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'ARG1' is '4'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'FORCEDOUTCID_4' is ''
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Function IF(1?:) result is ''
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Launching 'ExecIf'
[2014-09-28 16:53:07] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/1111111111-0000000c", "0?Set(CALLERID(all)=)") in new stack
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-outbound-callerid
Extension: s
Priority: 16
Application: ExecIf
AppData: 0?Set(CALLERID(all)=)
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] app_macro.c: Executed application: ExecIf
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'LEN(${TRUNKCIDOVERRIDE})' (from 'LEN(${TRUNKCIDOVERRIDE})} != 0 | ${LEN(${FORCEDOUTCID_${ARG1}})} != 0' len 24)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'TRUNKCIDOVERRIDE' (from 'TRUNKCIDOVERRIDE})' len 16)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'TRUNKCIDOVERRIDE' is NULL
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Function LEN() result is '0'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'LEN(${FORCEDOUTCID_${ARG1}})' (from 'LEN(${FORCEDOUTCID_${ARG1}})} != 0' len 28)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'FORCEDOUTCID_${ARG1}' (from 'FORCEDOUTCID_${ARG1}})' len 20)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'ARG1' (from 'ARG1}' len 4)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'ARG1' is '4'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'FORCEDOUTCID_4' is ''
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Function LEN() result is '0'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'IF($[${LEN(${FORCEDOUTCID_${ARG1}})}=0]?${TRUNKCIDOVERRIDE}:${FORCEDOUTCID_${ARG1}})' (from 'IF($[${LEN(${FORCEDOUTCID_${ARG1}})}=0]?${TRUNKCIDOVERRIDE}:${FORCEDOUTCID_${ARG1}})})' len 84)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'LEN(${FORCEDOUTCID_${ARG1}})' (from 'LEN(${FORCEDOUTCID_${ARG1}})}=0' len 28)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'FORCEDOUTCID_${ARG1}' (from 'FORCEDOUTCID_${ARG1}})' len 20)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'ARG1' (from 'ARG1}' len 4)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'ARG1' is '4'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'FORCEDOUTCID_4' is ''
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Function LEN() result is '0'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Expression result is '1'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'TRUNKCIDOVERRIDE' (from 'TRUNKCIDOVERRIDE}:${FORCEDOUTCID_${ARG1}})' len 16)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'TRUNKCIDOVERRIDE' is NULL
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'FORCEDOUTCID_${ARG1}' (from 'FORCEDOUTCID_${ARG1}})' len 20)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'ARG1' (from 'ARG1}' len 4)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'ARG1' is '4'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'FORCEDOUTCID_4' is ''
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Function IF(1?:) result is ''
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 2
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Function CALLERID(name) result is ''
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Launching 'ExecIf'
[2014-09-28 16:53:07] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/1111111111-0000000c", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-outbound-callerid
Extension: s
Priority: 17
Application: ExecIf
AppData: 0?Set(CALLERPRES()=prohib_passed_screen)
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] app_macro.c: Executed application: ExecIf
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'CALLERID(name)' (from 'CALLERID(name)}"="hidden"' len 14)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Function CALLERID(name) result is ''
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 2
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Function CALLERID(num) result is 'XXXXXXXXXX'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Launching 'Set'
[2014-09-28 16:53:07] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-outbound-callerid:18] Set("SIP/1111111111-0000000c", "CDR(outbound_cnum)=XXXXXXXXXX") in new stack
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-outbound-callerid
Extension: s
Priority: 18
Application: Set
AppData: CDR(outbound_cnum)=XXXXXXXXXX
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] app_macro.c: Executed application: Set
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 2
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Function CALLERID(name) result is ''
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Launching 'Set'
[2014-09-28 16:53:07] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-outbound-callerid:19] Set("SIP/1111111111-0000000c", "CDR(outbound_cnam)=") in new stack
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-outbound-callerid
Extension: s
Priority: 19
Application: Set
AppData: CDR(outbound_cnam)=
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] app_macro.c: Executed application: Set
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: ARG1
Value: 4
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_EXTEN
Value: 73333333333
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_CONTEXT
Value: from-internal
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_PRIORITY
Value: 6
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] app_macro.c: Executed application: Macro
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'DIAL_TRUNK' is '4'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'PREFIX_TRUNK_4' is ''
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'DIAL_TRUNK' is '4'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Launching 'GosubIf'
[2014-09-28 16:53:07] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/1111111111-0000000c", "0?sub-flp-4,s,1()") in new stack
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-dialout-trunk
Extension: s
Priority: 12
Application: GosubIf
AppData: 0?sub-flp-4,s,1()
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] app_macro.c: Executed application: GosubIf
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'PREFIX_TRUNK_${DIAL_TRUNK}' (from 'PREFIX_TRUNK_${DIAL_TRUNK}}" != ""' len 26)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'DIAL_TRUNK' (from 'DIAL_TRUNK}' len 10)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'DIAL_TRUNK' is '4'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'PREFIX_TRUNK_4' is ''
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'DIAL_TRUNK' (from 'DIAL_TRUNK},s,1()' len 10)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'DIAL_TRUNK' is '4'
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'DIAL_TRUNK' is '4'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'OUTPREFIX_4' is ''
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'DIAL_NUMBER' is '73333333333'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Launching 'Set'
[2014-09-28 16:53:07] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-dialout-trunk:13] Set("SIP/1111111111-0000000c", "OUTNUM=73333333333") in new stack
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-dialout-trunk
Extension: s
Priority: 13
Application: Set
AppData: OUTNUM=73333333333
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: OUTNUM
Value: 73333333333
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] app_macro.c: Executed application: Set
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'DIAL_TRUNK' is '4'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'OUT_4' (from 'OUT_4}' len 5)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'OUT_4' is 'SIP/sip_out'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Function CUT(OUT_4,:,1) result is 'SIP/sip_out'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Launching 'Set'
[2014-09-28 16:53:07] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-dialout-trunk:14] Set("SIP/1111111111-0000000c", "custom=SIP/sip_out") in new stack
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-dialout-trunk
Extension: s
Priority: 14
Application: Set
AppData: custom=SIP/sip_out
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: custom
Value: SIP/sip_out
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] app_macro.c: Executed application: Set
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'MOHCLASS' is 'default'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'MOHCLASS' is 'default'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'FORCE_CONFIRM' is NULL
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'MOHCLASS' is 'default'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'DIAL_TRUNK_OPTIONS' is 'Tt'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Launching 'ExecIf'
[2014-09-28 16:53:07] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/1111111111-0000000c", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-dialout-trunk
Extension: s
Priority: 15
Application: ExecIf
AppData: 0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] app_macro.c: Executed application: ExecIf
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'MOHCLASS' (from 'MOHCLASS}"!="default" & "${MOHCLASS}"!="" & "${FORCE_CONFIRM}"="" ' len 8)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'MOHCLASS' is 'default'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'MOHCLASS' (from 'MOHCLASS}"!="" & "${FORCE_CONFIRM}"="" ' len 8)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'MOHCLASS' is 'default'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'FORCE_CONFIRM' (from 'FORCE_CONFIRM}"="" ' len 13)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'FORCE_CONFIRM' is NULL
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'MOHCLASS' (from 'MOHCLASS})${DIAL_TRUNK_OPTIONS})' len 8)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'MOHCLASS' is 'default'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'DIAL_TRUNK_OPTIONS' (from 'DIAL_TRUNK_OPTIONS})' len 18)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'DIAL_TRUNK_OPTIONS' is 'Tt'
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'FORCE_CONFIRM' is NULL
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'DIAL_TRUNK_OPTIONS' is 'Tt'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Launching 'ExecIf'
[2014-09-28 16:53:07] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/1111111111-0000000c", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-dialout-trunk
Extension: s
Priority: 16
Application: ExecIf
AppData: 0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] app_macro.c: Executed application: ExecIf
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'FORCE_CONFIRM' (from 'FORCE_CONFIRM}"!="" ' len 13)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'FORCE_CONFIRM' is NULL
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'DIAL_TRUNK_OPTIONS' (from 'DIAL_TRUNK_OPTIONS}M(confirm))' len 18)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'DIAL_TRUNK_OPTIONS' is 'Tt'
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Launching 'Macro'
[2014-09-28 16:53:07] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-dialout-trunk:17] Macro("SIP/1111111111-0000000c", "dialout-trunk-predial-hook,") in new stack
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-dialout-trunk
Extension: s
Priority: 17
Application: Macro
AppData: dialout-trunk-predial-hook,
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_EXTEN
Value: s
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_CONTEXT
Value: macro-dialout-trunk
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_PRIORITY
Value: 17
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 2
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: ARG1
Value: 
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 2
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Launching 'MacroExit'
[2014-09-28 16:53:07] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/1111111111-0000000c", "") in new stack
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-dialout-trunk-predial-hook
Extension: s
Priority: 1
Application: MacroExit
AppData: 
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: ARG1
Value: 4
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_EXTEN
Value: 73333333333
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_CONTEXT
Value: from-internal
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_PRIORITY
Value: 6
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] app_macro.c: Executed application: Macro
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'PREDIAL_HOOK_RET' is NULL
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Launching 'GotoIf'
[2014-09-28 16:53:07] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/1111111111-0000000c", "0?bypass,1") in new stack
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-dialout-trunk
Extension: s
Priority: 18
Application: GotoIf
AppData: 0?bypass,1
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Not taking any branch
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] app_macro.c: Executed application: GotoIf
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'AMPUSER' is '1111111111'
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: DB_RESULT
Value: 1111111111
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Function DB(AMPUSER/1111111111/cidname) result is '1111111111'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Expression result is '1'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'DIAL_NUMBER' is '73333333333'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Launching 'ExecIf'
[2014-09-28 16:53:07] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/1111111111-0000000c", "1?Set(CONNECTEDLINE(num,i)=73333333333)") in new stack
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-dialout-trunk
Extension: s
Priority: 19
Application: ExecIf
AppData: 1?Set(CONNECTEDLINE(num,i)=73333333333)
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] app_macro.c: Executed application: ExecIf
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'DB(AMPUSER/${AMPUSER}/cidname)' (from 'DB(AMPUSER/${AMPUSER}/cidname)}" != ""' len 30)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'AMPUSER' (from 'AMPUSER}/cidname)' len 7)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'AMPUSER' is '1111111111'
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: DB_RESULT
Value: 1111111111
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Function DB(AMPUSER/1111111111/cidname) result is '1111111111'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Expression result is '1'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'DIAL_NUMBER' (from 'DIAL_NUMBER})' len 11)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'DIAL_NUMBER' is '73333333333'
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'AMPUSER' is '1111111111'
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: DB_RESULT
Value: 1111111111
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Function DB(AMPUSER/1111111111/cidname) result is '1111111111'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Expression result is '1'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Function CALLERID(number) result is 'XXXXXXXXXX'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Launching 'ExecIf'
[2014-09-28 16:53:07] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/1111111111-0000000c", "1?Set(CONNECTEDLINE(name,i)=CID:XXXXXXXXXX)") in new stack
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-dialout-trunk
Extension: s
Priority: 20
Application: ExecIf
AppData: 1?Set(CONNECTEDLINE(name,i)=CID:XXXXXXXXXX)
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] app_macro.c: Executed application: ExecIf
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'DB(AMPUSER/${AMPUSER}/cidname)' (from 'DB(AMPUSER/${AMPUSER}/cidname)}" != ""' len 30)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'AMPUSER' (from 'AMPUSER}/cidname)' len 7)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'AMPUSER' is '1111111111'
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: DB_RESULT
Value: 1111111111
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Function DB(AMPUSER/1111111111/cidname) result is '1111111111'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Expression result is '1'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Evaluating 'CALLERID(number)' (from 'CALLERID(number)})' len 16)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Function CALLERID(number) result is 'XXXXXXXXXX'
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'custom' is 'SIP/sip_out'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Expression result is '0'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Launching 'GotoIf'
[2014-09-28 16:53:07] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/1111111111-0000000c", "0?customtrunk") in new stack
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-dialout-trunk
Extension: s
Priority: 21
Application: GotoIf
AppData: 0?customtrunk
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Not taking any branch
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] app_macro.c: Executed application: GotoIf
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 1
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'DIAL_TRUNK' is '4'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'OUT_4' is 'SIP/sip_out'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'OUTNUM' is '73333333333'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'TRUNK_RING_TIMER' is '300'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Result of 'DIAL_TRUNK_OPTIONS' is 'Tt'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] pbx.c: Launching 'Dial'
[2014-09-28 16:53:07] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [s@macro-dialout-trunk:22] Dial("SIP/1111111111-0000000c", "SIP/sip_out/73333333333,300,Tt") in new stack
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: macro-dialout-trunk
Extension: s
Priority: 22
Application: Dial
AppData: SIP/sip_out/73333333333,300,Tt
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: DIALSTATUS
Value: 
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: DIALEDPEERNUMBER
Value: 
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: DIALEDPEERNAME
Value: 
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: ANSWEREDTIME
Value: 
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: DIALEDTIME
Value: 
Uniqueid: 1411894386.12


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] chan_sip.c: Asked to create a SIP channel with formats: (ulaw)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] chan_sip.c: Allocating new SIP dialog for 05cd3ba0428db3ee7643d3bc35eaafca@127.0.0.1:5060 - INVITE (No RTP)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] rtp_engine.c: Using engine 'asterisk' for RTP instance '0xb747c02c'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] res_rtp_asterisk.c: Allocated port 18058 for RTP instance '0xb747c02c'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] netsock2.c: Splitting '192.168.1.33' into...
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] netsock2.c: ...host '192.168.1.33' and port ''.
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] rtp_engine.c: RTP instance '0xb747c02c' is setup and ready to go
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] res_rtp_asterisk.c: Setup RTCP on RTP instance '0xb747c02c'
[2014-09-28 16:53:07] VERBOSE[3397][C-00000006] netsock2.c:   == Using SIP RTP TOS bits 184
[2014-09-28 16:53:07] VERBOSE[3397][C-00000006] netsock2.c:   == Using SIP RTP CoS mark 5
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] chan_sip.c: Setting NAT on RTP to On
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] chan_sip.c: OBPROXY: Not applying OBproxy to this call
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] chan_sip.c: SIP call-id changed from '05cd3ba0428db3ee7643d3bc35eaafca@127.0.0.1:5060' to '05cd3ba0428db3ee7643d3bc35eaafca@sipnet.ru'
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] acl.c: For destination '212.53.40.40', our source address is '192.168.1.33'.
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] chan_sip.c: Setting SIP_TRANSPORT_UDP with address 192.168.1.33:5060
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] chan_sip.c: Setting NAT on RTP to On
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] chan_sip.c: SIP call-id changed from '05cd3ba0428db3ee7643d3bc35eaafca@sipnet.ru' to '50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru'
[2014-09-28 16:53:07] DEBUG[1904] res_odbc.c: odbc_release_obj2(0x91f9f3c) called (obj->txf = (nil))
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: Newchannel
Privilege: call,all
Channel: SIP/sip_out-0000000d
ChannelState: 0
ChannelStateDesc: Down
CallerIDNum: 
CallerIDName: 
AccountCode: 
Exten: 
Context: from-trunk-sip-sip_out
Uniqueid: 1411894387.13


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] chan_sip.c: *** Our native formats are (g729) 
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] chan_sip.c: *** Joint capabilities are (nothing) 
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] chan_sip.c: *** Our capabilities are (alaw|g729) 
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] chan_sip.c: *** AST_CODEC_CHOOSE formats are g729 
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] chan_sip.c: *** Our preferred formats from the incoming channel are (ulaw) 
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] chan_sip.c: This channel will not be able to handle video.
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/sip_out-0000000d
Variable: SIPCALLID
Value: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru
Uniqueid: 1411894387.13


[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: ChannelUpdate
Privilege: system,all
Channel: SIP/sip_out-0000000d
Uniqueid: 1411894387.13
Channeltype: SIP
SIPcallid: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru
SIPfullcontact: 


[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: ChannelUpdate
Privilege: system,all
Channel: SIP/sip_out-0000000d
Channeltype: SIP
SIPcallid: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru
SIPfullcontact: 
Peername: sip_out


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] channel_internal_api.c: Channel Call ID changing from [C-00000006] to [C-00000006]
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/sip_out-0000000d
Variable: DIALEDPEERNUMBER
Value: sip_out/73333333333
Uniqueid: 1411894387.13


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] channel.c: Inheriting variable REC_POLICY_MODE from SIP/1111111111-0000000c to SIP/sip_out-0000000d.
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] channel.c: Inheriting variable CALLFILENAME from SIP/1111111111-0000000c to SIP/sip_out-0000000d.
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] channel.c: Inheriting variable FROMEXTEN from SIP/1111111111-0000000c to SIP/sip_out-0000000d.
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] channel.c: Inheriting variable TIMESTR from SIP/1111111111-0000000c to SIP/sip_out-0000000d.
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] channel.c: Inheriting variable YEAR from SIP/1111111111-0000000c to SIP/sip_out-0000000d.
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] channel.c: Inheriting variable MONTH from SIP/1111111111-0000000c to SIP/sip_out-0000000d.
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] channel.c: Inheriting variable DAY from SIP/1111111111-0000000c to SIP/sip_out-0000000d.
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] channel.c: Inheriting variable REC_STATUS from SIP/1111111111-0000000c to SIP/sip_out-0000000d.
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] channel.c: Inheriting variable MON_FMT from SIP/1111111111-0000000c to SIP/sip_out-0000000d.
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] channel.c: Inheriting variable NODEST from SIP/1111111111-0000000c to SIP/sip_out-0000000d.
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] channel.c: Inheriting variable DIAL_OPTIONS from SIP/1111111111-0000000c to SIP/sip_out-0000000d.
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: NewCallerid
Privilege: call,all
Channel: SIP/sip_out-0000000d
CallerIDNum: 73333333333
CallerIDName: CID:XXXXXXXXXX
Uniqueid: 1411894387.13
CID-CallingPres: 0 (Presentation Allowed, Not Screened)


[2014-09-28 16:53:07] DEBUG[3397][C-00000006] chan_sip.c: Outgoing Call for 73333333333
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] chan_sip.c: Updating call counter for outgoing call
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] chan_sip.c: ** Our capability: (alaw|g729) Video flag: False Text flag: False
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] chan_sip.c: ** Our prefcodec: (ulaw) 
[2014-09-28 16:53:07] VERBOSE[3397][C-00000006] chan_sip.c: Audio is at 18058
[2014-09-28 16:53:07] VERBOSE[3397][C-00000006] chan_sip.c: Adding codec 100008 (g729) to SDP
[2014-09-28 16:53:07] VERBOSE[3397][C-00000006] chan_sip.c: Adding codec 100004 (alaw) to SDP
[2014-09-28 16:53:07] VERBOSE[3397][C-00000006] chan_sip.c: Adding non-codec 0x1 (telephone-event) to SDP
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] chan_sip.c: -- Done with adding codecs to SDP
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] chan_sip.c: Done building SDP. Settling with this capability: (alaw|g729)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] chan_sip.c: Initializing initreq for method INVITE - callid 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] chan_sip.c:  Header  0 [ 40]: INVITE sip:73333333333@sipnet.ru SIP/2.0
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] chan_sip.c:  Header  1 [ 63]: Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK1fd524cf;rport
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] chan_sip.c:  Header  2 [ 16]: Max-Forwards: 70
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] chan_sip.c:  Header  3 [ 47]: From: <sip:XXXXXXXXXX@sipnet.ru>;tag=as46676fe1
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] chan_sip.c:  Header  4 [ 31]: To: <sip:73333333333@sipnet.ru>
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] chan_sip.c:  Header  5 [ 43]: Contact: <sip:XXXXXXXXXX@192.168.1.33:5060>
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] chan_sip.c:  Header  6 [ 51]: Call-ID: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] chan_sip.c:  Header  7 [ 16]: CSeq: 102 INVITE
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] chan_sip.c:  Header  8 [ 32]: User-Agent: FPBX-2.11.0(11.12.1)
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] chan_sip.c:  Header  9 [ 35]: Date: Sun, 28 Sep 2014 08:53:07 GMT
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] chan_sip.c:  Header 10 [ 90]: Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] chan_sip.c:  Header 11 [ 26]: Supported: replaces, timer
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] chan_sip.c:  Header 12 [ 29]: Content-Type: application/sdp
[2014-09-28 16:53:07] VERBOSE[3397][C-00000006] chan_sip.c: Reliably Transmitting (NAT) to 212.53.40.40:5060:
INVITE sip:73333333333@sipnet.ru SIP/2.0
Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK1fd524cf;rport
Max-Forwards: 70
From: <sip:XXXXXXXXXX@sipnet.ru>;tag=as46676fe1
To: <sip:73333333333@sipnet.ru>
Contact: <sip:XXXXXXXXXX@192.168.1.33:5060>
Call-ID: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru
CSeq: 102 INVITE
User-Agent: FPBX-2.11.0(11.12.1)
Date: Sun, 28 Sep 2014 08:53:07 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 283

v=0
o=root 1137609858 1137609858 IN IP4 192.168.1.33
s=Asterisk PBX 11.12.1
c=IN IP4 192.168.1.33
t=0 0
m=audio 18058 RTP/AVP 18 8 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv

---
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] chan_sip.c: *** SIP TIMER: Initializing retransmit timer on packet: Id  #264
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] chan_sip.c: Trying to put 'INVITE sip:' onto UDP socket destined for 212.53.40.40:5060
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Examining event:
Event: Dial
Privilege: call,all
SubEvent: Begin
Channel: SIP/1111111111-0000000c
Destination: SIP/sip_out-0000000d
CallerIDNum: XXXXXXXXXX
CallerIDName: <unknown>
ConnectedLineNum: 73333333333
ConnectedLineName: CID:XXXXXXXXXX
UniqueID: 1411894386.12
DestUniqueID: 1411894387.13
Dialstring: sip_out/73333333333


[2014-09-28 16:53:07] VERBOSE[3397][C-00000006] app_dial.c:     -- Called SIP/sip_out/73333333333
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] channel.c: Set channel SIP/sip_out-0000000d to read format slin
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] channel.c: Set channel SIP/1111111111-0000000c to write format slin
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] channel.c: Set channel SIP/1111111111-0000000c to read format slin
[2014-09-28 16:53:07] DEBUG[3397][C-00000006] channel.c: Set channel SIP/sip_out-0000000d to write format slin
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Running action 'Command'
[2014-09-28 16:53:07] DEBUG[1932] chan_sip.c: SIP TIMER: Rescheduling retransmission #264 (1) INVITE - 5
[2014-09-28 16:53:07] DEBUG[1932] chan_sip.c: ** SIP timers: Rescheduling retransmission 2 to 1000 ms (t1 500 ms (Retrans id #264)) 
[2014-09-28 16:53:07] VERBOSE[1932] chan_sip.c: Retransmitting #1 (NAT) to 212.53.40.40:5060:
INVITE sip:73333333333@sipnet.ru SIP/2.0
Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK1fd524cf;rport
Max-Forwards: 70
From: <sip:XXXXXXXXXX@sipnet.ru>;tag=as46676fe1
To: <sip:73333333333@sipnet.ru>
Contact: <sip:XXXXXXXXXX@192.168.1.33:5060>
Call-ID: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru
CSeq: 102 INVITE
User-Agent: FPBX-2.11.0(11.12.1)
Date: Sun, 28 Sep 2014 08:53:07 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 283

v=0
o=root 1137609858 1137609858 IN IP4 192.168.1.33
s=Asterisk PBX 11.12.1
c=IN IP4 192.168.1.33
t=0 0
m=audio 18058 RTP/AVP 18 8 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv

---
[2014-09-28 16:53:07] DEBUG[1932] chan_sip.c: Trying to put 'INVITE sip:' onto UDP socket destined for 212.53.40.40:5060
[2014-09-28 16:53:07] DEBUG[2323] manager.c: Running action 'Command'
[2014-09-28 16:53:07] VERBOSE[1932] chan_sip.c: 
<--- SIP read from UDP:212.53.40.40:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK1fd524cf;rport=37696
From: <sip:XXXXXXXXXX@sipnet.ru>;tag=as46676fe1
To: <sip:73333333333@sipnet.ru>
Call-ID: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru
CSeq: 102 INVITE
Server: CommuniGatePro/6.0.10k
Content-Length: 0

<------------->
[2014-09-28 16:53:07] DEBUG[1932] chan_sip.c:  Header  0 [ 18]: SIP/2.0 100 Trying
[2014-09-28 16:53:07] DEBUG[1932] chan_sip.c:  Header  1 [ 69]: Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK1fd524cf;rport=37696
[2014-09-28 16:53:07] DEBUG[1932] chan_sip.c:  Header  2 [ 47]: From: <sip:XXXXXXXXXX@sipnet.ru>;tag=as46676fe1
[2014-09-28 16:53:07] DEBUG[1932] chan_sip.c:  Header  3 [ 31]: To: <sip:73333333333@sipnet.ru>
[2014-09-28 16:53:07] DEBUG[1932] chan_sip.c:  Header  4 [ 51]: Call-ID: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru
[2014-09-28 16:53:07] DEBUG[1932] chan_sip.c:  Header  5 [ 16]: CSeq: 102 INVITE
[2014-09-28 16:53:07] DEBUG[1932] chan_sip.c:  Header  6 [ 30]: Server: CommuniGatePro/6.0.10k
[2014-09-28 16:53:07] DEBUG[1932] chan_sip.c:  Header  7 [ 17]: Content-Length: 0
[2014-09-28 16:53:07] VERBOSE[1932] chan_sip.c: --- (8 headers 0 lines) ---
[2014-09-28 16:53:07] DEBUG[1932] chan_sip.c: = Looking for  Call ID: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru (Checking To) --From tag as46676fe1 --To-tag   
[2014-09-28 16:53:07] DEBUG[1932][C-00000006] chan_sip.c: *** SIP TIMER: Cancelling retransmission #264 - INVITE (got response)
[2014-09-28 16:53:07] DEBUG[1932][C-00000006] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru' Request 102: Found
[2014-09-28 16:53:07] DEBUG[1932][C-00000006] chan_sip.c: SIP response 100 to standard invite
[2014-09-28 16:53:07] VERBOSE[1932] chan_sip.c: 
<--- SIP read from UDP:212.53.40.40:5060 --->
SIP/2.0 401 Authentication required
Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK1fd524cf;rport=37696
From: <sip:XXXXXXXXXX@sipnet.ru>;tag=as46676fe1
To: <sip:73333333333@sipnet.ru>;tag=538888AB
Call-ID: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru
CSeq: 102 INVITE
WWW-Authenticate: Digest realm="etc.tario.ru",nonce="65C3136D36FB9C9CEF03",opaque="opaq",qop="auth",algorithm=MD5
Server: CommuniGatePro/6.0.10k
Content-Length: 0

<------------->
[2014-09-28 16:53:07] DEBUG[1932] chan_sip.c:  Header  0 [ 35]: SIP/2.0 401 Authentication required
[2014-09-28 16:53:07] DEBUG[1932] chan_sip.c:  Header  1 [ 69]: Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK1fd524cf;rport=37696
[2014-09-28 16:53:07] DEBUG[1932] chan_sip.c:  Header  2 [ 47]: From: <sip:XXXXXXXXXX@sipnet.ru>;tag=as46676fe1
[2014-09-28 16:53:07] DEBUG[1932] chan_sip.c:  Header  3 [ 44]: To: <sip:73333333333@sipnet.ru>;tag=538888AB
[2014-09-28 16:53:07] DEBUG[1932] chan_sip.c:  Header  4 [ 51]: Call-ID: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru
[2014-09-28 16:53:07] DEBUG[1932] chan_sip.c:  Header  5 [ 16]: CSeq: 102 INVITE
[2014-09-28 16:53:07] DEBUG[1932] chan_sip.c:  Header  6 [113]: WWW-Authenticate: Digest realm="etc.tario.ru",nonce="65C3136D36FB9C9CEF03",opaque="opaq",qop="auth",algorithm=MD5
[2014-09-28 16:53:07] DEBUG[1932] chan_sip.c:  Header  7 [ 30]: Server: CommuniGatePro/6.0.10k
[2014-09-28 16:53:07] DEBUG[1932] chan_sip.c:  Header  8 [ 17]: Content-Length: 0
[2014-09-28 16:53:07] VERBOSE[1932] chan_sip.c: --- (9 headers 0 lines) ---
[2014-09-28 16:53:07] DEBUG[1932] chan_sip.c: = Looking for  Call ID: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru (Checking To) --From tag as46676fe1 --To-tag 538888AB  
[2014-09-28 16:53:07] DEBUG[1932][C-00000006] chan_sip.c: Acked pending invite 102
[2014-09-28 16:53:07] DEBUG[1932][C-00000006] chan_sip.c: Stopping retransmission on '50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru' of Request 102: Match Found
[2014-09-28 16:53:07] DEBUG[1932][C-00000006] chan_sip.c: SIP response 401 to standard invite
[2014-09-28 16:53:07] VERBOSE[1932][C-00000006] chan_sip.c: Transmitting (NAT) to 212.53.40.40:5060:
ACK sip:73333333333@sipnet.ru SIP/2.0
Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK1fd524cf;rport
Max-Forwards: 70
From: <sip:XXXXXXXXXX@sipnet.ru>;tag=as46676fe1
To: <sip:73333333333@sipnet.ru>;tag=538888AB
Contact: <sip:XXXXXXXXXX@192.168.1.33:5060>
Call-ID: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru
CSeq: 102 ACK
User-Agent: FPBX-2.11.0(11.12.1)
Content-Length: 0


---
[2014-09-28 16:53:07] DEBUG[1932][C-00000006] chan_sip.c: Trying to put 'ACK sip:739' onto UDP socket destined for 212.53.40.40:5060
[2014-09-28 16:53:07] DEBUG[1932][C-00000006] chan_sip.c: Auth attempt 1 on INVITE
[2014-09-28 16:53:07] DEBUG[1932][C-00000006] chan_sip.c: ** Our capability: (alaw|g729) Video flag: False Text flag: False
[2014-09-28 16:53:07] DEBUG[1932][C-00000006] chan_sip.c: ** Our prefcodec: (ulaw) 
[2014-09-28 16:53:07] VERBOSE[1932][C-00000006] chan_sip.c: Audio is at 18058
[2014-09-28 16:53:07] VERBOSE[1932][C-00000006] chan_sip.c: Adding codec 100008 (g729) to SDP
[2014-09-28 16:53:07] VERBOSE[1932][C-00000006] chan_sip.c: Adding codec 100004 (alaw) to SDP
[2014-09-28 16:53:07] VERBOSE[1932][C-00000006] chan_sip.c: Adding non-codec 0x1 (telephone-event) to SDP
[2014-09-28 16:53:07] DEBUG[1932][C-00000006] chan_sip.c: -- Done with adding codecs to SDP
[2014-09-28 16:53:07] DEBUG[1932][C-00000006] chan_sip.c: Done building SDP. Settling with this capability: (alaw|g729)
[2014-09-28 16:53:07] VERBOSE[1932][C-00000006] chan_sip.c: Reliably Transmitting (NAT) to 212.53.40.40:5060:
INVITE sip:73333333333@sipnet.ru SIP/2.0
Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK69996b3b;rport
Max-Forwards: 70
From: <sip:XXXXXXXXXX@sipnet.ru>;tag=as46676fe1
To: <sip:73333333333@sipnet.ru>
Contact: <sip:XXXXXXXXXX@192.168.1.33:5060>
Call-ID: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru
CSeq: 103 INVITE
User-Agent: FPBX-2.11.0(11.12.1)
Authorization: Digest username="x_x_xxx_xxx", realm="etc.tario.ru", algorithm=MD5, uri="sip:73333333333@sipnet.ru", nonce="65C3136D36FB9C9CEF03", response="36e4138720ed9eca1ff1860cccd6b05f", opaque="opaq", qop=auth, cnonce="3dc697fe", nc=00000001
Date: Sun, 28 Sep 2014 08:53:07 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 283

v=0
o=root 1137609858 1137609859 IN IP4 192.168.1.33
s=Asterisk PBX 11.12.1
c=IN IP4 192.168.1.33
t=0 0
m=audio 18058 RTP/AVP 18 8 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv

---
[2014-09-28 16:53:07] DEBUG[1932][C-00000006] chan_sip.c: *** SIP TIMER: Initializing retransmit timer on packet: Id  #266
[2014-09-28 16:53:07] DEBUG[1932][C-00000006] chan_sip.c: Trying to put 'INVITE sip:' onto UDP socket destined for 212.53.40.40:5060
[2014-09-28 16:53:08] VERBOSE[1932] chan_sip.c: 
<--- SIP read from UDP:212.53.40.40:5060 --->
SIP/2.0 401 Authentication required
Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK1fd524cf;rport=37696
From: <sip:XXXXXXXXXX@sipnet.ru>;tag=as46676fe1
To: <sip:73333333333@sipnet.ru>;tag=538888AB
Call-ID: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru
CSeq: 102 INVITE
WWW-Authenticate: Digest realm="etc.tario.ru",nonce="65C3136D36FB9C9CEF03",opaque="opaq",qop="auth",algorithm=MD5
Server: CommuniGatePro/6.0.10k
Content-Length: 0

<------------->
[2014-09-28 16:53:08] DEBUG[1932] chan_sip.c:  Header  0 [ 35]: SIP/2.0 401 Authentication required
[2014-09-28 16:53:08] DEBUG[1932] chan_sip.c:  Header  1 [ 69]: Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK1fd524cf;rport=37696
[2014-09-28 16:53:08] DEBUG[1932] chan_sip.c:  Header  2 [ 47]: From: <sip:XXXXXXXXXX@sipnet.ru>;tag=as46676fe1
[2014-09-28 16:53:08] DEBUG[1932] chan_sip.c:  Header  3 [ 44]: To: <sip:73333333333@sipnet.ru>;tag=538888AB
[2014-09-28 16:53:08] DEBUG[1932] chan_sip.c:  Header  4 [ 51]: Call-ID: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru
[2014-09-28 16:53:08] DEBUG[1932] chan_sip.c:  Header  5 [ 16]: CSeq: 102 INVITE
[2014-09-28 16:53:08] DEBUG[1932] chan_sip.c:  Header  6 [113]: WWW-Authenticate: Digest realm="etc.tario.ru",nonce="65C3136D36FB9C9CEF03",opaque="opaq",qop="auth",algorithm=MD5
[2014-09-28 16:53:08] DEBUG[1932] chan_sip.c:  Header  7 [ 30]: Server: CommuniGatePro/6.0.10k
[2014-09-28 16:53:08] DEBUG[1932] chan_sip.c:  Header  8 [ 17]: Content-Length: 0
[2014-09-28 16:53:08] VERBOSE[1932] chan_sip.c: --- (9 headers 0 lines) ---
[2014-09-28 16:53:08] DEBUG[1932] chan_sip.c: = Looking for  Call ID: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru (Checking To) --From tag as46676fe1 --To-tag 538888AB  
[2014-09-28 16:53:08] DEBUG[1932][C-00000006] chan_sip.c: Stopping retransmission on '50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru' of Request 102: Match Not Found
[2014-09-28 16:53:08] VERBOSE[1932][C-00000006] chan_sip.c: Transmitting (NAT) to 212.53.40.40:5060:
ACK sip:73333333333@sipnet.ru SIP/2.0
Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK69996b3b;rport
Max-Forwards: 70
From: <sip:XXXXXXXXXX@sipnet.ru>;tag=as46676fe1
To: <sip:73333333333@sipnet.ru>
Contact: <sip:XXXXXXXXXX@192.168.1.33:5060>
Call-ID: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru
CSeq: 102 ACK
User-Agent: FPBX-2.11.0(11.12.1)
Content-Length: 0


---
[2014-09-28 16:53:08] DEBUG[1932][C-00000006] chan_sip.c: Trying to put 'ACK sip:739' onto UDP socket destined for 212.53.40.40:5060
[2014-09-28 16:53:08] DEBUG[1932] chan_sip.c: SIP TIMER: Rescheduling retransmission #266 (1) INVITE - 5
[2014-09-28 16:53:08] DEBUG[1932] chan_sip.c: ** SIP timers: Rescheduling retransmission 2 to 1000 ms (t1 500 ms (Retrans id #266)) 
[2014-09-28 16:53:08] VERBOSE[1932] chan_sip.c: Retransmitting #1 (NAT) to 212.53.40.40:5060:
INVITE sip:73333333333@sipnet.ru SIP/2.0
Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK69996b3b;rport
Max-Forwards: 70
From: <sip:XXXXXXXXXX@sipnet.ru>;tag=as46676fe1
To: <sip:73333333333@sipnet.ru>
Contact: <sip:XXXXXXXXXX@192.168.1.33:5060>
Call-ID: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru
CSeq: 103 INVITE
User-Agent: FPBX-2.11.0(11.12.1)
Authorization: Digest username="x_x_xxx_xxx", realm="etc.tario.ru", algorithm=MD5, uri="sip:73333333333@sipnet.ru", nonce="65C3136D36FB9C9CEF03", response="36e4138720ed9eca1ff1860cccd6b05f", opaque="opaq", qop=auth, cnonce="3dc697fe", nc=00000001
Date: Sun, 28 Sep 2014 08:53:07 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 283

v=0
o=root 1137609858 1137609859 IN IP4 192.168.1.33
s=Asterisk PBX 11.12.1
c=IN IP4 192.168.1.33
t=0 0
m=audio 18058 RTP/AVP 18 8 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv

---
[2014-09-28 16:53:08] DEBUG[1932] chan_sip.c: Trying to put 'INVITE sip:' onto UDP socket destined for 212.53.40.40:5060
[2014-09-28 16:53:08] VERBOSE[1932] chan_sip.c: 
<--- SIP read from UDP:212.53.40.40:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK69996b3b;rport=37696
From: <sip:XXXXXXXXXX@sipnet.ru>;tag=as46676fe1
To: <sip:73333333333@sipnet.ru>
Call-ID: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru
CSeq: 103 INVITE
Server: CommuniGatePro/6.0.10k
Content-Length: 0

<------------->
[2014-09-28 16:53:08] DEBUG[1932] chan_sip.c:  Header  0 [ 18]: SIP/2.0 100 Trying
[2014-09-28 16:53:08] DEBUG[1932] chan_sip.c:  Header  1 [ 69]: Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK69996b3b;rport=37696
[2014-09-28 16:53:08] DEBUG[1932] chan_sip.c:  Header  2 [ 47]: From: <sip:XXXXXXXXXX@sipnet.ru>;tag=as46676fe1
[2014-09-28 16:53:08] DEBUG[1932] chan_sip.c:  Header  3 [ 31]: To: <sip:73333333333@sipnet.ru>
[2014-09-28 16:53:08] DEBUG[1932] chan_sip.c:  Header  4 [ 51]: Call-ID: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru
[2014-09-28 16:53:08] DEBUG[1932] chan_sip.c:  Header  5 [ 16]: CSeq: 103 INVITE
[2014-09-28 16:53:08] DEBUG[1932] chan_sip.c:  Header  6 [ 30]: Server: CommuniGatePro/6.0.10k
[2014-09-28 16:53:08] DEBUG[1932] chan_sip.c:  Header  7 [ 17]: Content-Length: 0
[2014-09-28 16:53:08] VERBOSE[1932] chan_sip.c: --- (8 headers 0 lines) ---
[2014-09-28 16:53:08] DEBUG[1932] chan_sip.c: = Looking for  Call ID: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru (Checking To) --From tag as46676fe1 --To-tag   
[2014-09-28 16:53:08] DEBUG[1932][C-00000006] chan_sip.c: *** SIP TIMER: Cancelling retransmission #266 - INVITE (got response)
[2014-09-28 16:53:08] DEBUG[1932][C-00000006] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru' Request 103: Found
[2014-09-28 16:53:08] DEBUG[1932][C-00000006] chan_sip.c: SIP response 100 to standard invite
[2014-09-28 16:53:09] VERBOSE[1932] chan_sip.c: 
<--- SIP read from UDP:212.53.40.40:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK69996b3b;rport=37696
From: <sip:XXXXXXXXXX@sipnet.ru>;tag=as46676fe1
To: <sip:73333333333@sipnet.ru>
Call-ID: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru
CSeq: 103 INVITE
Server: CommuniGatePro/6.0.10k
Content-Length: 0

<------------->
[2014-09-28 16:53:09] DEBUG[1932] chan_sip.c:  Header  0 [ 18]: SIP/2.0 100 Trying
[2014-09-28 16:53:09] DEBUG[1932] chan_sip.c:  Header  1 [ 69]: Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK69996b3b;rport=37696
[2014-09-28 16:53:09] DEBUG[1932] chan_sip.c:  Header  2 [ 47]: From: <sip:XXXXXXXXXX@sipnet.ru>;tag=as46676fe1
[2014-09-28 16:53:09] DEBUG[1932] chan_sip.c:  Header  3 [ 31]: To: <sip:73333333333@sipnet.ru>
[2014-09-28 16:53:09] DEBUG[1932] chan_sip.c:  Header  4 [ 51]: Call-ID: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru
[2014-09-28 16:53:09] DEBUG[1932] chan_sip.c:  Header  5 [ 16]: CSeq: 103 INVITE
[2014-09-28 16:53:09] DEBUG[1932] chan_sip.c:  Header  6 [ 30]: Server: CommuniGatePro/6.0.10k
[2014-09-28 16:53:09] DEBUG[1932] chan_sip.c:  Header  7 [ 17]: Content-Length: 0
[2014-09-28 16:53:09] VERBOSE[1932] chan_sip.c: --- (8 headers 0 lines) ---
[2014-09-28 16:53:09] DEBUG[1932] chan_sip.c: = Looking for  Call ID: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru (Checking To) --From tag as46676fe1 --To-tag   
[2014-09-28 16:53:09] DEBUG[1932][C-00000006] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru' Request 103: Found
[2014-09-28 16:53:09] DEBUG[1932][C-00000006] chan_sip.c: SIP response 100 to standard invite
[2014-09-28 16:53:10] VERBOSE[1932] chan_sip.c: 
<--- SIP read from UDP:212.53.40.40:5060 --->
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK69996b3b;rport=37696
Record-Route: <sip:425839-192.168.40.75.dialog.cgatepro;lr>
Record-Route: <sip:192.168.40.75:5060;lr>
Record-Route: <sip:212.53.40.40:5060;lr>
From: <sip:XXXXXXXXXX@sipnet.ru>;tag=as46676fe1
To: <sip:73333333333@sipnet.ru>;tag=FFF7E08D-781180-D5673946_kmbdctn-EF93
Call-ID: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru
CSeq: 103 INVITE
Contact: <sip:signode-781180-D5673946_kmbdctn-EF93@212.53.40.40:5060>
Supported: 100rel,timer,replaces,histinfo,precondition
User-Agent: CommuniGatePro-callLeg/6.0.10k
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,INFO,MESSAGE,SUBSCRIBE,NOTIFY,PRACK,UPDATE,REFER
Content-Length: 0

<------------->
[2014-09-28 16:53:10] DEBUG[1932] chan_sip.c:  Header  0 [ 19]: SIP/2.0 180 Ringing
[2014-09-28 16:53:10] DEBUG[1932] chan_sip.c:  Header  1 [ 69]: Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK69996b3b;rport=37696
[2014-09-28 16:53:10] DEBUG[1932] chan_sip.c:  Header  2 [ 59]: Record-Route: <sip:425839-192.168.40.75.dialog.cgatepro;lr>
[2014-09-28 16:53:10] DEBUG[1932] chan_sip.c:  Header  3 [ 41]: Record-Route: <sip:192.168.40.75:5060;lr>
[2014-09-28 16:53:10] DEBUG[1932] chan_sip.c:  Header  4 [ 40]: Record-Route: <sip:212.53.40.40:5060;lr>
[2014-09-28 16:53:10] DEBUG[1932] chan_sip.c:  Header  5 [ 47]: From: <sip:XXXXXXXXXX@sipnet.ru>;tag=as46676fe1
[2014-09-28 16:53:10] DEBUG[1932] chan_sip.c:  Header  6 [ 73]: To: <sip:73333333333@sipnet.ru>;tag=FFF7E08D-781180-D5673946_kmbdctn-EF93
[2014-09-28 16:53:10] DEBUG[1932] chan_sip.c:  Header  7 [ 51]: Call-ID: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru
[2014-09-28 16:53:10] DEBUG[1932] chan_sip.c:  Header  8 [ 16]: CSeq: 103 INVITE
[2014-09-28 16:53:10] DEBUG[1932] chan_sip.c:  Header  9 [ 69]: Contact: <sip:signode-781180-D5673946_kmbdctn-EF93@212.53.40.40:5060>
[2014-09-28 16:53:10] DEBUG[1932] chan_sip.c:  Header 10 [ 54]: Supported: 100rel,timer,replaces,histinfo,precondition
[2014-09-28 16:53:10] DEBUG[1932] chan_sip.c:  Header 11 [ 42]: User-Agent: CommuniGatePro-callLeg/6.0.10k
[2014-09-28 16:53:10] DEBUG[1932] chan_sip.c:  Header 12 [ 85]: Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,INFO,MESSAGE,SUBSCRIBE,NOTIFY,PRACK,UPDATE,REFER
[2014-09-28 16:53:10] DEBUG[1932] chan_sip.c:  Header 13 [ 17]: Content-Length: 0
[2014-09-28 16:53:10] VERBOSE[1932] chan_sip.c: --- (14 headers 0 lines) ---
[2014-09-28 16:53:10] DEBUG[1932] chan_sip.c: = Looking for  Call ID: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru (Checking To) --From tag as46676fe1 --To-tag FFF7E08D-781180-D5673946_kmbdctn-EF93  
[2014-09-28 16:53:10] DEBUG[1932][C-00000006] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru' Request 103: Found
[2014-09-28 16:53:10] DEBUG[1932][C-00000006] chan_sip.c: SIP response 180 to standard invite
[2014-09-28 16:53:10] DEBUG[1932][C-00000006] chan_sip.c: build_route: Record-Route hop: <sip:425839-192.168.40.75.dialog.cgatepro;lr>
[2014-09-28 16:53:10] DEBUG[1932][C-00000006] chan_sip.c: build_route: Record-Route hop: <sip:192.168.40.75:5060;lr>
[2014-09-28 16:53:10] DEBUG[1932][C-00000006] chan_sip.c: build_route: Record-Route hop: <sip:212.53.40.40:5060;lr>
[2014-09-28 16:53:10] VERBOSE[1932][C-00000006] chan_sip.c: list_route: hop: <sip:212.53.40.40:5060;lr>
[2014-09-28 16:53:10] VERBOSE[1932][C-00000006] chan_sip.c: list_route: hop: <sip:192.168.40.75:5060;lr>
[2014-09-28 16:53:10] VERBOSE[1932][C-00000006] chan_sip.c: list_route: hop: <sip:425839-192.168.40.75.dialog.cgatepro;lr>
[2014-09-28 16:53:10] DEBUG[1915] devicestate.c: No provider found, checking channel drivers for SIP - sip_out
[2014-09-28 16:53:10] DEBUG[1915] chan_sip.c: Checking device state for peer sip_out
[2014-09-28 16:53:10] DEBUG[1915] devicestate.c: Changing state for SIP/sip_out - state 1 (Not in use)
[2014-09-28 16:53:10] DEBUG[1915] devicestate.c: device 'SIP/sip_out' state '1'
[2014-09-28 16:53:10] DEBUG[2323] manager.c: Examining event:
Event: Newstate
Privilege: call,all
Channel: SIP/sip_out-0000000d
ChannelState: 5
ChannelStateDesc: Ringing
CallerIDNum: 73333333333
CallerIDName: CID:XXXXXXXXXX
ConnectedLineNum: XXXXXXXXXX
ConnectedLineName: 
Uniqueid: 1411894387.13


[2014-09-28 16:53:10] DEBUG[1998] app_queue.c: Device 'SIP/sip_out' changed to state '1' (Not in use) but we don't care because they're not a member of any queue.
[2014-09-28 16:53:10] VERBOSE[3397][C-00000006] app_dial.c:     -- SIP/sip_out-0000000d is ringing
[2014-09-28 16:53:10] DEBUG[3397][C-00000006] rtp_engine.c: Setting early bridge SDP of 'SIP/1111111111-0000000c' with that of 'SIP/sip_out-0000000d'
[2014-09-28 16:53:10] VERBOSE[3397][C-00000006] chan_sip.c: 
<--- Transmitting (NAT) to 192.168.1.41:5060 --->
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.1.41:5060;branch=z9hG4bK-d8754z-1bd713afe8a7c977-1---d8754z-;received=192.168.1.41;rport=5060
From: <sip:1111111111@192.168.1.33;transport=UDP>;tag=c83d9f10
To: <sip:73333333333@192.168.1.33;transport=UDP>;tag=as24af5f4d
Call-ID: MjcwNTViZWRlOTI5NGEzYTAxYTM4YTRmY2Y2OWNkMjc.
CSeq: 2 INVITE
Server: FPBX-2.11.0(11.12.1)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Contact: <sip:73333333333@192.168.1.33:5060>
Content-Length: 0


<------------>
[2014-09-28 16:53:10] DEBUG[3397][C-00000006] chan_sip.c: Trying to put 'SIP/2.0 180' onto UDP socket destined for 192.168.1.41:5060
[2014-09-28 16:53:15] VERBOSE[1932] chan_sip.c: 
<--- SIP read from UDP:192.168.1.41:5060 --->
CANCEL sip:73333333333@192.168.1.33;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 192.168.1.41:5060;branch=z9hG4bK-d8754z-1bd713afe8a7c977-1---d8754z-
Max-Forwards: 70
To: <sip:73333333333@192.168.1.33;transport=UDP>
From: <sip:1111111111@192.168.1.33;transport=UDP>;tag=c83d9f10
Call-ID: MjcwNTViZWRlOTI5NGEzYTAxYTM4YTRmY2Y2OWNkMjc.
CSeq: 2 CANCEL
User-Agent: Zoiper for Windows 2.39 r16838
Authorization: Digest username="1111111111",realm="asterisk",nonce="049452f8",uri="sip:73333333333@192.168.1.33;transport=UDP",response="9cecb26cc940090394d859f8d7871201",algorithm=MD5
Content-Length: 0

<------------->
[2014-09-28 16:53:15] DEBUG[1932] chan_sip.c:  Header  0 [ 57]: CANCEL sip:73333333333@192.168.1.33;transport=UDP SIP/2.0
[2014-09-28 16:53:15] DEBUG[1932] chan_sip.c:  Header  1 [ 85]: Via: SIP/2.0/UDP 192.168.1.41:5060;branch=z9hG4bK-d8754z-1bd713afe8a7c977-1---d8754z-
[2014-09-28 16:53:15] DEBUG[1932] chan_sip.c:  Header  2 [ 16]: Max-Forwards: 70
[2014-09-28 16:53:15] DEBUG[1932] chan_sip.c:  Header  3 [ 48]: To: <sip:73333333333@192.168.1.33;transport=UDP>
[2014-09-28 16:53:15] DEBUG[1932] chan_sip.c:  Header  4 [ 62]: From: <sip:1111111111@192.168.1.33;transport=UDP>;tag=c83d9f10
[2014-09-28 16:53:15] DEBUG[1932] chan_sip.c:  Header  5 [ 53]: Call-ID: MjcwNTViZWRlOTI5NGEzYTAxYTM4YTRmY2Y2OWNkMjc.
[2014-09-28 16:53:15] DEBUG[1932] chan_sip.c:  Header  6 [ 14]: CSeq: 2 CANCEL
[2014-09-28 16:53:15] DEBUG[1932] chan_sip.c:  Header  7 [ 42]: User-Agent: Zoiper for Windows 2.39 r16838
[2014-09-28 16:53:15] DEBUG[1932] chan_sip.c:  Header  8 [184]: Authorization: Digest username="1111111111",realm="asterisk",nonce="049452f8",uri="sip:73333333333@192.168.1.33;transport=UDP",response="9cecb26cc940090394d859f8d7871201",algorithm=MD5
[2014-09-28 16:53:15] DEBUG[1932] chan_sip.c:  Header  9 [ 17]: Content-Length: 0
[2014-09-28 16:53:15] VERBOSE[1932] chan_sip.c: --- (10 headers 0 lines) ---
[2014-09-28 16:53:15] DEBUG[1932] chan_sip.c: = Looking for  Call ID: MjcwNTViZWRlOTI5NGEzYTAxYTM4YTRmY2Y2OWNkMjc. (Checking From) --From tag c83d9f10 --To-tag   
[2014-09-28 16:53:15] DEBUG[1932] netsock2.c: Splitting '192.168.1.33' into...
[2014-09-28 16:53:15] DEBUG[1932] netsock2.c: ...host '192.168.1.33' and port ''.
[2014-09-28 16:53:15] DEBUG[1932] netsock2.c: Splitting '192.168.1.33' into...
[2014-09-28 16:53:15] DEBUG[1932] netsock2.c: ...host '192.168.1.33' and port ''.
[2014-09-28 16:53:15] DEBUG[1932][C-00000006] chan_sip.c: **** Received CANCEL (14) - Command in SIP CANCEL
[2014-09-28 16:53:15] DEBUG[1932][C-00000006] netsock2.c: Splitting '192.168.1.41:5060' into...
[2014-09-28 16:53:15] DEBUG[1932][C-00000006] netsock2.c: ...host '192.168.1.41' and port '5060'.
[2014-09-28 16:53:15] VERBOSE[1932][C-00000006] chan_sip.c: Sending to 192.168.1.41:5060 (NAT)
[2014-09-28 16:53:15] DEBUG[1932][C-00000006] chan_sip.c: Setting SIP_ALREADYGONE on dialog MjcwNTViZWRlOTI5NGEzYTAxYTM4YTRmY2Y2OWNkMjc.
[2014-09-28 16:53:15] DEBUG[1932][C-00000006] chan_sip.c: Updating call counter for incoming call
[2014-09-28 16:53:15] DEBUG[1932][C-00000006] chan_sip.c: Call from peer '1111111111' removed from call limit 2147483647
[2014-09-28 16:53:15] DEBUG[1915] devicestate.c: No provider found, checking channel drivers for SIP - 1111111111
[2014-09-28 16:53:15] DEBUG[1915] chan_sip.c: Checking device state for peer 1111111111
[2014-09-28 16:53:15] DEBUG[1915] devicestate.c: Changing state for SIP/1111111111 - state 1 (Not in use)
[2014-09-28 16:53:15] DEBUG[1915] devicestate.c: device 'SIP/1111111111' state '1'
[2014-09-28 16:53:15] DEBUG[1998] app_queue.c: Device 'SIP/1111111111' changed to state '1' (Not in use) but we don't care because they're not a member of any queue.
[2014-09-28 16:53:15] DEBUG[1917] devicestate.c: Checking if I can find provider for "Custom" - number: DND1111111111
[2014-09-28 16:53:15] DEBUG[1917] devicestate.c: Checking provider SLA with Custom
[2014-09-28 16:53:15] DEBUG[1917] devicestate.c: Checking provider Meetme with Custom
[2014-09-28 16:53:15] DEBUG[1917] devicestate.c: Checking provider Custom with Custom
[2014-09-28 16:53:15] DEBUG[1917] db.c: Unable to find key 'DND1111111111' in family 'CustomDevstate'
[2014-09-28 16:53:15] DEBUG[1917] app_queue.c: Extension '1111111111@ext-local' changed to state '1' (Not in use) but we don't care because they're not a member of any queue.
[2014-09-28 16:53:15] DEBUG[2323] manager.c: Examining event:
Event: ExtensionStatus
Privilege: call,all
Exten: 1111111111
Context: ext-local
Hint: SIP/1111111111&Custom:DND1111111111,CustomPresence:1111111111
Status: 0


[2014-09-28 16:53:15] DEBUG[1932][C-00000006] res_rtp_asterisk.c: Setting RTCP address on RTP instance '0xb740ddb4'
[2014-09-28 16:53:15] DEBUG[2323] manager.c: Examining event:
Event: HangupRequest
Privilege: call,all
Channel: SIP/1111111111-0000000c
Uniqueid: 1411894386.12


[2014-09-28 16:53:15] DEBUG[3397][C-00000006] channel.c: Hanging up channel 'SIP/sip_out-0000000d'
[2014-09-28 16:53:15] DEBUG[3397][C-00000006] chan_sip.c: Hangup call SIP/sip_out-0000000d, SIP callid 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru
[2014-09-28 16:53:15] DEBUG[3397][C-00000006] res_rtp_asterisk.c: Setting RTCP address on RTP instance '0xb747c02c'
[2014-09-28 16:53:15] VERBOSE[3397][C-00000006] chan_sip.c: Scheduling destruction of SIP dialog '50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru' in 32000 ms (Method: INVITE)
[2014-09-28 16:53:15] DEBUG[3397][C-00000006] app_dial.c: Exiting with DIALSTATUS=CANCEL.
[2014-09-28 16:53:15] DEBUG[3397][C-00000006] app_macro.c: Spawn extension (macro-dialout-trunk,s,22) exited non-zero on 'SIP/1111111111-0000000c' in macro 'dialout-trunk'
[2014-09-28 16:53:15] VERBOSE[3397][C-00000006] app_macro.c:   == Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 'SIP/1111111111-0000000c' in macro 'dialout-trunk'
[2014-09-28 16:53:15] DEBUG[3397][C-00000006] pbx.c: Spawn extension (from-internal,73333333333,6) exited non-zero on 'SIP/1111111111-0000000c'
[2014-09-28 16:53:15] VERBOSE[3397][C-00000006] pbx.c:   == Spawn extension (from-internal, 73333333333, 6) exited non-zero on 'SIP/1111111111-0000000c'
[2014-09-28 16:53:15] DEBUG[3397][C-00000006] channel.c: Soft-Hanging up channel 'SIP/1111111111-0000000c'
[2014-09-28 16:53:15] DEBUG[3397][C-00000006] channel.c: Soft-Hanging up channel 'SIP/1111111111-0000000c'
[2014-09-28 16:53:15] DEBUG[3397][C-00000006] pbx.c: Launching 'Hangup'
[2014-09-28 16:53:15] VERBOSE[3397][C-00000006] pbx.c:     -- Executing [h@from-internal:1] Hangup("SIP/1111111111-0000000c", "") in new stack
[2014-09-28 16:53:15] DEBUG[3397][C-00000006] channel.c: Soft-Hanging up channel 'SIP/1111111111-0000000c'
[2014-09-28 16:53:15] DEBUG[3397][C-00000006] pbx.c: Spawn extension (from-internal,h,1) exited non-zero on 'SIP/1111111111-0000000c'
[2014-09-28 16:53:15] VERBOSE[3397][C-00000006] pbx.c:   == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/1111111111-0000000c'
[2014-09-28 16:53:15] DEBUG[3397][C-00000006] channel.c: Hanging up channel 'SIP/1111111111-0000000c'
[2014-09-28 16:53:15] DEBUG[3397][C-00000006] chan_sip.c: Hangup call SIP/1111111111-0000000c, SIP callid MjcwNTViZWRlOTI5NGEzYTAxYTM4YTRmY2Y2OWNkMjc.
[2014-09-28 16:53:15] DEBUG[3397][C-00000006] res_rtp_asterisk.c: Setting RTCP address on RTP instance '0xb740ddb4'
[2014-09-28 16:53:15] DEBUG[1915] devicestate.c: No provider found, checking channel drivers for SIP - sip_out
[2014-09-28 16:53:15] DEBUG[1915] chan_sip.c: Checking device state for peer sip_out
[2014-09-28 16:53:15] DEBUG[1915] devicestate.c: Changing state for SIP/sip_out - state 1 (Not in use)
[2014-09-28 16:53:15] DEBUG[1915] devicestate.c: device 'SIP/sip_out' state '1'
[2014-09-28 16:53:15] DEBUG[2323] manager.c: Examining event:
Event: Hangup
Privilege: call,all
Channel: SIP/sip_out-0000000d
Uniqueid: 1411894387.13
CallerIDNum: 73333333333
CallerIDName: CID:XXXXXXXXXX
ConnectedLineNum: XXXXXXXXXX
ConnectedLineName: <unknown>
AccountCode: 
Cause: 16
Cause-txt: Normal Clearing


[2014-09-28 16:53:15] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: DIALSTATUS
Value: CANCEL
Uniqueid: 1411894386.12


[2014-09-28 16:53:15] DEBUG[2323] manager.c: Examining event:
Event: Dial
Privilege: call,all
SubEvent: End
Channel: SIP/1111111111-0000000c
UniqueID: 1411894386.12
DialStatus: CANCEL


[2014-09-28 16:53:15] DEBUG[2323] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Variable: MACRO_DEPTH
Value: 0
Uniqueid: 1411894386.12


[2014-09-28 16:53:15] DEBUG[2323] manager.c: Examining event:
Event: SoftHangupRequest
Privilege: call,all
Channel: SIP/1111111111-0000000c
Uniqueid: 1411894386.12
Cause: 16


[2014-09-28 16:53:15] DEBUG[2323] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: SIP/1111111111-0000000c
Context: from-internal
Extension: h
Priority: 1
Application: Hangup
AppData: 
Uniqueid: 1411894386.12


[2014-09-28 16:53:15] DEBUG[2323] manager.c: Examining event:
Event: Hangup
Privilege: call,all
Channel: SIP/1111111111-0000000c
Uniqueid: 1411894386.12
CallerIDNum: XXXXXXXXXX
CallerIDName: <unknown>
ConnectedLineNum: 73333333333
ConnectedLineName: CID:XXXXXXXXXX
AccountCode: 
Cause: 16
Cause-txt: Normal Clearing


[2014-09-28 16:53:15] DEBUG[1904] res_odbc.c: odbc_release_obj2(0x91f9f3c) called (obj->txf = (nil))
[2014-09-28 16:53:15] DEBUG[1904] res_odbc.c: odbc_release_obj2(0x91f9f3c) called (obj->txf = (nil))
[2014-09-28 16:53:15] DEBUG[1904] res_odbc.c: odbc_release_obj2(0x91f9f3c) called (obj->txf = (nil))
[2014-09-28 16:53:15] DEBUG[1998] app_queue.c: Device 'SIP/sip_out' changed to state '1' (Not in use) but we don't care because they're not a member of any queue.
[2014-09-28 16:53:15] DEBUG[3397][C-00000006] res_odbc.c: odbc_release_obj2(0x91f9f3c) called (obj->txf = (nil))
[2014-09-28 16:53:15] VERBOSE[1932][C-00000006] chan_sip.c: 
<--- Reliably Transmitting (NAT) to 192.168.1.41:5060 --->
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP 192.168.1.41:5060;branch=z9hG4bK-d8754z-1bd713afe8a7c977-1---d8754z-;received=192.168.1.41;rport=5060
From: <sip:1111111111@192.168.1.33;transport=UDP>;tag=c83d9f10
To: <sip:73333333333@192.168.1.33;transport=UDP>;tag=as24af5f4d
Call-ID: MjcwNTViZWRlOTI5NGEzYTAxYTM4YTRmY2Y2OWNkMjc.
CSeq: 2 INVITE
Server: FPBX-2.11.0(11.12.1)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0


<------------>
[2014-09-28 16:53:15] DEBUG[1932][C-00000006] chan_sip.c: *** SIP TIMER: Initializing retransmit timer on packet: Id  #269
[2014-09-28 16:53:15] DEBUG[1932][C-00000006] chan_sip.c: Trying to put 'SIP/2.0 487' onto UDP socket destined for 192.168.1.41:5060
[2014-09-28 16:53:15] VERBOSE[1932][C-00000006] chan_sip.c: 
<--- Transmitting (NAT) to 192.168.1.41:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.41:5060;branch=z9hG4bK-d8754z-1bd713afe8a7c977-1---d8754z-;received=192.168.1.41;rport=5060
From: <sip:1111111111@192.168.1.33;transport=UDP>;tag=c83d9f10
To: <sip:73333333333@192.168.1.33;transport=UDP>;tag=as24af5f4d
Call-ID: MjcwNTViZWRlOTI5NGEzYTAxYTM4YTRmY2Y2OWNkMjc.
CSeq: 2 CANCEL
Server: FPBX-2.11.0(11.12.1)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0


<------------>
[2014-09-28 16:53:15] DEBUG[1932][C-00000006] chan_sip.c: Trying to put 'SIP/2.0 200' onto UDP socket destined for 192.168.1.41:5060
[2014-09-28 16:53:15] DEBUG[1915] devicestate.c: No provider found, checking channel drivers for SIP - 1111111111
[2014-09-28 16:53:15] DEBUG[1915] chan_sip.c: Checking device state for peer 1111111111
[2014-09-28 16:53:15] DEBUG[1915] devicestate.c: Changing state for SIP/1111111111 - state 1 (Not in use)
[2014-09-28 16:53:15] DEBUG[1915] devicestate.c: device 'SIP/1111111111' state '1'
[2014-09-28 16:53:15] DEBUG[1904] res_odbc.c: odbc_release_obj2(0x91f9f3c) called (obj->txf = (nil))
[2014-09-28 16:53:15] DEBUG[1904] res_odbc.c: odbc_release_obj2(0x91f9f3c) called (obj->txf = (nil))
[2014-09-28 16:53:15] DEBUG[1917] devicestate.c: Checking if I can find provider for "Custom" - number: DND1111111111
[2014-09-28 16:53:15] DEBUG[1917] devicestate.c: Checking provider SLA with Custom
[2014-09-28 16:53:15] DEBUG[1917] devicestate.c: Checking provider Meetme with Custom
[2014-09-28 16:53:15] DEBUG[1917] devicestate.c: Checking provider Custom with Custom
[2014-09-28 16:53:15] DEBUG[1917] db.c: Unable to find key 'DND1111111111' in family 'CustomDevstate'
[2014-09-28 16:53:15] DEBUG[1998] app_queue.c: Device 'SIP/1111111111' changed to state '1' (Not in use) but we don't care because they're not a member of any queue.
[2014-09-28 16:53:15] VERBOSE[1932] chan_sip.c: 
<--- SIP read from UDP:192.168.1.41:5060 --->
ACK sip:73333333333@192.168.1.33;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 192.168.1.41:5060;branch=z9hG4bK-d8754z-1bd713afe8a7c977-1---d8754z-
Max-Forwards: 70
To: <sip:73333333333@192.168.1.33;transport=UDP>;tag=as24af5f4d
From: <sip:1111111111@192.168.1.33;transport=UDP>;tag=c83d9f10
Call-ID: MjcwNTViZWRlOTI5NGEzYTAxYTM4YTRmY2Y2OWNkMjc.
CSeq: 2 ACK
Content-Length: 0

<------------->
[2014-09-28 16:53:15] DEBUG[1932] chan_sip.c:  Header  0 [ 54]: ACK sip:73333333333@192.168.1.33;transport=UDP SIP/2.0
[2014-09-28 16:53:15] DEBUG[1932] chan_sip.c:  Header  1 [ 85]: Via: SIP/2.0/UDP 192.168.1.41:5060;branch=z9hG4bK-d8754z-1bd713afe8a7c977-1---d8754z-
[2014-09-28 16:53:15] DEBUG[1932] chan_sip.c:  Header  2 [ 16]: Max-Forwards: 70
[2014-09-28 16:53:15] DEBUG[1932] chan_sip.c:  Header  3 [ 63]: To: <sip:73333333333@192.168.1.33;transport=UDP>;tag=as24af5f4d
[2014-09-28 16:53:15] DEBUG[1932] chan_sip.c:  Header  4 [ 62]: From: <sip:1111111111@192.168.1.33;transport=UDP>;tag=c83d9f10
[2014-09-28 16:53:15] DEBUG[1932] chan_sip.c:  Header  5 [ 53]: Call-ID: MjcwNTViZWRlOTI5NGEzYTAxYTM4YTRmY2Y2OWNkMjc.
[2014-09-28 16:53:15] DEBUG[1932] chan_sip.c:  Header  6 [ 11]: CSeq: 2 ACK
[2014-09-28 16:53:15] DEBUG[1932] chan_sip.c:  Header  7 [ 17]: Content-Length: 0
[2014-09-28 16:53:15] VERBOSE[1932] chan_sip.c: --- (8 headers 0 lines) ---
[2014-09-28 16:53:15] DEBUG[1932] chan_sip.c: = Looking for  Call ID: MjcwNTViZWRlOTI5NGEzYTAxYTM4YTRmY2Y2OWNkMjc. (Checking From) --From tag c83d9f10 --To-tag as24af5f4d  
[2014-09-28 16:53:15] DEBUG[1932][C-00000006] chan_sip.c: **** Received ACK (6) - Command in SIP ACK
[2014-09-28 16:53:15] DEBUG[1932][C-00000006] chan_sip.c: ** SIP TIMER: Cancelling retransmit of packet (reply received) Retransid #269
[2014-09-28 16:53:15] DEBUG[1932][C-00000006] chan_sip.c: Stopping retransmission on 'MjcwNTViZWRlOTI5NGEzYTAxYTM4YTRmY2Y2OWNkMjc.' of Response 2: Match Found
[2014-09-28 16:53:15] DEBUG[1932] chan_sip.c: Destroying SIP dialog MjcwNTViZWRlOTI5NGEzYTAxYTM4YTRmY2Y2OWNkMjc.
[2014-09-28 16:53:15] VERBOSE[1932] chan_sip.c: Really destroying SIP dialog 'MjcwNTViZWRlOTI5NGEzYTAxYTM4YTRmY2Y2OWNkMjc.' Method: ACK
[2014-09-28 16:53:15] DEBUG[1932] rtp_engine.c: Destroyed RTP instance '0xb740ddb4'
[2014-09-28 16:53:19] VERBOSE[1932] chan_sip.c: 
<--- SIP read from UDP:192.168.1.41:5060 --->


<------------->
[2014-09-28 16:53:19] DEBUG[1932] chan_sip.c:  Header  0 [  0]: 
[2014-09-28 16:53:19] DEBUG[1932] chan_sip.c: Allocating new SIP dialog for 1a35692a3ebb4b2777229d1941c28057@127.0.0.1:5060 - OPTIONS (No RTP)
[2014-09-28 16:53:19] DEBUG[1932] acl.c: For destination '192.168.1.41', our source address is '192.168.1.33'.
[2014-09-28 16:53:19] DEBUG[1932] chan_sip.c: Setting SIP_TRANSPORT_UDP with address 192.168.1.33:5060
[2014-09-28 16:53:19] DEBUG[1932] chan_sip.c: SIP call-id changed from '1a35692a3ebb4b2777229d1941c28057@127.0.0.1:5060' to '29f9b489206423700522f37f3524df73@192.168.1.33:5060'
[2014-09-28 16:53:19] DEBUG[1932] chan_sip.c: Initializing initreq for method OPTIONS - callid 29f9b489206423700522f37f3524df73@192.168.1.33:5060
[2014-09-28 16:53:19] DEBUG[1932] chan_sip.c:  Header  0 [ 89]: OPTIONS sip:1111111111@192.168.1.41:5060;rinstance=24097879c169fb76;transport=UDP SIP/2.0
[2014-09-28 16:53:19] DEBUG[1932] chan_sip.c:  Header  1 [ 63]: Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK4e43cb3d;rport
[2014-09-28 16:53:19] DEBUG[1932] chan_sip.c:  Header  2 [ 16]: Max-Forwards: 70
[2014-09-28 16:53:19] DEBUG[1932] chan_sip.c:  Header  3 [ 57]: From: "Unknown" <sip:Unknown@192.168.1.33>;tag=as02f45b6a
[2014-09-28 16:53:19] DEBUG[1932] chan_sip.c:  Header  4 [ 79]: To: <sip:1111111111@192.168.1.41:5060;rinstance=24097879c169fb76;transport=UDP>
[2014-09-28 16:53:19] DEBUG[1932] chan_sip.c:  Header  5 [ 40]: Contact: <sip:Unknown@192.168.1.33:5060>
[2014-09-28 16:53:19] DEBUG[1932] chan_sip.c:  Header  6 [ 59]: Call-ID: 29f9b489206423700522f37f3524df73@192.168.1.33:5060
[2014-09-28 16:53:19] DEBUG[1932] chan_sip.c:  Header  7 [ 17]: CSeq: 102 OPTIONS
[2014-09-28 16:53:19] DEBUG[1932] chan_sip.c:  Header  8 [ 32]: User-Agent: FPBX-2.11.0(11.12.1)
[2014-09-28 16:53:19] DEBUG[1932] chan_sip.c:  Header  9 [ 35]: Date: Sun, 28 Sep 2014 08:53:19 GMT
[2014-09-28 16:53:19] DEBUG[1932] chan_sip.c:  Header 10 [ 90]: Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
[2014-09-28 16:53:19] DEBUG[1932] chan_sip.c:  Header 11 [ 26]: Supported: replaces, timer
[2014-09-28 16:53:19] VERBOSE[1932] chan_sip.c: Reliably Transmitting (NAT) to 192.168.1.41:5060:
OPTIONS sip:1111111111@192.168.1.41:5060;rinstance=24097879c169fb76;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK4e43cb3d;rport
Max-Forwards: 70
From: "Unknown" <sip:Unknown@192.168.1.33>;tag=as02f45b6a
To: <sip:1111111111@192.168.1.41:5060;rinstance=24097879c169fb76;transport=UDP>
Contact: <sip:Unknown@192.168.1.33:5060>
Call-ID: 29f9b489206423700522f37f3524df73@192.168.1.33:5060
CSeq: 102 OPTIONS
User-Agent: FPBX-2.11.0(11.12.1)
Date: Sun, 28 Sep 2014 08:53:19 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0


---
[2014-09-28 16:53:19] DEBUG[1932] chan_sip.c: *** SIP TIMER: Initializing retransmit timer on packet: Id  #270
[2014-09-28 16:53:19] DEBUG[1932] chan_sip.c: Trying to put 'OPTIONS sip' onto UDP socket destined for 192.168.1.41:5060
[2014-09-28 16:53:19] VERBOSE[1932] chan_sip.c: 
<--- SIP read from UDP:192.168.1.41:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK4e43cb3d;rport=5060
Contact: <sip:192.168.1.41:5060>
To: <sip:1111111111@192.168.1.41:5060;rinstance=24097879c169fb76;transport=UDP>;tag=9c244b50
From: "Unknown"<sip:Unknown@192.168.1.33>;tag=as02f45b6a
Call-ID: 29f9b489206423700522f37f3524df73@192.168.1.33:5060
CSeq: 102 OPTIONS
Accept: application/sdp, application/sdp
Accept-Language: en
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
Supported: replaces, norefersub, extended-refer, X-cisco-serviceuri
User-Agent: Zoiper for Windows 2.39 r16838
Allow-Events: presence, kpml
Content-Length: 0

<------------->
[2014-09-28 16:53:19] DEBUG[1932] chan_sip.c:  Header  0 [ 14]: SIP/2.0 200 OK
[2014-09-28 16:53:19] DEBUG[1932] chan_sip.c:  Header  1 [ 68]: Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK4e43cb3d;rport=5060
[2014-09-28 16:53:19] DEBUG[1932] chan_sip.c:  Header  2 [ 32]: Contact: <sip:192.168.1.41:5060>
[2014-09-28 16:53:19] DEBUG[1932] chan_sip.c:  Header  3 [ 92]: To: <sip:1111111111@192.168.1.41:5060;rinstance=24097879c169fb76;transport=UDP>;tag=9c244b50
[2014-09-28 16:53:19] DEBUG[1932] chan_sip.c:  Header  4 [ 56]: From: "Unknown"<sip:Unknown@192.168.1.33>;tag=as02f45b6a
[2014-09-28 16:53:19] DEBUG[1932] chan_sip.c:  Header  5 [ 59]: Call-ID: 29f9b489206423700522f37f3524df73@192.168.1.33:5060
[2014-09-28 16:53:19] DEBUG[1932] chan_sip.c:  Header  6 [ 17]: CSeq: 102 OPTIONS
[2014-09-28 16:53:19] DEBUG[1932] chan_sip.c:  Header  7 [ 40]: Accept: application/sdp, application/sdp
[2014-09-28 16:53:19] DEBUG[1932] chan_sip.c:  Header  8 [ 19]: Accept-Language: en
[2014-09-28 16:53:19] DEBUG[1932] chan_sip.c:  Header  9 [ 81]: Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
[2014-09-28 16:53:19] DEBUG[1932] chan_sip.c:  Header 10 [ 67]: Supported: replaces, norefersub, extended-refer, X-cisco-serviceuri
[2014-09-28 16:53:19] DEBUG[1932] chan_sip.c:  Header 11 [ 42]: User-Agent: Zoiper for Windows 2.39 r16838
[2014-09-28 16:53:19] DEBUG[1932] chan_sip.c:  Header 12 [ 28]: Allow-Events: presence, kpml
[2014-09-28 16:53:19] DEBUG[1932] chan_sip.c:  Header 13 [ 17]: Content-Length: 0
[2014-09-28 16:53:19] VERBOSE[1932] chan_sip.c: --- (14 headers 0 lines) ---
[2014-09-28 16:53:19] DEBUG[1932] chan_sip.c: = Looking for  Call ID: 29f9b489206423700522f37f3524df73@192.168.1.33:5060 (Checking To) --From tag as02f45b6a --To-tag 9c244b50  
[2014-09-28 16:53:19] DEBUG[1932] chan_sip.c: ** SIP TIMER: Cancelling retransmit of packet (reply received) Retransid #270
[2014-09-28 16:53:19] DEBUG[1932] chan_sip.c: Stopping retransmission on '29f9b489206423700522f37f3524df73@192.168.1.33:5060' of Request 102: Match Found
[2014-09-28 16:53:19] DEBUG[1932] chan_sip.c: Destroying SIP dialog 29f9b489206423700522f37f3524df73@192.168.1.33:5060
[2014-09-28 16:53:19] VERBOSE[1932] chan_sip.c: Really destroying SIP dialog '29f9b489206423700522f37f3524df73@192.168.1.33:5060' Method: OPTIONS
[2014-09-28 16:53:49] VERBOSE[1932] chan_sip.c: 
<--- SIP read from UDP:192.168.1.41:5060 --->


<------------->
[2014-09-28 16:53:49] DEBUG[1932] chan_sip.c:  Header  0 [  0]: 
[2014-09-28 16:53:58] NOTICE[1932] chan_sip.c:    -- Re-registration for  x_x_xxx_xxx@sipnet.ru
[2014-09-28 16:53:58] DEBUG[1932] chan_sip.c: OBPROXY: Not applying OBproxy to this call
[2014-09-28 16:53:58] DEBUG[1932] chan_sip.c: SIP Registry sipnet.ru: refcount now 3
[2014-09-28 16:53:58] DEBUG[1932] netsock2.c: Splitting 'sipnet.ru' into...
[2014-09-28 16:53:58] DEBUG[1932] netsock2.c: ...host 'sipnet.ru' and port ''.
[2014-09-28 16:53:58] DEBUG[1932] dnsmgr.c: doing dnsmgr_lookup for 'sipnet.ru'
[2014-09-28 16:53:58] DEBUG[1932] netsock2.c: Splitting 'sipnet.ru' into...
[2014-09-28 16:53:58] DEBUG[1932] netsock2.c: ...host 'sipnet.ru' and port ''.
[2014-09-28 16:53:58] DEBUG[1932] chan_sip.c: SIP Registry sipnet.ru: refcount now 2
[2014-09-28 16:53:58] DEBUG[1932] chan_sip.c: Allocating new SIP dialog for 44e540582dc52e2b4f8716756e3c3d26@127.0.0.1 - REGISTER (No RTP)
[2014-09-28 16:53:58] DEBUG[1932] chan_sip.c: OBPROXY: Not applying OBproxy to this call
[2014-09-28 16:53:58] DEBUG[1932] chan_sip.c: SIP Registry sipnet.ru: refcount now 3
[2014-09-28 16:53:58] DEBUG[1932] acl.c: For destination '212.53.40.40', our source address is '192.168.1.33'.
[2014-09-28 16:53:58] DEBUG[1932] chan_sip.c: Setting SIP_TRANSPORT_UDP with address 192.168.1.33:5060
[2014-09-28 16:53:58] DEBUG[1932] chan_sip.c: SIP Registry sipnet.ru: refcount now 4
[2014-09-28 16:53:58] DEBUG[1932] chan_sip.c: Scheduled a registration timeout for sipnet.ru id  #273 
[2014-09-28 16:53:58] DEBUG[1932] netsock2.c: Splitting 'sipnet.ru' into...
[2014-09-28 16:53:58] DEBUG[1932] netsock2.c: ...host 'sipnet.ru' and port ''.
[2014-09-28 16:53:58] DEBUG[1932] netsock2.c: Splitting 'sipnet.ru' into...
[2014-09-28 16:53:58] DEBUG[1932] netsock2.c: ...host 'sipnet.ru' and port ''.
[2014-09-28 16:53:58] DEBUG[1932] netsock2.c: Splitting 'sipnet.ru' into...
[2014-09-28 16:53:58] DEBUG[1932] netsock2.c: ...host 'sipnet.ru' and port ''.
[2014-09-28 16:53:58] DEBUG[1932] chan_sip.c:    >>> Re-using Auth data for x_x_xxx_xxx@sipnet.ru
[2014-09-28 16:53:58] DEBUG[1932] chan_sip.c: Initializing initreq for method REGISTER - callid 44e540582dc52e2b4f8716756e3c3d26@127.0.0.1
[2014-09-28 16:53:58] DEBUG[1932] chan_sip.c:  Header  0 [ 30]: REGISTER sip:sipnet.ru SIP/2.0
[2014-09-28 16:53:58] DEBUG[1932] chan_sip.c:  Header  1 [ 63]: Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK6f8b19d4;rport
[2014-09-28 16:53:58] DEBUG[1932] chan_sip.c:  Header  2 [ 16]: Max-Forwards: 70
[2014-09-28 16:53:58] DEBUG[1932] chan_sip.c:  Header  3 [ 48]: From: <sip:x_x_xxx_xxx@sipnet.ru>;tag=as26408097
[2014-09-28 16:53:58] DEBUG[1932] chan_sip.c:  Header  4 [ 31]: To: <sip:x_x_xxx_xxx@sipnet.ru>
[2014-09-28 16:53:58] DEBUG[1932] chan_sip.c:  Header  5 [ 51]: Call-ID: 44e540582dc52e2b4f8716756e3c3d26@127.0.0.1
[2014-09-28 16:53:58] DEBUG[1932] chan_sip.c:  Header  6 [ 18]: CSeq: 112 REGISTER
[2014-09-28 16:53:58] DEBUG[1932] chan_sip.c:  Header  7 [ 32]: User-Agent: FPBX-2.11.0(11.12.1)
[2014-09-28 16:53:58] DEBUG[1932] chan_sip.c:  Header  8 [234]: Authorization: Digest username="x_x_xxx_xxx", realm="etc.tario.ru", algorithm=MD5, uri="sip:sipnet.ru", nonce="D1AFAF3580A37DE89947", response="01b666b517002ac03d6f4a888ed6827e", opaque="opaq", qop=auth, cnonce="7d129c53", nc=0000000a
[2014-09-28 16:53:58] DEBUG[1932] chan_sip.c:  Header  9 [ 12]: Expires: 120
[2014-09-28 16:53:58] DEBUG[1932] chan_sip.c:  Header 10 [ 34]: Contact: <sip:s@192.168.1.33:5060>
[2014-09-28 16:53:58] VERBOSE[1932] chan_sip.c: REGISTER 11 headers, 0 lines
[2014-09-28 16:53:58] DEBUG[1932] chan_sip.c: REGISTER attempt 1 to x_x_xxx_xxx@sipnet.ru
[2014-09-28 16:53:58] VERBOSE[1932] chan_sip.c: Reliably Transmitting (NAT) to 212.53.40.40:5060:
REGISTER sip:sipnet.ru SIP/2.0
Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK6f8b19d4;rport
Max-Forwards: 70
From: <sip:x_x_xxx_xxx@sipnet.ru>;tag=as26408097
To: <sip:x_x_xxx_xxx@sipnet.ru>
Call-ID: 44e540582dc52e2b4f8716756e3c3d26@127.0.0.1
CSeq: 112 REGISTER
User-Agent: FPBX-2.11.0(11.12.1)
Authorization: Digest username="x_x_xxx_xxx", realm="etc.tario.ru", algorithm=MD5, uri="sip:sipnet.ru", nonce="D1AFAF3580A37DE89947", response="01b666b517002ac03d6f4a888ed6827e", opaque="opaq", qop=auth, cnonce="7d129c53", nc=0000000a
Expires: 120
Contact: <sip:s@192.168.1.33:5060>
Content-Length: 0


---
[2014-09-28 16:53:58] DEBUG[1932] chan_sip.c: *** SIP TIMER: Initializing retransmit timer on packet: Id  #274
[2014-09-28 16:53:58] DEBUG[1932] chan_sip.c: Trying to put 'REGISTER si' onto UDP socket destined for 212.53.40.40:5060
[2014-09-28 16:53:58] DEBUG[1932] chan_sip.c: SIP Registry sipnet.ru: refcount now 3
[2014-09-28 16:53:59] DEBUG[1932] chan_sip.c: SIP TIMER: Rescheduling retransmission #274 (1) REGISTER - 2
[2014-09-28 16:53:59] DEBUG[1932] chan_sip.c: ** SIP timers: Rescheduling retransmission 2 to 1000 ms (t1 500 ms (Retrans id #274)) 
[2014-09-28 16:53:59] VERBOSE[1932] chan_sip.c: Retransmitting #1 (NAT) to 212.53.40.40:5060:
REGISTER sip:sipnet.ru SIP/2.0
Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK6f8b19d4;rport
Max-Forwards: 70
From: <sip:x_x_xxx_xxx@sipnet.ru>;tag=as26408097
To: <sip:x_x_xxx_xxx@sipnet.ru>
Call-ID: 44e540582dc52e2b4f8716756e3c3d26@127.0.0.1
CSeq: 112 REGISTER
User-Agent: FPBX-2.11.0(11.12.1)
Authorization: Digest username="x_x_xxx_xxx", realm="etc.tario.ru", algorithm=MD5, uri="sip:sipnet.ru", nonce="D1AFAF3580A37DE89947", response="01b666b517002ac03d6f4a888ed6827e", opaque="opaq", qop=auth, cnonce="7d129c53", nc=0000000a
Expires: 120
Contact: <sip:s@192.168.1.33:5060>
Content-Length: 0


---
[2014-09-28 16:53:59] DEBUG[1932] chan_sip.c: Trying to put 'REGISTER si' onto UDP socket destined for 212.53.40.40:5060
[2014-09-28 16:53:59] VERBOSE[1932] chan_sip.c: 
<--- SIP read from UDP:212.53.40.40:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK6f8b19d4;rport=37696
From: <sip:x_x_xxx_xxx@sipnet.ru>;tag=as26408097
To: <sip:x_x_xxx_xxx@sipnet.ru>;tag=48033FA6
Call-ID: 44e540582dc52e2b4f8716756e3c3d26@127.0.0.1
CSeq: 112 REGISTER
Expires: 116
Contact: <sip:s@192.168.1.33:5060>;expires=116
Event: registration
Date: Sun, 28 Sep 2014 08:53:59 GMT
Allow: PUBLISH,SUBSCRIBE
Supported: path,gruu
Allow-Events: presence,message-summary,reg,dialog,line-seize,keep-alive,refer
Server: CommuniGatePro/6.0.10k
Content-Length: 0

<------------->
[2014-09-28 16:53:59] DEBUG[1932] chan_sip.c:  Header  0 [ 14]: SIP/2.0 200 OK
[2014-09-28 16:53:59] DEBUG[1932] chan_sip.c:  Header  1 [ 69]: Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK6f8b19d4;rport=37696
[2014-09-28 16:53:59] DEBUG[1932] chan_sip.c:  Header  2 [ 48]: From: <sip:x_x_xxx_xxx@sipnet.ru>;tag=as26408097
[2014-09-28 16:53:59] DEBUG[1932] chan_sip.c:  Header  3 [ 44]: To: <sip:x_x_xxx_xxx@sipnet.ru>;tag=48033FA6
[2014-09-28 16:53:59] DEBUG[1932] chan_sip.c:  Header  4 [ 51]: Call-ID: 44e540582dc52e2b4f8716756e3c3d26@127.0.0.1
[2014-09-28 16:53:59] DEBUG[1932] chan_sip.c:  Header  5 [ 18]: CSeq: 112 REGISTER
[2014-09-28 16:53:59] DEBUG[1932] chan_sip.c:  Header  6 [ 12]: Expires: 116
[2014-09-28 16:53:59] DEBUG[1932] chan_sip.c:  Header  7 [ 46]: Contact: <sip:s@192.168.1.33:5060>;expires=116
[2014-09-28 16:53:59] DEBUG[1932] chan_sip.c:  Header  8 [ 19]: Event: registration
[2014-09-28 16:53:59] DEBUG[1932] chan_sip.c:  Header  9 [ 35]: Date: Sun, 28 Sep 2014 08:53:59 GMT
[2014-09-28 16:53:59] DEBUG[1932] chan_sip.c:  Header 10 [ 24]: Allow: PUBLISH,SUBSCRIBE
[2014-09-28 16:53:59] DEBUG[1932] chan_sip.c:  Header 11 [ 20]: Supported: path,gruu
[2014-09-28 16:53:59] DEBUG[1932] chan_sip.c:  Header 12 [ 77]: Allow-Events: presence,message-summary,reg,dialog,line-seize,keep-alive,refer
[2014-09-28 16:53:59] DEBUG[1932] chan_sip.c:  Header 13 [ 30]: Server: CommuniGatePro/6.0.10k
[2014-09-28 16:53:59] DEBUG[1932] chan_sip.c:  Header 14 [ 17]: Content-Length: 0
[2014-09-28 16:53:59] VERBOSE[1932] chan_sip.c: --- (15 headers 0 lines) ---
[2014-09-28 16:53:59] DEBUG[1932] chan_sip.c: = Looking for  Call ID: 44e540582dc52e2b4f8716756e3c3d26@127.0.0.1 (Checking To) --From tag as26408097 --To-tag 48033FA6  
[2014-09-28 16:53:59] DEBUG[1932] chan_sip.c: ** SIP TIMER: Cancelling retransmit of packet (reply received) Retransid #274
[2014-09-28 16:53:59] DEBUG[1932] chan_sip.c: Stopping retransmission on '44e540582dc52e2b4f8716756e3c3d26@127.0.0.1' of Request 112: Match Found
[2014-09-28 16:53:59] DEBUG[1932] chan_sip.c: Registration successful
[2014-09-28 16:53:59] DEBUG[1932] chan_sip.c: Cancelling timeout 273
[2014-09-28 16:53:59] DEBUG[1932] chan_sip.c: SIP Registry sipnet.ru: refcount now 2
[2014-09-28 16:53:59] DEBUG[1932] chan_sip.c: SIP Registry sipnet.ru: refcount now 1
[2014-09-28 16:53:59] NOTICE[1932] chan_sip.c: Outbound Registration: Expiry for sipnet.ru is 116 sec (Scheduling reregistration in 101 s)
[2014-09-28 16:53:59] DEBUG[1932] chan_sip.c: SIP Registry sipnet.ru: refcount now 2
[2014-09-28 16:53:59] DEBUG[1932] chan_sip.c: Destroying SIP dialog 44e540582dc52e2b4f8716756e3c3d26@127.0.0.1
[2014-09-28 16:53:59] VERBOSE[1932] chan_sip.c: Really destroying SIP dialog '44e540582dc52e2b4f8716756e3c3d26@127.0.0.1' Method: REGISTER
[2014-09-28 16:53:59] DEBUG[2323] manager.c: Examining event:
Event: Registry
Privilege: system,all
ChannelType: SIP
Username: x_x_xxx_xxx
Domain: sipnet.ru
Status: Registered


[2014-09-28 16:54:00] VERBOSE[1932] chan_sip.c: 
<--- SIP read from UDP:212.53.40.40:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK6f8b19d4;rport=37696
From: <sip:x_x_xxx_xxx@sipnet.ru>;tag=as26408097
To: <sip:x_x_xxx_xxx@sipnet.ru>;tag=48033FA6
Call-ID: 44e540582dc52e2b4f8716756e3c3d26@127.0.0.1
CSeq: 112 REGISTER
Expires: 116
Contact: <sip:s@192.168.1.33:5060>;expires=116
Event: registration
Date: Sun, 28 Sep 2014 08:53:59 GMT
Allow: PUBLISH,SUBSCRIBE
Supported: path,gruu
Allow-Events: presence,message-summary,reg,dialog,line-seize,keep-alive,refer
Server: CommuniGatePro/6.0.10k
Content-Length: 0

<------------->
[2014-09-28 16:54:00] DEBUG[1932] chan_sip.c:  Header  0 [ 14]: SIP/2.0 200 OK
[2014-09-28 16:54:00] DEBUG[1932] chan_sip.c:  Header  1 [ 69]: Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK6f8b19d4;rport=37696
[2014-09-28 16:54:00] DEBUG[1932] chan_sip.c:  Header  2 [ 48]: From: <sip:x_x_xxx_xxx@sipnet.ru>;tag=as26408097
[2014-09-28 16:54:00] DEBUG[1932] chan_sip.c:  Header  3 [ 44]: To: <sip:x_x_xxx_xxx@sipnet.ru>;tag=48033FA6
[2014-09-28 16:54:00] DEBUG[1932] chan_sip.c:  Header  4 [ 51]: Call-ID: 44e540582dc52e2b4f8716756e3c3d26@127.0.0.1
[2014-09-28 16:54:00] DEBUG[1932] chan_sip.c:  Header  5 [ 18]: CSeq: 112 REGISTER
[2014-09-28 16:54:00] DEBUG[1932] chan_sip.c:  Header  6 [ 12]: Expires: 116
[2014-09-28 16:54:00] DEBUG[1932] chan_sip.c:  Header  7 [ 46]: Contact: <sip:s@192.168.1.33:5060>;expires=116
[2014-09-28 16:54:00] DEBUG[1932] chan_sip.c:  Header  8 [ 19]: Event: registration
[2014-09-28 16:54:00] DEBUG[1932] chan_sip.c:  Header  9 [ 35]: Date: Sun, 28 Sep 2014 08:53:59 GMT
[2014-09-28 16:54:00] DEBUG[1932] chan_sip.c:  Header 10 [ 24]: Allow: PUBLISH,SUBSCRIBE
[2014-09-28 16:54:00] DEBUG[1932] chan_sip.c:  Header 11 [ 20]: Supported: path,gruu
[2014-09-28 16:54:00] DEBUG[1932] chan_sip.c:  Header 12 [ 77]: Allow-Events: presence,message-summary,reg,dialog,line-seize,keep-alive,refer
[2014-09-28 16:54:00] DEBUG[1932] chan_sip.c:  Header 13 [ 30]: Server: CommuniGatePro/6.0.10k
[2014-09-28 16:54:00] DEBUG[1932] chan_sip.c:  Header 14 [ 17]: Content-Length: 0
[2014-09-28 16:54:00] VERBOSE[1932] chan_sip.c: --- (15 headers 0 lines) ---
[2014-09-28 16:54:00] DEBUG[1932] chan_sip.c: = Looking for  Call ID: 44e540582dc52e2b4f8716756e3c3d26@127.0.0.1 (Checking To) --From tag as26408097 --To-tag 48033FA6  
[2014-09-28 16:54:00] DEBUG[1932] chan_sip.c: That's odd...  Got a response on a call we don't know about. Callid 44e540582dc52e2b4f8716756e3c3d26@127.0.0.1
[2014-09-28 16:54:00] DEBUG[1932] chan_sip.c: Invalid SIP message - rejected , no callid, len 539
[2014-09-28 16:54:19] VERBOSE[1932] chan_sip.c: 
<--- SIP read from UDP:192.168.1.41:5060 --->


<------------->
[2014-09-28 16:54:19] DEBUG[1932] chan_sip.c:  Header  0 [  0]: 
[2014-09-28 16:54:19] DEBUG[1932] chan_sip.c: Allocating new SIP dialog for 0537d34013cfcfb3069aec2f0609c676@127.0.0.1:5060 - OPTIONS (No RTP)
[2014-09-28 16:54:19] DEBUG[1932] acl.c: For destination '192.168.1.41', our source address is '192.168.1.33'.
[2014-09-28 16:54:19] DEBUG[1932] chan_sip.c: Setting SIP_TRANSPORT_UDP with address 192.168.1.33:5060
[2014-09-28 16:54:19] DEBUG[1932] chan_sip.c: SIP call-id changed from '0537d34013cfcfb3069aec2f0609c676@127.0.0.1:5060' to '47604b8e7958b0fa6e188b5777009dff@192.168.1.33:5060'
[2014-09-28 16:54:19] DEBUG[1932] chan_sip.c: Initializing initreq for method OPTIONS - callid 47604b8e7958b0fa6e188b5777009dff@192.168.1.33:5060
[2014-09-28 16:54:19] DEBUG[1932] chan_sip.c:  Header  0 [ 89]: OPTIONS sip:1111111111@192.168.1.41:5060;rinstance=24097879c169fb76;transport=UDP SIP/2.0
[2014-09-28 16:54:19] DEBUG[1932] chan_sip.c:  Header  1 [ 63]: Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK3216acb1;rport
[2014-09-28 16:54:19] DEBUG[1932] chan_sip.c:  Header  2 [ 16]: Max-Forwards: 70
[2014-09-28 16:54:19] DEBUG[1932] chan_sip.c:  Header  3 [ 57]: From: "Unknown" <sip:Unknown@192.168.1.33>;tag=as400ba809
[2014-09-28 16:54:19] DEBUG[1932] chan_sip.c:  Header  4 [ 79]: To: <sip:1111111111@192.168.1.41:5060;rinstance=24097879c169fb76;transport=UDP>
[2014-09-28 16:54:19] DEBUG[1932] chan_sip.c:  Header  5 [ 40]: Contact: <sip:Unknown@192.168.1.33:5060>
[2014-09-28 16:54:19] DEBUG[1932] chan_sip.c:  Header  6 [ 59]: Call-ID: 47604b8e7958b0fa6e188b5777009dff@192.168.1.33:5060
[2014-09-28 16:54:19] DEBUG[1932] chan_sip.c:  Header  7 [ 17]: CSeq: 102 OPTIONS
[2014-09-28 16:54:19] DEBUG[1932] chan_sip.c:  Header  8 [ 32]: User-Agent: FPBX-2.11.0(11.12.1)
[2014-09-28 16:54:19] DEBUG[1932] chan_sip.c:  Header  9 [ 35]: Date: Sun, 28 Sep 2014 08:54:19 GMT
[2014-09-28 16:54:19] DEBUG[1932] chan_sip.c:  Header 10 [ 90]: Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
[2014-09-28 16:54:19] DEBUG[1932] chan_sip.c:  Header 11 [ 26]: Supported: replaces, timer
[2014-09-28 16:54:19] VERBOSE[1932] chan_sip.c: Reliably Transmitting (NAT) to 192.168.1.41:5060:
OPTIONS sip:1111111111@192.168.1.41:5060;rinstance=24097879c169fb76;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK3216acb1;rport
Max-Forwards: 70
From: "Unknown" <sip:Unknown@192.168.1.33>;tag=as400ba809
To: <sip:1111111111@192.168.1.41:5060;rinstance=24097879c169fb76;transport=UDP>
Contact: <sip:Unknown@192.168.1.33:5060>
Call-ID: 47604b8e7958b0fa6e188b5777009dff@192.168.1.33:5060
CSeq: 102 OPTIONS
User-Agent: FPBX-2.11.0(11.12.1)
Date: Sun, 28 Sep 2014 08:54:19 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0


---
[2014-09-28 16:54:19] DEBUG[1932] chan_sip.c: *** SIP TIMER: Initializing retransmit timer on packet: Id  #276
[2014-09-28 16:54:19] DEBUG[1932] chan_sip.c: Trying to put 'OPTIONS sip' onto UDP socket destined for 192.168.1.41:5060
[2014-09-28 16:54:19] VERBOSE[1932] chan_sip.c: 
<--- SIP read from UDP:192.168.1.41:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK3216acb1;rport=5060
Contact: <sip:192.168.1.41:5060>
To: <sip:1111111111@192.168.1.41:5060;rinstance=24097879c169fb76;transport=UDP>;tag=497ff21a
From: "Unknown"<sip:Unknown@192.168.1.33>;tag=as400ba809
Call-ID: 47604b8e7958b0fa6e188b5777009dff@192.168.1.33:5060
CSeq: 102 OPTIONS
Accept: application/sdp, application/sdp
Accept-Language: en
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
Supported: replaces, norefersub, extended-refer, X-cisco-serviceuri
User-Agent: Zoiper for Windows 2.39 r16838
Allow-Events: presence, kpml
Content-Length: 0

<------------->
[2014-09-28 16:54:19] DEBUG[1932] chan_sip.c:  Header  0 [ 14]: SIP/2.0 200 OK
[2014-09-28 16:54:19] DEBUG[1932] chan_sip.c:  Header  1 [ 68]: Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK3216acb1;rport=5060
[2014-09-28 16:54:19] DEBUG[1932] chan_sip.c:  Header  2 [ 32]: Contact: <sip:192.168.1.41:5060>
[2014-09-28 16:54:19] DEBUG[1932] chan_sip.c:  Header  3 [ 92]: To: <sip:1111111111@192.168.1.41:5060;rinstance=24097879c169fb76;transport=UDP>;tag=497ff21a
[2014-09-28 16:54:19] DEBUG[1932] chan_sip.c:  Header  4 [ 56]: From: "Unknown"<sip:Unknown@192.168.1.33>;tag=as400ba809
[2014-09-28 16:54:19] DEBUG[1932] chan_sip.c:  Header  5 [ 59]: Call-ID: 47604b8e7958b0fa6e188b5777009dff@192.168.1.33:5060
[2014-09-28 16:54:19] DEBUG[1932] chan_sip.c:  Header  6 [ 17]: CSeq: 102 OPTIONS
[2014-09-28 16:54:19] DEBUG[1932] chan_sip.c:  Header  7 [ 40]: Accept: application/sdp, application/sdp
[2014-09-28 16:54:19] DEBUG[1932] chan_sip.c:  Header  8 [ 19]: Accept-Language: en
[2014-09-28 16:54:19] DEBUG[1932] chan_sip.c:  Header  9 [ 81]: Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
[2014-09-28 16:54:19] DEBUG[1932] chan_sip.c:  Header 10 [ 67]: Supported: replaces, norefersub, extended-refer, X-cisco-serviceuri
[2014-09-28 16:54:19] DEBUG[1932] chan_sip.c:  Header 11 [ 42]: User-Agent: Zoiper for Windows 2.39 r16838
[2014-09-28 16:54:19] DEBUG[1932] chan_sip.c:  Header 12 [ 28]: Allow-Events: presence, kpml
[2014-09-28 16:54:19] DEBUG[1932] chan_sip.c:  Header 13 [ 17]: Content-Length: 0
[2014-09-28 16:54:19] VERBOSE[1932] chan_sip.c: --- (14 headers 0 lines) ---
[2014-09-28 16:54:19] DEBUG[1932] chan_sip.c: = Looking for  Call ID: 47604b8e7958b0fa6e188b5777009dff@192.168.1.33:5060 (Checking To) --From tag as400ba809 --To-tag 497ff21a  
[2014-09-28 16:54:19] DEBUG[1932] chan_sip.c: ** SIP TIMER: Cancelling retransmit of packet (reply received) Retransid #276
[2014-09-28 16:54:19] DEBUG[1932] chan_sip.c: Stopping retransmission on '47604b8e7958b0fa6e188b5777009dff@192.168.1.33:5060' of Request 102: Match Found
[2014-09-28 16:54:19] DEBUG[1932] chan_sip.c: Destroying SIP dialog 47604b8e7958b0fa6e188b5777009dff@192.168.1.33:5060
[2014-09-28 16:54:19] VERBOSE[1932] chan_sip.c: Really destroying SIP dialog '47604b8e7958b0fa6e188b5777009dff@192.168.1.33:5060' Method: OPTIONS
[2014-09-28 16:54:38] VERBOSE[1932] chan_sip.c: 
<--- SIP read from UDP:212.53.40.40:5060 --->
SIP/2.0 487 Request cancelled
Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK69996b3b;rport=37696
From: <sip:XXXXXXXXXX@sipnet.ru>;tag=as46676fe1
To: <sip:73333333333@sipnet.ru>;tag=FFF7E08D-781180-D5673946_kmbdctn-EF93
Call-ID: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru
CSeq: 103 INVITE
Server: CommuniGatePro/6.0.10k
Content-Length: 0

<------------->
[2014-09-28 16:54:38] DEBUG[1932] chan_sip.c:  Header  0 [ 29]: SIP/2.0 487 Request cancelled
[2014-09-28 16:54:38] DEBUG[1932] chan_sip.c:  Header  1 [ 69]: Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK69996b3b;rport=37696
[2014-09-28 16:54:38] DEBUG[1932] chan_sip.c:  Header  2 [ 47]: From: <sip:XXXXXXXXXX@sipnet.ru>;tag=as46676fe1
[2014-09-28 16:54:38] DEBUG[1932] chan_sip.c:  Header  3 [ 73]: To: <sip:73333333333@sipnet.ru>;tag=FFF7E08D-781180-D5673946_kmbdctn-EF93
[2014-09-28 16:54:38] DEBUG[1932] chan_sip.c:  Header  4 [ 51]: Call-ID: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru
[2014-09-28 16:54:38] DEBUG[1932] chan_sip.c:  Header  5 [ 16]: CSeq: 103 INVITE
[2014-09-28 16:54:38] DEBUG[1932] chan_sip.c:  Header  6 [ 30]: Server: CommuniGatePro/6.0.10k
[2014-09-28 16:54:38] DEBUG[1932] chan_sip.c:  Header  7 [ 17]: Content-Length: 0
[2014-09-28 16:54:38] VERBOSE[1932] chan_sip.c: --- (8 headers 0 lines) ---
[2014-09-28 16:54:38] DEBUG[1932] chan_sip.c: = Looking for  Call ID: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru (Checking To) --From tag as46676fe1 --To-tag FFF7E08D-781180-D5673946_kmbdctn-EF93  
[2014-09-28 16:54:38] DEBUG[1932][C-00000006] chan_sip.c: Acked pending invite 103
[2014-09-28 16:54:38] DEBUG[1932][C-00000006] chan_sip.c: Stopping retransmission on '50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru' of Request 103: Match Found
[2014-09-28 16:54:38] DEBUG[1932][C-00000006] chan_sip.c: SIP response 487 to standard invite
[2014-09-28 16:54:38] VERBOSE[1932][C-00000006] chan_sip.c: set_destination: Parsing <sip:212.53.40.40:5060;lr> for address/port to send to
[2014-09-28 16:54:38] DEBUG[1932][C-00000006] netsock2.c: Splitting '212.53.40.40:5060' into...
[2014-09-28 16:54:38] DEBUG[1932][C-00000006] netsock2.c: ...host '212.53.40.40' and port '5060'.
[2014-09-28 16:54:38] VERBOSE[1932][C-00000006] chan_sip.c: set_destination: set destination to 212.53.40.40:5060
[2014-09-28 16:54:38] VERBOSE[1932][C-00000006] chan_sip.c: Transmitting (NAT) to 212.53.40.40:5060:
ACK sip:signode-781180-D5673946_kmbdctn-EF93@212.53.40.40:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK69996b3b;rport
Route: <sip:212.53.40.40:5060;lr>,<sip:192.168.40.75:5060;lr>,<sip:425839-192.168.40.75.dialog.cgatepro;lr>
Max-Forwards: 70
From: <sip:XXXXXXXXXX@sipnet.ru>;tag=as46676fe1
To: <sip:73333333333@sipnet.ru>;tag=FFF7E08D-781180-D5673946_kmbdctn-EF93
Contact: <sip:XXXXXXXXXX@192.168.1.33:5060>
Call-ID: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru
CSeq: 103 ACK
User-Agent: FPBX-2.11.0(11.12.1)
Content-Length: 0


---
[2014-09-28 16:54:38] DEBUG[1932][C-00000006] chan_sip.c: Trying to put 'ACK sip:sig' onto UDP socket destined for 212.53.40.40:5060
[2014-09-28 16:54:38] DEBUG[1932][C-00000006] chan_sip.c: Updating call counter for outgoing call
[2014-09-28 16:54:38] VERBOSE[1932][C-00000006] chan_sip.c: set_destination: Parsing <sip:212.53.40.40:5060;lr> for address/port to send to
[2014-09-28 16:54:38] DEBUG[1932][C-00000006] netsock2.c: Splitting '212.53.40.40:5060' into...
[2014-09-28 16:54:38] DEBUG[1932][C-00000006] netsock2.c: ...host '212.53.40.40' and port '5060'.
[2014-09-28 16:54:38] VERBOSE[1932][C-00000006] chan_sip.c: set_destination: set destination to 212.53.40.40:5060
[2014-09-28 16:54:38] VERBOSE[1932][C-00000006] chan_sip.c: Reliably Transmitting (NAT) to 212.53.40.40:5060:
BYE sip:signode-781180-D5673946_kmbdctn-EF93@212.53.40.40:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK14fbf7c3;rport
Route: <sip:212.53.40.40:5060;lr>,<sip:192.168.40.75:5060;lr>,<sip:425839-192.168.40.75.dialog.cgatepro;lr>
Max-Forwards: 70
From: <sip:XXXXXXXXXX@sipnet.ru>;tag=as46676fe1
To: <sip:73333333333@sipnet.ru>;tag=FFF7E08D-781180-D5673946_kmbdctn-EF93
Call-ID: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru
CSeq: 104 BYE
User-Agent: FPBX-2.11.0(11.12.1)
Authorization: Digest username="x_x_xxx_xxx", realm="etc.tario.ru", algorithm=MD5, uri="sip:73333333333@sipnet.ru", nonce="65C3136D36FB9C9CEF03", response="90aeb247138dea0172cbed3bffff503f", opaque="opaq", qop=auth, cnonce="3af0f0ff", nc=00000002
X-Asterisk-HangupCause: Normal Clearing
X-Asterisk-HangupCauseCode: 16
Content-Length: 0


---
[2014-09-28 16:54:38] DEBUG[1932][C-00000006] chan_sip.c: *** SIP TIMER: Initializing retransmit timer on packet: Id  #279
[2014-09-28 16:54:38] DEBUG[1932][C-00000006] chan_sip.c: Trying to put 'BYE sip:sig' onto UDP socket destined for 212.53.40.40:5060
[2014-09-28 16:54:38] VERBOSE[1932][C-00000006] chan_sip.c: Scheduling destruction of SIP dialog '50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru' in 32000 ms (Method: INVITE)
[2014-09-28 16:54:38] VERBOSE[1932][C-00000006] chan_sip.c: Scheduling destruction of SIP dialog '50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru' in 32000 ms (Method: INVITE)
[2014-09-28 16:54:38] DEBUG[1932] chan_sip.c: SIP TIMER: Rescheduling retransmission #279 (1) BYE - 8
[2014-09-28 16:54:38] DEBUG[1932] chan_sip.c: ** SIP timers: Rescheduling retransmission 2 to 1000 ms (t1 500 ms (Retrans id #279)) 
[2014-09-28 16:54:38] VERBOSE[1932] chan_sip.c: Retransmitting #1 (NAT) to 212.53.40.40:5060:
BYE sip:signode-781180-D5673946_kmbdctn-EF93@212.53.40.40:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK14fbf7c3;rport
Route: <sip:212.53.40.40:5060;lr>,<sip:192.168.40.75:5060;lr>,<sip:425839-192.168.40.75.dialog.cgatepro;lr>
Max-Forwards: 70
From: <sip:XXXXXXXXXX@sipnet.ru>;tag=as46676fe1
To: <sip:73333333333@sipnet.ru>;tag=FFF7E08D-781180-D5673946_kmbdctn-EF93
Call-ID: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru
CSeq: 104 BYE
User-Agent: FPBX-2.11.0(11.12.1)
Authorization: Digest username="x_x_xxx_xxx", realm="etc.tario.ru", algorithm=MD5, uri="sip:73333333333@sipnet.ru", nonce="65C3136D36FB9C9CEF03", response="90aeb247138dea0172cbed3bffff503f", opaque="opaq", qop=auth, cnonce="3af0f0ff", nc=00000002
X-Asterisk-HangupCause: Normal Clearing
X-Asterisk-HangupCauseCode: 16
Content-Length: 0


---
[2014-09-28 16:54:38] DEBUG[1932] chan_sip.c: Trying to put 'BYE sip:sig' onto UDP socket destined for 212.53.40.40:5060
[2014-09-28 16:54:39] VERBOSE[1932] chan_sip.c: 
<--- SIP read from UDP:212.53.40.40:5060 --->
SIP/2.0 481 No session found
Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK14fbf7c3;rport=37696
From: <sip:XXXXXXXXXX@sipnet.ru>;tag=as46676fe1
To: <sip:73333333333@sipnet.ru>;tag=FFF7E08D-781180-D5673946_kmbdctn-EF93
Call-ID: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru
CSeq: 104 BYE
Server: CommuniGatePro/6.0.10k
Content-Length: 0

<------------->
[2014-09-28 16:54:39] DEBUG[1932] chan_sip.c:  Header  0 [ 28]: SIP/2.0 481 No session found
[2014-09-28 16:54:39] DEBUG[1932] chan_sip.c:  Header  1 [ 69]: Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK14fbf7c3;rport=37696
[2014-09-28 16:54:39] DEBUG[1932] chan_sip.c:  Header  2 [ 47]: From: <sip:XXXXXXXXXX@sipnet.ru>;tag=as46676fe1
[2014-09-28 16:54:39] DEBUG[1932] chan_sip.c:  Header  3 [ 73]: To: <sip:73333333333@sipnet.ru>;tag=FFF7E08D-781180-D5673946_kmbdctn-EF93
[2014-09-28 16:54:39] DEBUG[1932] chan_sip.c:  Header  4 [ 51]: Call-ID: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru
[2014-09-28 16:54:39] DEBUG[1932] chan_sip.c:  Header  5 [ 13]: CSeq: 104 BYE
[2014-09-28 16:54:39] DEBUG[1932] chan_sip.c:  Header  6 [ 30]: Server: CommuniGatePro/6.0.10k
[2014-09-28 16:54:39] DEBUG[1932] chan_sip.c:  Header  7 [ 17]: Content-Length: 0
[2014-09-28 16:54:39] VERBOSE[1932] chan_sip.c: --- (8 headers 0 lines) ---
[2014-09-28 16:54:39] DEBUG[1932] chan_sip.c: = Looking for  Call ID: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru (Checking To) --From tag as46676fe1 --To-tag FFF7E08D-781180-D5673946_kmbdctn-EF93  
[2014-09-28 16:54:39] DEBUG[1932][C-00000006] chan_sip.c: ** SIP TIMER: Cancelling retransmit of packet (reply received) Retransid #279
[2014-09-28 16:54:39] DEBUG[1932][C-00000006] chan_sip.c: Stopping retransmission on '50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru' of Request 104: Match Found
[2014-09-28 16:54:39] DEBUG[1932] chan_sip.c: Destroying SIP dialog 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru
[2014-09-28 16:54:39] VERBOSE[1932] chan_sip.c: Really destroying SIP dialog '50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru' Method: INVITE
[2014-09-28 16:54:39] DEBUG[1932] rtp_engine.c: Destroyed RTP instance '0xb747c02c'
[2014-09-28 16:54:39] VERBOSE[1932] chan_sip.c: 
<--- SIP read from UDP:212.53.40.40:5060 --->
SIP/2.0 481 No session found
Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK14fbf7c3;rport=37696
From: <sip:XXXXXXXXXX@sipnet.ru>;tag=as46676fe1
To: <sip:73333333333@sipnet.ru>;tag=FFF7E08D-781180-D5673946_kmbdctn-EF93
Call-ID: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru
CSeq: 104 BYE
Server: CommuniGatePro/6.0.10k
Content-Length: 0

<------------->
[2014-09-28 16:54:39] DEBUG[1932] chan_sip.c:  Header  0 [ 28]: SIP/2.0 481 No session found
[2014-09-28 16:54:39] DEBUG[1932] chan_sip.c:  Header  1 [ 69]: Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK14fbf7c3;rport=37696
[2014-09-28 16:54:39] DEBUG[1932] chan_sip.c:  Header  2 [ 47]: From: <sip:XXXXXXXXXX@sipnet.ru>;tag=as46676fe1
[2014-09-28 16:54:39] DEBUG[1932] chan_sip.c:  Header  3 [ 73]: To: <sip:73333333333@sipnet.ru>;tag=FFF7E08D-781180-D5673946_kmbdctn-EF93
[2014-09-28 16:54:39] DEBUG[1932] chan_sip.c:  Header  4 [ 51]: Call-ID: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru
[2014-09-28 16:54:39] DEBUG[1932] chan_sip.c:  Header  5 [ 13]: CSeq: 104 BYE
[2014-09-28 16:54:39] DEBUG[1932] chan_sip.c:  Header  6 [ 30]: Server: CommuniGatePro/6.0.10k
[2014-09-28 16:54:39] DEBUG[1932] chan_sip.c:  Header  7 [ 17]: Content-Length: 0
[2014-09-28 16:54:39] VERBOSE[1932] chan_sip.c: --- (8 headers 0 lines) ---
[2014-09-28 16:54:39] DEBUG[1932] chan_sip.c: = Looking for  Call ID: 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru (Checking To) --From tag as46676fe1 --To-tag FFF7E08D-781180-D5673946_kmbdctn-EF93  
[2014-09-28 16:54:39] DEBUG[1932] chan_sip.c: That's odd...  Got a response on a call we don't know about. Callid 50e93aa60498aa3d60f9be6809ecb1d8@sipnet.ru
[2014-09-28 16:54:39] DEBUG[1932] chan_sip.c: Invalid SIP message - rejected , no callid, len 336
[2014-09-28 16:54:49] VERBOSE[1932] chan_sip.c: 
<--- SIP read from UDP:192.168.1.41:5060 --->


<------------->
[2014-09-28 16:54:49] DEBUG[1932] chan_sip.c:  Header  0 [  0]: 
