daily pastebin goal
37%
SHARE
TWEET

Untitled

a guest Apr 27th, 2016 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 2016-04-27 18:41:34.848100 [DEBUG] sofia_reg.c:1917 Disabling multiple registrations on a per-user basis for example@local.carusto.com
  2. 2016-04-27 18:41:34.972436 [NOTICE] switch_channel.c:1115 New Channel sofia/eth0_int/example@local.carusto.com [85bdcd08-0c8e-11e6-9cb1-e35472972d7e]
  3. 2016-04-27 18:41:34.972436 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_NEW
  4. 2016-04-27 18:41:34.972436 [DEBUG] sofia.c:9571 sofia/eth0_int/example@local.carusto.com receiving invite from 192.168.31.104:49617 version: 1.6.6  32bit
  5. 2016-04-27 18:41:34.972436 [DEBUG] sofia.c:9738 IP 192.168.31.104 Rejected by acl "domains". Falling back to Digest auth.
  6. 2016-04-27 18:41:35.008312 [DEBUG] sofia.c:2171 detaching session 85bdcd08-0c8e-11e6-9cb1-e35472972d7e
  7. 2016-04-27 18:41:35.008312 [DEBUG] switch_core_state_machine.c:492 (sofia/eth0_int/example@local.carusto.com) State NEW
  8. 2016-04-27 18:41:35.028708 [DEBUG] sofia.c:2279 Re-attaching to session 85bdcd08-0c8e-11e6-9cb1-e35472972d7e
  9. 2016-04-27 18:41:35.028708 [DEBUG] sofia.c:9571 sofia/eth0_int/example@local.carusto.com receiving invite from 192.168.31.104:59217 version: 1.6.6  32bit
  10. 2016-04-27 18:41:35.028708 [DEBUG] sofia.c:9738 IP 192.168.31.104 Rejected by acl "domains". Falling back to Digest auth.
  11. 2016-04-27 18:41:35.028708 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  12. 2016-04-27 18:41:35.028708 [INFO] sofia.c:9444 Gateway parameter realm=local.carusto.com by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  13. 2016-04-27 18:41:35.028708 [DEBUG] sofia.c:9471 Add sip_gateway_direction: 'inbound', sip_gateway: 'local.carusto.com-83', domain_name: 'local.carusto.com'
  14. 2016-04-27 18:41:35.028708 [DEBUG] sofia.c:6798 Channel sofia/eth0_int/example@local.carusto.com entering state [received][100]
  15. 2016-04-27 18:41:35.028708 [DEBUG] sofia.c:6808 Remote SDP:
  16. v=0
  17. o=- 3670760495 3670760495 IN IP4 192.168.31.104
  18. s=pjmedia
  19. b=AS:84
  20. t=0 0
  21. a=X-nat:0
  22. m=audio 4000 RTP/AVP 98 97 99 104 3 0 8 9 96
  23. c=IN IP4 192.168.31.104
  24. b=TIAS:64000
  25. a=rtpmap:98 speex/16000
  26. a=rtpmap:97 speex/8000
  27. a=rtpmap:99 speex/32000
  28. a=rtpmap:104 iLBC/8000
  29. a=fmtp:104 mode=30
  30. a=rtpmap:3 GSM/8000
  31. a=rtpmap:0 PCMU/8000
  32. a=rtpmap:8 PCMA/8000
  33. a=rtpmap:9 G722/8000
  34. a=rtpmap:96 telephone-event/8000
  35. a=fmtp:96 0-16
  36. a=rtcp:4001 IN IP4 192.168.31.104
  37.  
  38. 2016-04-27 18:41:35.028708 [DEBUG] sofia.c:7172 (sofia/eth0_int/example@local.carusto.com) State Change CS_NEW -> CS_INIT
  39. 2016-04-27 18:41:35.028708 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_INIT
  40. 2016-04-27 18:41:35.028708 [DEBUG] switch_core_state_machine.c:516 (sofia/eth0_int/example@local.carusto.com) State INIT
  41. 2016-04-27 18:41:35.028708 [DEBUG] mod_sofia.c:88 sofia/eth0_int/example@local.carusto.com SOFIA INIT
  42. 2016-04-27 18:41:35.028708 [DEBUG] switch_core_state_machine.c:40 sofia/eth0_int/example@local.carusto.com Standard INIT
  43. 2016-04-27 18:41:35.028708 [DEBUG] switch_core_state_machine.c:48 (sofia/eth0_int/example@local.carusto.com) State Change CS_INIT -> CS_ROUTING
  44. 2016-04-27 18:41:35.028708 [DEBUG] switch_core_state_machine.c:516 (sofia/eth0_int/example@local.carusto.com) State INIT going to sleep
  45. 2016-04-27 18:41:35.068517 [DEBUG] switch_channel.c:3140 Set X vars for channel sofia/eth0_int/example@local.carusto.com, owner_type: number, owner_id: example, owner_number: example, owner_name: (null), owner-contacts: '(null)', have_owner: 0; callee_type: contact, callee_id: 10863, callee_number: +380962369972, callee_name: Vadim Ruban, callee-contacts: '[10863,10860,9459,9460]', change_owner: 0, user_direction_call_outbound: 1, outbound: 0, originated: (null)
  46. 2016-04-27 18:41:35.068517 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  47. 2016-04-27 18:41:35.068517 [DEBUG] switch_channel.c:2261 (sofia/eth0_int/example@local.carusto.com) Callstate Change DOWN -> RINGING
  48. 2016-04-27 18:41:35.068517 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  49. 2016-04-27 18:41:35.068517 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  50. 2016-04-27 18:41:35.068517 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  51. 2016-04-27 18:41:35.068517 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  52. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  53. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  54. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  55. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  56. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  57. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  58. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  59. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  60. 2016-04-27 18:41:35.068517 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  61. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  62. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  63. 2016-04-27 18:41:35.068517 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  64. 2016-04-27 18:41:35.068517 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  65. 2016-04-27 18:41:35.068517 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  66. 2016-04-27 18:41:35.068517 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  67. 2016-04-27 18:41:35.068517 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  68. 2016-04-27 18:41:35.068517 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  69. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  70. 2016-04-27 18:41:35.068517 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  71. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  72. 2016-04-27 18:41:35.068517 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  73. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  74. 2016-04-27 18:41:35.068517 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  75. 2016-04-27 18:41:35.068517 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  76. 2016-04-27 18:41:35.088356 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  77. 2016-04-27 18:41:35.088356 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  78. 2016-04-27 18:41:35.088356 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  79. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  80. 2016-04-27 18:41:35.088356 [INFO] sofia.c:9444 Gateway parameter codecs=(null) by ip:local.carusto.com-83, port:0, host:+380962369972, exten:''
  81. 2016-04-27 18:41:35.088356 [INFO] sofia.c:9444 Gateway parameter id=83 by ip:local.carusto.com-83, port:0, host:+380962369972, exten:''
  82. 2016-04-27 18:41:35.088356 [INFO] sofia.c:9444 Gateway parameter limit=32000 by ip:local.carusto.com-83, port:0, host:+380962369972, exten:''
  83. EXECUTE sofia/eth0_int/example@local.carusto.com limit(hash carriers 83 32000)
  84. 2016-04-27 18:41:35.088356 [DEBUG] switch_limit.c:126 incr called: carriers_83 max:32000, interval:0
  85. 2016-04-27 18:41:35.088356 [DEBUG] mod_hash.c:198 Usage for carriers_83 is now 1/32000
  86. 2016-04-27 18:41:35.088356 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  87. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  88. 2016-04-27 18:41:35.088356 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  89. 2016-04-27 18:41:35.088356 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  90. 2016-04-27 18:41:35.088356 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  91. 2016-04-27 18:41:35.088356 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  92. 2016-04-27 18:41:35.088356 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  93. 2016-04-27 18:41:35.088356 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  94. 2016-04-27 18:41:35.088356 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  95. 2016-04-27 18:41:35.088356 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  96. 2016-04-27 18:41:35.088356 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  97. 2016-04-27 18:41:35.088356 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  98. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  99. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  100. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  101. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  102. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  103. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  104. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  105. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  106. 2016-04-27 18:41:35.088356 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  107. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  108. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  109. 2016-04-27 18:41:35.088356 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  110. 2016-04-27 18:41:35.088356 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  111. 2016-04-27 18:41:35.088356 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  112. 2016-04-27 18:41:35.088356 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  113. 2016-04-27 18:41:35.088356 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  114. 2016-04-27 18:41:35.088356 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  115. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  116. 2016-04-27 18:41:35.088356 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  117. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  118. 2016-04-27 18:41:35.088356 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  119. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  120. 2016-04-27 18:41:35.088356 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  121. 2016-04-27 18:41:35.088356 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  122. 2016-04-27 18:41:35.088356 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  123. 2016-04-27 18:41:35.088356 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  124. 2016-04-27 18:41:35.088356 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  125. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  126. 2016-04-27 18:41:35.088356 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  127. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  128. 2016-04-27 18:41:35.088356 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  129. 2016-04-27 18:41:35.088356 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  130. 2016-04-27 18:41:35.088356 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  131. 2016-04-27 18:41:35.088356 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  132. 2016-04-27 18:41:35.088356 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  133. 2016-04-27 18:41:35.088356 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  134. 2016-04-27 18:41:35.088356 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  135. 2016-04-27 18:41:35.088356 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  136. 2016-04-27 18:41:35.088356 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  137. 2016-04-27 18:41:35.088356 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  138. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  139. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  140. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  141. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  142. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  143. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  144. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  145. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  146. 2016-04-27 18:41:35.088356 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  147. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  148. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  149. 2016-04-27 18:41:35.088356 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  150. 2016-04-27 18:41:35.088356 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  151. 2016-04-27 18:41:35.088356 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  152. 2016-04-27 18:41:35.088356 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  153. 2016-04-27 18:41:35.088356 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  154. 2016-04-27 18:41:35.088356 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  155. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  156. 2016-04-27 18:41:35.088356 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  157. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  158. 2016-04-27 18:41:35.088356 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  159. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  160. 2016-04-27 18:41:35.088356 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  161. 2016-04-27 18:41:35.088356 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  162. 2016-04-27 18:41:35.088356 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  163. 2016-04-27 18:41:35.108465 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  164. 2016-04-27 18:41:35.108465 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  165. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  166. 2016-04-27 18:41:35.108465 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  167. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  168. 2016-04-27 18:41:35.108465 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  169. 2016-04-27 18:41:35.108465 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  170. 2016-04-27 18:41:35.108465 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  171. 2016-04-27 18:41:35.108465 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  172. 2016-04-27 18:41:35.108465 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  173. 2016-04-27 18:41:35.108465 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  174. 2016-04-27 18:41:35.108465 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  175. 2016-04-27 18:41:35.108465 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  176. 2016-04-27 18:41:35.108465 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  177. 2016-04-27 18:41:35.108465 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  178. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  179. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  180. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  181. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  182. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  183. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  184. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  185. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  186. 2016-04-27 18:41:35.108465 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  187. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  188. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  189. 2016-04-27 18:41:35.108465 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  190. 2016-04-27 18:41:35.108465 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  191. 2016-04-27 18:41:35.108465 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  192. 2016-04-27 18:41:35.108465 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  193. 2016-04-27 18:41:35.108465 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  194. 2016-04-27 18:41:35.108465 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  195. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  196. 2016-04-27 18:41:35.108465 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  197. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  198. 2016-04-27 18:41:35.108465 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  199. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  200. 2016-04-27 18:41:35.108465 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  201. 2016-04-27 18:41:35.108465 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  202. 2016-04-27 18:41:35.108465 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  203. 2016-04-27 18:41:35.108465 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  204. 2016-04-27 18:41:35.108465 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  205. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  206. 2016-04-27 18:41:35.108465 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  207. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  208. 2016-04-27 18:41:35.108465 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  209. 2016-04-27 18:41:35.108465 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  210. 2016-04-27 18:41:35.108465 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  211. 2016-04-27 18:41:35.108465 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  212. 2016-04-27 18:41:35.108465 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  213. 2016-04-27 18:41:35.108465 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  214. 2016-04-27 18:41:35.108465 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  215. 2016-04-27 18:41:35.108465 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  216. 2016-04-27 18:41:35.108465 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  217. 2016-04-27 18:41:35.108465 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  218. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  219. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  220. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  221. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  222. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  223. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  224. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  225. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  226. 2016-04-27 18:41:35.108465 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  227. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  228. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  229. 2016-04-27 18:41:35.108465 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  230. 2016-04-27 18:41:35.108465 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  231. 2016-04-27 18:41:35.108465 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  232. 2016-04-27 18:41:35.108465 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  233. 2016-04-27 18:41:35.108465 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  234. 2016-04-27 18:41:35.108465 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  235. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  236. 2016-04-27 18:41:35.108465 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  237. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  238. 2016-04-27 18:41:35.108465 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  239. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  240. 2016-04-27 18:41:35.108465 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  241. 2016-04-27 18:41:35.108465 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  242. 2016-04-27 18:41:35.108465 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  243. 2016-04-27 18:41:35.108465 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  244. 2016-04-27 18:41:35.108465 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  245. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  246. 2016-04-27 18:41:35.108465 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  247. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  248. 2016-04-27 18:41:35.108465 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  249. 2016-04-27 18:41:35.108465 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  250. 2016-04-27 18:41:35.108465 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  251. 2016-04-27 18:41:35.108465 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  252. 2016-04-27 18:41:35.108465 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  253. 2016-04-27 18:41:35.108465 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  254. 2016-04-27 18:41:35.108465 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  255. 2016-04-27 18:41:35.108465 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  256. 2016-04-27 18:41:35.108465 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  257. 2016-04-27 18:41:35.108465 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  258. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  259. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  260. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  261. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  262. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  263. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  264. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  265. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  266. 2016-04-27 18:41:35.108465 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  267. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  268. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  269. 2016-04-27 18:41:35.108465 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  270. 2016-04-27 18:41:35.108465 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  271. 2016-04-27 18:41:35.108465 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  272. 2016-04-27 18:41:35.129732 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  273. 2016-04-27 18:41:35.129732 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  274. 2016-04-27 18:41:35.129732 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  275. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  276. 2016-04-27 18:41:35.129732 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  277. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  278. 2016-04-27 18:41:35.129732 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  279. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  280. 2016-04-27 18:41:35.129732 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  281. 2016-04-27 18:41:35.129732 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  282. 2016-04-27 18:41:35.129732 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  283. 2016-04-27 18:41:35.129732 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  284. 2016-04-27 18:41:35.129732 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  285. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  286. 2016-04-27 18:41:35.129732 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  287. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  288. 2016-04-27 18:41:35.129732 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  289. 2016-04-27 18:41:35.129732 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  290. 2016-04-27 18:41:35.129732 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  291. 2016-04-27 18:41:35.129732 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  292. 2016-04-27 18:41:35.129732 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  293. 2016-04-27 18:41:35.129732 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  294. 2016-04-27 18:41:35.129732 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  295. 2016-04-27 18:41:35.129732 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  296. 2016-04-27 18:41:35.129732 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  297. 2016-04-27 18:41:35.129732 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  298. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  299. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  300. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  301. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  302. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  303. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  304. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  305. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  306. 2016-04-27 18:41:35.129732 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  307. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  308. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  309. 2016-04-27 18:41:35.129732 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  310. 2016-04-27 18:41:35.129732 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  311. 2016-04-27 18:41:35.129732 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  312. 2016-04-27 18:41:35.129732 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  313. 2016-04-27 18:41:35.129732 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  314. 2016-04-27 18:41:35.129732 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  315. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  316. 2016-04-27 18:41:35.129732 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  317. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  318. 2016-04-27 18:41:35.129732 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  319. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  320. 2016-04-27 18:41:35.129732 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  321. 2016-04-27 18:41:35.129732 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  322. 2016-04-27 18:41:35.129732 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  323. 2016-04-27 18:41:35.129732 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  324. 2016-04-27 18:41:35.129732 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  325. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  326. 2016-04-27 18:41:35.129732 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  327. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  328. 2016-04-27 18:41:35.129732 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  329. 2016-04-27 18:41:35.129732 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  330. 2016-04-27 18:41:35.129732 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  331. 2016-04-27 18:41:35.129732 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  332. 2016-04-27 18:41:35.129732 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  333. 2016-04-27 18:41:35.129732 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  334. 2016-04-27 18:41:35.129732 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  335. 2016-04-27 18:41:35.129732 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  336. 2016-04-27 18:41:35.129732 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  337. 2016-04-27 18:41:35.129732 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  338. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  339. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  340. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  341. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  342. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  343. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  344. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  345. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  346. 2016-04-27 18:41:35.129732 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  347. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  348. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  349. 2016-04-27 18:41:35.129732 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  350. 2016-04-27 18:41:35.129732 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  351. 2016-04-27 18:41:35.129732 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  352. 2016-04-27 18:41:35.129732 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  353. 2016-04-27 18:41:35.129732 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  354. 2016-04-27 18:41:35.129732 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  355. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  356. 2016-04-27 18:41:35.129732 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  357. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  358. 2016-04-27 18:41:35.129732 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  359. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  360. 2016-04-27 18:41:35.129732 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  361. 2016-04-27 18:41:35.129732 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  362. 2016-04-27 18:41:35.129732 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  363. 2016-04-27 18:41:35.150856 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  364. 2016-04-27 18:41:35.150856 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  365. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  366. 2016-04-27 18:41:35.150856 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  367. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  368. 2016-04-27 18:41:35.150856 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  369. 2016-04-27 18:41:35.150856 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  370. 2016-04-27 18:41:35.150856 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  371. 2016-04-27 18:41:35.150856 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  372. 2016-04-27 18:41:35.150856 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  373. 2016-04-27 18:41:35.150856 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  374. 2016-04-27 18:41:35.150856 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  375. 2016-04-27 18:41:35.150856 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  376. 2016-04-27 18:41:35.150856 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  377. 2016-04-27 18:41:35.150856 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  378. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  379. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  380. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  381. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  382. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  383. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  384. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  385. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  386. 2016-04-27 18:41:35.150856 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  387. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  388. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  389. 2016-04-27 18:41:35.150856 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  390. 2016-04-27 18:41:35.150856 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  391. 2016-04-27 18:41:35.150856 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  392. 2016-04-27 18:41:35.150856 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  393. 2016-04-27 18:41:35.150856 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  394. 2016-04-27 18:41:35.150856 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  395. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  396. 2016-04-27 18:41:35.150856 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  397. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  398. 2016-04-27 18:41:35.150856 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  399. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  400. 2016-04-27 18:41:35.150856 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  401. 2016-04-27 18:41:35.150856 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  402. 2016-04-27 18:41:35.150856 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  403. 2016-04-27 18:41:35.150856 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  404. 2016-04-27 18:41:35.150856 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  405. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  406. 2016-04-27 18:41:35.150856 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  407. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  408. 2016-04-27 18:41:35.150856 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  409. 2016-04-27 18:41:35.150856 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  410. 2016-04-27 18:41:35.150856 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  411. 2016-04-27 18:41:35.150856 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  412. 2016-04-27 18:41:35.150856 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  413. 2016-04-27 18:41:35.150856 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  414. 2016-04-27 18:41:35.150856 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  415. 2016-04-27 18:41:35.150856 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  416. 2016-04-27 18:41:35.150856 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  417. 2016-04-27 18:41:35.150856 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  418. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  419. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  420. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  421. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  422. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  423. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  424. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  425. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  426. 2016-04-27 18:41:35.150856 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  427. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  428. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  429. 2016-04-27 18:41:35.150856 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  430. 2016-04-27 18:41:35.150856 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  431. 2016-04-27 18:41:35.150856 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  432. 2016-04-27 18:41:35.150856 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  433. 2016-04-27 18:41:35.150856 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  434. 2016-04-27 18:41:35.150856 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  435. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  436. 2016-04-27 18:41:35.150856 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  437. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  438. 2016-04-27 18:41:35.150856 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  439. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  440. 2016-04-27 18:41:35.150856 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  441. 2016-04-27 18:41:35.150856 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  442. 2016-04-27 18:41:35.150856 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  443. 2016-04-27 18:41:35.150856 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  444. 2016-04-27 18:41:35.170158 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  445. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  446. 2016-04-27 18:41:35.170158 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  447. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  448. 2016-04-27 18:41:35.170158 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  449. 2016-04-27 18:41:35.170158 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  450. 2016-04-27 18:41:35.170158 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  451. 2016-04-27 18:41:35.170158 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  452. 2016-04-27 18:41:35.170158 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  453. 2016-04-27 18:41:35.170158 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  454. 2016-04-27 18:41:35.170158 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  455. 2016-04-27 18:41:35.170158 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  456. 2016-04-27 18:41:35.170158 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  457. 2016-04-27 18:41:35.170158 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  458. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  459. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  460. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  461. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  462. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  463. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  464. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  465. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  466. 2016-04-27 18:41:35.170158 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  467. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  468. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  469. 2016-04-27 18:41:35.170158 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  470. 2016-04-27 18:41:35.170158 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  471. 2016-04-27 18:41:35.170158 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  472. 2016-04-27 18:41:35.170158 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  473. 2016-04-27 18:41:35.170158 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  474. 2016-04-27 18:41:35.170158 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  475. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  476. 2016-04-27 18:41:35.170158 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  477. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  478. 2016-04-27 18:41:35.170158 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  479. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  480. 2016-04-27 18:41:35.170158 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  481. 2016-04-27 18:41:35.170158 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  482. 2016-04-27 18:41:35.170158 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  483. 2016-04-27 18:41:35.170158 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  484. 2016-04-27 18:41:35.170158 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  485. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  486. 2016-04-27 18:41:35.170158 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  487. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  488. 2016-04-27 18:41:35.170158 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  489. 2016-04-27 18:41:35.170158 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  490. 2016-04-27 18:41:35.170158 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  491. 2016-04-27 18:41:35.170158 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  492. 2016-04-27 18:41:35.170158 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  493. 2016-04-27 18:41:35.170158 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  494. 2016-04-27 18:41:35.170158 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  495. 2016-04-27 18:41:35.170158 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  496. 2016-04-27 18:41:35.170158 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  497. 2016-04-27 18:41:35.170158 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  498. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  499. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  500. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  501. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  502. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  503. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  504. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  505. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  506. 2016-04-27 18:41:35.170158 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  507. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  508. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  509. 2016-04-27 18:41:35.170158 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  510. 2016-04-27 18:41:35.170158 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  511. 2016-04-27 18:41:35.170158 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  512. 2016-04-27 18:41:35.170158 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  513. 2016-04-27 18:41:35.170158 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  514. 2016-04-27 18:41:35.170158 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  515. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  516. 2016-04-27 18:41:35.170158 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  517. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  518. 2016-04-27 18:41:35.170158 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  519. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  520. 2016-04-27 18:41:35.170158 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  521. 2016-04-27 18:41:35.170158 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  522. 2016-04-27 18:41:35.170158 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  523. 2016-04-27 18:41:35.170158 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  524. 2016-04-27 18:41:35.170158 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  525. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  526. 2016-04-27 18:41:35.170158 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  527. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  528. 2016-04-27 18:41:35.170158 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  529. 2016-04-27 18:41:35.170158 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  530. 2016-04-27 18:41:35.170158 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  531. 2016-04-27 18:41:35.170158 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  532. 2016-04-27 18:41:35.170158 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  533. 2016-04-27 18:41:35.170158 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  534. 2016-04-27 18:41:35.170158 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  535. 2016-04-27 18:41:35.170158 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  536. 2016-04-27 18:41:35.170158 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  537. 2016-04-27 18:41:35.170158 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  538. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  539. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  540. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  541. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  542. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  543. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  544. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  545. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  546. 2016-04-27 18:41:35.170158 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  547. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  548. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  549. 2016-04-27 18:41:35.190037 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  550. 2016-04-27 18:41:35.190037 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  551. 2016-04-27 18:41:35.190037 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  552. 2016-04-27 18:41:35.190037 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  553. 2016-04-27 18:41:35.190037 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  554. 2016-04-27 18:41:35.190037 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  555. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  556. 2016-04-27 18:41:35.190037 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  557. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  558. 2016-04-27 18:41:35.190037 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  559. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  560. 2016-04-27 18:41:35.190037 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  561. 2016-04-27 18:41:35.190037 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  562. 2016-04-27 18:41:35.190037 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  563. 2016-04-27 18:41:35.190037 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  564. 2016-04-27 18:41:35.190037 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  565. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  566. 2016-04-27 18:41:35.190037 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  567. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  568. 2016-04-27 18:41:35.190037 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  569. 2016-04-27 18:41:35.190037 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  570. 2016-04-27 18:41:35.190037 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  571. 2016-04-27 18:41:35.190037 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  572. 2016-04-27 18:41:35.190037 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  573. 2016-04-27 18:41:35.190037 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  574. 2016-04-27 18:41:35.190037 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  575. 2016-04-27 18:41:35.190037 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  576. 2016-04-27 18:41:35.190037 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  577. 2016-04-27 18:41:35.190037 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  578. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  579. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  580. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  581. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  582. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  583. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  584. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  585. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  586. 2016-04-27 18:41:35.190037 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  587. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  588. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  589. 2016-04-27 18:41:35.190037 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  590. 2016-04-27 18:41:35.190037 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  591. 2016-04-27 18:41:35.190037 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  592. 2016-04-27 18:41:35.190037 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  593. 2016-04-27 18:41:35.190037 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  594. 2016-04-27 18:41:35.190037 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  595. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  596. 2016-04-27 18:41:35.190037 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  597. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  598. 2016-04-27 18:41:35.190037 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  599. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  600. 2016-04-27 18:41:35.190037 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  601. 2016-04-27 18:41:35.190037 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  602. 2016-04-27 18:41:35.190037 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  603. 2016-04-27 18:41:35.190037 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  604. 2016-04-27 18:41:35.190037 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  605. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  606. 2016-04-27 18:41:35.190037 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  607. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  608. 2016-04-27 18:41:35.190037 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  609. 2016-04-27 18:41:35.190037 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  610. 2016-04-27 18:41:35.190037 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  611. 2016-04-27 18:41:35.190037 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  612. 2016-04-27 18:41:35.190037 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  613. 2016-04-27 18:41:35.190037 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  614. 2016-04-27 18:41:35.190037 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  615. 2016-04-27 18:41:35.190037 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  616. 2016-04-27 18:41:35.190037 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  617. 2016-04-27 18:41:35.190037 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  618. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  619. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  620. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  621. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  622. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  623. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  624. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  625. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  626. 2016-04-27 18:41:35.190037 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  627. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  628. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  629. 2016-04-27 18:41:35.190037 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  630. 2016-04-27 18:41:35.190037 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  631. 2016-04-27 18:41:35.190037 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  632. 2016-04-27 18:41:35.190037 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  633. 2016-04-27 18:41:35.190037 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  634. 2016-04-27 18:41:35.190037 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  635. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  636. 2016-04-27 18:41:35.190037 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  637. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  638. 2016-04-27 18:41:35.190037 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  639. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  640. 2016-04-27 18:41:35.209473 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  641. 2016-04-27 18:41:35.209473 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  642. 2016-04-27 18:41:35.209473 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  643. 2016-04-27 18:41:35.209473 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  644. 2016-04-27 18:41:35.209473 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  645. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  646. 2016-04-27 18:41:35.209473 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  647. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  648. 2016-04-27 18:41:35.209473 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  649. 2016-04-27 18:41:35.209473 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  650. 2016-04-27 18:41:35.209473 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  651. 2016-04-27 18:41:35.209473 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  652. 2016-04-27 18:41:35.209473 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  653. 2016-04-27 18:41:35.209473 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  654. 2016-04-27 18:41:35.209473 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  655. 2016-04-27 18:41:35.209473 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  656. 2016-04-27 18:41:35.209473 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  657. 2016-04-27 18:41:35.209473 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  658. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  659. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  660. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  661. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  662. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  663. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  664. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  665. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  666. 2016-04-27 18:41:35.209473 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  667. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  668. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  669. 2016-04-27 18:41:35.209473 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  670. 2016-04-27 18:41:35.209473 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  671. 2016-04-27 18:41:35.209473 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  672. 2016-04-27 18:41:35.209473 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  673. 2016-04-27 18:41:35.209473 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  674. 2016-04-27 18:41:35.209473 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  675. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  676. 2016-04-27 18:41:35.209473 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  677. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  678. 2016-04-27 18:41:35.209473 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  679. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  680. 2016-04-27 18:41:35.209473 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  681. 2016-04-27 18:41:35.209473 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  682. 2016-04-27 18:41:35.209473 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  683. 2016-04-27 18:41:35.209473 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  684. 2016-04-27 18:41:35.209473 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  685. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  686. 2016-04-27 18:41:35.209473 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  687. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  688. 2016-04-27 18:41:35.209473 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  689. 2016-04-27 18:41:35.209473 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  690. 2016-04-27 18:41:35.209473 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  691. 2016-04-27 18:41:35.209473 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  692. 2016-04-27 18:41:35.209473 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  693. 2016-04-27 18:41:35.209473 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  694. 2016-04-27 18:41:35.209473 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  695. 2016-04-27 18:41:35.209473 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  696. 2016-04-27 18:41:35.209473 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  697. 2016-04-27 18:41:35.209473 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  698. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  699. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  700. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  701. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  702. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  703. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  704. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  705. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  706. 2016-04-27 18:41:35.209473 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  707. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  708. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  709. 2016-04-27 18:41:35.209473 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  710. 2016-04-27 18:41:35.209473 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  711. 2016-04-27 18:41:35.209473 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  712. 2016-04-27 18:41:35.209473 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  713. 2016-04-27 18:41:35.209473 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  714. 2016-04-27 18:41:35.209473 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  715. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  716. 2016-04-27 18:41:35.209473 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  717. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  718. 2016-04-27 18:41:35.209473 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  719. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  720. 2016-04-27 18:41:35.209473 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  721. 2016-04-27 18:41:35.209473 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  722. 2016-04-27 18:41:35.209473 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  723. 2016-04-27 18:41:35.228667 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  724. 2016-04-27 18:41:35.228667 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  725. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  726. 2016-04-27 18:41:35.228667 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  727. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  728. 2016-04-27 18:41:35.228667 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  729. 2016-04-27 18:41:35.228667 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  730. 2016-04-27 18:41:35.228667 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  731. 2016-04-27 18:41:35.228667 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  732. 2016-04-27 18:41:35.228667 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  733. 2016-04-27 18:41:35.228667 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  734. 2016-04-27 18:41:35.228667 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  735. 2016-04-27 18:41:35.228667 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  736. 2016-04-27 18:41:35.228667 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  737. 2016-04-27 18:41:35.228667 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  738. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  739. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  740. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  741. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  742. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  743. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  744. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  745. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  746. 2016-04-27 18:41:35.228667 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  747. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  748. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  749. 2016-04-27 18:41:35.228667 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  750. 2016-04-27 18:41:35.228667 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  751. 2016-04-27 18:41:35.228667 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  752. 2016-04-27 18:41:35.228667 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  753. 2016-04-27 18:41:35.228667 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  754. 2016-04-27 18:41:35.228667 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  755. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  756. 2016-04-27 18:41:35.228667 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  757. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  758. 2016-04-27 18:41:35.228667 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  759. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  760. 2016-04-27 18:41:35.228667 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  761. 2016-04-27 18:41:35.228667 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  762. 2016-04-27 18:41:35.228667 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  763. 2016-04-27 18:41:35.228667 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  764. 2016-04-27 18:41:35.228667 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  765. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  766. 2016-04-27 18:41:35.228667 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  767. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  768. 2016-04-27 18:41:35.228667 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  769. 2016-04-27 18:41:35.228667 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  770. 2016-04-27 18:41:35.228667 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  771. 2016-04-27 18:41:35.228667 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  772. 2016-04-27 18:41:35.228667 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  773. 2016-04-27 18:41:35.228667 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  774. 2016-04-27 18:41:35.228667 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  775. 2016-04-27 18:41:35.228667 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  776. 2016-04-27 18:41:35.228667 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  777. 2016-04-27 18:41:35.228667 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  778. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  779. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  780. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  781. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  782. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  783. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  784. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  785. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  786. 2016-04-27 18:41:35.228667 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  787. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  788. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  789. 2016-04-27 18:41:35.228667 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  790. 2016-04-27 18:41:35.228667 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  791. 2016-04-27 18:41:35.228667 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  792. 2016-04-27 18:41:35.228667 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  793. 2016-04-27 18:41:35.228667 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  794. 2016-04-27 18:41:35.228667 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  795. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  796. 2016-04-27 18:41:35.228667 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  797. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  798. 2016-04-27 18:41:35.228667 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  799. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  800. 2016-04-27 18:41:35.228667 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  801. 2016-04-27 18:41:35.228667 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  802. 2016-04-27 18:41:35.228667 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  803. 2016-04-27 18:41:35.248545 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  804. 2016-04-27 18:41:35.248545 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  805. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  806. 2016-04-27 18:41:35.248545 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  807. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  808. 2016-04-27 18:41:35.248545 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  809. 2016-04-27 18:41:35.248545 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  810. 2016-04-27 18:41:35.248545 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  811. 2016-04-27 18:41:35.248545 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  812. 2016-04-27 18:41:35.248545 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  813. 2016-04-27 18:41:35.248545 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  814. 2016-04-27 18:41:35.248545 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  815. 2016-04-27 18:41:35.248545 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  816. 2016-04-27 18:41:35.248545 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  817. 2016-04-27 18:41:35.248545 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  818. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  819. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  820. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  821. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  822. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  823. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  824. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  825. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  826. 2016-04-27 18:41:35.248545 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  827. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  828. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  829. 2016-04-27 18:41:35.248545 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  830. 2016-04-27 18:41:35.248545 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  831. 2016-04-27 18:41:35.248545 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  832. 2016-04-27 18:41:35.248545 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  833. 2016-04-27 18:41:35.248545 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  834. 2016-04-27 18:41:35.248545 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  835. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  836. 2016-04-27 18:41:35.248545 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  837. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  838. 2016-04-27 18:41:35.248545 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  839. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  840. 2016-04-27 18:41:35.248545 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  841. 2016-04-27 18:41:35.248545 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  842. 2016-04-27 18:41:35.248545 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  843. 2016-04-27 18:41:35.248545 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  844. 2016-04-27 18:41:35.248545 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  845. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  846. 2016-04-27 18:41:35.248545 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  847. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  848. 2016-04-27 18:41:35.248545 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  849. 2016-04-27 18:41:35.248545 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  850. 2016-04-27 18:41:35.248545 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  851. 2016-04-27 18:41:35.248545 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  852. 2016-04-27 18:41:35.248545 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  853. 2016-04-27 18:41:35.248545 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  854. 2016-04-27 18:41:35.248545 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  855. 2016-04-27 18:41:35.248545 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  856. 2016-04-27 18:41:35.248545 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  857. 2016-04-27 18:41:35.248545 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  858. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  859. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  860. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  861. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  862. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  863. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  864. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  865. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  866. 2016-04-27 18:41:35.248545 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  867. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  868. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  869. 2016-04-27 18:41:35.248545 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  870. 2016-04-27 18:41:35.248545 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  871. 2016-04-27 18:41:35.248545 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  872. 2016-04-27 18:41:35.248545 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  873. 2016-04-27 18:41:35.248545 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  874. 2016-04-27 18:41:35.248545 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  875. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  876. 2016-04-27 18:41:35.248545 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  877. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  878. 2016-04-27 18:41:35.248545 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  879. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  880. 2016-04-27 18:41:35.248545 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  881. 2016-04-27 18:41:35.248545 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  882. 2016-04-27 18:41:35.248545 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  883. 2016-04-27 18:41:35.248545 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  884. 2016-04-27 18:41:35.248545 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  885. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  886. 2016-04-27 18:41:35.269702 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  887. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  888. 2016-04-27 18:41:35.269702 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  889. 2016-04-27 18:41:35.269702 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  890. 2016-04-27 18:41:35.269702 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  891. 2016-04-27 18:41:35.269702 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  892. 2016-04-27 18:41:35.269702 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  893. 2016-04-27 18:41:35.269702 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  894. 2016-04-27 18:41:35.269702 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  895. 2016-04-27 18:41:35.269702 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  896. 2016-04-27 18:41:35.269702 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  897. 2016-04-27 18:41:35.269702 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  898. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  899. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  900. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  901. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  902. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  903. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  904. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  905. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  906. 2016-04-27 18:41:35.269702 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  907. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  908. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  909. 2016-04-27 18:41:35.269702 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  910. 2016-04-27 18:41:35.269702 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  911. 2016-04-27 18:41:35.269702 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  912. 2016-04-27 18:41:35.269702 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  913. 2016-04-27 18:41:35.269702 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  914. 2016-04-27 18:41:35.269702 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  915. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  916. 2016-04-27 18:41:35.269702 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  917. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  918. 2016-04-27 18:41:35.269702 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  919. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  920. 2016-04-27 18:41:35.269702 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  921. 2016-04-27 18:41:35.269702 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  922. 2016-04-27 18:41:35.269702 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  923. 2016-04-27 18:41:35.269702 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  924. 2016-04-27 18:41:35.269702 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  925. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  926. 2016-04-27 18:41:35.269702 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  927. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  928. 2016-04-27 18:41:35.269702 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  929. 2016-04-27 18:41:35.269702 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  930. 2016-04-27 18:41:35.269702 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  931. 2016-04-27 18:41:35.269702 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  932. 2016-04-27 18:41:35.269702 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  933. 2016-04-27 18:41:35.269702 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  934. 2016-04-27 18:41:35.269702 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  935. 2016-04-27 18:41:35.269702 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  936. 2016-04-27 18:41:35.269702 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  937. 2016-04-27 18:41:35.269702 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  938. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  939. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  940. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  941. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  942. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  943. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  944. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  945. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  946. 2016-04-27 18:41:35.269702 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  947. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  948. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  949. 2016-04-27 18:41:35.269702 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  950. 2016-04-27 18:41:35.269702 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  951. 2016-04-27 18:41:35.269702 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  952. 2016-04-27 18:41:35.269702 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  953. 2016-04-27 18:41:35.269702 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  954. 2016-04-27 18:41:35.269702 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  955. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  956. 2016-04-27 18:41:35.269702 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  957. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  958. 2016-04-27 18:41:35.269702 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  959. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  960. 2016-04-27 18:41:35.269702 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  961. 2016-04-27 18:41:35.269702 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  962. 2016-04-27 18:41:35.269702 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  963. 2016-04-27 18:41:35.269702 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  964. 2016-04-27 18:41:35.269702 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  965. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  966. 2016-04-27 18:41:35.269702 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  967. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  968. 2016-04-27 18:41:35.269702 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  969. 2016-04-27 18:41:35.269702 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  970. 2016-04-27 18:41:35.269702 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  971. 2016-04-27 18:41:35.269702 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  972. 2016-04-27 18:41:35.269702 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  973. 2016-04-27 18:41:35.269702 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  974. 2016-04-27 18:41:35.269702 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  975. 2016-04-27 18:41:35.269702 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  976. 2016-04-27 18:41:35.269702 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  977. 2016-04-27 18:41:35.269702 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  978. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  979. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  980. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  981. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  982. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  983. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  984. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  985. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  986. 2016-04-27 18:41:35.269702 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  987. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  988. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  989. 2016-04-27 18:41:35.269702 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  990. 2016-04-27 18:41:35.269702 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  991. 2016-04-27 18:41:35.269702 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  992. 2016-04-27 18:41:35.269702 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  993. 2016-04-27 18:41:35.269702 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  994. 2016-04-27 18:41:35.269702 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  995. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  996. 2016-04-27 18:41:35.269702 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  997. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  998. 2016-04-27 18:41:35.269702 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  999. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  1000. 2016-04-27 18:41:35.289303 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  1001. 2016-04-27 18:41:35.289303 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  1002. 2016-04-27 18:41:35.289303 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1003. 2016-04-27 18:41:35.289303 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1004. 2016-04-27 18:41:35.289303 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1005. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  1006. 2016-04-27 18:41:35.289303 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1007. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  1008. 2016-04-27 18:41:35.289303 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  1009. 2016-04-27 18:41:35.289303 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  1010. 2016-04-27 18:41:35.289303 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  1011. 2016-04-27 18:41:35.289303 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1012. 2016-04-27 18:41:35.289303 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  1013. 2016-04-27 18:41:35.289303 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  1014. 2016-04-27 18:41:35.289303 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  1015. 2016-04-27 18:41:35.289303 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  1016. 2016-04-27 18:41:35.289303 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  1017. 2016-04-27 18:41:35.289303 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  1018. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  1019. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  1020. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  1021. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  1022. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  1023. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  1024. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  1025. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  1026. 2016-04-27 18:41:35.289303 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  1027. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  1028. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  1029. 2016-04-27 18:41:35.289303 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  1030. 2016-04-27 18:41:35.289303 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  1031. 2016-04-27 18:41:35.289303 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  1032. 2016-04-27 18:41:35.289303 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  1033. 2016-04-27 18:41:35.289303 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  1034. 2016-04-27 18:41:35.289303 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  1035. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  1036. 2016-04-27 18:41:35.289303 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  1037. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  1038. 2016-04-27 18:41:35.289303 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  1039. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  1040. 2016-04-27 18:41:35.289303 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  1041. 2016-04-27 18:41:35.289303 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  1042. 2016-04-27 18:41:35.289303 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1043. 2016-04-27 18:41:35.289303 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1044. 2016-04-27 18:41:35.289303 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1045. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  1046. 2016-04-27 18:41:35.289303 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1047. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  1048. 2016-04-27 18:41:35.289303 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  1049. 2016-04-27 18:41:35.289303 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  1050. 2016-04-27 18:41:35.289303 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  1051. 2016-04-27 18:41:35.289303 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1052. 2016-04-27 18:41:35.289303 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  1053. 2016-04-27 18:41:35.289303 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  1054. 2016-04-27 18:41:35.289303 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  1055. 2016-04-27 18:41:35.289303 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  1056. 2016-04-27 18:41:35.289303 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  1057. 2016-04-27 18:41:35.289303 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  1058. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  1059. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  1060. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  1061. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  1062. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  1063. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  1064. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  1065. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  1066. 2016-04-27 18:41:35.289303 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  1067. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  1068. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  1069. 2016-04-27 18:41:35.289303 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  1070. 2016-04-27 18:41:35.289303 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  1071. 2016-04-27 18:41:35.289303 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  1072. 2016-04-27 18:41:35.289303 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  1073. 2016-04-27 18:41:35.289303 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  1074. 2016-04-27 18:41:35.289303 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  1075. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  1076. 2016-04-27 18:41:35.289303 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  1077. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  1078. 2016-04-27 18:41:35.289303 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  1079. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  1080. 2016-04-27 18:41:35.289303 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  1081. 2016-04-27 18:41:35.289303 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  1082. 2016-04-27 18:41:35.289303 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1083. 2016-04-27 18:41:35.308258 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1084. 2016-04-27 18:41:35.308258 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1085. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  1086. 2016-04-27 18:41:35.308258 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1087. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  1088. 2016-04-27 18:41:35.308258 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  1089. 2016-04-27 18:41:35.308258 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  1090. 2016-04-27 18:41:35.308258 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  1091. 2016-04-27 18:41:35.308258 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1092. 2016-04-27 18:41:35.308258 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  1093. 2016-04-27 18:41:35.308258 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  1094. 2016-04-27 18:41:35.308258 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  1095. 2016-04-27 18:41:35.308258 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  1096. 2016-04-27 18:41:35.308258 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  1097. 2016-04-27 18:41:35.308258 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  1098. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  1099. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  1100. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  1101. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  1102. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  1103. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  1104. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  1105. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  1106. 2016-04-27 18:41:35.308258 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  1107. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  1108. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  1109. 2016-04-27 18:41:35.308258 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  1110. 2016-04-27 18:41:35.308258 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  1111. 2016-04-27 18:41:35.308258 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  1112. 2016-04-27 18:41:35.308258 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  1113. 2016-04-27 18:41:35.308258 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  1114. 2016-04-27 18:41:35.308258 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  1115. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  1116. 2016-04-27 18:41:35.308258 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  1117. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  1118. 2016-04-27 18:41:35.308258 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  1119. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  1120. 2016-04-27 18:41:35.308258 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  1121. 2016-04-27 18:41:35.308258 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  1122. 2016-04-27 18:41:35.308258 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1123. 2016-04-27 18:41:35.308258 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1124. 2016-04-27 18:41:35.308258 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1125. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  1126. 2016-04-27 18:41:35.308258 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1127. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  1128. 2016-04-27 18:41:35.308258 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  1129. 2016-04-27 18:41:35.308258 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  1130. 2016-04-27 18:41:35.308258 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  1131. 2016-04-27 18:41:35.308258 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1132. 2016-04-27 18:41:35.308258 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  1133. 2016-04-27 18:41:35.308258 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  1134. 2016-04-27 18:41:35.308258 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  1135. 2016-04-27 18:41:35.308258 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  1136. 2016-04-27 18:41:35.308258 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  1137. 2016-04-27 18:41:35.308258 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  1138. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  1139. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  1140. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  1141. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  1142. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  1143. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  1144. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  1145. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  1146. 2016-04-27 18:41:35.308258 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  1147. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  1148. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  1149. 2016-04-27 18:41:35.308258 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  1150. 2016-04-27 18:41:35.308258 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  1151. 2016-04-27 18:41:35.308258 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  1152. 2016-04-27 18:41:35.308258 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  1153. 2016-04-27 18:41:35.308258 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  1154. 2016-04-27 18:41:35.308258 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  1155. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  1156. 2016-04-27 18:41:35.308258 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  1157. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  1158. 2016-04-27 18:41:35.308258 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  1159. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  1160. 2016-04-27 18:41:35.308258 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  1161. 2016-04-27 18:41:35.308258 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  1162. 2016-04-27 18:41:35.308258 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1163. 2016-04-27 18:41:35.328353 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1164. 2016-04-27 18:41:35.328353 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1165. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  1166. 2016-04-27 18:41:35.328353 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1167. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  1168. 2016-04-27 18:41:35.328353 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  1169. 2016-04-27 18:41:35.328353 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  1170. 2016-04-27 18:41:35.328353 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  1171. 2016-04-27 18:41:35.328353 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1172. 2016-04-27 18:41:35.328353 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  1173. 2016-04-27 18:41:35.328353 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  1174. 2016-04-27 18:41:35.328353 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  1175. 2016-04-27 18:41:35.328353 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  1176. 2016-04-27 18:41:35.328353 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  1177. 2016-04-27 18:41:35.328353 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  1178. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  1179. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  1180. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  1181. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  1182. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  1183. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  1184. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  1185. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  1186. 2016-04-27 18:41:35.328353 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  1187. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  1188. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  1189. 2016-04-27 18:41:35.328353 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  1190. 2016-04-27 18:41:35.328353 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  1191. 2016-04-27 18:41:35.328353 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  1192. 2016-04-27 18:41:35.328353 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  1193. 2016-04-27 18:41:35.328353 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  1194. 2016-04-27 18:41:35.328353 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  1195. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  1196. 2016-04-27 18:41:35.328353 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  1197. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  1198. 2016-04-27 18:41:35.328353 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  1199. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  1200. 2016-04-27 18:41:35.328353 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  1201. 2016-04-27 18:41:35.328353 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  1202. 2016-04-27 18:41:35.328353 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1203. 2016-04-27 18:41:35.328353 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1204. 2016-04-27 18:41:35.328353 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1205. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  1206. 2016-04-27 18:41:35.328353 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1207. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  1208. 2016-04-27 18:41:35.328353 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  1209. 2016-04-27 18:41:35.328353 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  1210. 2016-04-27 18:41:35.328353 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  1211. 2016-04-27 18:41:35.328353 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1212. 2016-04-27 18:41:35.328353 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  1213. 2016-04-27 18:41:35.328353 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  1214. 2016-04-27 18:41:35.328353 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  1215. 2016-04-27 18:41:35.328353 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  1216. 2016-04-27 18:41:35.328353 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  1217. 2016-04-27 18:41:35.328353 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  1218. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  1219. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  1220. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  1221. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  1222. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  1223. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  1224. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  1225. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  1226. 2016-04-27 18:41:35.328353 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  1227. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  1228. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  1229. 2016-04-27 18:41:35.328353 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  1230. 2016-04-27 18:41:35.328353 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  1231. 2016-04-27 18:41:35.328353 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  1232. 2016-04-27 18:41:35.328353 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  1233. 2016-04-27 18:41:35.328353 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  1234. 2016-04-27 18:41:35.328353 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  1235. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  1236. 2016-04-27 18:41:35.328353 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  1237. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  1238. 2016-04-27 18:41:35.328353 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  1239. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  1240. 2016-04-27 18:41:35.328353 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  1241. 2016-04-27 18:41:35.328353 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  1242. 2016-04-27 18:41:35.328353 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1243. 2016-04-27 18:41:35.349558 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1244. 2016-04-27 18:41:35.349558 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1245. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  1246. 2016-04-27 18:41:35.349558 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1247. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  1248. 2016-04-27 18:41:35.349558 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  1249. 2016-04-27 18:41:35.349558 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  1250. 2016-04-27 18:41:35.349558 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  1251. 2016-04-27 18:41:35.349558 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1252. 2016-04-27 18:41:35.349558 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  1253. 2016-04-27 18:41:35.349558 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  1254. 2016-04-27 18:41:35.349558 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  1255. 2016-04-27 18:41:35.349558 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  1256. 2016-04-27 18:41:35.349558 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  1257. 2016-04-27 18:41:35.349558 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  1258. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  1259. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  1260. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  1261. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  1262. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  1263. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  1264. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  1265. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  1266. 2016-04-27 18:41:35.349558 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  1267. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  1268. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  1269. 2016-04-27 18:41:35.349558 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  1270. 2016-04-27 18:41:35.349558 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  1271. 2016-04-27 18:41:35.349558 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  1272. 2016-04-27 18:41:35.349558 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  1273. 2016-04-27 18:41:35.349558 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  1274. 2016-04-27 18:41:35.349558 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  1275. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  1276. 2016-04-27 18:41:35.349558 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  1277. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  1278. 2016-04-27 18:41:35.349558 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  1279. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  1280. 2016-04-27 18:41:35.349558 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  1281. 2016-04-27 18:41:35.349558 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  1282. 2016-04-27 18:41:35.349558 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1283. 2016-04-27 18:41:35.349558 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1284. 2016-04-27 18:41:35.349558 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1285. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  1286. 2016-04-27 18:41:35.349558 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1287. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  1288. 2016-04-27 18:41:35.349558 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  1289. 2016-04-27 18:41:35.349558 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  1290. 2016-04-27 18:41:35.349558 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  1291. 2016-04-27 18:41:35.349558 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1292. 2016-04-27 18:41:35.349558 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  1293. 2016-04-27 18:41:35.349558 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  1294. 2016-04-27 18:41:35.349558 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  1295. 2016-04-27 18:41:35.349558 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  1296. 2016-04-27 18:41:35.349558 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  1297. 2016-04-27 18:41:35.349558 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  1298. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  1299. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  1300. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  1301. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  1302. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  1303. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  1304. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  1305. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  1306. 2016-04-27 18:41:35.349558 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  1307. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  1308. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  1309. 2016-04-27 18:41:35.349558 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  1310. 2016-04-27 18:41:35.349558 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  1311. 2016-04-27 18:41:35.349558 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  1312. 2016-04-27 18:41:35.349558 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  1313. 2016-04-27 18:41:35.349558 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  1314. 2016-04-27 18:41:35.349558 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  1315. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  1316. 2016-04-27 18:41:35.349558 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  1317. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  1318. 2016-04-27 18:41:35.349558 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  1319. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  1320. 2016-04-27 18:41:35.349558 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  1321. 2016-04-27 18:41:35.349558 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  1322. 2016-04-27 18:41:35.349558 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1323. 2016-04-27 18:41:35.371862 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1324. 2016-04-27 18:41:35.371862 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1325. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  1326. 2016-04-27 18:41:35.371862 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1327. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  1328. 2016-04-27 18:41:35.371862 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  1329. 2016-04-27 18:41:35.371862 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  1330. 2016-04-27 18:41:35.371862 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  1331. 2016-04-27 18:41:35.371862 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1332. 2016-04-27 18:41:35.371862 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  1333. 2016-04-27 18:41:35.371862 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  1334. 2016-04-27 18:41:35.371862 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  1335. 2016-04-27 18:41:35.371862 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  1336. 2016-04-27 18:41:35.371862 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  1337. 2016-04-27 18:41:35.371862 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  1338. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  1339. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  1340. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  1341. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  1342. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  1343. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  1344. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  1345. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  1346. 2016-04-27 18:41:35.371862 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  1347. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  1348. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  1349. 2016-04-27 18:41:35.371862 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  1350. 2016-04-27 18:41:35.371862 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  1351. 2016-04-27 18:41:35.371862 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  1352. 2016-04-27 18:41:35.371862 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  1353. 2016-04-27 18:41:35.371862 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  1354. 2016-04-27 18:41:35.371862 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  1355. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  1356. 2016-04-27 18:41:35.371862 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  1357. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  1358. 2016-04-27 18:41:35.371862 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  1359. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  1360. 2016-04-27 18:41:35.371862 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  1361. 2016-04-27 18:41:35.371862 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  1362. 2016-04-27 18:41:35.371862 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1363. 2016-04-27 18:41:35.391030 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1364. 2016-04-27 18:41:35.391030 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1365. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  1366. 2016-04-27 18:41:35.391030 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1367. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  1368. 2016-04-27 18:41:35.391030 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  1369. 2016-04-27 18:41:35.391030 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  1370. 2016-04-27 18:41:35.391030 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  1371. 2016-04-27 18:41:35.391030 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1372. 2016-04-27 18:41:35.391030 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  1373. 2016-04-27 18:41:35.391030 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  1374. 2016-04-27 18:41:35.391030 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  1375. 2016-04-27 18:41:35.391030 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  1376. 2016-04-27 18:41:35.391030 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  1377. 2016-04-27 18:41:35.391030 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  1378. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  1379. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  1380. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  1381. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  1382. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  1383. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  1384. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  1385. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  1386. 2016-04-27 18:41:35.391030 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  1387. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  1388. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  1389. 2016-04-27 18:41:35.391030 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  1390. 2016-04-27 18:41:35.391030 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  1391. 2016-04-27 18:41:35.391030 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  1392. 2016-04-27 18:41:35.391030 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  1393. 2016-04-27 18:41:35.391030 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  1394. 2016-04-27 18:41:35.391030 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  1395. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  1396. 2016-04-27 18:41:35.391030 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  1397. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  1398. 2016-04-27 18:41:35.391030 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  1399. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  1400. 2016-04-27 18:41:35.391030 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  1401. 2016-04-27 18:41:35.391030 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  1402. 2016-04-27 18:41:35.391030 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1403. 2016-04-27 18:41:35.391030 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1404. 2016-04-27 18:41:35.391030 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1405. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  1406. 2016-04-27 18:41:35.391030 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1407. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  1408. 2016-04-27 18:41:35.391030 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  1409. 2016-04-27 18:41:35.391030 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  1410. 2016-04-27 18:41:35.391030 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  1411. 2016-04-27 18:41:35.391030 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1412. 2016-04-27 18:41:35.409043 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  1413. 2016-04-27 18:41:35.409043 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  1414. 2016-04-27 18:41:35.409043 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  1415. 2016-04-27 18:41:35.409043 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  1416. 2016-04-27 18:41:35.409043 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  1417. 2016-04-27 18:41:35.409043 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  1418. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  1419. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  1420. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  1421. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  1422. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  1423. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  1424. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  1425. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  1426. 2016-04-27 18:41:35.409043 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  1427. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  1428. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  1429. 2016-04-27 18:41:35.409043 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  1430. 2016-04-27 18:41:35.409043 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  1431. 2016-04-27 18:41:35.409043 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  1432. 2016-04-27 18:41:35.409043 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  1433. 2016-04-27 18:41:35.409043 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  1434. 2016-04-27 18:41:35.409043 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  1435. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  1436. 2016-04-27 18:41:35.409043 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  1437. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  1438. 2016-04-27 18:41:35.409043 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  1439. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  1440. 2016-04-27 18:41:35.409043 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  1441. 2016-04-27 18:41:35.409043 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  1442. 2016-04-27 18:41:35.409043 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1443. 2016-04-27 18:41:35.409043 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1444. 2016-04-27 18:41:35.409043 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1445. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  1446. 2016-04-27 18:41:35.409043 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1447. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  1448. 2016-04-27 18:41:35.409043 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  1449. 2016-04-27 18:41:35.409043 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  1450. 2016-04-27 18:41:35.409043 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  1451. 2016-04-27 18:41:35.409043 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1452. 2016-04-27 18:41:35.409043 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  1453. 2016-04-27 18:41:35.409043 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  1454. 2016-04-27 18:41:35.409043 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  1455. 2016-04-27 18:41:35.409043 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  1456. 2016-04-27 18:41:35.409043 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  1457. 2016-04-27 18:41:35.409043 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  1458. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  1459. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  1460. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  1461. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  1462. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  1463. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  1464. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  1465. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  1466. 2016-04-27 18:41:35.409043 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  1467. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  1468. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  1469. 2016-04-27 18:41:35.409043 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  1470. 2016-04-27 18:41:35.409043 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  1471. 2016-04-27 18:41:35.409043 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  1472. 2016-04-27 18:41:35.409043 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  1473. 2016-04-27 18:41:35.409043 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  1474. 2016-04-27 18:41:35.409043 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  1475. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  1476. 2016-04-27 18:41:35.409043 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  1477. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  1478. 2016-04-27 18:41:35.409043 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  1479. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  1480. 2016-04-27 18:41:35.409043 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  1481. 2016-04-27 18:41:35.409043 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  1482. 2016-04-27 18:41:35.409043 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1483. 2016-04-27 18:41:35.428206 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1484. 2016-04-27 18:41:35.428206 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1485. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  1486. 2016-04-27 18:41:35.428206 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1487. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  1488. 2016-04-27 18:41:35.428206 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  1489. 2016-04-27 18:41:35.428206 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  1490. 2016-04-27 18:41:35.428206 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  1491. 2016-04-27 18:41:35.428206 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1492. 2016-04-27 18:41:35.428206 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  1493. 2016-04-27 18:41:35.428206 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  1494. 2016-04-27 18:41:35.428206 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  1495. 2016-04-27 18:41:35.428206 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  1496. 2016-04-27 18:41:35.428206 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  1497. 2016-04-27 18:41:35.428206 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  1498. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  1499. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  1500. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  1501. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  1502. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  1503. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  1504. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  1505. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  1506. 2016-04-27 18:41:35.428206 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  1507. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  1508. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  1509. 2016-04-27 18:41:35.428206 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  1510. 2016-04-27 18:41:35.428206 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  1511. 2016-04-27 18:41:35.428206 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  1512. 2016-04-27 18:41:35.428206 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  1513. 2016-04-27 18:41:35.428206 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  1514. 2016-04-27 18:41:35.428206 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  1515. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  1516. 2016-04-27 18:41:35.428206 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  1517. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  1518. 2016-04-27 18:41:35.428206 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  1519. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  1520. 2016-04-27 18:41:35.428206 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  1521. 2016-04-27 18:41:35.428206 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  1522. 2016-04-27 18:41:35.428206 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1523. 2016-04-27 18:41:35.428206 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1524. 2016-04-27 18:41:35.428206 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1525. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  1526. 2016-04-27 18:41:35.448936 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1527. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  1528. 2016-04-27 18:41:35.448936 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  1529. 2016-04-27 18:41:35.448936 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  1530. 2016-04-27 18:41:35.448936 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  1531. 2016-04-27 18:41:35.448936 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1532. 2016-04-27 18:41:35.448936 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  1533. 2016-04-27 18:41:35.448936 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  1534. 2016-04-27 18:41:35.448936 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  1535. 2016-04-27 18:41:35.448936 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  1536. 2016-04-27 18:41:35.448936 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  1537. 2016-04-27 18:41:35.448936 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  1538. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  1539. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  1540. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  1541. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  1542. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  1543. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  1544. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  1545. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  1546. 2016-04-27 18:41:35.448936 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  1547. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  1548. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  1549. 2016-04-27 18:41:35.448936 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  1550. 2016-04-27 18:41:35.448936 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  1551. 2016-04-27 18:41:35.448936 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  1552. 2016-04-27 18:41:35.448936 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  1553. 2016-04-27 18:41:35.448936 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  1554. 2016-04-27 18:41:35.448936 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  1555. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  1556. 2016-04-27 18:41:35.448936 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  1557. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  1558. 2016-04-27 18:41:35.448936 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  1559. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  1560. 2016-04-27 18:41:35.448936 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  1561. 2016-04-27 18:41:35.448936 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  1562. 2016-04-27 18:41:35.448936 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1563. 2016-04-27 18:41:35.448936 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1564. 2016-04-27 18:41:35.448936 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1565. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  1566. 2016-04-27 18:41:35.448936 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1567. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  1568. 2016-04-27 18:41:35.448936 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  1569. 2016-04-27 18:41:35.448936 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  1570. 2016-04-27 18:41:35.448936 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  1571. 2016-04-27 18:41:35.448936 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1572. 2016-04-27 18:41:35.448936 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  1573. 2016-04-27 18:41:35.448936 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  1574. 2016-04-27 18:41:35.448936 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  1575. 2016-04-27 18:41:35.448936 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  1576. 2016-04-27 18:41:35.448936 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  1577. 2016-04-27 18:41:35.448936 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  1578. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  1579. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  1580. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  1581. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  1582. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  1583. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  1584. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  1585. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  1586. 2016-04-27 18:41:35.448936 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  1587. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  1588. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  1589. 2016-04-27 18:41:35.448936 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  1590. 2016-04-27 18:41:35.448936 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  1591. 2016-04-27 18:41:35.448936 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  1592. 2016-04-27 18:41:35.448936 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  1593. 2016-04-27 18:41:35.448936 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  1594. 2016-04-27 18:41:35.448936 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  1595. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  1596. 2016-04-27 18:41:35.448936 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  1597. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  1598. 2016-04-27 18:41:35.448936 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  1599. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  1600. 2016-04-27 18:41:35.448936 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  1601. 2016-04-27 18:41:35.448936 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  1602. 2016-04-27 18:41:35.448936 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1603. 2016-04-27 18:41:35.468754 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1604. 2016-04-27 18:41:35.468754 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1605. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  1606. 2016-04-27 18:41:35.468754 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1607. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  1608. 2016-04-27 18:41:35.468754 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  1609. 2016-04-27 18:41:35.468754 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  1610. 2016-04-27 18:41:35.468754 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  1611. 2016-04-27 18:41:35.468754 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1612. 2016-04-27 18:41:35.468754 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  1613. 2016-04-27 18:41:35.468754 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  1614. 2016-04-27 18:41:35.468754 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  1615. 2016-04-27 18:41:35.468754 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  1616. 2016-04-27 18:41:35.468754 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  1617. 2016-04-27 18:41:35.468754 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  1618. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  1619. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  1620. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  1621. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  1622. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  1623. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  1624. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  1625. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  1626. 2016-04-27 18:41:35.468754 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  1627. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  1628. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  1629. 2016-04-27 18:41:35.468754 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  1630. 2016-04-27 18:41:35.468754 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  1631. 2016-04-27 18:41:35.468754 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  1632. 2016-04-27 18:41:35.468754 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  1633. 2016-04-27 18:41:35.468754 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  1634. 2016-04-27 18:41:35.468754 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  1635. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  1636. 2016-04-27 18:41:35.468754 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  1637. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  1638. 2016-04-27 18:41:35.468754 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  1639. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  1640. 2016-04-27 18:41:35.468754 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  1641. 2016-04-27 18:41:35.468754 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  1642. 2016-04-27 18:41:35.468754 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1643. 2016-04-27 18:41:35.468754 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1644. 2016-04-27 18:41:35.468754 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1645. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  1646. 2016-04-27 18:41:35.468754 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1647. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  1648. 2016-04-27 18:41:35.468754 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  1649. 2016-04-27 18:41:35.468754 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  1650. 2016-04-27 18:41:35.468754 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  1651. 2016-04-27 18:41:35.468754 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1652. 2016-04-27 18:41:35.468754 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  1653. 2016-04-27 18:41:35.468754 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  1654. 2016-04-27 18:41:35.468754 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  1655. 2016-04-27 18:41:35.468754 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  1656. 2016-04-27 18:41:35.468754 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  1657. 2016-04-27 18:41:35.468754 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  1658. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  1659. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  1660. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  1661. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  1662. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  1663. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  1664. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  1665. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  1666. 2016-04-27 18:41:35.468754 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  1667. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  1668. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  1669. 2016-04-27 18:41:35.468754 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  1670. 2016-04-27 18:41:35.468754 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  1671. 2016-04-27 18:41:35.468754 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  1672. 2016-04-27 18:41:35.468754 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  1673. 2016-04-27 18:41:35.468754 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  1674. 2016-04-27 18:41:35.468754 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  1675. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  1676. 2016-04-27 18:41:35.468754 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  1677. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  1678. 2016-04-27 18:41:35.468754 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  1679. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  1680. 2016-04-27 18:41:35.468754 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  1681. 2016-04-27 18:41:35.468754 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  1682. 2016-04-27 18:41:35.468754 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1683. 2016-04-27 18:41:35.468754 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1684. 2016-04-27 18:41:35.468754 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1685. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  1686. 2016-04-27 18:41:35.491931 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1687. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  1688. 2016-04-27 18:41:35.491931 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  1689. 2016-04-27 18:41:35.491931 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  1690. 2016-04-27 18:41:35.491931 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  1691. 2016-04-27 18:41:35.491931 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1692. 2016-04-27 18:41:35.491931 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  1693. 2016-04-27 18:41:35.491931 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  1694. 2016-04-27 18:41:35.491931 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  1695. 2016-04-27 18:41:35.491931 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  1696. 2016-04-27 18:41:35.491931 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  1697. 2016-04-27 18:41:35.491931 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  1698. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  1699. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  1700. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  1701. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  1702. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  1703. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  1704. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  1705. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  1706. 2016-04-27 18:41:35.491931 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  1707. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  1708. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  1709. 2016-04-27 18:41:35.491931 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  1710. 2016-04-27 18:41:35.491931 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  1711. 2016-04-27 18:41:35.491931 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  1712. 2016-04-27 18:41:35.491931 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  1713. 2016-04-27 18:41:35.491931 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  1714. 2016-04-27 18:41:35.491931 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  1715. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  1716. 2016-04-27 18:41:35.491931 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  1717. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  1718. 2016-04-27 18:41:35.491931 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  1719. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  1720. 2016-04-27 18:41:35.491931 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  1721. 2016-04-27 18:41:35.491931 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  1722. 2016-04-27 18:41:35.491931 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1723. 2016-04-27 18:41:35.491931 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1724. 2016-04-27 18:41:35.491931 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1725. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  1726. 2016-04-27 18:41:35.491931 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1727. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  1728. 2016-04-27 18:41:35.491931 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  1729. 2016-04-27 18:41:35.491931 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  1730. 2016-04-27 18:41:35.491931 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  1731. 2016-04-27 18:41:35.491931 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1732. 2016-04-27 18:41:35.491931 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  1733. 2016-04-27 18:41:35.491931 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  1734. 2016-04-27 18:41:35.491931 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  1735. 2016-04-27 18:41:35.491931 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  1736. 2016-04-27 18:41:35.491931 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  1737. 2016-04-27 18:41:35.491931 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  1738. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  1739. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  1740. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  1741. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  1742. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  1743. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  1744. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  1745. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  1746. 2016-04-27 18:41:35.491931 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  1747. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  1748. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  1749. 2016-04-27 18:41:35.491931 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  1750. 2016-04-27 18:41:35.491931 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  1751. 2016-04-27 18:41:35.491931 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  1752. 2016-04-27 18:41:35.491931 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  1753. 2016-04-27 18:41:35.491931 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  1754. 2016-04-27 18:41:35.491931 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  1755. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  1756. 2016-04-27 18:41:35.491931 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  1757. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  1758. 2016-04-27 18:41:35.491931 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  1759. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  1760. 2016-04-27 18:41:35.491931 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  1761. 2016-04-27 18:41:35.491931 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  1762. 2016-04-27 18:41:35.509261 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1763. 2016-04-27 18:41:35.509261 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1764. 2016-04-27 18:41:35.509261 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1765. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  1766. 2016-04-27 18:41:35.509261 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1767. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  1768. 2016-04-27 18:41:35.509261 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  1769. 2016-04-27 18:41:35.509261 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  1770. 2016-04-27 18:41:35.509261 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  1771. 2016-04-27 18:41:35.509261 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1772. 2016-04-27 18:41:35.509261 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  1773. 2016-04-27 18:41:35.509261 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  1774. 2016-04-27 18:41:35.509261 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  1775. 2016-04-27 18:41:35.509261 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  1776. 2016-04-27 18:41:35.509261 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  1777. 2016-04-27 18:41:35.509261 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  1778. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  1779. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  1780. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  1781. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  1782. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  1783. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  1784. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  1785. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  1786. 2016-04-27 18:41:35.509261 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  1787. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  1788. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  1789. 2016-04-27 18:41:35.509261 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  1790. 2016-04-27 18:41:35.509261 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  1791. 2016-04-27 18:41:35.509261 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  1792. 2016-04-27 18:41:35.509261 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  1793. 2016-04-27 18:41:35.509261 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  1794. 2016-04-27 18:41:35.509261 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  1795. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  1796. 2016-04-27 18:41:35.509261 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  1797. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  1798. 2016-04-27 18:41:35.509261 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  1799. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  1800. 2016-04-27 18:41:35.509261 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  1801. 2016-04-27 18:41:35.509261 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  1802. 2016-04-27 18:41:35.509261 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1803. 2016-04-27 18:41:35.509261 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1804. 2016-04-27 18:41:35.509261 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1805. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  1806. 2016-04-27 18:41:35.509261 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1807. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  1808. 2016-04-27 18:41:35.509261 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  1809. 2016-04-27 18:41:35.509261 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  1810. 2016-04-27 18:41:35.509261 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  1811. 2016-04-27 18:41:35.509261 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1812. 2016-04-27 18:41:35.531238 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  1813. 2016-04-27 18:41:35.531238 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  1814. 2016-04-27 18:41:35.531238 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  1815. 2016-04-27 18:41:35.531238 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  1816. 2016-04-27 18:41:35.531238 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  1817. 2016-04-27 18:41:35.531238 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  1818. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  1819. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  1820. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  1821. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  1822. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  1823. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  1824. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  1825. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  1826. 2016-04-27 18:41:35.531238 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  1827. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  1828. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  1829. 2016-04-27 18:41:35.531238 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  1830. 2016-04-27 18:41:35.531238 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  1831. 2016-04-27 18:41:35.531238 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  1832. 2016-04-27 18:41:35.531238 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  1833. 2016-04-27 18:41:35.531238 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  1834. 2016-04-27 18:41:35.531238 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  1835. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  1836. 2016-04-27 18:41:35.531238 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  1837. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  1838. 2016-04-27 18:41:35.531238 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  1839. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  1840. 2016-04-27 18:41:35.531238 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  1841. 2016-04-27 18:41:35.531238 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  1842. 2016-04-27 18:41:35.531238 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1843. 2016-04-27 18:41:35.531238 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1844. 2016-04-27 18:41:35.531238 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1845. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  1846. 2016-04-27 18:41:35.531238 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1847. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  1848. 2016-04-27 18:41:35.531238 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  1849. 2016-04-27 18:41:35.531238 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  1850. 2016-04-27 18:41:35.531238 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  1851. 2016-04-27 18:41:35.531238 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1852. 2016-04-27 18:41:35.531238 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  1853. 2016-04-27 18:41:35.531238 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  1854. 2016-04-27 18:41:35.531238 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  1855. 2016-04-27 18:41:35.531238 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  1856. 2016-04-27 18:41:35.531238 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  1857. 2016-04-27 18:41:35.531238 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  1858. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  1859. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  1860. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  1861. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  1862. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  1863. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  1864. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  1865. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  1866. 2016-04-27 18:41:35.531238 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  1867. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  1868. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  1869. 2016-04-27 18:41:35.531238 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  1870. 2016-04-27 18:41:35.531238 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  1871. 2016-04-27 18:41:35.531238 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  1872. 2016-04-27 18:41:35.531238 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  1873. 2016-04-27 18:41:35.531238 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  1874. 2016-04-27 18:41:35.531238 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  1875. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  1876. 2016-04-27 18:41:35.531238 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  1877. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  1878. 2016-04-27 18:41:35.531238 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  1879. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  1880. 2016-04-27 18:41:35.531238 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  1881. 2016-04-27 18:41:35.531238 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  1882. 2016-04-27 18:41:35.531238 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1883. 2016-04-27 18:41:35.548234 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1884. 2016-04-27 18:41:35.548234 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1885. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  1886. 2016-04-27 18:41:35.548234 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1887. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  1888. 2016-04-27 18:41:35.548234 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  1889. 2016-04-27 18:41:35.548234 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  1890. 2016-04-27 18:41:35.548234 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  1891. 2016-04-27 18:41:35.548234 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1892. 2016-04-27 18:41:35.548234 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  1893. 2016-04-27 18:41:35.548234 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  1894. 2016-04-27 18:41:35.548234 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  1895. 2016-04-27 18:41:35.548234 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  1896. 2016-04-27 18:41:35.548234 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  1897. 2016-04-27 18:41:35.548234 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  1898. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  1899. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  1900. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  1901. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  1902. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  1903. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  1904. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  1905. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  1906. 2016-04-27 18:41:35.548234 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  1907. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  1908. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  1909. 2016-04-27 18:41:35.548234 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  1910. 2016-04-27 18:41:35.548234 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  1911. 2016-04-27 18:41:35.548234 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  1912. 2016-04-27 18:41:35.548234 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  1913. 2016-04-27 18:41:35.548234 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  1914. 2016-04-27 18:41:35.548234 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  1915. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  1916. 2016-04-27 18:41:35.548234 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  1917. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  1918. 2016-04-27 18:41:35.548234 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  1919. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  1920. 2016-04-27 18:41:35.548234 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  1921. 2016-04-27 18:41:35.548234 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  1922. 2016-04-27 18:41:35.548234 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1923. 2016-04-27 18:41:35.548234 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1924. 2016-04-27 18:41:35.548234 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1925. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  1926. 2016-04-27 18:41:35.548234 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1927. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  1928. 2016-04-27 18:41:35.548234 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  1929. 2016-04-27 18:41:35.548234 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  1930. 2016-04-27 18:41:35.548234 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  1931. 2016-04-27 18:41:35.548234 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1932. 2016-04-27 18:41:35.548234 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  1933. 2016-04-27 18:41:35.548234 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  1934. 2016-04-27 18:41:35.548234 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  1935. 2016-04-27 18:41:35.548234 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  1936. 2016-04-27 18:41:35.548234 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  1937. 2016-04-27 18:41:35.548234 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  1938. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  1939. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  1940. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  1941. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  1942. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  1943. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  1944. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  1945. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  1946. 2016-04-27 18:41:35.548234 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  1947. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  1948. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  1949. 2016-04-27 18:41:35.548234 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  1950. 2016-04-27 18:41:35.548234 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  1951. 2016-04-27 18:41:35.548234 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  1952. 2016-04-27 18:41:35.548234 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  1953. 2016-04-27 18:41:35.548234 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  1954. 2016-04-27 18:41:35.548234 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  1955. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  1956. 2016-04-27 18:41:35.548234 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  1957. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  1958. 2016-04-27 18:41:35.548234 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  1959. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  1960. 2016-04-27 18:41:35.548234 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  1961. 2016-04-27 18:41:35.548234 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  1962. 2016-04-27 18:41:35.548234 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1963. 2016-04-27 18:41:35.571613 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1964. 2016-04-27 18:41:35.571613 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  1965. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  1966. 2016-04-27 18:41:35.571613 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1967. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  1968. 2016-04-27 18:41:35.571613 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  1969. 2016-04-27 18:41:35.571613 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  1970. 2016-04-27 18:41:35.571613 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  1971. 2016-04-27 18:41:35.571613 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  1972. 2016-04-27 18:41:35.571613 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  1973. 2016-04-27 18:41:35.571613 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  1974. 2016-04-27 18:41:35.571613 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  1975. 2016-04-27 18:41:35.571613 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  1976. 2016-04-27 18:41:35.571613 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  1977. 2016-04-27 18:41:35.571613 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  1978. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  1979. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  1980. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  1981. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  1982. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  1983. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  1984. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  1985. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  1986. 2016-04-27 18:41:35.571613 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  1987. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  1988. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  1989. 2016-04-27 18:41:35.571613 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  1990. 2016-04-27 18:41:35.571613 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  1991. 2016-04-27 18:41:35.571613 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  1992. 2016-04-27 18:41:35.571613 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  1993. 2016-04-27 18:41:35.571613 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  1994. 2016-04-27 18:41:35.571613 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  1995. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  1996. 2016-04-27 18:41:35.571613 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  1997. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  1998. 2016-04-27 18:41:35.571613 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  1999. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  2000. 2016-04-27 18:41:35.571613 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  2001. 2016-04-27 18:41:35.571613 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  2002. 2016-04-27 18:41:35.571613 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2003. 2016-04-27 18:41:35.589610 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2004. 2016-04-27 18:41:35.589610 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2005. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  2006. 2016-04-27 18:41:35.589610 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2007. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  2008. 2016-04-27 18:41:35.589610 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  2009. 2016-04-27 18:41:35.589610 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  2010. 2016-04-27 18:41:35.589610 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  2011. 2016-04-27 18:41:35.589610 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2012. 2016-04-27 18:41:35.589610 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  2013. 2016-04-27 18:41:35.589610 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  2014. 2016-04-27 18:41:35.589610 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  2015. 2016-04-27 18:41:35.589610 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  2016. 2016-04-27 18:41:35.589610 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  2017. 2016-04-27 18:41:35.589610 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  2018. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  2019. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  2020. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  2021. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  2022. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  2023. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  2024. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  2025. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  2026. 2016-04-27 18:41:35.589610 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  2027. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  2028. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  2029. 2016-04-27 18:41:35.589610 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  2030. 2016-04-27 18:41:35.589610 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  2031. 2016-04-27 18:41:35.589610 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  2032. 2016-04-27 18:41:35.589610 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  2033. 2016-04-27 18:41:35.589610 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  2034. 2016-04-27 18:41:35.589610 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  2035. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  2036. 2016-04-27 18:41:35.589610 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  2037. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  2038. 2016-04-27 18:41:35.589610 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  2039. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  2040. 2016-04-27 18:41:35.589610 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  2041. 2016-04-27 18:41:35.589610 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  2042. 2016-04-27 18:41:35.589610 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2043. 2016-04-27 18:41:35.589610 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2044. 2016-04-27 18:41:35.589610 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2045. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  2046. 2016-04-27 18:41:35.589610 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2047. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  2048. 2016-04-27 18:41:35.589610 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  2049. 2016-04-27 18:41:35.589610 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  2050. 2016-04-27 18:41:35.589610 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  2051. 2016-04-27 18:41:35.589610 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2052. 2016-04-27 18:41:35.589610 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  2053. 2016-04-27 18:41:35.589610 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  2054. 2016-04-27 18:41:35.589610 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  2055. 2016-04-27 18:41:35.589610 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  2056. 2016-04-27 18:41:35.589610 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  2057. 2016-04-27 18:41:35.589610 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  2058. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  2059. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  2060. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  2061. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  2062. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  2063. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  2064. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  2065. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  2066. 2016-04-27 18:41:35.589610 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  2067. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  2068. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  2069. 2016-04-27 18:41:35.589610 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  2070. 2016-04-27 18:41:35.589610 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  2071. 2016-04-27 18:41:35.589610 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  2072. 2016-04-27 18:41:35.589610 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  2073. 2016-04-27 18:41:35.589610 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  2074. 2016-04-27 18:41:35.589610 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  2075. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  2076. 2016-04-27 18:41:35.589610 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  2077. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  2078. 2016-04-27 18:41:35.589610 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  2079. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  2080. 2016-04-27 18:41:35.589610 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  2081. 2016-04-27 18:41:35.589610 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  2082. 2016-04-27 18:41:35.589610 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2083. 2016-04-27 18:41:35.608374 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2084. 2016-04-27 18:41:35.608374 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2085. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  2086. 2016-04-27 18:41:35.608374 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2087. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  2088. 2016-04-27 18:41:35.608374 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  2089. 2016-04-27 18:41:35.608374 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  2090. 2016-04-27 18:41:35.608374 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  2091. 2016-04-27 18:41:35.608374 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2092. 2016-04-27 18:41:35.608374 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  2093. 2016-04-27 18:41:35.608374 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  2094. 2016-04-27 18:41:35.608374 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  2095. 2016-04-27 18:41:35.608374 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  2096. 2016-04-27 18:41:35.608374 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  2097. 2016-04-27 18:41:35.608374 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  2098. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  2099. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  2100. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  2101. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  2102. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  2103. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  2104. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  2105. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  2106. 2016-04-27 18:41:35.608374 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  2107. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  2108. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  2109. 2016-04-27 18:41:35.608374 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  2110. 2016-04-27 18:41:35.608374 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  2111. 2016-04-27 18:41:35.608374 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  2112. 2016-04-27 18:41:35.608374 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  2113. 2016-04-27 18:41:35.608374 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  2114. 2016-04-27 18:41:35.608374 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  2115. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  2116. 2016-04-27 18:41:35.608374 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  2117. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  2118. 2016-04-27 18:41:35.608374 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  2119. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  2120. 2016-04-27 18:41:35.608374 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  2121. 2016-04-27 18:41:35.608374 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  2122. 2016-04-27 18:41:35.608374 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2123. 2016-04-27 18:41:35.608374 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2124. 2016-04-27 18:41:35.608374 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2125. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  2126. 2016-04-27 18:41:35.608374 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2127. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  2128. 2016-04-27 18:41:35.608374 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  2129. 2016-04-27 18:41:35.608374 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  2130. 2016-04-27 18:41:35.608374 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  2131. 2016-04-27 18:41:35.608374 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2132. 2016-04-27 18:41:35.608374 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  2133. 2016-04-27 18:41:35.608374 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  2134. 2016-04-27 18:41:35.608374 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  2135. 2016-04-27 18:41:35.608374 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  2136. 2016-04-27 18:41:35.608374 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  2137. 2016-04-27 18:41:35.608374 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  2138. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  2139. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  2140. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  2141. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  2142. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  2143. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  2144. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  2145. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  2146. 2016-04-27 18:41:35.608374 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  2147. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  2148. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  2149. 2016-04-27 18:41:35.608374 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  2150. 2016-04-27 18:41:35.608374 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  2151. 2016-04-27 18:41:35.608374 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  2152. 2016-04-27 18:41:35.608374 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  2153. 2016-04-27 18:41:35.608374 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  2154. 2016-04-27 18:41:35.608374 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  2155. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  2156. 2016-04-27 18:41:35.608374 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  2157. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  2158. 2016-04-27 18:41:35.608374 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  2159. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  2160. 2016-04-27 18:41:35.628651 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  2161. 2016-04-27 18:41:35.628651 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  2162. 2016-04-27 18:41:35.628651 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2163. 2016-04-27 18:41:35.628651 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2164. 2016-04-27 18:41:35.628651 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2165. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  2166. 2016-04-27 18:41:35.628651 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2167. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  2168. 2016-04-27 18:41:35.628651 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  2169. 2016-04-27 18:41:35.628651 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  2170. 2016-04-27 18:41:35.628651 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  2171. 2016-04-27 18:41:35.628651 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2172. 2016-04-27 18:41:35.628651 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  2173. 2016-04-27 18:41:35.628651 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  2174. 2016-04-27 18:41:35.628651 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  2175. 2016-04-27 18:41:35.628651 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  2176. 2016-04-27 18:41:35.628651 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  2177. 2016-04-27 18:41:35.628651 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  2178. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  2179. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  2180. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  2181. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  2182. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  2183. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  2184. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  2185. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  2186. 2016-04-27 18:41:35.628651 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  2187. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  2188. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  2189. 2016-04-27 18:41:35.628651 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  2190. 2016-04-27 18:41:35.628651 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  2191. 2016-04-27 18:41:35.628651 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  2192. 2016-04-27 18:41:35.628651 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  2193. 2016-04-27 18:41:35.628651 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  2194. 2016-04-27 18:41:35.628651 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  2195. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  2196. 2016-04-27 18:41:35.628651 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  2197. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  2198. 2016-04-27 18:41:35.628651 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  2199. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  2200. 2016-04-27 18:41:35.628651 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  2201. 2016-04-27 18:41:35.628651 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  2202. 2016-04-27 18:41:35.628651 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2203. 2016-04-27 18:41:35.628651 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2204. 2016-04-27 18:41:35.628651 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2205. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  2206. 2016-04-27 18:41:35.628651 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2207. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  2208. 2016-04-27 18:41:35.628651 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  2209. 2016-04-27 18:41:35.628651 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  2210. 2016-04-27 18:41:35.628651 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  2211. 2016-04-27 18:41:35.628651 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2212. 2016-04-27 18:41:35.628651 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  2213. 2016-04-27 18:41:35.628651 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  2214. 2016-04-27 18:41:35.628651 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  2215. 2016-04-27 18:41:35.628651 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  2216. 2016-04-27 18:41:35.628651 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  2217. 2016-04-27 18:41:35.628651 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  2218. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  2219. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  2220. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  2221. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  2222. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  2223. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  2224. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  2225. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  2226. 2016-04-27 18:41:35.628651 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  2227. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  2228. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  2229. 2016-04-27 18:41:35.628651 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  2230. 2016-04-27 18:41:35.628651 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  2231. 2016-04-27 18:41:35.628651 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  2232. 2016-04-27 18:41:35.628651 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  2233. 2016-04-27 18:41:35.628651 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  2234. 2016-04-27 18:41:35.628651 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  2235. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  2236. 2016-04-27 18:41:35.628651 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  2237. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  2238. 2016-04-27 18:41:35.628651 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  2239. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  2240. 2016-04-27 18:41:35.628651 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  2241. 2016-04-27 18:41:35.628651 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  2242. 2016-04-27 18:41:35.649063 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2243. 2016-04-27 18:41:35.649063 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2244. 2016-04-27 18:41:35.649063 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2245. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  2246. 2016-04-27 18:41:35.649063 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2247. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  2248. 2016-04-27 18:41:35.649063 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  2249. 2016-04-27 18:41:35.649063 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  2250. 2016-04-27 18:41:35.649063 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  2251. 2016-04-27 18:41:35.649063 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2252. 2016-04-27 18:41:35.649063 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  2253. 2016-04-27 18:41:35.649063 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  2254. 2016-04-27 18:41:35.649063 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  2255. 2016-04-27 18:41:35.649063 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  2256. 2016-04-27 18:41:35.649063 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  2257. 2016-04-27 18:41:35.649063 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  2258. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  2259. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  2260. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  2261. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  2262. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  2263. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  2264. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  2265. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  2266. 2016-04-27 18:41:35.649063 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  2267. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  2268. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  2269. 2016-04-27 18:41:35.649063 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  2270. 2016-04-27 18:41:35.649063 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  2271. 2016-04-27 18:41:35.649063 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  2272. 2016-04-27 18:41:35.649063 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  2273. 2016-04-27 18:41:35.649063 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  2274. 2016-04-27 18:41:35.649063 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  2275. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  2276. 2016-04-27 18:41:35.649063 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  2277. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  2278. 2016-04-27 18:41:35.649063 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  2279. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  2280. 2016-04-27 18:41:35.649063 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  2281. 2016-04-27 18:41:35.649063 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  2282. 2016-04-27 18:41:35.649063 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2283. 2016-04-27 18:41:35.649063 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2284. 2016-04-27 18:41:35.649063 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2285. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  2286. 2016-04-27 18:41:35.649063 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2287. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  2288. 2016-04-27 18:41:35.649063 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  2289. 2016-04-27 18:41:35.649063 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  2290. 2016-04-27 18:41:35.649063 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  2291. 2016-04-27 18:41:35.649063 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2292. 2016-04-27 18:41:35.649063 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  2293. 2016-04-27 18:41:35.649063 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  2294. 2016-04-27 18:41:35.649063 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  2295. 2016-04-27 18:41:35.649063 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  2296. 2016-04-27 18:41:35.649063 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  2297. 2016-04-27 18:41:35.649063 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  2298. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  2299. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  2300. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  2301. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  2302. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  2303. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  2304. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  2305. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  2306. 2016-04-27 18:41:35.649063 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  2307. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  2308. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  2309. 2016-04-27 18:41:35.649063 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  2310. 2016-04-27 18:41:35.649063 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  2311. 2016-04-27 18:41:35.649063 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  2312. 2016-04-27 18:41:35.649063 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  2313. 2016-04-27 18:41:35.649063 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  2314. 2016-04-27 18:41:35.649063 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  2315. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  2316. 2016-04-27 18:41:35.649063 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  2317. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  2318. 2016-04-27 18:41:35.649063 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  2319. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  2320. 2016-04-27 18:41:35.649063 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  2321. 2016-04-27 18:41:35.649063 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  2322. 2016-04-27 18:41:35.649063 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2323. 2016-04-27 18:41:35.649063 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2324. 2016-04-27 18:41:35.649063 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2325. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  2326. 2016-04-27 18:41:35.670681 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2327. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  2328. 2016-04-27 18:41:35.670681 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  2329. 2016-04-27 18:41:35.670681 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  2330. 2016-04-27 18:41:35.670681 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  2331. 2016-04-27 18:41:35.670681 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2332. 2016-04-27 18:41:35.670681 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  2333. 2016-04-27 18:41:35.670681 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  2334. 2016-04-27 18:41:35.670681 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  2335. 2016-04-27 18:41:35.670681 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  2336. 2016-04-27 18:41:35.670681 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  2337. 2016-04-27 18:41:35.670681 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  2338. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  2339. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  2340. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  2341. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  2342. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  2343. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  2344. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  2345. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  2346. 2016-04-27 18:41:35.670681 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  2347. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  2348. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  2349. 2016-04-27 18:41:35.670681 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  2350. 2016-04-27 18:41:35.670681 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  2351. 2016-04-27 18:41:35.670681 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  2352. 2016-04-27 18:41:35.670681 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  2353. 2016-04-27 18:41:35.670681 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  2354. 2016-04-27 18:41:35.670681 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  2355. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  2356. 2016-04-27 18:41:35.670681 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  2357. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  2358. 2016-04-27 18:41:35.670681 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  2359. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  2360. 2016-04-27 18:41:35.670681 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  2361. 2016-04-27 18:41:35.670681 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  2362. 2016-04-27 18:41:35.670681 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2363. 2016-04-27 18:41:35.670681 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2364. 2016-04-27 18:41:35.670681 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2365. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  2366. 2016-04-27 18:41:35.670681 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2367. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  2368. 2016-04-27 18:41:35.670681 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  2369. 2016-04-27 18:41:35.670681 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  2370. 2016-04-27 18:41:35.670681 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  2371. 2016-04-27 18:41:35.670681 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2372. 2016-04-27 18:41:35.670681 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  2373. 2016-04-27 18:41:35.670681 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  2374. 2016-04-27 18:41:35.670681 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  2375. 2016-04-27 18:41:35.670681 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  2376. 2016-04-27 18:41:35.670681 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  2377. 2016-04-27 18:41:35.670681 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  2378. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  2379. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  2380. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  2381. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  2382. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  2383. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  2384. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  2385. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  2386. 2016-04-27 18:41:35.670681 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  2387. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  2388. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  2389. 2016-04-27 18:41:35.670681 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  2390. 2016-04-27 18:41:35.670681 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  2391. 2016-04-27 18:41:35.670681 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  2392. 2016-04-27 18:41:35.670681 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  2393. 2016-04-27 18:41:35.670681 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  2394. 2016-04-27 18:41:35.670681 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  2395. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  2396. 2016-04-27 18:41:35.670681 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  2397. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  2398. 2016-04-27 18:41:35.670681 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  2399. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  2400. 2016-04-27 18:41:35.688244 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  2401. 2016-04-27 18:41:35.688244 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  2402. 2016-04-27 18:41:35.688244 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2403. 2016-04-27 18:41:35.688244 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2404. 2016-04-27 18:41:35.688244 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2405. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  2406. 2016-04-27 18:41:35.688244 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2407. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  2408. 2016-04-27 18:41:35.688244 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  2409. 2016-04-27 18:41:35.688244 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  2410. 2016-04-27 18:41:35.688244 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  2411. 2016-04-27 18:41:35.688244 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2412. 2016-04-27 18:41:35.688244 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  2413. 2016-04-27 18:41:35.688244 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  2414. 2016-04-27 18:41:35.688244 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  2415. 2016-04-27 18:41:35.688244 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  2416. 2016-04-27 18:41:35.688244 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  2417. 2016-04-27 18:41:35.688244 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  2418. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  2419. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  2420. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  2421. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  2422. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  2423. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  2424. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  2425. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  2426. 2016-04-27 18:41:35.688244 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  2427. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  2428. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  2429. 2016-04-27 18:41:35.688244 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  2430. 2016-04-27 18:41:35.688244 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  2431. 2016-04-27 18:41:35.688244 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  2432. 2016-04-27 18:41:35.688244 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  2433. 2016-04-27 18:41:35.688244 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  2434. 2016-04-27 18:41:35.688244 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  2435. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  2436. 2016-04-27 18:41:35.688244 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  2437. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  2438. 2016-04-27 18:41:35.688244 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  2439. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  2440. 2016-04-27 18:41:35.688244 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  2441. 2016-04-27 18:41:35.688244 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  2442. 2016-04-27 18:41:35.688244 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2443. 2016-04-27 18:41:35.688244 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2444. 2016-04-27 18:41:35.688244 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2445. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  2446. 2016-04-27 18:41:35.688244 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2447. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  2448. 2016-04-27 18:41:35.688244 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  2449. 2016-04-27 18:41:35.688244 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  2450. 2016-04-27 18:41:35.688244 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  2451. 2016-04-27 18:41:35.688244 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2452. 2016-04-27 18:41:35.688244 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  2453. 2016-04-27 18:41:35.688244 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  2454. 2016-04-27 18:41:35.688244 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  2455. 2016-04-27 18:41:35.688244 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  2456. 2016-04-27 18:41:35.688244 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  2457. 2016-04-27 18:41:35.688244 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  2458. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  2459. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  2460. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  2461. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  2462. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  2463. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  2464. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  2465. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  2466. 2016-04-27 18:41:35.688244 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  2467. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  2468. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  2469. 2016-04-27 18:41:35.688244 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  2470. 2016-04-27 18:41:35.688244 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  2471. 2016-04-27 18:41:35.688244 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  2472. 2016-04-27 18:41:35.688244 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  2473. 2016-04-27 18:41:35.688244 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  2474. 2016-04-27 18:41:35.688244 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  2475. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  2476. 2016-04-27 18:41:35.688244 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  2477. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  2478. 2016-04-27 18:41:35.688244 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  2479. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  2480. 2016-04-27 18:41:35.688244 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  2481. 2016-04-27 18:41:35.709995 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  2482. 2016-04-27 18:41:35.709995 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2483. 2016-04-27 18:41:35.709995 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2484. 2016-04-27 18:41:35.709995 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2485. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  2486. 2016-04-27 18:41:35.709995 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2487. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  2488. 2016-04-27 18:41:35.709995 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  2489. 2016-04-27 18:41:35.709995 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  2490. 2016-04-27 18:41:35.709995 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  2491. 2016-04-27 18:41:35.709995 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2492. 2016-04-27 18:41:35.709995 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  2493. 2016-04-27 18:41:35.709995 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  2494. 2016-04-27 18:41:35.709995 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  2495. 2016-04-27 18:41:35.709995 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  2496. 2016-04-27 18:41:35.709995 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  2497. 2016-04-27 18:41:35.709995 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  2498. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  2499. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  2500. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  2501. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  2502. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  2503. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  2504. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  2505. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  2506. 2016-04-27 18:41:35.709995 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  2507. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  2508. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  2509. 2016-04-27 18:41:35.709995 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  2510. 2016-04-27 18:41:35.709995 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  2511. 2016-04-27 18:41:35.709995 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  2512. 2016-04-27 18:41:35.709995 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  2513. 2016-04-27 18:41:35.709995 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  2514. 2016-04-27 18:41:35.709995 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  2515. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  2516. 2016-04-27 18:41:35.709995 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  2517. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  2518. 2016-04-27 18:41:35.709995 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  2519. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  2520. 2016-04-27 18:41:35.709995 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  2521. 2016-04-27 18:41:35.709995 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  2522. 2016-04-27 18:41:35.709995 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2523. 2016-04-27 18:41:35.709995 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2524. 2016-04-27 18:41:35.709995 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2525. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  2526. 2016-04-27 18:41:35.709995 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2527. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  2528. 2016-04-27 18:41:35.709995 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  2529. 2016-04-27 18:41:35.709995 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  2530. 2016-04-27 18:41:35.709995 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  2531. 2016-04-27 18:41:35.709995 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2532. 2016-04-27 18:41:35.709995 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  2533. 2016-04-27 18:41:35.709995 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  2534. 2016-04-27 18:41:35.709995 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  2535. 2016-04-27 18:41:35.709995 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  2536. 2016-04-27 18:41:35.709995 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  2537. 2016-04-27 18:41:35.709995 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  2538. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  2539. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  2540. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  2541. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  2542. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  2543. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  2544. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  2545. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  2546. 2016-04-27 18:41:35.728489 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  2547. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  2548. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  2549. 2016-04-27 18:41:35.728489 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  2550. 2016-04-27 18:41:35.728489 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  2551. 2016-04-27 18:41:35.728489 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  2552. 2016-04-27 18:41:35.728489 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  2553. 2016-04-27 18:41:35.728489 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  2554. 2016-04-27 18:41:35.728489 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  2555. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  2556. 2016-04-27 18:41:35.728489 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  2557. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  2558. 2016-04-27 18:41:35.728489 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  2559. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  2560. 2016-04-27 18:41:35.728489 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  2561. 2016-04-27 18:41:35.728489 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  2562. 2016-04-27 18:41:35.728489 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2563. 2016-04-27 18:41:35.728489 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2564. 2016-04-27 18:41:35.728489 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2565. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  2566. 2016-04-27 18:41:35.728489 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2567. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  2568. 2016-04-27 18:41:35.728489 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  2569. 2016-04-27 18:41:35.728489 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  2570. 2016-04-27 18:41:35.728489 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  2571. 2016-04-27 18:41:35.728489 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2572. 2016-04-27 18:41:35.728489 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  2573. 2016-04-27 18:41:35.728489 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  2574. 2016-04-27 18:41:35.728489 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  2575. 2016-04-27 18:41:35.728489 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  2576. 2016-04-27 18:41:35.728489 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  2577. 2016-04-27 18:41:35.728489 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  2578. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  2579. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  2580. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  2581. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  2582. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  2583. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  2584. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  2585. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  2586. 2016-04-27 18:41:35.728489 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  2587. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  2588. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  2589. 2016-04-27 18:41:35.728489 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  2590. 2016-04-27 18:41:35.728489 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  2591. 2016-04-27 18:41:35.728489 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  2592. 2016-04-27 18:41:35.728489 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  2593. 2016-04-27 18:41:35.728489 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  2594. 2016-04-27 18:41:35.728489 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  2595. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  2596. 2016-04-27 18:41:35.728489 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  2597. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  2598. 2016-04-27 18:41:35.728489 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  2599. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  2600. 2016-04-27 18:41:35.728489 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  2601. 2016-04-27 18:41:35.728489 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  2602. 2016-04-27 18:41:35.728489 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2603. 2016-04-27 18:41:35.728489 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2604. 2016-04-27 18:41:35.728489 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2605. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  2606. 2016-04-27 18:41:35.728489 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2607. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  2608. 2016-04-27 18:41:35.728489 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  2609. 2016-04-27 18:41:35.728489 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  2610. 2016-04-27 18:41:35.728489 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  2611. 2016-04-27 18:41:35.728489 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2612. 2016-04-27 18:41:35.748166 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  2613. 2016-04-27 18:41:35.748166 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  2614. 2016-04-27 18:41:35.748166 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  2615. 2016-04-27 18:41:35.748166 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  2616. 2016-04-27 18:41:35.748166 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  2617. 2016-04-27 18:41:35.748166 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  2618. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  2619. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  2620. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  2621. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  2622. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  2623. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  2624. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  2625. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  2626. 2016-04-27 18:41:35.748166 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  2627. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  2628. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  2629. 2016-04-27 18:41:35.748166 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  2630. 2016-04-27 18:41:35.748166 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  2631. 2016-04-27 18:41:35.748166 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  2632. 2016-04-27 18:41:35.748166 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  2633. 2016-04-27 18:41:35.748166 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  2634. 2016-04-27 18:41:35.748166 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  2635. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  2636. 2016-04-27 18:41:35.748166 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  2637. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  2638. 2016-04-27 18:41:35.748166 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  2639. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  2640. 2016-04-27 18:41:35.748166 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  2641. 2016-04-27 18:41:35.748166 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  2642. 2016-04-27 18:41:35.748166 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2643. 2016-04-27 18:41:35.748166 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2644. 2016-04-27 18:41:35.748166 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2645. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  2646. 2016-04-27 18:41:35.748166 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2647. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  2648. 2016-04-27 18:41:35.748166 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  2649. 2016-04-27 18:41:35.748166 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  2650. 2016-04-27 18:41:35.748166 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  2651. 2016-04-27 18:41:35.748166 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2652. 2016-04-27 18:41:35.748166 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  2653. 2016-04-27 18:41:35.748166 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  2654. 2016-04-27 18:41:35.748166 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  2655. 2016-04-27 18:41:35.748166 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  2656. 2016-04-27 18:41:35.748166 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  2657. 2016-04-27 18:41:35.748166 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  2658. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  2659. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  2660. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  2661. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  2662. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  2663. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  2664. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  2665. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  2666. 2016-04-27 18:41:35.748166 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  2667. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  2668. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  2669. 2016-04-27 18:41:35.748166 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  2670. 2016-04-27 18:41:35.748166 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  2671. 2016-04-27 18:41:35.748166 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  2672. 2016-04-27 18:41:35.748166 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  2673. 2016-04-27 18:41:35.748166 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  2674. 2016-04-27 18:41:35.748166 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  2675. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  2676. 2016-04-27 18:41:35.748166 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  2677. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  2678. 2016-04-27 18:41:35.748166 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  2679. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  2680. 2016-04-27 18:41:35.748166 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  2681. 2016-04-27 18:41:35.748166 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  2682. 2016-04-27 18:41:35.748166 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2683. 2016-04-27 18:41:35.748166 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2684. 2016-04-27 18:41:35.748166 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2685. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  2686. 2016-04-27 18:41:35.748166 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2687. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  2688. 2016-04-27 18:41:35.768198 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  2689. 2016-04-27 18:41:35.768198 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  2690. 2016-04-27 18:41:35.768198 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  2691. 2016-04-27 18:41:35.768198 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2692. 2016-04-27 18:41:35.768198 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  2693. 2016-04-27 18:41:35.768198 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  2694. 2016-04-27 18:41:35.768198 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  2695. 2016-04-27 18:41:35.768198 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  2696. 2016-04-27 18:41:35.768198 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  2697. 2016-04-27 18:41:35.768198 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  2698. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  2699. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  2700. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  2701. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  2702. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  2703. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  2704. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  2705. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  2706. 2016-04-27 18:41:35.768198 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  2707. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  2708. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  2709. 2016-04-27 18:41:35.768198 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  2710. 2016-04-27 18:41:35.768198 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  2711. 2016-04-27 18:41:35.768198 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  2712. 2016-04-27 18:41:35.768198 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  2713. 2016-04-27 18:41:35.768198 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  2714. 2016-04-27 18:41:35.768198 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  2715. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  2716. 2016-04-27 18:41:35.768198 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  2717. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  2718. 2016-04-27 18:41:35.768198 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  2719. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  2720. 2016-04-27 18:41:35.768198 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  2721. 2016-04-27 18:41:35.768198 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  2722. 2016-04-27 18:41:35.768198 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2723. 2016-04-27 18:41:35.768198 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2724. 2016-04-27 18:41:35.768198 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2725. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  2726. 2016-04-27 18:41:35.768198 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2727. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  2728. 2016-04-27 18:41:35.768198 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  2729. 2016-04-27 18:41:35.768198 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  2730. 2016-04-27 18:41:35.768198 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  2731. 2016-04-27 18:41:35.768198 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2732. 2016-04-27 18:41:35.768198 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  2733. 2016-04-27 18:41:35.768198 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  2734. 2016-04-27 18:41:35.768198 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  2735. 2016-04-27 18:41:35.768198 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  2736. 2016-04-27 18:41:35.768198 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  2737. 2016-04-27 18:41:35.768198 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  2738. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  2739. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  2740. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  2741. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  2742. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  2743. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  2744. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  2745. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  2746. 2016-04-27 18:41:35.768198 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  2747. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  2748. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  2749. 2016-04-27 18:41:35.768198 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  2750. 2016-04-27 18:41:35.768198 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  2751. 2016-04-27 18:41:35.768198 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  2752. 2016-04-27 18:41:35.768198 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  2753. 2016-04-27 18:41:35.768198 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  2754. 2016-04-27 18:41:35.768198 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  2755. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  2756. 2016-04-27 18:41:35.768198 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  2757. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  2758. 2016-04-27 18:41:35.768198 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  2759. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  2760. 2016-04-27 18:41:35.768198 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  2761. 2016-04-27 18:41:35.768198 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  2762. 2016-04-27 18:41:35.768198 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2763. 2016-04-27 18:41:35.768198 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2764. 2016-04-27 18:41:35.768198 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2765. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  2766. 2016-04-27 18:41:35.768198 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2767. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  2768. 2016-04-27 18:41:35.768198 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  2769. 2016-04-27 18:41:35.768198 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  2770. 2016-04-27 18:41:35.768198 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  2771. 2016-04-27 18:41:35.768198 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2772. 2016-04-27 18:41:35.768198 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  2773. 2016-04-27 18:41:35.768198 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  2774. 2016-04-27 18:41:35.768198 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  2775. 2016-04-27 18:41:35.768198 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  2776. 2016-04-27 18:41:35.768198 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  2777. 2016-04-27 18:41:35.768198 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  2778. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  2779. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  2780. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  2781. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  2782. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  2783. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  2784. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  2785. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  2786. 2016-04-27 18:41:35.768198 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  2787. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  2788. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  2789. 2016-04-27 18:41:35.768198 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  2790. 2016-04-27 18:41:35.768198 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  2791. 2016-04-27 18:41:35.768198 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  2792. 2016-04-27 18:41:35.768198 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  2793. 2016-04-27 18:41:35.768198 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  2794. 2016-04-27 18:41:35.768198 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  2795. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  2796. 2016-04-27 18:41:35.789983 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  2797. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  2798. 2016-04-27 18:41:35.789983 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  2799. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  2800. 2016-04-27 18:41:35.789983 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  2801. 2016-04-27 18:41:35.789983 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  2802. 2016-04-27 18:41:35.789983 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2803. 2016-04-27 18:41:35.789983 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2804. 2016-04-27 18:41:35.789983 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2805. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  2806. 2016-04-27 18:41:35.789983 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2807. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  2808. 2016-04-27 18:41:35.789983 [DEBUG] switch_ivr.c:2085 (sofia/eth0_int/example@local.carusto.com) State Change CS_EXECUTE -> CS_ROUTING
  2809. 2016-04-27 18:41:35.789983 [NOTICE] switch_ivr.c:2092 Transfer sofia/eth0_int/example@local.carusto.com to XML[+380962369972@public]
  2810. 2016-04-27 18:41:35.789983 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  2811. 2016-04-27 18:41:35.789983 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2812. 2016-04-27 18:41:35.789983 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  2813. 2016-04-27 18:41:35.789983 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_ROUTING
  2814. 2016-04-27 18:41:35.789983 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING
  2815. 2016-04-27 18:41:35.789983 [DEBUG] mod_sofia.c:141 sofia/eth0_int/example@local.carusto.com SOFIA ROUTING
  2816. 2016-04-27 18:41:35.789983 [DEBUG] switch_core_state_machine.c:166 sofia/eth0_int/example@local.carusto.com Standard ROUTING
  2817. 2016-04-27 18:41:35.789983 [INFO] mod_dialplan_xml.c:637 Processing example <example>->+380962369972 in context public
  2818. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->unloop] continue=false
  2819. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  2820. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  2821. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->outside_call] continue=true
  2822. Dialplan: sofia/eth0_int/example@local.carusto.com Absolute Condition [outside_call]
  2823. Dialplan: sofia/eth0_int/example@local.carusto.com Action set(outside_call=true)
  2824. Dialplan: sofia/eth0_int/example@local.carusto.com Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  2825. Dialplan: sofia/eth0_int/example@local.carusto.com parsing [public->gateway_call] continue=false
  2826. 2016-04-27 18:41:35.789983 [INFO] sofia.c:9444 Gateway parameter check=true by ip:192.168.31.104, port:59217, host:'', exten:''
  2827. Dialplan: sofia/eth0_int/example@local.carusto.com Regex (PASS) [gateway_call] ${sofia_gateway_contact(${network_addr} ${sip_network_port})}(true) =~ /true/ break=on-false
  2828. Dialplan: sofia/eth0_int/example@local.carusto.com Action lua(transfer_dial_from_trunk.lua)
  2829. 2016-04-27 18:41:35.789983 [DEBUG] switch_core_state_machine.c:216 (sofia/eth0_int/example@local.carusto.com) State Change CS_ROUTING -> CS_EXECUTE
  2830. 2016-04-27 18:41:35.789983 [DEBUG] switch_core_state_machine.c:535 (sofia/eth0_int/example@local.carusto.com) State ROUTING going to sleep
  2831. 2016-04-27 18:41:35.789983 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_EXECUTE
  2832. 2016-04-27 18:41:35.789983 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE
  2833. 2016-04-27 18:41:35.789983 [DEBUG] mod_sofia.c:196 sofia/eth0_int/example@local.carusto.com SOFIA EXECUTE
  2834. 2016-04-27 18:41:35.789983 [DEBUG] switch_core_state_machine.c:258 sofia/eth0_int/example@local.carusto.com Standard EXECUTE
  2835. EXECUTE sofia/eth0_int/example@local.carusto.com set(outside_call=true)
  2836. 2016-04-27 18:41:35.789983 [DEBUG] mod_dptools.c:1498 SET sofia/eth0_int/example@local.carusto.com [outside_call]=[true]
  2837. EXECUTE sofia/eth0_int/example@local.carusto.com export(RFC2822_DATE=Wed, 27 Apr 2016 18:41:35 +0300)
  2838. 2016-04-27 18:41:35.789983 [DEBUG] switch_channel.c:1307 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 27 Apr 2016 18:41:35 +0300]
  2839. EXECUTE sofia/eth0_int/example@local.carusto.com lua(transfer_dial_from_trunk.lua)
  2840. 2016-04-27 18:41:35.789983 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0xb5e62f88 Connected.
  2841. 2016-04-27 18:41:35.789983 [DEBUG] switch_cpp.cpp:1356 Can't find gateway by login: '+380962369972', so try lookup it by '192.168.31.104:59217'
  2842. 2016-04-27 18:41:35.789983 [INFO] sofia.c:9444 Gateway parameter name=local.carusto.com-83 by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2843. 2016-04-27 18:41:35.789983 [INFO] sofia.c:9444 Gateway parameter realm=(null) by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2844. 2016-04-27 18:41:35.789983 [INFO] sofia.c:9444 Gateway parameter context= by ip:192.168.31.104, port:59217, host:192.168.31.85, exten:'+380962369972'
  2845. EXECUTE sofia/eth0_int/example@local.carusto.com lua(dial_from_trunk.lua)
  2846. 2016-04-27 18:41:35.789983 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2847. EXECUTE sofia/eth0_int/example@local.carusto.com transfer(+380962369972 XML )
  2848. 2016-04-27 18:41:35.808990 [NOTICE] switch_ivr.c:1987 Hangup sofia/eth0_int/example@local.carusto.com [CS_EXECUTE] [EXCHANGE_ROUTING_ERROR]
  2849. 2016-04-27 18:41:35.808990 [DEBUG] mod_hash.c:299 Usage for carriers_83 is now 0
  2850. 2016-04-27 18:41:35.808990 [DEBUG] switch_core_session.c:2811 sofia/eth0_int/example@local.carusto.com skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  2851. 2016-04-27 18:41:35.808990 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0xb5e62f88 released.
  2852. 2016-04-27 18:41:35.808990 [DEBUG] switch_cpp.cpp:1103 sofia/eth0_int/example@local.carusto.com destroy/unlink session from object
  2853. 2016-04-27 18:41:35.808990 [DEBUG] switch_core_session.c:2811 sofia/eth0_int/example@local.carusto.com skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  2854. 2016-04-27 18:41:35.808990 [DEBUG] switch_core_state_machine.c:542 (sofia/eth0_int/example@local.carusto.com) State EXECUTE going to sleep
  2855. 2016-04-27 18:41:35.808990 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_HANGUP
  2856. 2016-04-27 18:41:35.808990 [DEBUG] switch_core_state_machine.c:742 (sofia/eth0_int/example@local.carusto.com) Callstate Change RINGING -> HANGUP
  2857. 2016-04-27 18:41:35.808990 [DEBUG] switch_core_state_machine.c:760 Add new call flow to sofia/eth0_int/example@local.carusto.com
  2858. 2016-04-27 18:41:35.808990 [DEBUG] switch_channel.c:3140 Set X vars for channel sofia/eth0_int/example@local.carusto.com, owner_type: number, owner_id: example, owner_number: example, owner_name: (null), owner-contacts: '(null)', have_owner: 1; callee_type: contact, callee_id: 10863, callee_number: +380962369972, callee_name: Vadim Ruban, callee-contacts: '[10863,10860,9459,9460]', change_owner: 0, user_direction_call_outbound: 1, outbound: 0, originated: (null)
  2859. 2016-04-27 18:41:35.808990 [NOTICE] switch_channel.c:2964 New call flow: '[{"time":1461771695,"channel":"","type":"contact","id":"10863","name":"Vadim Ruban","number":"+380962369972","data":"","status":"unanswered"}]' to sofia/eth0_int/example@local.carusto.com
  2860. 2016-04-27 18:41:35.808990 [DEBUG] switch_core_state_machine.c:767 (sofia/eth0_int/example@local.carusto.com) State HANGUP
  2861. 2016-04-27 18:41:35.808990 [DEBUG] mod_sofia.c:431 Channel sofia/eth0_int/example@local.carusto.com hanging up, cause: EXCHANGE_ROUTING_ERROR
  2862. 2016-04-27 18:41:35.808990 [DEBUG] mod_sofia.c:568 Responding to INVITE with: 483
  2863. 2016-04-27 18:41:35.808990 [DEBUG] switch_core_state_machine.c:60 sofia/eth0_int/example@local.carusto.com Standard HANGUP, cause: EXCHANGE_ROUTING_ERROR
  2864. 2016-04-27 18:41:35.808990 [DEBUG] switch_core_state_machine.c:767 (sofia/eth0_int/example@local.carusto.com) State HANGUP going to sleep
  2865. 2016-04-27 18:41:35.808990 [DEBUG] switch_core_state_machine.c:508 (sofia/eth0_int/example@local.carusto.com) State Change CS_HANGUP -> CS_REPORTING
  2866. 2016-04-27 18:41:35.808990 [DEBUG] switch_core_state_machine.c:473 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_REPORTING
  2867. 2016-04-27 18:41:35.808990 [DEBUG] switch_core_state_machine.c:853 (sofia/eth0_int/example@local.carusto.com) State REPORTING
  2868. 2016-04-27 18:41:35.808990 [DEBUG] switch_core_state_machine.c:104 sofia/eth0_int/example@local.carusto.com Standard REPORTING, cause: EXCHANGE_ROUTING_ERROR
  2869. 2016-04-27 18:41:35.808990 [DEBUG] switch_core_state_machine.c:853 (sofia/eth0_int/example@local.carusto.com) State REPORTING going to sleep
  2870. 2016-04-27 18:41:35.808990 [DEBUG] switch_core_state_machine.c:499 (sofia/eth0_int/example@local.carusto.com) State Change CS_REPORTING -> CS_DESTROY
  2871. 2016-04-27 18:41:35.808990 [DEBUG] switch_core_session.c:1661 Session 31 (sofia/eth0_int/example@local.carusto.com) Locked, Waiting on external entities
  2872. 2016-04-27 18:41:35.808990 [NOTICE] switch_core_session.c:1679 Session 31 (sofia/eth0_int/example@local.carusto.com) Ended
  2873. 2016-04-27 18:41:35.808990 [NOTICE] switch_core_session.c:1683 Close Channel sofia/eth0_int/example@local.carusto.com [CS_DESTROY]
  2874. 2016-04-27 18:41:35.808990 [DEBUG] switch_core_state_machine.c:633 (sofia/eth0_int/example@local.carusto.com) Running State Change CS_DESTROY
  2875. 2016-04-27 18:41:35.808990 [DEBUG] switch_core_state_machine.c:643 (sofia/eth0_int/example@local.carusto.com) State DESTROY
  2876. 2016-04-27 18:41:35.808990 [DEBUG] mod_sofia.c:341 sofia/eth0_int/example@local.carusto.com SOFIA DESTROY
  2877. 2016-04-27 18:41:35.808990 [DEBUG] switch_core_state_machine.c:111 sofia/eth0_int/example@local.carusto.com Standard DESTROY
  2878. 2016-04-27 18:41:35.808990 [DEBUG] switch_core_state_machine.c:643 (sofia/eth0_int/example@local.carusto.com) State DESTROY going to sleep
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top