From Sexy Echidna, 1 Month ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and Israel
  1. span style="color: goldenrod; font-weight: bold;"> 2021-09-14 09:03:33.366731 [DEBUG] sofia.c:7084 Channel sofia/default/393393327101 entering state [proceeding][183]
  2. 2021-09-14 09:03:33.626728 [DEBUG] sofia.c:7084 Channel sofia/default/393393327101 entering state [proceeding][183]
  3. 2021-09-14 09:03:33.826673 [DEBUG] sofia.c:7084 Channel sofia/default/393393327101 entering state [proceeding][183]
  4. 2021-09-14 09:03:36.066664 [DEBUG] sofia.c:7084 Channel sofia/default/390399745536@193.109.216.112 entering state [terminated][487]
  5. 2021-09-14 09:03:36.066664 [NOTICE] sofia.c:8273 Hangup sofia/default/390399745536@193.109.216.112 [CS_EXECUTE] [ORIGINATOR_CANCEL]
  6. 2021-09-14 09:03:36.066664 [DEBUG] switch_ivr_bridge.c:712 sofia/default/390399745536@193.109.216.112 ending bridge by request from read function
  7. 2021-09-14 09:03:36.066664 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/390399745536@193.109.216.112]
  8. 2021-09-14 09:03:36.086678 [DEBUG] switch_ivr_bridge.c:706 sofia/default/390399745536@193.109.216.112 ending bridge by request from write function
  9. 2021-09-14 09:03:36.086678 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/393393327101]
  10. 2021-09-14 09:03:36.086678 [NOTICE] switch_ivr_bridge.c:900 Hangup sofia/default/393393327101 [CS_EXCHANGE_MEDIA] [ORIGINATOR_CANCEL]
  11. 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:653 (sofia/default/393393327101) State EXCHANGE_MEDIA going to sleep
  12. 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:584 (sofia/default/393393327101) Running State Change CS_HANGUP (Cur 6 Tot 248005)
  13. 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:850 (sofia/default/393393327101) Callstate Change RINGING -> HANGUP
  14. 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:852 (sofia/default/393393327101) State HANGUP
  15. 2021-09-14 09:03:36.086678 [DEBUG] mod_sofia.c:432 sofia/default/393393327101 Overriding SIP cause 487 with 487 from the other leg
  16. 2021-09-14 09:03:36.086678 [DEBUG] mod_sofia.c:438 Channel sofia/default/393393327101 hanging up, cause: ORIGINATOR_CANCEL
  17. 2021-09-14 09:03:36.086678 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/393393327101 skip receive message [UNBRIDGE] (channel is hungup already)
  18. 2021-09-14 09:03:36.086678 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/390399745536@193.109.216.112 skip receive message [UNBRIDGE] (channel is hungup already)
  19. 2021-09-14 09:03:36.086678 [DEBUG] switch_core_session.c:2815 sofia/default/390399745536@193.109.216.112 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  20. 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:650 (sofia/default/390399745536@193.109.216.112) State EXECUTE going to sleep
  21. 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399745536@193.109.216.112) Running State Change CS_HANGUP (Cur 6 Tot 248005)
  22. 2021-09-14 09:03:36.086678 [DEBUG] mod_sofia.c:502 Sending CANCEL to sofia/default/393393327101
  23. 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:850 (sofia/default/390399745536@193.109.216.112) Callstate Change EARLY -> HANGUP
  24. 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:60 sofia/default/393393327101 Standard HANGUP, cause: ORIGINATOR_CANCEL
  25. 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:852 (sofia/default/393393327101) State HANGUP going to sleep
  26. 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:852 (sofia/default/390399745536@193.109.216.112) State HANGUP
  27. 2021-09-14 09:03:36.086678 [DEBUG] mod_sofia.c:438 Channel sofia/default/390399745536@193.109.216.112 hanging up, cause: ORIGINATOR_CANCEL
  28. 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:619 (sofia/default/393393327101) State Change CS_HANGUP -> CS_REPORTING
  29. 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:584 (sofia/default/393393327101) Running State Change CS_REPORTING (Cur 6 Tot 248005)
  30. 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:938 (sofia/default/393393327101) State REPORTING
  31. 2021-09-14 09:03:36.086678 [INFO] mod_json_cdr.c:271 Process [214ceebc-155c-11ec-9d45-7dfb9f6e00f0.cdr.json]
  32. 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:60 sofia/default/390399745536@193.109.216.112 Standard HANGUP, cause: ORIGINATOR_CANCEL
  33. 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:852 (sofia/default/390399745536@193.109.216.112) State HANGUP going to sleep
  34. 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:619 (sofia/default/390399745536@193.109.216.112) State Change CS_HANGUP -> CS_REPORTING
  35. 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399745536@193.109.216.112) Running State Change CS_REPORTING (Cur 6 Tot 248005)
  36. 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:938 (sofia/default/390399745536@193.109.216.112) State REPORTING
  37. 2021-09-14 09:03:36.086678 [INFO] mod_json_cdr.c:271 Process [2146fac0-155c-11ec-9d1f-7dfb9f6e00f0.cdr.json]
  38. 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:174 sofia/default/393393327101 Standard REPORTING, cause: ORIGINATOR_CANCEL
  39. 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:938 (sofia/default/393393327101) State REPORTING going to sleep
  40. 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:610 (sofia/default/393393327101) State Change CS_REPORTING -> CS_DESTROY
  41. 2021-09-14 09:03:36.086678 [DEBUG] switch_core_session.c:1665 Session 248005 (sofia/default/393393327101) Locked, Waiting on external entities
  42. 2021-09-14 09:03:36.086678 [NOTICE] switch_core_session.c:1683 Session 248005 (sofia/default/393393327101) Ended
  43. 2021-09-14 09:03:36.086678 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/393393327101 [CS_DESTROY]
  44. 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:741 (sofia/default/393393327101) Running State Change CS_DESTROY (Cur 5 Tot 248005)
  45. 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:751 (sofia/default/393393327101) State DESTROY
  46. 2021-09-14 09:03:36.086678 [DEBUG] mod_sofia.c:343 sofia/default/393393327101 SOFIA DESTROY
  47. 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:181 sofia/default/393393327101 Standard DESTROY
  48. 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:751 (sofia/default/393393327101) State DESTROY going to sleep
  49. 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:174 sofia/default/390399745536@193.109.216.112 Standard REPORTING, cause: ORIGINATOR_CANCEL
  50. 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:938 (sofia/default/390399745536@193.109.216.112) State REPORTING going to sleep
  51. 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:610 (sofia/default/390399745536@193.109.216.112) State Change CS_REPORTING -> CS_DESTROY
  52. 2021-09-14 09:03:36.086678 [DEBUG] switch_core_session.c:1665 Session 248004 (sofia/default/390399745536@193.109.216.112) Locked, Waiting on external entities
  53. 2021-09-14 09:03:36.086678 [NOTICE] switch_core_session.c:1683 Session 248004 (sofia/default/390399745536@193.109.216.112) Ended
  54. 2021-09-14 09:03:36.086678 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/390399745536@193.109.216.112 [CS_DESTROY]
  55. 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:741 (sofia/default/390399745536@193.109.216.112) Running State Change CS_DESTROY (Cur 4 Tot 248005)
  56. 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:751 (sofia/default/390399745536@193.109.216.112) State DESTROY
  57. 2021-09-14 09:03:36.086678 [DEBUG] mod_sofia.c:343 sofia/default/390399745536@193.109.216.112 SOFIA DESTROY
  58. 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:181 sofia/default/390399745536@193.109.216.112 Standard DESTROY
  59. 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:751 (sofia/default/390399745536@193.109.216.112) State DESTROY going to sleep
  60. 2021-09-14 09:03:36.246672 [DEBUG] switch_scheduler.c:144 Deleting task 31127 switch_ivr_schedule_hangup (214ceebc-155c-11ec-9d45-7dfb9f6e00f0)
  61. 2021-09-14 09:03:38.286667 [NOTICE] switch_channel.c:1104 New Channel sofia/default/390399745536@92.249.69.77 [2d507396-155c-11ec-9d4f-7dfb9f6e00f0]
  62. 2021-09-14 09:03:38.286667 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399745536@92.249.69.77) Running State Change CS_NEW (Cur 5 Tot 248006)
  63. 2021-09-14 09:03:38.286667 [DEBUG] sofia.c:9873 sofia/default/390399745536@92.249.69.77 receiving invite from 136.243.196.198:5060 version: 1.6.20  64bit
  64. 2021-09-14 09:03:38.306662 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
  65. 2021-09-14 09:03:38.306662 [DEBUG] sofia.c:7084 Channel sofia/default/390399745536@92.249.69.77 entering state [received][100]
  66. 2021-09-14 09:03:38.306662 [DEBUG] sofia.c:7094 Remote SDP:
  67. v=0
  68. o=asterisk 2009326781 2009326781 IN IP4 92.249.69.77
  69. s=Asterisk PBX
  70. c=IN IP4 92.249.69.77
  71. t=0 0
  72. m=audio 59316 RTP/AVP 8 0 101
  73. a=rtpmap:8 PCMA/8000
  74. a=rtpmap:0 PCMU/8000
  75. a=rtpmap:101 telephone-event/8000
  76. a=fmtp:101 0-16
  77. a=ptime:20
  78.  
  79. 2021-09-14 09:03:38.306662 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  80. 2021-09-14 09:03:38.306662 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  81. 2021-09-14 09:03:38.306662 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  82. 2021-09-14 09:03:38.306662 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  83. 2021-09-14 09:03:38.306662 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  84. 2021-09-14 09:03:38.306662 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  85. 2021-09-14 09:03:38.306662 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  86. 2021-09-14 09:03:38.306662 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  87. 2021-09-14 09:03:38.306662 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  88. 2021-09-14 09:03:38.306662 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/390399745536@92.249.69.77 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  89. 2021-09-14 09:03:38.306662 [DEBUG] switch_core_codec.c:111 sofia/default/390399745536@92.249.69.77 Original read codec set to PCMA:8
  90. 2021-09-14 09:03:38.306662 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  91. 2021-09-14 09:03:38.306662 [DEBUG] switch_core_media.c:4767 sofia/default/390399745536@92.249.69.77 Set 2833 dtmf send payload to 101 recv payload to 101
  92. 2021-09-14 09:03:38.306662 [DEBUG] sofia.c:7507 (sofia/default/390399745536@92.249.69.77) State Change CS_NEW -> CS_INIT
  93. 2021-09-14 09:03:38.306662 [DEBUG] switch_core_state_machine.c:603 (sofia/default/390399745536@92.249.69.77) State NEW
  94. 2021-09-14 09:03:38.306662 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399745536@92.249.69.77) Running State Change CS_INIT (Cur 5 Tot 248006)
  95. 2021-09-14 09:03:38.306662 [DEBUG] switch_core_state_machine.c:627 (sofia/default/390399745536@92.249.69.77) State INIT
  96. 2021-09-14 09:03:38.306662 [DEBUG] mod_sofia.c:90 sofia/default/390399745536@92.249.69.77 SOFIA INIT
  97. 2021-09-14 09:03:38.306662 [DEBUG] switch_core_state_machine.c:40 sofia/default/390399745536@92.249.69.77 Standard INIT
  98. 2021-09-14 09:03:38.306662 [DEBUG] switch_core_state_machine.c:48 (sofia/default/390399745536@92.249.69.77) State Change CS_INIT -> CS_ROUTING
  99. 2021-09-14 09:03:38.306662 [DEBUG] switch_core_state_machine.c:627 (sofia/default/390399745536@92.249.69.77) State INIT going to sleep
  100. 2021-09-14 09:03:38.306662 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399745536@92.249.69.77) Running State Change CS_ROUTING (Cur 5 Tot 248006)
  101. 2021-09-14 09:03:38.306662 [DEBUG] switch_channel.c:2249 (sofia/default/390399745536@92.249.69.77) Callstate Change DOWN -> RINGING
  102. 2021-09-14 09:03:38.306662 [DEBUG] switch_core_state_machine.c:643 (sofia/default/390399745536@92.249.69.77) State ROUTING
  103. 2021-09-14 09:03:38.306662 [DEBUG] mod_sofia.c:143 sofia/default/390399745536@92.249.69.77 SOFIA ROUTING
  104. 2021-09-14 09:03:38.306662 [DEBUG] switch_core_state_machine.c:236 sofia/default/390399745536@92.249.69.77 Standard ROUTING
  105. 2021-09-14 09:03:38.306662 [INFO] mod_dialplan_xml.c:637 Processing 390399745536 <390399745536>->00393357118905 in context default
  106. 2021-09-14 09:03:38.306662 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected.
  107. 2021-09-14 09:03:38.306662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  108. 2021-09-14 09:03:38.306662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  109. 2021-09-14 09:03:38.306662 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params:
  110. 'Event-Name: REQUEST_PARAMS
  111. Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0
  112. FreeSWITCH-Hostname: astpp1.local
  113. FreeSWITCH-Switchname: astpp1.local
  114. FreeSWITCH-IPv4: 89.46.223.193
  115. FreeSWITCH-IPv6: %3A%3A1
  116. Event-Date-Local: 2021-09-14%2009%3A03%3A38
  117. Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A03%3A38%20GMT
  118. Event-Date-Timestamp: 1631624618306662
  119. Event-Calling-File: mod_dialplan_xml.c
  120. Event-Calling-Function: dialplan_xml_locate
  121. Event-Calling-Line-Number: 608
  122. Event-Sequence: 7527350
  123. Channel-State: CS_ROUTING
  124. Channel-Call-State: RINGING
  125. Channel-State-Number: 2
  126. Channel-Name: sofia/default/390399745536%4092.249.69.77
  127. Unique-ID: 2d507396-155c-11ec-9d4f-7dfb9f6e00f0
  128. Call-Direction: inbound
  129. Presence-Call-Direction: inbound
  130. Channel-HIT-Dialplan: true
  131. Channel-Presence-ID: 390399745536%4092.249.69.77
  132. Channel-Call-UUID: 2d507396-155c-11ec-9d4f-7dfb9f6e00f0
  133. Answer-State: ringing
  134. Channel-Read-Codec-Name: PCMA
  135. Channel-Read-Codec-Rate: 8000
  136. Channel-Read-Codec-Bit-Rate: 64000
  137. Channel-Write-Codec-Name: PCMA
  138. Channel-Write-Codec-Rate: 8000
  139. Channel-Write-Codec-Bit-Rate: 64000
  140. Caller-Direction: inbound
  141. Caller-Logical-Direction: inbound
  142. Caller-Username: 390399745536
  143. Caller-Dialplan: XML
  144. Caller-Caller-ID-Name: 390399745536
  145. Caller-Caller-ID-Number: 390399745536
  146. Caller-Orig-Caller-ID-Name: 390399745536
  147. Caller-Orig-Caller-ID-Number: 390399745536
  148. Caller-Network-Addr: 136.243.196.198
  149. Caller-ANI: 390399745536
  150. Caller-Destination-Number: 00393357118905
  151. Caller-Unique-ID: 2d507396-155c-11ec-9d4f-7dfb9f6e00f0
  152. Caller-Source: mod_sofia
  153. Caller-Context: default
  154. Caller-Channel-Name: sofia/default/390399745536%4092.249.69.77
  155. Caller-Profile-Index: 1
  156. Caller-Profile-Created-Time: 1631624618306662
  157. Caller-Channel-Created-Time: 1631624618306662
  158. Caller-Channel-Answered-Time: 0
  159. Caller-Channel-Progress-Time: 0
  160. Caller-Channel-Progress-Media-Time: 0
  161. Caller-Channel-Hangup-Time: 0
  162. Caller-Channel-Transfer-Time: 0
  163. Caller-Channel-Resurrect-Time: 0
  164. Caller-Channel-Bridged-Time: 0
  165. Caller-Channel-Last-Hold: 0
  166. Caller-Channel-Hold-Accum: 0
  167. Caller-Screen-Bit: false
  168. Caller-Privacy-Hide-Name: false
  169. Caller-Privacy-Hide-Number: false
  170. variable_direction: inbound
  171. variable_uuid: 2d507396-155c-11ec-9d4f-7dfb9f6e00f0
  172. variable_session_id: 248006
  173. variable_sip_from_user: 390399745536
  174. variable_sip_from_uri: 390399745536%4092.249.69.77
  175. variable_sip_from_host: 92.249.69.77
  176. variable_video_media_flow: sendrecv
  177. variable_channel_name: sofia/default/390399745536%4092.249.69.77
  178. variable_sip_call_id: 5cd2e1810fb0a28c3bf22f4172acb079%4092.249.69.77%3A5060
  179. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b
  180. variable_sip_local_network_addr: 89.46.223.193
  181. variable_sip_network_ip: 136.243.196.198
  182. variable_sip_network_port: 5060
  183. variable_sip_invite_stamp: 1631624618286667
  184. variable_sip_received_ip: 136.243.196.198
  185. variable_sip_received_port: 5060
  186. variable_sip_via_protocol: udp
  187. variable_sip_authorized: true
  188. variable_sip_acl_authed_by: default
  189. variable_sip_from_user_stripped: 390399745536
  190. variable_sip_from_tag: as63384331
  191. variable_sofia_profile_name: default
  192. variable_recovery_profile_name: default
  193. variable_sip_Remote-Party-ID: %22390399745536%22%20%3Csip%3A390399745536%4092.249.69.77%3E%3Bparty%3Dcalling%3Bprivacy%3Doff%3Bscreen%3Dno
  194. variable_sip_cid_type: rpid
  195. variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D244.fef205b%3E
  196. variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D244.fef205b%3E
  197. variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bK313.2a519e95.0,SIP/2.0/UDP%2092.249.69.77%3A5060%3Bbranch%3Dz9hG4bK73d09ef9
  198. variable_sip_from_display: 390399745536
  199. variable_sip_full_from: %22390399745536%22%20%3Csip%3A390399745536%4092.249.69.77%3E%3Btag%3Das63384331
  200. variable_sip_full_to: %3Csip%3A00393357118905%40136.243.196.198%3E
  201. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE
  202. variable_sip_req_user: 00393357118905
  203. variable_sip_req_uri: 00393357118905%40136.243.196.198
  204. variable_sip_req_host: 136.243.196.198
  205. variable_sip_to_user: 00393357118905
  206. variable_sip_to_uri: 00393357118905%40136.243.196.198
  207. variable_sip_to_host: 136.243.196.198
  208. variable_sip_contact_user: 390399745536
  209. variable_sip_contact_port: 5060
  210. variable_sip_contact_uri: 390399745536%4092.249.69.77%3A5060
  211. variable_sip_contact_host: 92.249.69.77
  212. variable_sip_user_agent: Asterisk%20PBX
  213. variable_sip_via_host: 136.243.196.198
  214. variable_sip_via_port: 5060
  215. variable_max_forwards: 30
  216. variable_presence_id: 390399745536%4092.249.69.77
  217. variable_sip_h_X-AUTH-IP: 92.249.69.77
  218. variable_sip_h_P-Accountcode: 619312506378
  219. variable_sip_h_P-effective_caller_id_name: 390399745536
  220. variable_sip_h_P-effective_caller_id_number: 390399745536
  221. variable_switch_r_sdp: v%3D0%0D%0Ao%3Dasterisk%202009326781%202009326781%20IN%20IP4%2092.249.69.77%0D%0As%3DAsterisk%20PBX%0D%0Ac%3DIN%20IP4%2092.249.69.77%0D%0At%3D0%200%0D%0Am%3Daudio%2059316%20RTP/AVP%208%200%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0A
  222. variable_rtp_use_codec_string: PCMA,PCMU,G729
  223. variable_audio_media_flow: sendrecv
  224. variable_remote_media_ip: 92.249.69.77
  225. variable_remote_media_port: 59316
  226. variable_rtp_audio_recv_pt: 8
  227. variable_rtp_use_codec_name: PCMA
  228. variable_rtp_use_codec_rate: 8000
  229. variable_rtp_use_codec_ptime: 20
  230. variable_rtp_use_codec_channels: 1
  231. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  232. variable_read_codec: PCMA
  233. variable_original_read_codec: PCMA
  234. variable_read_rate: 8000
  235. variable_original_read_rate: 8000
  236. variable_write_codec: PCMA
  237. variable_write_rate: 8000
  238. variable_dtmf_type: rfc2833
  239. variable_endpoint_disposition: RECEIVED
  240. variable_call_uuid: 2d507396-155c-11ec-9d4f-7dfb9f6e00f0
  241. Hunt-Direction: inbound
  242. Hunt-Logical-Direction: inbound
  243. Hunt-Username: 390399745536
  244. Hunt-Dialplan: XML
  245. Hunt-Caller-ID-Name: 390399745536
  246. Hunt-Caller-ID-Number: 390399745536
  247. Hunt-Orig-Caller-ID-Name: 390399745536
  248. Hunt-Orig-Caller-ID-Number: 390399745536
  249. Hunt-Network-Addr: 136.243.196.198
  250. Hunt-ANI: 390399745536
  251. Hunt-Destination-Number: 00393357118905
  252. Hunt-Unique-ID: 2d507396-155c-11ec-9d4f-7dfb9f6e00f0
  253. Hunt-Source: mod_sofia
  254. Hunt-Context: default
  255. Hunt-Channel-Name: sofia/default/390399745536%4092.249.69.77
  256. Hunt-Profile-Index: 1
  257. Hunt-Profile-Created-Time: 1631624618306662
  258. Hunt-Channel-Created-Time: 1631624618306662
  259. Hunt-Channel-Answered-Time: 0
  260. Hunt-Channel-Progress-Time: 0
  261. Hunt-Channel-Progress-Media-Time: 0
  262. Hunt-Channel-Hangup-Time: 0
  263. Hunt-Channel-Transfer-Time: 0
  264. Hunt-Channel-Resurrect-Time: 0
  265. Hunt-Channel-Bridged-Time: 0
  266. Hunt-Channel-Last-Hold: 0
  267. Hunt-Channel-Hold-Accum: 0
  268. Hunt-Screen-Bit: false
  269. Hunt-Privacy-Hide-Name: false
  270. Hunt-Privacy-Hide-Number: false
  271.  
  272. '
  273. 2021-09-14 09:03:38.306662 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name:
  274. 2021-09-14 09:03:38.306662 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value:
  275. 2021-09-14 09:03:38.306662 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name:
  276. 2021-09-14 09:03:38.306662 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan
  277. 2021-09-14 09:03:38.306662 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  278. 2021-09-14 09:03:38.306662 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 00393357118905
  279. 2021-09-14 09:03:38.306662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '00393357118905' limit 1
  280. 2021-09-14 09:03:38.306662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '00393357118905' AND status=0 limit 1
  281. 2021-09-14 09:03:38.306662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '92.249.69.77' limit 1
  282. 2021-09-14 09:03:38.306662 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  283. 2021-09-14 09:03:38.306662 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 390399745536 / 390399745536
  284. 2021-09-14 09:03:38.306662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="00393357118905" LIMIT 1
  285. 2021-09-14 09:03:38.306662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="00393357118905"  AND domains.domain="136.243.196.198" limit 1
  286. 2021-09-14 09:03:38.306662 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  287. 2021-09-14 09:03:38.306662 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 619312506378]
  288. 2021-09-14 09:03:38.306662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "619312506378" OR number = "619312506378" AND deleted = 0 limit 1
  289. 2021-09-14 09:03:38.306662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^00393357118905.*' OR blocked_patterns = '^0039335711890.*' OR blocked_patterns = '^003933571189.*' OR blocked_patterns = '^00393357118.*' OR blocked_patterns = '^0039335711.*' OR blocked_patterns = '^003933571.*' OR blocked_patterns = '^00393357.*' OR blocked_patterns = '^0039335.*' OR blocked_patterns = '^003933.*' OR blocked_patterns = '^00393.*' OR blocked_patterns = '^0039.*' OR blocked_patterns = '^003.*' OR blocked_patterns = '^00.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 1039 limit 1
  290. 2021-09-14 09:03:38.306662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="00393357118905" AND A.accountid = '1039' limit 1
  291. 2021-09-14 09:03:38.306662 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 00393357118905
  292. 2021-09-14 09:03:38.306662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="00393357118905" LIMIT 1
  293. 2021-09-14 09:03:38.306662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="00393357118905"  AND domains.domain="136.243.196.198" limit 1
  294. 2021-09-14 09:03:38.306662 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : outbound
  295. 2021-09-14 09:03:38.306662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="00393357118905" AND (accountid = 0 OR status = 1) LIMIT 1
  296. 2021-09-14 09:03:38.306662 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 3
  297. 2021-09-14 09:03:38.306662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 3 AND status=0 limit 1
  298. 2021-09-14 09:03:38.306662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*".....00393357118905
  299. 2021-09-14 09:03:38.306662 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 00393357118905
  300. 2021-09-14 09:03:38.306662 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 393357118905
  301. 2021-09-14 09:03:38.306662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*".....393357118905
  302. 2021-09-14 09:03:38.306662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^393357118905.*' OR patterns = '^39335711890.*' OR patterns = '^3933571189.*' OR patterns = '^393357118.*' OR patterns = '^39335711.*' OR patterns = '^3933571.*' OR patterns = '^393357.*' OR patterns = '^39335.*' OR patterns = '^3933.*' OR patterns = '^393.*' OR patterns = '^39.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 1039 ORDER BY LENGTH(PKGPTR.patterns) DESC
  303. 2021-09-14 09:03:38.306662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '393357118905' OR number = '39335711890' OR number = '3933571189' OR number = '393357118' OR number = '39335711' OR number = '3933571' OR number = '393357' OR number = '39335' OR number = '3933' OR number = '393' OR number = '39' OR number = '3' OR number ='--') OR (number = '393357118905*' OR number = '39335711890*' OR number = '3933571189*' OR number = '393357118*' OR number = '39335711*' OR number = '3933571*' OR number = '393357*' OR number = '39335*' OR number = '3933*' OR number = '393*' OR number = '39*' OR number = '3*' OR number ='--') OR (number = '390399745536' OR number = '39039974553' OR number = '3903997455' OR number = '390399745' OR number = '39039974' OR number = '3903997' OR number = '390399' OR number = '39039' OR number = '3903' OR number = '390' OR number = '39' OR number = '3' OR number ='--') OR (number = '390399745536*' OR number = '39039974553*' OR number = '3903997455*' OR number = '390399745*' OR number = '39039974*' OR number = '3903997*' OR number = '390399*' OR number = '39039*' OR number = '3903*' OR number = '390*' OR number = '39*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  304. 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  305. 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '393357118905' OR routing_prefix = '39335711890' OR routing_prefix = '3933571189' OR routing_prefix = '393357118' OR routing_prefix = '39335711' OR routing_prefix = '3933571' OR routing_prefix = '393357' OR routing_prefix = '39335' OR routing_prefix = '3933' OR routing_prefix = '393' OR routing_prefix = '39' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  306. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  307. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 1039
  308. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 619312506378
  309. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 3173.67686
  310. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  311. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 49
  312. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  313. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  314. 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0
  315. 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound
  316. 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0
  317. 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^393357118905.*' OR pattern = '^39335711890.*' OR pattern = '^3933571189.*' OR pattern = '^393357118.*' OR pattern = '^39335711.*' OR pattern = '^3933571.*' OR pattern = '^393357.*' OR pattern = '^39335.*' OR pattern = '^3933.*' OR pattern = '^393.*' OR pattern = '^39.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 49 OR accountid=1039)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
  318. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: outbound
  319. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  320. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1140861
  321. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  322. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  323. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.33792
  324. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : ItalyTim Mobile
  325. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0
  326. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 1039
  327. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0
  328. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type:
  329. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  330. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your3173.67686 balance Accountid 1039 !!!
  331. 2021-09-14 09:03:38.326679 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 180 mins!
  332. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
  333. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 1140861
  334. 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id  :0
  335. 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=49 ORDER by id asc
  336. 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^393357118905.*' OR pattern = '^39335711890.*' OR pattern = '^3933571189.*' OR pattern = '^393357118.*' OR pattern = '^39335711.*' OR pattern = '^3933571.*' OR pattern = '^393357.*' OR pattern = '^39335.*' OR pattern = '^3933.*' OR pattern = '^393.*' OR pattern = '^39.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (51,53,55) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
  337. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  338. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1916641
  339. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^39335.*
  340. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : ItalyTim Mobile
  341. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  342. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  343. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^39335.*
  344. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0
  345. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0
  346. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 53
  347. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : tata3
  348. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  349. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway :
  350. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 587
  351. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  352. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : Low_Tata_38986_110821
  353. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  354. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  355. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 2096391
  356. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^39335.*
  357. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : ITALY - MOBILE TIM
  358. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  359. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  360. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^39335.*
  361. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0
  362. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0
  363. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 55
  364. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : Telia_GW
  365. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  366. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway :
  367. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 1017
  368. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  369. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : High_Telia_110821
  370. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  371. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  372. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1744105
  373. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^39335.*
  374. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : ItalyTim Mobile
  375. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  376. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  377. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^39335.*
  378. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0
  379. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0
  380. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 51
  381. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : tata3
  382. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  383. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway :
  384. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 587
  385. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  386. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : high_tata_37113_110821
  387. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  388. 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 1039 AND status=0 LIMIT 1
  389. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
  390. 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : outbound
  391. 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0
  392. 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 587) AND status=0 limit 1
  393. 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....393357118905
  394. 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0
  395. 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 1017) AND status=0 limit 1
  396. 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....393357118905
  397. 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0
  398. 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 587) AND status=0 limit 1
  399. 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....393357118905
  400. 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
  401. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  402. <document type="freeswitch/xml">
  403. <section name="dialplan" description="ASTPP Dialplan">
  404. <context name="default">
  405. <extension name="393357118905">
  406. <condition field="destination_number" expression="00393357118905">
  407. <action application="set" data="effective_destination_number=393357118905"/>
  408. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  409. <action application="set" data="bridge_pre_execute_bleg_data=+10800 normal_clearing"/>
  410. <action application="set" data="callstart=2021-09-14 13:03:38"/>
  411. <action application="set" data="hangup_after_bridge=true"/>
  412. <action application="set" data="continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602"/>
  413. <action application="set" data="account_id=1039"/>
  414. <action application="set" data="parent_id=0"/>
  415. <action application="set" data="entity_id=0"/>
  416. <action application="set" data="call_processed=internal"/>
  417. <action application="set" data="call_direction=outbound"/>
  418. <action application="set" data="accountname=default"/>
  419. <action application="set" data="filename1=astpp.pbx.lua"/>
  420. <action application="set" data="origination_rates=ID:1140861|CODE:^39335.*|DESTINATION:ItalyTim Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.33792|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039"/>
  421. <action application="set" data="original_caller_id_name=390399745536"/>
  422. <action application="set" data="original_caller_id_number=390399745536"/>
  423.  
  424. <action application="export" data="is_recording=1"/>
  425. <action application="export" data="media_bug_answer_req=true"/>
  426. <action application="export" data="RECORD_STEREO=true"/>
  427. <action application="export" data="record_sample_rate=8000"/>
  428. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  429. <action application="set" data="effective_caller_id_name=390399745536"/>
  430. <action application="set" data="effective_caller_id_number=390399745536"/>
  431. <action application="set" data="calltype=STANDARD"/>
  432. <action application="set" data="termination_rates=ID:1916641|CODE:^39335.*|DESTINATION:ItalyTim Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.08000|INC:1|INITIALBLOCK:1|TRUNK:53|PROVIDER:587"/>
  433. <action application="set" data="trunk_id=53"/>
  434. <action application="set" data="provider_id=587"/>
  435. <action application="set" data="rate_flag=0"/>
  436. <action application="set" data="force_trunk_flag=1140861"/>
  437. <action application="export" data="presence_data=trunk_id=53"/>
  438. <action application="set" data="intcall=0"/>
  439. <action application="export" data="presence_data=x|||Enerxus(619312506378)|||^39335.* // ItalyTim Mobile // 0.33792 // trunk_id=0|||Low_Tata_38986_110821 // ^39335.* // ItalyTim Mobile // 0.08000 // trunk_id=53|||STD|||92.249.69.77"/>
  440. <action application="bridge" data="[leg_timeout=0]sofia/gateway/tata3/393357118905;fs_path=sip:136.243.196.198:5060"/>
  441. <action application="set" data="effective_caller_id_name=390399745536"/>
  442. <action application="set" data="effective_caller_id_number=390399745536"/>
  443. <action application="set" data="calltype=STANDARD"/>
  444. <action application="set" data="termination_rates=ID:2096391|CODE:^39335.*|DESTINATION:ITALY - MOBILE TIM|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20410|INC:1|INITIALBLOCK:1|TRUNK:55|PROVIDER:1017"/>
  445. <action application="set" data="trunk_id=55"/>
  446. <action application="set" data="provider_id=1017"/>
  447. <action application="set" data="rate_flag=0"/>
  448. <action application="set" data="force_trunk_flag=1140861"/>
  449. <action application="export" data="presence_data=trunk_id=55"/>
  450. <action application="set" data="intcall=0"/>
  451. <action application="export" data="presence_data=x|||Enerxus(619312506378)|||^39335.* // ItalyTim Mobile // 0.33792 // trunk_id=0|||High_Telia_110821 // ^39335.* // ITALY - MOBILE TIM // 0.20410 // trunk_id=55|||STD|||92.249.69.77"/>
  452. <action application="bridge" data="[leg_timeout=0]sofia/gateway/Telia_GW/393357118905;fs_path=sip:136.243.196.198:5060"/>
  453. <action application="set" data="effective_caller_id_name=390399745536"/>
  454. <action application="set" data="effective_caller_id_number=390399745536"/>
  455. <action application="set" data="calltype=STANDARD"/>
  456. <action application="set" data="termination_rates=ID:1744105|CODE:^39335.*|DESTINATION:ItalyTim Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.21120|INC:1|INITIALBLOCK:1|TRUNK:51|PROVIDER:587"/>
  457. <action application="set" data="trunk_id=51"/>
  458. <action application="set" data="provider_id=587"/>
  459. <action application="set" data="rate_flag=0"/>
  460. <action application="set" data="force_trunk_flag=1140861"/>
  461. <action application="export" data="presence_data=trunk_id=51"/>
  462. <action application="set" data="intcall=0"/>
  463. <action application="export" data="presence_data=x|||Enerxus(619312506378)|||^39335.* // ItalyTim Mobile // 0.33792 // trunk_id=0|||high_tata_37113_110821 // ^39335.* // ItalyTim Mobile // 0.21120 // trunk_id=51|||STD|||92.249.69.77"/>
  464. <action application="bridge" data="[leg_timeout=0]sofia/gateway/tata3/393357118905;fs_path=sip:136.243.196.198:5060"/>
  465. </condition>
  466. </extension>
  467. </context>
  468. </section>
  469. </document>
  470. 2021-09-14 09:03:38.326679 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released.
  471. Dialplan: sofia/default/390399745536@92.249.69.77 parsing [default->393357118905] continue=false
  472. Dialplan: sofia/default/390399745536@92.249.69.77 Regex (PASS) [393357118905] destination_number(00393357118905) =~ /00393357118905/ break=on-false
  473. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(effective_destination_number=393357118905)
  474. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  475. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  476. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(callstart=2021-09-14 13:03:38)
  477. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(hangup_after_bridge=true)
  478. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  479. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(account_id=1039)
  480. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(parent_id=0)
  481. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(entity_id=0)
  482. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(call_processed=internal)
  483. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(call_direction=outbound)
  484. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(accountname=default)
  485. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(filename1=astpp.pbx.lua)
  486. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(origination_rates=ID:1140861|CODE:^39335.*|DESTINATION:ItalyTim Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.33792|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039)
  487. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(original_caller_id_name=390399745536)
  488. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(original_caller_id_number=390399745536)
  489. Dialplan: sofia/default/390399745536@92.249.69.77 Action export(is_recording=1)
  490. Dialplan: sofia/default/390399745536@92.249.69.77 Action export(media_bug_answer_req=true)
  491. Dialplan: sofia/default/390399745536@92.249.69.77 Action export(RECORD_STEREO=true)
  492. Dialplan: sofia/default/390399745536@92.249.69.77 Action export(record_sample_rate=8000)
  493. Dialplan: sofia/default/390399745536@92.249.69.77 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  494. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(effective_caller_id_name=390399745536)
  495. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(effective_caller_id_number=390399745536)
  496. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(calltype=STANDARD)
  497. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(termination_rates=ID:1916641|CODE:^39335.*|DESTINATION:ItalyTim Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.08000|INC:1|INITIALBLOCK:1|TRUNK:53|PROVIDER:587)
  498. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(trunk_id=53)
  499. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(provider_id=587)
  500. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(rate_flag=0)
  501. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(force_trunk_flag=1140861)
  502. Dialplan: sofia/default/390399745536@92.249.69.77 Action export(presence_data=trunk_id=53)
  503. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(intcall=0)
  504. Dialplan: sofia/default/390399745536@92.249.69.77 Action export(presence_data=x|||Enerxus(619312506378)|||^39335.* // ItalyTim Mobile // 0.33792 // trunk_id=0|||Low_Tata_38986_110821 // ^39335.* // ItalyTim Mobile // 0.08000 // trunk_id=53|||STD|||92.249.69.77)
  505. Dialplan: sofia/default/390399745536@92.249.69.77 Action bridge([leg_timeout=0]sofia/gateway/tata3/393357118905;fs_path=sip:136.243.196.198:5060)
  506. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(effective_caller_id_name=390399745536)
  507. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(effective_caller_id_number=390399745536)
  508. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(calltype=STANDARD)
  509. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(termination_rates=ID:2096391|CODE:^39335.*|DESTINATION:ITALY - MOBILE TIM|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20410|INC:1|INITIALBLOCK:1|TRUNK:55|PROVIDER:1017)
  510. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(trunk_id=55)
  511. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(provider_id=1017)
  512. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(rate_flag=0)
  513. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(force_trunk_flag=1140861)
  514. Dialplan: sofia/default/390399745536@92.249.69.77 Action export(presence_data=trunk_id=55)
  515. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(intcall=0)
  516. Dialplan: sofia/default/390399745536@92.249.69.77 Action export(presence_data=x|||Enerxus(619312506378)|||^39335.* // ItalyTim Mobile // 0.33792 // trunk_id=0|||High_Telia_110821 // ^39335.* // ITALY - MOBILE TIM // 0.20410 // trunk_id=55|||STD|||92.249.69.77)
  517. Dialplan: sofia/default/390399745536@92.249.69.77 Action bridge([leg_timeout=0]sofia/gateway/Telia_GW/393357118905;fs_path=sip:136.243.196.198:5060)
  518. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(effective_caller_id_name=390399745536)
  519. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(effective_caller_id_number=390399745536)
  520. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(calltype=STANDARD)
  521. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(termination_rates=ID:1744105|CODE:^39335.*|DESTINATION:ItalyTim Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.21120|INC:1|INITIALBLOCK:1|TRUNK:51|PROVIDER:587)
  522. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(trunk_id=51)
  523. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(provider_id=587)
  524. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(rate_flag=0)
  525. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(force_trunk_flag=1140861)
  526. Dialplan: sofia/default/390399745536@92.249.69.77 Action export(presence_data=trunk_id=51)
  527. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(intcall=0)
  528. Dialplan: sofia/default/390399745536@92.249.69.77 Action export(presence_data=x|||Enerxus(619312506378)|||^39335.* // ItalyTim Mobile // 0.33792 // trunk_id=0|||high_tata_37113_110821 // ^39335.* // ItalyTim Mobile // 0.21120 // trunk_id=51|||STD|||92.249.69.77)
  529. Dialplan: sofia/default/390399745536@92.249.69.77 Action bridge([leg_timeout=0]sofia/gateway/tata3/393357118905;fs_path=sip:136.243.196.198:5060)
  530. 2021-09-14 09:03:38.326679 [DEBUG] switch_core_state_machine.c:286 (sofia/default/390399745536@92.249.69.77) State Change CS_ROUTING -> CS_EXECUTE
  531. 2021-09-14 09:03:38.326679 [DEBUG] switch_core_state_machine.c:643 (sofia/default/390399745536@92.249.69.77) State ROUTING going to sleep
  532. 2021-09-14 09:03:38.326679 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399745536@92.249.69.77) Running State Change CS_EXECUTE (Cur 5 Tot 248006)
  533. 2021-09-14 09:03:38.326679 [DEBUG] switch_core_state_machine.c:650 (sofia/default/390399745536@92.249.69.77) State EXECUTE
  534. 2021-09-14 09:03:38.326679 [DEBUG] mod_sofia.c:198 sofia/default/390399745536@92.249.69.77 SOFIA EXECUTE
  535. 2021-09-14 09:03:38.326679 [DEBUG] switch_core_state_machine.c:328 sofia/default/390399745536@92.249.69.77 Standard EXECUTE
  536. EXECUTE sofia/default/390399745536@92.249.69.77 set(effective_destination_number=393357118905)
  537. 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [effective_destination_number]=[393357118905]
  538. EXECUTE sofia/default/390399745536@92.249.69.77 set(bridge_pre_execute_bleg_app=sched_hangup)
  539. 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [bridge_pre_execute_bleg_app]=[sched_hangup]
  540. EXECUTE sofia/default/390399745536@92.249.69.77 set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  541. 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing]
  542. EXECUTE sofia/default/390399745536@92.249.69.77 set(callstart=2021-09-14 13:03:38)
  543. 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [callstart]=[2021-09-14 13:03:38]
  544. EXECUTE sofia/default/390399745536@92.249.69.77 set(hangup_after_bridge=true)
  545. 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [hangup_after_bridge]=[true]
  546. EXECUTE sofia/default/390399745536@92.249.69.77 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  547. 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]
  548. EXECUTE sofia/default/390399745536@92.249.69.77 set(account_id=1039)
  549. 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [account_id]=[1039]
  550. EXECUTE sofia/default/390399745536@92.249.69.77 set(parent_id=0)
  551. 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [parent_id]=[0]
  552. EXECUTE sofia/default/390399745536@92.249.69.77 set(entity_id=0)
  553. 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [entity_id]=[0]
  554. EXECUTE sofia/default/390399745536@92.249.69.77 set(call_processed=internal)
  555. 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [call_processed]=[internal]
  556. EXECUTE sofia/default/390399745536@92.249.69.77 set(call_direction=outbound)
  557. 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [call_direction]=[outbound]
  558. EXECUTE sofia/default/390399745536@92.249.69.77 set(accountname=default)
  559. 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [accountname]=[default]
  560. EXECUTE sofia/default/390399745536@92.249.69.77 set(filename1=astpp.pbx.lua)
  561. 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [filename1]=[astpp.pbx.lua]
  562. EXECUTE sofia/default/390399745536@92.249.69.77 set(origination_rates=ID:1140861|CODE:^39335.*|DESTINATION:ItalyTim Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.33792|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039)
  563. 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [origination_rates]=[ID:1140861|CODE:^39335.*|DESTINATION:ItalyTim Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.33792|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039]
  564. EXECUTE sofia/default/390399745536@92.249.69.77 set(original_caller_id_name=390399745536)
  565. 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [original_caller_id_name]=[390399745536]
  566. EXECUTE sofia/default/390399745536@92.249.69.77 set(original_caller_id_number=390399745536)
  567. 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [original_caller_id_number]=[390399745536]
  568. EXECUTE sofia/default/390399745536@92.249.69.77 export(is_recording=1)
  569. 2021-09-14 09:03:38.326679 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [is_recording]=[1]
  570. EXECUTE sofia/default/390399745536@92.249.69.77 export(media_bug_answer_req=true)
  571. 2021-09-14 09:03:38.326679 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [media_bug_answer_req]=[true]
  572. EXECUTE sofia/default/390399745536@92.249.69.77 export(RECORD_STEREO=true)
  573. 2021-09-14 09:03:38.326679 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [RECORD_STEREO]=[true]
  574. EXECUTE sofia/default/390399745536@92.249.69.77 export(record_sample_rate=8000)
  575. 2021-09-14 09:03:38.326679 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [record_sample_rate]=[8000]
  576. EXECUTE sofia/default/390399745536@92.249.69.77 export(execute_on_answer=record_session /var/lib/freeswitch/recordings/2d507396-155c-11ec-9d4f-7dfb9f6e00f0.wav)
  577. 2021-09-14 09:03:38.326679 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/2d507396-155c-11ec-9d4f-7dfb9f6e00f0.wav]
  578. EXECUTE sofia/default/390399745536@92.249.69.77 set(effective_caller_id_name=390399745536)
  579. 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [effective_caller_id_name]=[390399745536]
  580. EXECUTE sofia/default/390399745536@92.249.69.77 set(effective_caller_id_number=390399745536)
  581. 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [effective_caller_id_number]=[390399745536]
  582. EXECUTE sofia/default/390399745536@92.249.69.77 set(calltype=STANDARD)
  583. 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [calltype]=[STANDARD]
  584. EXECUTE sofia/default/390399745536@92.249.69.77 set(termination_rates=ID:1916641|CODE:^39335.*|DESTINATION:ItalyTim Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.08000|INC:1|INITIALBLOCK:1|TRUNK:53|PROVIDER:587)
  585. 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [termination_rates]=[ID:1916641|CODE:^39335.*|DESTINATION:ItalyTim Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.08000|INC:1|INITIALBLOCK:1|TRUNK:53|PROVIDER:587]
  586. EXECUTE sofia/default/390399745536@92.249.69.77 set(trunk_id=53)
  587. 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [trunk_id]=[53]
  588. EXECUTE sofia/default/390399745536@92.249.69.77 set(provider_id=587)
  589. 2021-09-14 09:03:38.346665 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [provider_id]=[587]
  590. EXECUTE sofia/default/390399745536@92.249.69.77 set(rate_flag=0)
  591. 2021-09-14 09:03:38.346665 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [rate_flag]=[0]
  592. EXECUTE sofia/default/390399745536@92.249.69.77 set(force_trunk_flag=1140861)
  593. 2021-09-14 09:03:38.346665 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [force_trunk_flag]=[1140861]
  594. EXECUTE sofia/default/390399745536@92.249.69.77 export(presence_data=trunk_id=53)
  595. 2021-09-14 09:03:38.346665 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[trunk_id=53]
  596. EXECUTE sofia/default/390399745536@92.249.69.77 set(intcall=0)
  597. 2021-09-14 09:03:38.346665 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [intcall]=[0]
  598. EXECUTE sofia/default/390399745536@92.249.69.77 export(presence_data=x|||Enerxus(619312506378)|||^39335.* // ItalyTim Mobile // 0.33792 // trunk_id=0|||Low_Tata_38986_110821 // ^39335.* // ItalyTim Mobile // 0.08000 // trunk_id=53|||STD|||92.249.69.77)
  599. 2021-09-14 09:03:38.346665 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||Enerxus(619312506378)|||^39335.* // ItalyTim Mobile // 0.33792 // trunk_id=0|||Low_Tata_38986_110821 // ^39335.* // ItalyTim Mobile // 0.08000 // trunk_id=53|||STD|||92.249.69.77]
  600. EXECUTE sofia/default/390399745536@92.249.69.77 bridge([leg_timeout=0]sofia/gateway/tata3/393357118905;fs_path=sip:136.243.196.198:5060)
  601. 2021-09-14 09:03:38.346665 [DEBUG] switch_channel.c:1250 sofia/default/390399745536@92.249.69.77 EXPORTING[export_vars] [is_recording]=[1] to event
  602. 2021-09-14 09:03:38.346665 [DEBUG] switch_channel.c:1250 sofia/default/390399745536@92.249.69.77 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  603. 2021-09-14 09:03:38.346665 [DEBUG] switch_channel.c:1250 sofia/default/390399745536@92.249.69.77 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  604. 2021-09-14 09:03:38.346665 [DEBUG] switch_channel.c:1250 sofia/default/390399745536@92.249.69.77 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  605. 2021-09-14 09:03:38.346665 [DEBUG] switch_channel.c:1250 sofia/default/390399745536@92.249.69.77 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/2d507396-155c-11ec-9d4f-7dfb9f6e00f0.wav] to event
  606. 2021-09-14 09:03:38.346665 [DEBUG] switch_channel.c:1250 sofia/default/390399745536@92.249.69.77 EXPORTING[export_vars] [presence_data]=[x|||Enerxus(619312506378)|||^39335.* // ItalyTim Mobile // 0.33792 // trunk_id=0|||Low_Tata_38986_110821 // ^39335.* // ItalyTim Mobile // 0.08000 // trunk_id=53|||STD|||92.249.69.77] to event
  607. 2021-09-14 09:03:38.346665 [DEBUG] switch_channel.c:1250 sofia/default/390399745536@92.249.69.77 EXPORTING[export_vars] [presence_data]=[x|||Enerxus(619312506378)|||^39335.* // ItalyTim Mobile // 0.33792 // trunk_id=0|||Low_Tata_38986_110821 // ^39335.* // ItalyTim Mobile // 0.08000 // trunk_id=53|||STD|||92.249.69.77] to event
  608. 2021-09-14 09:03:38.346665 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  609. 2021-09-14 09:03:38.346665 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  610. 2021-09-14 09:03:38.346665 [NOTICE] switch_channel.c:1104 New Channel sofia/default/393357118905 [2d56cae8-155c-11ec-9d75-7dfb9f6e00f0]
  611. 2021-09-14 09:03:38.346665 [DEBUG] mod_sofia.c:4819 (sofia/default/393357118905) State Change CS_NEW -> CS_INIT
  612. 2021-09-14 09:03:38.346665 [DEBUG] switch_core_state_machine.c:584 (sofia/default/393357118905) Running State Change CS_INIT (Cur 6 Tot 248007)
  613. 2021-09-14 09:03:38.346665 [DEBUG] switch_core_state_machine.c:627 (sofia/default/393357118905) State INIT
  614. 2021-09-14 09:03:38.346665 [DEBUG] mod_sofia.c:90 sofia/default/393357118905 SOFIA INIT
  615. 2021-09-14 09:03:38.346665 [DEBUG] sofia_glue.c:1264 sip:136.243.196.198:5060 Setting proxy route to sofia/default/393357118905
  616. 2021-09-14 09:03:38.346665 [DEBUG] sofia_glue.c:1295 sofia/default/393357118905 sending invite version: 1.6.20  64bit
  617. Local SDP:
  618. v=0
  619. o=FreeSWITCH 1631601430 1631601431 IN IP4 89.46.223.193
  620. s=FreeSWITCH
  621. c=IN IP4 89.46.223.193
  622. t=0 0
  623. m=audio 23188 RTP/AVP 8 101
  624. a=rtpmap:8 PCMA/8000
  625. a=rtpmap:101 telephone-event/8000
  626. a=fmtp:101 0-16
  627. a=ptime:20
  628. a=sendrecv
  629.  
  630. 2021-09-14 09:03:38.346665 [DEBUG] switch_core_state_machine.c:40 sofia/default/393357118905 Standard INIT
  631. 2021-09-14 09:03:38.346665 [DEBUG] switch_core_state_machine.c:48 (sofia/default/393357118905) State Change CS_INIT -> CS_ROUTING
  632. 2021-09-14 09:03:38.346665 [DEBUG] switch_core_state_machine.c:627 (sofia/default/393357118905) State INIT going to sleep
  633. 2021-09-14 09:03:38.346665 [DEBUG] switch_core_state_machine.c:584 (sofia/default/393357118905) Running State Change CS_ROUTING (Cur 6 Tot 248007)
  634. 2021-09-14 09:03:38.346665 [DEBUG] switch_core_state_machine.c:643 (sofia/default/393357118905) State ROUTING
  635. 2021-09-14 09:03:38.346665 [DEBUG] mod_sofia.c:143 sofia/default/393357118905 SOFIA ROUTING
  636. 2021-09-14 09:03:38.346665 [DEBUG] switch_ivr_originate.c:67 (sofia/default/393357118905) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  637. 2021-09-14 09:03:38.346665 [DEBUG] switch_core_state_machine.c:643 (sofia/default/393357118905) State ROUTING going to sleep
  638. 2021-09-14 09:03:38.346665 [DEBUG] switch_core_state_machine.c:584 (sofia/default/393357118905) Running State Change CS_CONSUME_MEDIA (Cur 6 Tot 248007)
  639. 2021-09-14 09:03:38.346665 [DEBUG] sofia.c:7084 Channel sofia/default/393357118905 entering state [calling][0]
  640. 2021-09-14 09:03:38.346665 [DEBUG] switch_core_state_machine.c:662 (sofia/default/393357118905) State CONSUME_MEDIA
  641. 2021-09-14 09:03:38.346665 [DEBUG] switch_core_state_machine.c:662 (sofia/default/393357118905) State CONSUME_MEDIA going to sleep
  642. 2021-09-14 09:03:51.226667 [DEBUG] sofia.c:7084 Channel sofia/default/393357118905 entering state [terminated][486]
  643. 2021-09-14 09:03:51.226667 [NOTICE] sofia.c:8273 Hangup sofia/default/393357118905 [CS_CONSUME_MEDIA] [USER_BUSY]
  644. 2021-09-14 09:03:51.226667 [DEBUG] switch_core_state_machine.c:584 (sofia/default/393357118905) Running State Change CS_HANGUP (Cur 6 Tot 248007)
  645. 2021-09-14 09:03:51.226667 [DEBUG] switch_core_state_machine.c:850 (sofia/default/393357118905) Callstate Change DOWN -> HANGUP
  646. 2021-09-14 09:03:51.226667 [DEBUG] switch_core_state_machine.c:852 (sofia/default/393357118905) State HANGUP
  647. 2021-09-14 09:03:51.226667 [DEBUG] mod_sofia.c:438 Channel sofia/default/393357118905 hanging up, cause: USER_BUSY
  648. 2021-09-14 09:03:51.226667 [DEBUG] switch_core_state_machine.c:60 sofia/default/393357118905 Standard HANGUP, cause: USER_BUSY
  649. 2021-09-14 09:03:51.226667 [DEBUG] switch_core_state_machine.c:852 (sofia/default/393357118905) State HANGUP going to sleep
  650. 2021-09-14 09:03:51.226667 [DEBUG] switch_core_state_machine.c:619 (sofia/default/393357118905) State Change CS_HANGUP -> CS_REPORTING
  651. 2021-09-14 09:03:51.226667 [DEBUG] switch_core_state_machine.c:584 (sofia/default/393357118905) Running State Change CS_REPORTING (Cur 6 Tot 248007)
  652. 2021-09-14 09:03:51.226667 [DEBUG] switch_core_state_machine.c:938 (sofia/default/393357118905) State REPORTING
  653. 2021-09-14 09:03:51.226667 [INFO] mod_json_cdr.c:271 Process [2d56cae8-155c-11ec-9d75-7dfb9f6e00f0.cdr.json]
  654. 2021-09-14 09:03:51.226667 [DEBUG] switch_core_state_machine.c:174 sofia/default/393357118905 Standard REPORTING, cause: USER_BUSY
  655. 2021-09-14 09:03:51.226667 [DEBUG] switch_core_state_machine.c:938 (sofia/default/393357118905) State REPORTING going to sleep
  656. 2021-09-14 09:03:51.226667 [DEBUG] switch_core_state_machine.c:610 (sofia/default/393357118905) State Change CS_REPORTING -> CS_DESTROY
  657. 2021-09-14 09:03:51.226667 [DEBUG] switch_core_session.c:1665 Session 248007 (sofia/default/393357118905) Locked, Waiting on external entities
  658. 2021-09-14 09:03:51.246669 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 17 [USER_BUSY]
  659. 2021-09-14 09:03:51.246669 [NOTICE] switch_core_session.c:1683 Session 248007 (sofia/default/393357118905) Ended
  660. 2021-09-14 09:03:51.246669 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/393357118905 [CS_DESTROY]
  661. 2021-09-14 09:03:51.246669 [DEBUG] switch_core_state_machine.c:741 (sofia/default/393357118905) Running State Change CS_DESTROY (Cur 5 Tot 248007)
  662. 2021-09-14 09:03:51.246669 [INFO] mod_dptools.c:3436 Originate Failed.  Cause: USER_BUSY
  663. 2021-09-14 09:03:51.246669 [DEBUG] switch_core_state_machine.c:751 (sofia/default/393357118905) State DESTROY
  664. 2021-09-14 09:03:51.246669 [DEBUG] mod_sofia.c:343 sofia/default/393357118905 SOFIA DESTROY
  665. 2021-09-14 09:03:51.246669 [NOTICE] switch_channel.c:4844 Hangup sofia/default/390399745536@92.249.69.77 [CS_EXECUTE] [USER_BUSY]
  666. 2021-09-14 09:03:51.246669 [DEBUG] switch_core_state_machine.c:181 sofia/default/393357118905 Standard DESTROY
  667. 2021-09-14 09:03:51.246669 [DEBUG] switch_core_state_machine.c:751 (sofia/default/393357118905) State DESTROY going to sleep
  668. 2021-09-14 09:03:51.246669 [DEBUG] switch_core_session.c:2815 sofia/default/390399745536@92.249.69.77 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  669. 2021-09-14 09:03:51.246669 [DEBUG] switch_core_state_machine.c:650 (sofia/default/390399745536@92.249.69.77) State EXECUTE going to sleep
  670. 2021-09-14 09:03:51.246669 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399745536@92.249.69.77) Running State Change CS_HANGUP (Cur 5 Tot 248007)
  671. 2021-09-14 09:03:51.246669 [DEBUG] switch_core_state_machine.c:850 (sofia/default/390399745536@92.249.69.77) Callstate Change RINGING -> HANGUP
  672. 2021-09-14 09:03:51.246669 [DEBUG] switch_core_state_machine.c:852 (sofia/default/390399745536@92.249.69.77) State HANGUP
  673. 2021-09-14 09:03:51.246669 [DEBUG] mod_sofia.c:432 sofia/default/390399745536@92.249.69.77 Overriding SIP cause 486 with 486 from the other leg
  674. 2021-09-14 09:03:51.246669 [DEBUG] mod_sofia.c:438 Channel sofia/default/390399745536@92.249.69.77 hanging up, cause: USER_BUSY
  675. 2021-09-14 09:03:51.246669 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 486
  676. 2021-09-14 09:03:51.246669 [DEBUG] switch_core_state_machine.c:60 sofia/default/390399745536@92.249.69.77 Standard HANGUP, cause: USER_BUSY
  677. 2021-09-14 09:03:51.246669 [DEBUG] switch_core_state_machine.c:852 (sofia/default/390399745536@92.249.69.77) State HANGUP going to sleep
  678. 2021-09-14 09:03:51.246669 [DEBUG] switch_core_state_machine.c:619 (sofia/default/390399745536@92.249.69.77) State Change CS_HANGUP -> CS_REPORTING
  679. 2021-09-14 09:03:51.246669 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399745536@92.249.69.77) Running State Change CS_REPORTING (Cur 5 Tot 248007)
  680. 2021-09-14 09:03:51.246669 [DEBUG] switch_core_state_machine.c:938 (sofia/default/390399745536@92.249.69.77) State REPORTING
  681. 2021-09-14 09:03:51.246669 [INFO] mod_json_cdr.c:271 Process [2d507396-155c-11ec-9d4f-7dfb9f6e00f0.cdr.json]
  682. 2021-09-14 09:03:51.306685 [DEBUG] switch_core_state_machine.c:174 sofia/default/390399745536@92.249.69.77 Standard REPORTING, cause: USER_BUSY
  683. 2021-09-14 09:03:51.306685 [DEBUG] switch_core_state_machine.c:938 (sofia/default/390399745536@92.249.69.77) State REPORTING going to sleep
  684. 2021-09-14 09:03:51.306685 [DEBUG] switch_core_state_machine.c:610 (sofia/default/390399745536@92.249.69.77) State Change CS_REPORTING -> CS_DESTROY
  685. 2021-09-14 09:03:51.306685 [DEBUG] switch_core_session.c:1665 Session 248006 (sofia/default/390399745536@92.249.69.77) Locked, Waiting on external entities
  686. 2021-09-14 09:03:51.306685 [NOTICE] switch_core_session.c:1683 Session 248006 (sofia/default/390399745536@92.249.69.77) Ended
  687. 2021-09-14 09:03:51.306685 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/390399745536@92.249.69.77 [CS_DESTROY]
  688. 2021-09-14 09:03:51.306685 [DEBUG] switch_core_state_machine.c:741 (sofia/default/390399745536@92.249.69.77) Running State Change CS_DESTROY (Cur 4 Tot 248007)
  689. 2021-09-14 09:03:51.306685 [DEBUG] switch_core_state_machine.c:751 (sofia/default/390399745536@92.249.69.77) State DESTROY
  690. 2021-09-14 09:03:51.306685 [DEBUG] mod_sofia.c:343 sofia/default/390399745536@92.249.69.77 SOFIA DESTROY
  691. 2021-09-14 09:03:51.306685 [DEBUG] switch_core_state_machine.c:181 sofia/default/390399745536@92.249.69.77 Standard DESTROY
  692. 2021-09-14 09:03:51.306685 [DEBUG] switch_core_state_machine.c:751 (sofia/default/390399745536@92.249.69.77) State DESTROY going to sleep
  693. 2021-09-14 09:03:54.886667 [NOTICE] switch_channel.c:1104 New Channel sofia/default/+442072589987@173.203.86.119 [3734cc22-155c-11ec-9d79-7dfb9f6e00f0]
  694. 2021-09-14 09:03:54.886667 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+442072589987@173.203.86.119) Running State Change CS_NEW (Cur 5 Tot 248008)
  695. 2021-09-14 09:03:54.886667 [DEBUG] sofia.c:9873 sofia/default/+442072589987@173.203.86.119 receiving invite from 136.243.196.198:5060 version: 1.6.20  64bit
  696. 2021-09-14 09:03:54.886667 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
  697. 2021-09-14 09:03:54.886667 [DEBUG] sofia.c:7084 Channel sofia/default/+442072589987@173.203.86.119 entering state [received][100]
  698. 2021-09-14 09:03:54.886667 [DEBUG] sofia.c:7094 Remote SDP:
  699. v=0
  700. o=root 734897875 734897875 IN IP4 173.203.86.119
  701. s=Asterisk PBX 16.6.1
  702. c=IN IP4 173.203.86.119
  703. t=0 0
  704. m=audio 16334 RTP/AVP 0 8 101
  705. a=rtpmap:0 PCMU/8000
  706. a=rtpmap:8 PCMA/8000
  707. a=rtpmap:101 telephone-event/8000
  708. a=fmtp:101 0-16
  709. a=ptime:20
  710. a=maxptime:150
  711.  
  712. 2021-09-14 09:03:54.886667 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  713. 2021-09-14 09:03:54.886667 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  714. 2021-09-14 09:03:54.886667 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  715. 2021-09-14 09:03:54.886667 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  716. 2021-09-14 09:03:54.886667 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  717. 2021-09-14 09:03:54.886667 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  718. 2021-09-14 09:03:54.886667 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  719. 2021-09-14 09:03:54.886667 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  720. 2021-09-14 09:03:54.886667 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  721. 2021-09-14 09:03:54.886667 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/+442072589987@173.203.86.119 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  722. 2021-09-14 09:03:54.886667 [DEBUG] switch_core_codec.c:111 sofia/default/+442072589987@173.203.86.119 Original read codec set to PCMU:0
  723. 2021-09-14 09:03:54.886667 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  724. 2021-09-14 09:03:54.886667 [DEBUG] switch_core_media.c:4767 sofia/default/+442072589987@173.203.86.119 Set 2833 dtmf send payload to 101 recv payload to 101
  725. 2021-09-14 09:03:54.886667 [DEBUG] sofia.c:7507 (sofia/default/+442072589987@173.203.86.119) State Change CS_NEW -> CS_INIT
  726. 2021-09-14 09:03:54.886667 [DEBUG] switch_core_state_machine.c:603 (sofia/default/+442072589987@173.203.86.119) State NEW
  727. 2021-09-14 09:03:54.886667 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+442072589987@173.203.86.119) Running State Change CS_INIT (Cur 5 Tot 248008)
  728. 2021-09-14 09:03:54.886667 [DEBUG] switch_core_state_machine.c:627 (sofia/default/+442072589987@173.203.86.119) State INIT
  729. 2021-09-14 09:03:54.886667 [DEBUG] mod_sofia.c:90 sofia/default/+442072589987@173.203.86.119 SOFIA INIT
  730. 2021-09-14 09:03:54.886667 [DEBUG] switch_core_state_machine.c:40 sofia/default/+442072589987@173.203.86.119 Standard INIT
  731. 2021-09-14 09:03:54.886667 [DEBUG] switch_core_state_machine.c:48 (sofia/default/+442072589987@173.203.86.119) State Change CS_INIT -> CS_ROUTING
  732. 2021-09-14 09:03:54.886667 [DEBUG] switch_core_state_machine.c:627 (sofia/default/+442072589987@173.203.86.119) State INIT going to sleep
  733. 2021-09-14 09:03:54.886667 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+442072589987@173.203.86.119) Running State Change CS_ROUTING (Cur 5 Tot 248008)
  734. 2021-09-14 09:03:54.886667 [DEBUG] switch_channel.c:2249 (sofia/default/+442072589987@173.203.86.119) Callstate Change DOWN -> RINGING
  735. 2021-09-14 09:03:54.886667 [DEBUG] switch_core_state_machine.c:643 (sofia/default/+442072589987@173.203.86.119) State ROUTING
  736. 2021-09-14 09:03:54.886667 [DEBUG] mod_sofia.c:143 sofia/default/+442072589987@173.203.86.119 SOFIA ROUTING
  737. 2021-09-14 09:03:54.886667 [DEBUG] switch_core_state_machine.c:236 sofia/default/+442072589987@173.203.86.119 Standard ROUTING
  738. 2021-09-14 09:03:54.886667 [INFO] mod_dialplan_xml.c:637 Processing 442072589987 <+442072589987>->41445510261 in context default
  739. 2021-09-14 09:03:54.886667 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected.
  740. 2021-09-14 09:03:54.886667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  741. 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  742. 2021-09-14 09:03:54.906671 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params:
  743. 'Event-Name: REQUEST_PARAMS
  744. Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0
  745. FreeSWITCH-Hostname: astpp1.local
  746. FreeSWITCH-Switchname: astpp1.local
  747. FreeSWITCH-IPv4: 89.46.223.193
  748. FreeSWITCH-IPv6: %3A%3A1
  749. Event-Date-Local: 2021-09-14%2009%3A03%3A54
  750. Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A03%3A54%20GMT
  751. Event-Date-Timestamp: 1631624634886667
  752. Event-Calling-File: mod_dialplan_xml.c
  753. Event-Calling-Function: dialplan_xml_locate
  754. Event-Calling-Line-Number: 608
  755. Event-Sequence: 7527450
  756. Channel-State: CS_ROUTING
  757. Channel-Call-State: RINGING
  758. Channel-State-Number: 2
  759. Channel-Name: sofia/default/%2B442072589987%40173.203.86.119
  760. Unique-ID: 3734cc22-155c-11ec-9d79-7dfb9f6e00f0
  761. Call-Direction: inbound
  762. Presence-Call-Direction: inbound
  763. Channel-HIT-Dialplan: true
  764. Channel-Presence-ID: %2B442072589987%40173.203.86.119
  765. Channel-Call-UUID: 3734cc22-155c-11ec-9d79-7dfb9f6e00f0
  766. Answer-State: ringing
  767. Channel-Read-Codec-Name: PCMU
  768. Channel-Read-Codec-Rate: 8000
  769. Channel-Read-Codec-Bit-Rate: 64000
  770. Channel-Write-Codec-Name: PCMU
  771. Channel-Write-Codec-Rate: 8000
  772. Channel-Write-Codec-Bit-Rate: 64000
  773. Caller-Direction: inbound
  774. Caller-Logical-Direction: inbound
  775. Caller-Username: %2B442072589987
  776. Caller-Dialplan: XML
  777. Caller-Caller-ID-Name: 442072589987
  778. Caller-Caller-ID-Number: %2B442072589987
  779. Caller-Orig-Caller-ID-Name: 442072589987
  780. Caller-Orig-Caller-ID-Number: %2B442072589987
  781. Caller-Network-Addr: 136.243.196.198
  782. Caller-ANI: %2B442072589987
  783. Caller-Destination-Number: 41445510261
  784. Caller-Unique-ID: 3734cc22-155c-11ec-9d79-7dfb9f6e00f0
  785. Caller-Source: mod_sofia
  786. Caller-Context: default
  787. Caller-Channel-Name: sofia/default/%2B442072589987%40173.203.86.119
  788. Caller-Profile-Index: 1
  789. Caller-Profile-Created-Time: 1631624634886667
  790. Caller-Channel-Created-Time: 1631624634886667
  791. Caller-Channel-Answered-Time: 0
  792. Caller-Channel-Progress-Time: 0
  793. Caller-Channel-Progress-Media-Time: 0
  794. Caller-Channel-Hangup-Time: 0
  795. Caller-Channel-Transfer-Time: 0
  796. Caller-Channel-Resurrect-Time: 0
  797. Caller-Channel-Bridged-Time: 0
  798. Caller-Channel-Last-Hold: 0
  799. Caller-Channel-Hold-Accum: 0
  800. Caller-Screen-Bit: true
  801. Caller-Privacy-Hide-Name: false
  802. Caller-Privacy-Hide-Number: false
  803. variable_direction: inbound
  804. variable_uuid: 3734cc22-155c-11ec-9d79-7dfb9f6e00f0
  805. variable_session_id: 248008
  806. variable_sip_from_user: %2B442072589987
  807. variable_sip_from_uri: %2B442072589987%40173.203.86.119
  808. variable_sip_from_host: 173.203.86.119
  809. variable_video_media_flow: sendrecv
  810. variable_channel_name: sofia/default/%2B442072589987%40173.203.86.119
  811. variable_sip_call_id: 34da1af569655e9a4498b940547efbe1%40173.203.86.119%3A5060
  812. variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b
  813. variable_sip_local_network_addr: 89.46.223.193
  814. variable_sip_network_ip: 136.243.196.198
  815. variable_sip_network_port: 5060
  816. variable_sip_invite_stamp: 1631624634886667
  817. variable_sip_received_ip: 136.243.196.198
  818. variable_sip_received_port: 5060
  819. variable_sip_via_protocol: udp
  820. variable_sip_authorized: true
  821. variable_sip_acl_authed_by: default
  822. variable_sip_from_user_stripped: 442072589987
  823. variable_sip_from_tag: as4d8bad06
  824. variable_sofia_profile_name: default
  825. variable_recovery_profile_name: default
  826. variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D21b.208826d7%3E
  827. variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D21b.208826d7%3E
  828. variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bK2e9.f9e1fc17.0,SIP/2.0/UDP%20173.203.86.119%3A5060%3Breceived%3D173.203.86.119%3Bbranch%3Dz9hG4bK586db30d%3Brport%3D5060
  829. variable_sip_from_display: 442072589987
  830. variable_sip_full_from: %22442072589987%22%20%3Csip%3A%2B442072589987%40173.203.86.119%3E%3Btag%3Das4d8bad06
  831. variable_sip_full_to: %3Csip%3A41445510261%40newsip.israelnumber.com%3E
  832. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE
  833. variable_sip_req_user: 41445510261
  834. variable_sip_req_uri: 41445510261%40newsip.israelnumber.com
  835. variable_sip_req_host: newsip.israelnumber.com
  836. variable_sip_to_user: 41445510261
  837. variable_sip_to_uri: 41445510261%40newsip.israelnumber.com
  838. variable_sip_to_host: newsip.israelnumber.com
  839. variable_sip_contact_user: %2B442072589987
  840. variable_sip_contact_port: 5060
  841. variable_sip_contact_uri: %2B442072589987%40173.203.86.119%3A5060
  842. variable_sip_contact_host: 173.203.86.119
  843. variable_sip_user_agent: FPBX-14.0.13.40(16.6.1)
  844. variable_sip_via_host: 136.243.196.198
  845. variable_sip_via_port: 5060
  846. variable_max_forwards: 30
  847. variable_presence_id: %2B442072589987%40173.203.86.119
  848. variable_sip_h_X-AUTH-IP: 173.203.86.119
  849. variable_sip_h_P-Accountcode: 444484249994
  850. variable_sip_h_P-effective_caller_id_name: %2B442072589987
  851. variable_sip_h_P-effective_caller_id_number: %2B442072589987
  852. variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%20734897875%20734897875%20IN%20IP4%20173.203.86.119%0D%0As%3DAsterisk%20PBX%2016.6.1%0D%0Ac%3DIN%20IP4%20173.203.86.119%0D%0At%3D0%200%0D%0Am%3Daudio%2016334%20RTP/AVP%200%208%20101%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0Aa%3Dmaxptime%3A150%0D%0A
  853. variable_rtp_use_codec_string: PCMA,PCMU,G729
  854. variable_audio_media_flow: sendrecv
  855. variable_remote_media_ip: 173.203.86.119
  856. variable_remote_media_port: 16334
  857. variable_rtp_audio_recv_pt: 0
  858. variable_rtp_use_codec_name: PCMU
  859. variable_rtp_use_codec_rate: 8000
  860. variable_rtp_use_codec_ptime: 20
  861. variable_rtp_use_codec_channels: 1
  862. variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c
  863. variable_read_codec: PCMU
  864. variable_original_read_codec: PCMU
  865. variable_read_rate: 8000
  866. variable_original_read_rate: 8000
  867. variable_write_codec: PCMU
  868. variable_write_rate: 8000
  869. variable_dtmf_type: rfc2833
  870. variable_endpoint_disposition: RECEIVED
  871. variable_call_uuid: 3734cc22-155c-11ec-9d79-7dfb9f6e00f0
  872. Hunt-Direction: inbound
  873. Hunt-Logical-Direction: inbound
  874. Hunt-Username: %2B442072589987
  875. Hunt-Dialplan: XML
  876. Hunt-Caller-ID-Name: 442072589987
  877. Hunt-Caller-ID-Number: %2B442072589987
  878. Hunt-Orig-Caller-ID-Name: 442072589987
  879. Hunt-Orig-Caller-ID-Number: %2B442072589987
  880. Hunt-Network-Addr: 136.243.196.198
  881. Hunt-ANI: %2B442072589987
  882. Hunt-Destination-Number: 41445510261
  883. Hunt-Unique-ID: 3734cc22-155c-11ec-9d79-7dfb9f6e00f0
  884. Hunt-Source: mod_sofia
  885. Hunt-Context: default
  886. Hunt-Channel-Name: sofia/default/%2B442072589987%40173.203.86.119
  887. Hunt-Profile-Index: 1
  888. Hunt-Profile-Created-Time: 1631624634886667
  889. Hunt-Channel-Created-Time: 1631624634886667
  890. Hunt-Channel-Answered-Time: 0
  891. Hunt-Channel-Progress-Time: 0
  892. Hunt-Channel-Progress-Media-Time: 0
  893. Hunt-Channel-Hangup-Time: 0
  894. Hunt-Channel-Transfer-Time: 0
  895. Hunt-Channel-Resurrect-Time: 0
  896. Hunt-Channel-Bridged-Time: 0
  897. Hunt-Channel-Last-Hold: 0
  898. Hunt-Channel-Hold-Accum: 0
  899. Hunt-Screen-Bit: true
  900. Hunt-Privacy-Hide-Name: false
  901. Hunt-Privacy-Hide-Number: false
  902.  
  903. '
  904. 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name:
  905. 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value:
  906. 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name:
  907. 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan
  908. 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  909. 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 41445510261
  910. 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '41445510261' limit 1
  911. 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '41445510261' AND status=0 limit 1
  912. 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '173.203.86.119' limit 1
  913. 2021-09-14 09:03:54.906671 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  914. 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : +442072589987 / +442072589987
  915. 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="41445510261" LIMIT 1
  916. 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
  917. 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 444484249994]
  918. 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "444484249994" OR number = "444484249994" AND deleted = 0 limit 1
  919. 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="41445510261" AND A.accountid = '923' limit 1
  920. 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 41445510261
  921. 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="41445510261" LIMIT 1
  922. 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound
  923. 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="41445510261" AND (accountid = 0 OR status = 1) LIMIT 1
  924. 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  925. 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851
  926. 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^41445510261.*' OR patterns = '^4144551026.*' OR patterns = '^414455102.*' OR patterns = '^41445510.*' OR patterns = '^4144551.*' OR patterns = '^414455.*' OR patterns = '^41445.*' OR patterns = '^4144.*' OR patterns = '^414.*' OR patterns = '^41.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC
  927. 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '41445510261' OR number = '4144551026' OR number = '414455102' OR number = '41445510' OR number = '4144551' OR number = '414455' OR number = '41445' OR number = '4144' OR number = '414' OR number = '41' OR number = '4' OR number ='--') OR (number = '41445510261*' OR number = '4144551026*' OR number = '414455102*' OR number = '41445510*' OR number = '4144551*' OR number = '414455*' OR number = '41445*' OR number = '4144*' OR number = '414*' OR number = '41*' OR number = '4*' OR number ='--') OR (number = '+442072589987' OR number = '+44207258998' OR number = '+4420725899' OR number = '+442072589' OR number = '+44207258' OR number = '+4420725' OR number = '+442072' OR number = '+44207' OR number = '+4420' OR number = '+442' OR number = '+44' OR number = '+4' OR number = '+' OR number ='--') OR (number = '+442072589987*' OR number = '+44207258998*' OR number = '+4420725899*' OR number = '+442072589*' OR number = '+44207258*' OR number = '+4420725*' OR number = '+442072*' OR number = '+44207*' OR number = '+4420*' OR number = '+442*' OR number = '+44*' OR number = '+4*' OR number = '+*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  928. 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  929. 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '41445510261' OR routing_prefix = '4144551026' OR routing_prefix = '414455102' OR routing_prefix = '41445510' OR routing_prefix = '4144551' OR routing_prefix = '414455' OR routing_prefix = '41445' OR routing_prefix = '4144' OR routing_prefix = '414' OR routing_prefix = '41' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  930. 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  931. 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 923
  932. 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 444484249994
  933. 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000
  934. 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  935. 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1
  936. 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  937. 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  938. 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  939. 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  940. 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="41445510261" LIMIT 1
  941. 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound
  942. 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  943. 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 6367
  944. 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  945. 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  946. 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  947. 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Zurich Landline
  948. 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 185
  949. 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 923
  950. 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  951. 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 923 !!!
  952. 2021-09-14 09:03:54.906671 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180
  953. 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
  954. 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  955. 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  956. 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 923 AND status=0 LIMIT 1
  957. 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" OR number = "851" AND deleted = 0 limit 1
  958. 2021-09-14 09:03:54.926675 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:923
  959. 2021-09-14 09:03:54.926675 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:923
  960. 2021-09-14 09:03:54.926675 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 923
  961. 2021-09-14 09:03:54.926675 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  962. 2021-09-14 09:03:54.926675 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  963. 2021-09-14 09:03:54.926675 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
  964. 2021-09-14 09:03:54.926675 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  965. 2021-09-14 09:03:54.926675 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  966. 2021-09-14 09:03:54.926675 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2
  967. 2021-09-14 09:03:54.926675 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  968. <document type="freeswitch/xml">
  969. <section name="dialplan" description="ASTPP Dialplan">
  970. <context name="default">
  971. <extension name="41445510261">
  972. <condition field="destination_number" expression="41445510261">
  973. <action application="set" data="effective_destination_number=41445510261"/>
  974. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  975. <action application="set" data="bridge_pre_execute_bleg_data=+10800 normal_clearing"/>
  976. <action application="set" data="callstart=2021-09-14 13:03:54"/>
  977. <action application="set" data="hangup_after_bridge=true"/>
  978. <action application="set" data="continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602"/>
  979. <action application="set" data="account_id=923"/>
  980. <action application="set" data="parent_id=0"/>
  981. <action application="set" data="entity_id=3"/>
  982. <action application="set" data="call_processed=internal"/>
  983. <action application="set" data="call_direction=inbound"/>
  984. <action application="set" data="accountname=default"/>
  985. <action application="set" data="filename1=astpp.pbx.lua"/>
  986. <action application="set" data="origination_rates_did=ID:6367|CODE:^41445510261.*|DESTINATION:Zurich Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:185|ACCID:851"/>
  987. <action application="set" data="origination_rates=0"/>
  988. <action application="set" data="original_caller_id_name=+442072589987"/>
  989. <action application="set" data="original_caller_id_number=+442072589987"/>
  990. <action application="set" data="effective_caller_id_name=+442072589987"/>
  991. <action application="set" data="effective_caller_id_number=+442072589987"/>
  992. <action application="set" data="receiver_accid=851"/>
  993. <action application="export" data="domain_name=Voicespin802.newsip.israelnumber.com"/>
  994. <action application="export" data="sip_to_host=Voicespin802.newsip.israelnumber.com"/>
  995. <action application="limit" data="db 41445510261 did_41445510261 2 !SWITCH_CONGESTION"/>
  996. <action application="export" data="presence_data=x|||Signal(444484249994)|||^41445510261.* // Zurich Landline // 0.00000||||||DID|||173.203.86.119"/>
  997. <action application="export" data="call_type=2"/>
  998. <action application="set" data="calltype=DIRECT-IP"/>
  999. <action application="bridge" data="[leg_timeout=30]sofia/${sofia_profile_name}/41445510261@35.205.116.118"/>
  1000. </condition>
  1001. </extension>
  1002. </context>
  1003. </section>
  1004. </document>
  1005. 2021-09-14 09:03:54.926675 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released.
  1006. Dialplan: sofia/default/+442072589987@173.203.86.119 parsing [default->41445510261] continue=false
  1007. Dialplan: sofia/default/+442072589987@173.203.86.119 Regex (PASS) [41445510261] destination_number(41445510261) =~ /41445510261/ break=on-false
  1008. Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(effective_destination_number=41445510261)
  1009. Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  1010. Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  1011. Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(callstart=2021-09-14 13:03:54)
  1012. Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(hangup_after_bridge=true)
  1013. Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  1014. Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(account_id=923)
  1015. Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(parent_id=0)
  1016. Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(entity_id=3)
  1017. Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(call_processed=internal)
  1018. Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(call_direction=inbound)
  1019. Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(accountname=default)
  1020. Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(filename1=astpp.pbx.lua)
  1021. Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(origination_rates_did=ID:6367|CODE:^41445510261.*|DESTINATION:Zurich Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:185|ACCID:851)
  1022. Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(origination_rates=0)
  1023. Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(original_caller_id_name=+442072589987)
  1024. Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(original_caller_id_number=+442072589987)
  1025. Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(effective_caller_id_name=+442072589987)
  1026. Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(effective_caller_id_number=+442072589987)
  1027. Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(receiver_accid=851)
  1028. Dialplan: sofia/default/+442072589987@173.203.86.119 Action export(domain_name=Voicespin802.newsip.israelnumber.com)
  1029. Dialplan: sofia/default/+442072589987@173.203.86.119 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  1030. Dialplan: sofia/default/+442072589987@173.203.86.119 Action limit(db 41445510261 did_41445510261 2 !SWITCH_CONGESTION)
  1031. Dialplan: sofia/default/+442072589987@173.203.86.119 Action export(presence_data=x|||Signal(444484249994)|||^41445510261.* // Zurich Landline // 0.00000||||||DID|||173.203.86.119)
  1032. Dialplan: sofia/default/+442072589987@173.203.86.119 Action export(call_type=2)
  1033. Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(calltype=DIRECT-IP)
  1034. Dialplan: sofia/default/+442072589987@173.203.86.119 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/41445510261@35.205.116.118)
  1035. 2021-09-14 09:03:54.926675 [DEBUG] switch_core_state_machine.c:286 (sofia/default/+442072589987@173.203.86.119) State Change CS_ROUTING -> CS_EXECUTE
  1036. 2021-09-14 09:03:54.926675 [DEBUG] switch_core_state_machine.c:643 (sofia/default/+442072589987@173.203.86.119) State ROUTING going to sleep
  1037. 2021-09-14 09:03:54.926675 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+442072589987@173.203.86.119) Running State Change CS_EXECUTE (Cur 5 Tot 248008)
  1038. 2021-09-14 09:03:54.926675 [DEBUG] switch_core_state_machine.c:650 (sofia/default/+442072589987@173.203.86.119) State EXECUTE
  1039. 2021-09-14 09:03:54.926675 [DEBUG] mod_sofia.c:198 sofia/default/+442072589987@173.203.86.119 SOFIA EXECUTE
  1040. 2021-09-14 09:03:54.926675 [DEBUG] switch_core_state_machine.c:328 sofia/default/+442072589987@173.203.86.119 Standard EXECUTE
  1041. EXECUTE sofia/default/+442072589987@173.203.86.119 set(effective_destination_number=41445510261)
  1042. 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [effective_destination_number]=[41445510261]
  1043. EXECUTE sofia/default/+442072589987@173.203.86.119 set(bridge_pre_execute_bleg_app=sched_hangup)
  1044. 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [bridge_pre_execute_bleg_app]=[sched_hangup]
  1045. EXECUTE sofia/default/+442072589987@173.203.86.119 set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  1046. 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing]
  1047. EXECUTE sofia/default/+442072589987@173.203.86.119 set(callstart=2021-09-14 13:03:54)
  1048. 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [callstart]=[2021-09-14 13:03:54]
  1049. EXECUTE sofia/default/+442072589987@173.203.86.119 set(hangup_after_bridge=true)
  1050. 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [hangup_after_bridge]=[true]
  1051. EXECUTE sofia/default/+442072589987@173.203.86.119 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  1052. 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]
  1053. EXECUTE sofia/default/+442072589987@173.203.86.119 set(account_id=923)
  1054. 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [account_id]=[923]
  1055. EXECUTE sofia/default/+442072589987@173.203.86.119 set(parent_id=0)
  1056. 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [parent_id]=[0]
  1057. EXECUTE sofia/default/+442072589987@173.203.86.119 set(entity_id=3)
  1058. 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [entity_id]=[3]
  1059. EXECUTE sofia/default/+442072589987@173.203.86.119 set(call_processed=internal)
  1060. 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [call_processed]=[internal]
  1061. EXECUTE sofia/default/+442072589987@173.203.86.119 set(call_direction=inbound)
  1062. 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [call_direction]=[inbound]
  1063. EXECUTE sofia/default/+442072589987@173.203.86.119 set(accountname=default)
  1064. 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [accountname]=[default]
  1065. EXECUTE sofia/default/+442072589987@173.203.86.119 set(filename1=astpp.pbx.lua)
  1066. 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [filename1]=[astpp.pbx.lua]
  1067. EXECUTE sofia/default/+442072589987@173.203.86.119 set(origination_rates_did=ID:6367|CODE:^41445510261.*|DESTINATION:Zurich Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:185|ACCID:851)
  1068. 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [origination_rates_did]=[ID:6367|CODE:^41445510261.*|DESTINATION:Zurich Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:185|ACCID:851]
  1069. EXECUTE sofia/default/+442072589987@173.203.86.119 set(origination_rates=0)
  1070. 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [origination_rates]=[0]
  1071. EXECUTE sofia/default/+442072589987@173.203.86.119 set(original_caller_id_name=+442072589987)
  1072. 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [original_caller_id_name]=[+442072589987]
  1073. EXECUTE sofia/default/+442072589987@173.203.86.119 set(original_caller_id_number=+442072589987)
  1074. 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [original_caller_id_number]=[+442072589987]
  1075. EXECUTE sofia/default/+442072589987@173.203.86.119 set(effective_caller_id_name=+442072589987)
  1076. 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [effective_caller_id_name]=[+442072589987]
  1077. EXECUTE sofia/default/+442072589987@173.203.86.119 set(effective_caller_id_number=+442072589987)
  1078. 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [effective_caller_id_number]=[+442072589987]
  1079. EXECUTE sofia/default/+442072589987@173.203.86.119 set(receiver_accid=851)
  1080. 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [receiver_accid]=[851]
  1081. EXECUTE sofia/default/+442072589987@173.203.86.119 export(domain_name=Voicespin802.newsip.israelnumber.com)
  1082. 2021-09-14 09:03:54.926675 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com]
  1083. EXECUTE sofia/default/+442072589987@173.203.86.119 export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  1084. 2021-09-14 09:03:54.926675 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com]
  1085. EXECUTE sofia/default/+442072589987@173.203.86.119 limit(db 41445510261 did_41445510261 2 !SWITCH_CONGESTION)
  1086. 2021-09-14 09:03:54.926675 [DEBUG] switch_limit.c:126 incr called: 41445510261_did_41445510261 max:2, interval:0
  1087. 2021-09-14 09:03:54.926675 [DEBUG] mod_db.c:194 Usage for 41445510261_did_41445510261 is now 1/2
  1088. EXECUTE sofia/default/+442072589987@173.203.86.119 export(presence_data=x|||Signal(444484249994)|||^41445510261.* // Zurich Landline // 0.00000||||||DID|||173.203.86.119)
  1089. 2021-09-14 09:03:54.926675 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||Signal(444484249994)|||^41445510261.* // Zurich Landline // 0.00000||||||DID|||173.203.86.119]
  1090. EXECUTE sofia/default/+442072589987@173.203.86.119 export(call_type=2)
  1091. 2021-09-14 09:03:54.926675 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2]
  1092. EXECUTE sofia/default/+442072589987@173.203.86.119 set(calltype=DIRECT-IP)
  1093. 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [calltype]=[DIRECT-IP]
  1094. EXECUTE sofia/default/+442072589987@173.203.86.119 bridge([leg_timeout=30]sofia/default/41445510261@35.205.116.118)
  1095. 2021-09-14 09:03:54.926675 [DEBUG] switch_channel.c:1250 sofia/default/+442072589987@173.203.86.119 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event
  1096. 2021-09-14 09:03:54.926675 [DEBUG] switch_channel.c:1250 sofia/default/+442072589987@173.203.86.119 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event
  1097. 2021-09-14 09:03:54.926675 [DEBUG] switch_channel.c:1250 sofia/default/+442072589987@173.203.86.119 EXPORTING[export_vars] [presence_data]=[x|||Signal(444484249994)|||^41445510261.* // Zurich Landline // 0.00000||||||DID|||173.203.86.119] to event
  1098. 2021-09-14 09:03:54.926675 [DEBUG] switch_channel.c:1250 sofia/default/+442072589987@173.203.86.119 EXPORTING[export_vars] [call_type]=[2] to event
  1099. 2021-09-14 09:03:54.926675 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  1100. 2021-09-14 09:03:54.926675 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  1101. 2021-09-14 09:03:54.926675 [NOTICE] switch_channel.c:1104 New Channel sofia/default/41445510261@35.205.116.118 [373aa264-155c-11ec-9d99-7dfb9f6e00f0]
  1102. 2021-09-14 09:03:54.926675 [DEBUG] mod_sofia.c:4819 (sofia/default/41445510261@35.205.116.118) State Change CS_NEW -> CS_INIT
  1103. 2021-09-14 09:03:54.926675 [DEBUG] switch_ivr_originate.c:2963 sofia/default/41445510261@35.205.116.118 Setting leg timeout to 30
  1104. 2021-09-14 09:03:54.926675 [DEBUG] switch_core_state_machine.c:584 (sofia/default/41445510261@35.205.116.118) Running State Change CS_INIT (Cur 6 Tot 248009)
  1105. 2021-09-14 09:03:54.926675 [DEBUG] switch_core_state_machine.c:627 (sofia/default/41445510261@35.205.116.118) State INIT
  1106. 2021-09-14 09:03:54.926675 [DEBUG] mod_sofia.c:90 sofia/default/41445510261@35.205.116.118 SOFIA INIT
  1107. 2021-09-14 09:03:54.926675 [DEBUG] sofia_glue.c:1295 sofia/default/41445510261@35.205.116.118 sending invite version: 1.6.20  64bit
  1108. Local SDP:
  1109. v=0
  1110. o=FreeSWITCH 1631597068 1631597069 IN IP4 89.46.223.193
  1111. s=FreeSWITCH
  1112. c=IN IP4 89.46.223.193
  1113. t=0 0
  1114. m=audio 27566 RTP/AVP 0 101
  1115. a=rtpmap:0 PCMU/8000
  1116. a=rtpmap:101 telephone-event/8000
  1117. a=fmtp:101 0-16
  1118. a=ptime:20
  1119. a=sendrecv
  1120.  
  1121. 2021-09-14 09:03:54.926675 [DEBUG] switch_core_state_machine.c:40 sofia/default/41445510261@35.205.116.118 Standard INIT
  1122. 2021-09-14 09:03:54.926675 [DEBUG] switch_core_state_machine.c:48 (sofia/default/41445510261@35.205.116.118) State Change CS_INIT -> CS_ROUTING
  1123. 2021-09-14 09:03:54.926675 [DEBUG] switch_core_state_machine.c:627 (sofia/default/41445510261@35.205.116.118) State INIT going to sleep
  1124. 2021-09-14 09:03:54.926675 [DEBUG] switch_core_state_machine.c:584 (sofia/default/41445510261@35.205.116.118) Running State Change CS_ROUTING (Cur 6 Tot 248009)
  1125. 2021-09-14 09:03:54.926675 [DEBUG] switch_core_state_machine.c:643 (sofia/default/41445510261@35.205.116.118) State ROUTING
  1126. 2021-09-14 09:03:54.926675 [DEBUG] mod_sofia.c:143 sofia/default/41445510261@35.205.116.118 SOFIA ROUTING
  1127. 2021-09-14 09:03:54.926675 [DEBUG] switch_ivr_originate.c:67 (sofia/default/41445510261@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  1128. 2021-09-14 09:03:54.926675 [DEBUG] switch_core_state_machine.c:643 (sofia/default/41445510261@35.205.116.118) State ROUTING going to sleep
  1129. 2021-09-14 09:03:54.926675 [DEBUG] switch_core_state_machine.c:584 (sofia/default/41445510261@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 6 Tot 248009)
  1130. 2021-09-14 09:03:54.926675 [DEBUG] switch_core_state_machine.c:662 (sofia/default/41445510261@35.205.116.118) State CONSUME_MEDIA
  1131. 2021-09-14 09:03:54.926675 [DEBUG] switch_core_state_machine.c:662 (sofia/default/41445510261@35.205.116.118) State CONSUME_MEDIA going to sleep
  1132. 2021-09-14 09:03:54.926675 [DEBUG] sofia.c:7084 Channel sofia/default/41445510261@35.205.116.118 entering state [calling][0]
  1133. 2021-09-14 09:03:55.106665 [DEBUG] sofia.c:7084 Channel sofia/default/41445510261@35.205.116.118 entering state [proceeding][183]
  1134. 2021-09-14 09:03:55.106665 [DEBUG] sofia.c:7094 Remote SDP:
  1135. v=0
  1136. o=root 1395055639 1395055639 IN IP4 104.155.11.106
  1137. s=Asterisk PBX 13.29.2
  1138. c=IN IP4 104.155.11.106
  1139. t=0 0
  1140. m=audio 17348 RTP/AVP 0 101
  1141. a=rtpmap:0 PCMU/8000
  1142. a=rtpmap:101 telephone-event/8000
  1143. a=fmtp:101 0-16
  1144. a=ptime:20
  1145. a=maxptime:150
  1146.  
  1147. 2021-09-14 09:03:55.106665 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1148. 2021-09-14 09:03:55.106665 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  1149. 2021-09-14 09:03:55.106665 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  1150. 2021-09-14 09:03:55.106665 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/41445510261@35.205.116.118 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  1151. 2021-09-14 09:03:55.106665 [DEBUG] switch_core_codec.c:111 sofia/default/41445510261@35.205.116.118 Original read codec set to PCMU:0
  1152. 2021-09-14 09:03:55.106665 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  1153. 2021-09-14 09:03:55.106665 [DEBUG] switch_core_media.c:4767 sofia/default/41445510261@35.205.116.118 Set 2833 dtmf send payload to 101 recv payload to 101
  1154. 2021-09-14 09:03:55.106665 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/41445510261@35.205.116.118] 89.46.223.193 port 27566 -> 104.155.11.106 port 17348 codec: 0 ms: 20
  1155. 2021-09-14 09:03:55.106665 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  1156. 2021-09-14 09:03:55.106665 [DEBUG] switch_core_media.c:7180 sofia/default/41445510261@35.205.116.118 Set 2833 dtmf send payload to 101
  1157. 2021-09-14 09:03:55.106665 [DEBUG] switch_core_media.c:7187 sofia/default/41445510261@35.205.116.118 Set 2833 dtmf receive payload to 101
  1158. 2021-09-14 09:03:55.106665 [DEBUG] switch_core_media.c:7210 sofia/default/41445510261@35.205.116.118 Set rtp dtmf delay to 40
  1159. 2021-09-14 09:03:55.106665 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/41445510261@35.205.116.118!
  1160. 2021-09-14 09:03:55.106665 [DEBUG] switch_channel.c:3474 (sofia/default/41445510261@35.205.116.118) Callstate Change DOWN -> EARLY
  1161. 2021-09-14 09:03:55.106665 [INFO] switch_ivr_originate.c:3654 Sending early media
  1162. 2021-09-14 09:03:55.106665 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/+442072589987@173.203.86.119] 89.46.223.193 port 30368 -> 173.203.86.119 port 16334 codec: 0 ms: 20
  1163. 2021-09-14 09:03:55.106665 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  1164. 2021-09-14 09:03:55.106665 [DEBUG] switch_core_media.c:7180 sofia/default/+442072589987@173.203.86.119 Set 2833 dtmf send payload to 101
  1165. 2021-09-14 09:03:55.106665 [DEBUG] switch_core_media.c:7187 sofia/default/+442072589987@173.203.86.119 Set 2833 dtmf receive payload to 101
  1166. 2021-09-14 09:03:55.106665 [DEBUG] switch_core_media.c:7210 sofia/default/+442072589987@173.203.86.119 Set rtp dtmf delay to 40
  1167. 2021-09-14 09:03:55.106665 [DEBUG] mod_sofia.c:2364 Ring SDP:
  1168. v=0
  1169. o=FreeSWITCH 1631594267 1631594268 IN IP4 89.46.223.193
  1170. s=FreeSWITCH
  1171. c=IN IP4 89.46.223.193
  1172. t=0 0
  1173. m=audio 30368 RTP/AVP 0 101
  1174. a=rtpmap:0 PCMU/8000
  1175. a=rtpmap:101 telephone-event/8000
  1176. a=fmtp:101 0-16
  1177. a=ptime:20
  1178. a=sendrecv
  1179.  
  1180. 2021-09-14 09:03:55.106665 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/default/+442072589987@173.203.86.119!
  1181. 2021-09-14 09:03:55.106665 [DEBUG] switch_channel.c:3474 (sofia/default/+442072589987@173.203.86.119) Callstate Change RINGING -> EARLY
  1182. 2021-09-14 09:03:55.106665 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/41445510261@35.205.116.118]
  1183. 2021-09-14 09:03:55.106665 [DEBUG] sofia.c:7084 Channel sofia/default/+442072589987@173.203.86.119 entering state [early][183]
  1184. 2021-09-14 09:03:55.106665 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/41445510261@35.205.116.118) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  1185. 2021-09-14 09:03:55.106665 [DEBUG] switch_core_state_machine.c:584 (sofia/default/41445510261@35.205.116.118) Running State Change CS_EXCHANGE_MEDIA (Cur 6 Tot 248009)
  1186. 2021-09-14 09:03:55.106665 [DEBUG] switch_core_state_machine.c:653 (sofia/default/41445510261@35.205.116.118) State EXCHANGE_MEDIA
  1187. 2021-09-14 09:03:55.106665 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  1188. 2021-09-14 09:03:55.166671 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  1189. 2021-09-14 09:03:55.306675 [DEBUG] switch_ivr_bridge.c:546 sofia/default/41445510261@35.205.116.118 Bridge execute app sched_hangup(+10800 normal_clearing)
  1190. 2021-09-14 09:03:55.326754 [DEBUG] switch_ivr.c:623 sofia/default/41445510261@35.205.116.118 Command Execute sched_hangup(+10800 normal_clearing)
  1191. EXECUTE sofia/default/41445510261@35.205.116.118 sched_hangup(+10800 normal_clearing)
  1192. 2021-09-14 09:03:55.326754 [DEBUG] switch_scheduler.c:249 Added task 31128 switch_ivr_schedule_hangup (373aa264-155c-11ec-9d99-7dfb9f6e00f0) to run at 1631635435
  1193. 2021-09-14 09:04:06.286671 [NOTICE] switch_channel.c:1104 New Channel sofia/default/+447734373741@199.244.96.39 [3e002b78-155c-11ec-9d9f-7dfb9f6e00f0]
  1194. 2021-09-14 09:04:06.286671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+447734373741@199.244.96.39) Running State Change CS_NEW (Cur 7 Tot 248010)
  1195. 2021-09-14 09:04:06.286671 [DEBUG] sofia.c:9873 sofia/default/+447734373741@199.244.96.39 receiving invite from 136.243.196.198:5060 version: 1.6.20  64bit
  1196. 2021-09-14 09:04:06.286671 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
  1197. 2021-09-14 09:04:06.286671 [DEBUG] sofia.c:7084 Channel sofia/default/+447734373741@199.244.96.39 entering state [received][100]
  1198. 2021-09-14 09:04:06.286671 [DEBUG] sofia.c:7094 Remote SDP:
  1199. v=0
  1200. o=PortaSIP 4012683372253332136 1 IN IP4 199.244.96.47
  1201. s=sip call
  1202. t=0 0
  1203. m=audio 43322 RTP/AVP 8 18 0 101
  1204. c=IN IP4 199.244.96.47
  1205. a=rtpmap:8 PCMA/8000
  1206. a=rtpmap:18 G729/8000
  1207. a=fmtp:18 annexb=no
  1208. a=rtpmap:0 PCMU/8000
  1209. a=rtpmap:101 telephone-event/8000
  1210. a=fmtp:101 0-15
  1211. a=silenceSupp:off - - - -
  1212. a=ptime:20
  1213.  
  1214. 2021-09-14 09:04:06.286671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1215. 2021-09-14 09:04:06.286671 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1216. 2021-09-14 09:04:06.286671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1217. 2021-09-14 09:04:06.286671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  1218. 2021-09-14 09:04:06.286671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  1219. 2021-09-14 09:04:06.286671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  1220. 2021-09-14 09:04:06.286671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  1221. 2021-09-14 09:04:06.286671 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  1222. 2021-09-14 09:04:06.286671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1223. 2021-09-14 09:04:06.286671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1224. 2021-09-14 09:04:06.286671 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  1225. 2021-09-14 09:04:06.286671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  1226. 2021-09-14 09:04:06.286671 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  1227. 2021-09-14 09:04:06.286671 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/+447734373741@199.244.96.39 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  1228. 2021-09-14 09:04:06.286671 [DEBUG] switch_core_codec.c:111 sofia/default/+447734373741@199.244.96.39 Original read codec set to PCMA:8
  1229. 2021-09-14 09:04:06.286671 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  1230. 2021-09-14 09:04:06.286671 [DEBUG] switch_core_media.c:4767 sofia/default/+447734373741@199.244.96.39 Set 2833 dtmf send payload to 101 recv payload to 101
  1231. 2021-09-14 09:04:06.286671 [DEBUG] sofia.c:7507 (sofia/default/+447734373741@199.244.96.39) State Change CS_NEW -> CS_INIT
  1232. 2021-09-14 09:04:06.286671 [DEBUG] switch_core_state_machine.c:603 (sofia/default/+447734373741@199.244.96.39) State NEW
  1233. 2021-09-14 09:04:06.286671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+447734373741@199.244.96.39) Running State Change CS_INIT (Cur 7 Tot 248010)
  1234. 2021-09-14 09:04:06.286671 [DEBUG] switch_core_state_machine.c:627 (sofia/default/+447734373741@199.244.96.39) State INIT
  1235. 2021-09-14 09:04:06.286671 [DEBUG] mod_sofia.c:90 sofia/default/+447734373741@199.244.96.39 SOFIA INIT
  1236. 2021-09-14 09:04:06.286671 [DEBUG] switch_core_state_machine.c:40 sofia/default/+447734373741@199.244.96.39 Standard INIT
  1237. 2021-09-14 09:04:06.286671 [DEBUG] switch_core_state_machine.c:48 (sofia/default/+447734373741@199.244.96.39) State Change CS_INIT -> CS_ROUTING
  1238. 2021-09-14 09:04:06.286671 [DEBUG] switch_core_state_machine.c:627 (sofia/default/+447734373741@199.244.96.39) State INIT going to sleep
  1239. 2021-09-14 09:04:06.286671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+447734373741@199.244.96.39) Running State Change CS_ROUTING (Cur 7 Tot 248010)
  1240. 2021-09-14 09:04:06.286671 [DEBUG] switch_channel.c:2249 (sofia/default/+447734373741@199.244.96.39) Callstate Change DOWN -> RINGING
  1241. 2021-09-14 09:04:06.286671 [DEBUG] switch_core_state_machine.c:643 (sofia/default/+447734373741@199.244.96.39) State ROUTING
  1242. 2021-09-14 09:04:06.286671 [DEBUG] mod_sofia.c:143 sofia/default/+447734373741@199.244.96.39 SOFIA ROUTING
  1243. 2021-09-14 09:04:06.286671 [DEBUG] switch_core_state_machine.c:236 sofia/default/+447734373741@199.244.96.39 Standard ROUTING
  1244. 2021-09-14 09:04:06.286671 [INFO] mod_dialplan_xml.c:637 Processing +447734373741 <+447734373741>->441518320569 in context default
  1245. 2021-09-14 09:04:06.286671 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected.
  1246. 2021-09-14 09:04:06.286671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  1247. 2021-09-14 09:04:06.306676 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1248. 2021-09-14 09:04:06.306676 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params:
  1249. 'Event-Name: REQUEST_PARAMS
  1250. Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0
  1251. FreeSWITCH-Hostname: astpp1.local
  1252. FreeSWITCH-Switchname: astpp1.local
  1253. FreeSWITCH-IPv4: 89.46.223.193
  1254. FreeSWITCH-IPv6: %3A%3A1
  1255. Event-Date-Local: 2021-09-14%2009%3A04%3A06
  1256. Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A04%3A06%20GMT
  1257. Event-Date-Timestamp: 1631624646286671
  1258. Event-Calling-File: mod_dialplan_xml.c
  1259. Event-Calling-Function: dialplan_xml_locate
  1260. Event-Calling-Line-Number: 608
  1261. Event-Sequence: 7527535
  1262. Channel-State: CS_ROUTING
  1263. Channel-Call-State: RINGING
  1264. Channel-State-Number: 2
  1265. Channel-Name: sofia/default/%2B447734373741%40199.244.96.39
  1266. Unique-ID: 3e002b78-155c-11ec-9d9f-7dfb9f6e00f0
  1267. Call-Direction: inbound
  1268. Presence-Call-Direction: inbound
  1269. Channel-HIT-Dialplan: true
  1270. Channel-Presence-ID: %2B447734373741%40199.244.96.39
  1271. Channel-Call-UUID: 3e002b78-155c-11ec-9d9f-7dfb9f6e00f0
  1272. Answer-State: ringing
  1273. Channel-Read-Codec-Name: PCMA
  1274. Channel-Read-Codec-Rate: 8000
  1275. Channel-Read-Codec-Bit-Rate: 64000
  1276. Channel-Write-Codec-Name: PCMA
  1277. Channel-Write-Codec-Rate: 8000
  1278. Channel-Write-Codec-Bit-Rate: 64000
  1279. Caller-Direction: inbound
  1280. Caller-Logical-Direction: inbound
  1281. Caller-Username: %2B447734373741
  1282. Caller-Dialplan: XML
  1283. Caller-Caller-ID-Name: %2B447734373741
  1284. Caller-Caller-ID-Number: %2B447734373741
  1285. Caller-Orig-Caller-ID-Name: %2B447734373741
  1286. Caller-Orig-Caller-ID-Number: %2B447734373741
  1287. Caller-Network-Addr: 136.243.196.198
  1288. Caller-ANI: %2B447734373741
  1289. Caller-Destination-Number: 441518320569
  1290. Caller-Unique-ID: 3e002b78-155c-11ec-9d9f-7dfb9f6e00f0
  1291. Caller-Source: mod_sofia
  1292. Caller-Context: default
  1293. Caller-Channel-Name: sofia/default/%2B447734373741%40199.244.96.39
  1294. Caller-Profile-Index: 1
  1295. Caller-Profile-Created-Time: 1631624646286671
  1296. Caller-Channel-Created-Time: 1631624646286671
  1297. Caller-Channel-Answered-Time: 0
  1298. Caller-Channel-Progress-Time: 0
  1299. Caller-Channel-Progress-Media-Time: 0
  1300. Caller-Channel-Hangup-Time: 0
  1301. Caller-Channel-Transfer-Time: 0
  1302. Caller-Channel-Resurrect-Time: 0
  1303. Caller-Channel-Bridged-Time: 0
  1304. Caller-Channel-Last-Hold: 0
  1305. Caller-Channel-Hold-Accum: 0
  1306. Caller-Screen-Bit: true
  1307. Caller-Privacy-Hide-Name: false
  1308. Caller-Privacy-Hide-Number: false
  1309. variable_direction: inbound
  1310. variable_uuid: 3e002b78-155c-11ec-9d9f-7dfb9f6e00f0
  1311. variable_session_id: 248010
  1312. variable_sip_from_user: %2B447734373741
  1313. variable_sip_from_uri: %2B447734373741%40199.244.96.39
  1314. variable_sip_from_host: 199.244.96.39
  1315. variable_video_media_flow: sendrecv
  1316. variable_channel_name: sofia/default/%2B447734373741%40199.244.96.39
  1317. variable_sip_call_id: 178553496-3840613446-1401399320%40MSX18.gammatelecom.com~1o
  1318. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b
  1319. variable_sip_local_network_addr: 89.46.223.193
  1320. variable_sip_network_ip: 136.243.196.198
  1321. variable_sip_network_port: 5060
  1322. variable_sip_invite_stamp: 1631624646286671
  1323. variable_sip_received_ip: 136.243.196.198
  1324. variable_sip_received_port: 5060
  1325. variable_sip_via_protocol: udp
  1326. variable_sip_authorized: true
  1327. variable_sip_acl_authed_by: default
  1328. variable_sip_from_user_stripped: 447734373741
  1329. variable_sip_from_tag: qbtbibvjtjwz36da.o
  1330. variable_sofia_profile_name: default
  1331. variable_recovery_profile_name: default
  1332. variable_sip_Remote-Party-ID: %3Csip%3A%2B447734373741%40199.244.96.39%3E%3Bparty%3Dcalling
  1333. variable_sip_P-Asserted-Identity: %2B447734373741
  1334. variable_sip_cid_type: pid
  1335. variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D4c1.fa8383f%3E,%3Csip%3A199.244.96.39%3Blr%3Bep%3E
  1336. variable_sip_invite_record_route: %3Csip%3A199.244.96.39%3Blr%3Bep%3E,%3Csip%3A136.243.196.198%3Blr%3Bdid%3D4c1.fa8383f%3E
  1337. variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bK75ea.8528d4c4.0,SIP/2.0/UDP%20199.244.96.39%3A5060%3Breceived%3D199.244.96.39%3Bbranch%3Dz9hG4bK-524287-1---5baad07628c1ed4ce89f883cc3e9cabd%3Brport%3D5060,SIP/2.0/UDP%20199.244.96.47%3A5073%3Brport%3D5073%3Bbranch%3Dz9hG4bK-ci5u7f5muzfqcoop
  1338. variable_sip_full_from: %3Csip%3A%2B447734373741%40199.244.96.39%3E%3Btag%3Dqbtbibvjtjwz36da.o
  1339. variable_sip_full_to: %3Csip%3A441518320569%40newsip.israelnumber.com%3E
  1340. variable_sip_allow: INVITE,%20ACK,%20BYE,%20CANCEL,%20INFO,%20SUBSCRIBE,%20NOTIFY,%20REFER,%20MESSAGE,%20OPTIONS,%20UPDATE
  1341. variable_sip_req_user: 441518320569
  1342. variable_sip_req_uri: 441518320569%40newsip.israelnumber.com
  1343. variable_sip_req_host: newsip.israelnumber.com
  1344. variable_sip_to_user: 441518320569
  1345. variable_sip_to_uri: 441518320569%40newsip.israelnumber.com
  1346. variable_sip_to_host: newsip.israelnumber.com
  1347. variable_sip_contact_user: %2B447734373741
  1348. variable_sip_contact_port: 5073
  1349. variable_sip_contact_uri: %2B447734373741%40199.244.96.47%3A5073
  1350. variable_sip_contact_host: 199.244.96.47
  1351. variable_sip_user_agent: PortaSIP
  1352. variable_sip_via_host: 136.243.196.198
  1353. variable_sip_via_port: 5060
  1354. variable_max_forwards: 30
  1355. variable_presence_id: %2B447734373741%40199.244.96.39
  1356. variable_sip_h_X-AUTH-IP: 199.244.96.39
  1357. variable_sip_h_P-Accountcode: 594905904039
  1358. variable_sip_h_P-effective_caller_id_name: %2B447734373741
  1359. variable_sip_h_P-effective_caller_id_number: %2B447734373741
  1360. variable_switch_r_sdp: v%3D0%0D%0Ao%3DPortaSIP%204012683372253332136%201%20IN%20IP4%20199.244.96.47%0D%0As%3Dsip%20call%0D%0At%3D0%200%0D%0Am%3Daudio%2043322%20RTP/AVP%208%2018%200%20101%0D%0Ac%3DIN%20IP4%20199.244.96.47%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-15%0D%0Aa%3DsilenceSupp%3Aoff%20-%20-%20-%20-%0D%0Aa%3Dptime%3A20%0D%0A
  1361. variable_rtp_use_codec_string: PCMA,PCMU,G729
  1362. variable_audio_media_flow: sendrecv
  1363. variable_remote_media_ip: 199.244.96.47
  1364. variable_remote_media_port: 43322
  1365. variable_rtp_audio_recv_pt: 8
  1366. variable_rtp_use_codec_name: PCMA
  1367. variable_rtp_use_codec_rate: 8000
  1368. variable_rtp_use_codec_ptime: 20
  1369. variable_rtp_use_codec_channels: 1
  1370. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  1371. variable_read_codec: PCMA
  1372. variable_original_read_codec: PCMA
  1373. variable_read_rate: 8000
  1374. variable_original_read_rate: 8000
  1375. variable_write_codec: PCMA
  1376. variable_write_rate: 8000
  1377. variable_dtmf_type: rfc2833
  1378. variable_endpoint_disposition: RECEIVED
  1379. variable_call_uuid: 3e002b78-155c-11ec-9d9f-7dfb9f6e00f0
  1380. Hunt-Direction: inbound
  1381. Hunt-Logical-Direction: inbound
  1382. Hunt-Username: %2B447734373741
  1383. Hunt-Dialplan: XML
  1384. Hunt-Caller-ID-Name: %2B447734373741
  1385. Hunt-Caller-ID-Number: %2B447734373741
  1386. Hunt-Orig-Caller-ID-Name: %2B447734373741
  1387. Hunt-Orig-Caller-ID-Number: %2B447734373741
  1388. Hunt-Network-Addr: 136.243.196.198
  1389. Hunt-ANI: %2B447734373741
  1390. Hunt-Destination-Number: 441518320569
  1391. Hunt-Unique-ID: 3e002b78-155c-11ec-9d9f-7dfb9f6e00f0
  1392. Hunt-Source: mod_sofia
  1393. Hunt-Context: default
  1394. Hunt-Channel-Name: sofia/default/%2B447734373741%40199.244.96.39
  1395. Hunt-Profile-Index: 1
  1396. Hunt-Profile-Created-Time: 1631624646286671
  1397. Hunt-Channel-Created-Time: 1631624646286671
  1398. Hunt-Channel-Answered-Time: 0
  1399. Hunt-Channel-Progress-Time: 0
  1400. Hunt-Channel-Progress-Media-Time: 0
  1401. Hunt-Channel-Hangup-Time: 0
  1402. Hunt-Channel-Transfer-Time: 0
  1403. Hunt-Channel-Resurrect-Time: 0
  1404. Hunt-Channel-Bridged-Time: 0
  1405. Hunt-Channel-Last-Hold: 0
  1406. Hunt-Channel-Hold-Accum: 0
  1407. Hunt-Screen-Bit: true
  1408. Hunt-Privacy-Hide-Name: false
  1409. Hunt-Privacy-Hide-Number: false
  1410.  
  1411. '
  1412. 2021-09-14 09:04:06.306676 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name:
  1413. 2021-09-14 09:04:06.306676 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value:
  1414. 2021-09-14 09:04:06.306676 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name:
  1415. 2021-09-14 09:04:06.306676 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan
  1416. 2021-09-14 09:04:06.306676 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  1417. 2021-09-14 09:04:06.306676 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 441518320569
  1418. 2021-09-14 09:04:06.306676 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '441518320569' limit 1
  1419. 2021-09-14 09:04:06.306676 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '441518320569' AND status=0 limit 1
  1420. 2021-09-14 09:04:06.306676 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '199.244.96.39' limit 1
  1421. 2021-09-14 09:04:06.306676 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  1422. 2021-09-14 09:04:06.306676 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : +447734373741 / +447734373741
  1423. 2021-09-14 09:04:06.306676 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="441518320569" LIMIT 1
  1424. 2021-09-14 09:04:06.306676 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
  1425. 2021-09-14 09:04:06.306676 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 594905904039]
  1426. 2021-09-14 09:04:06.306676 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "594905904039" OR number = "594905904039" AND deleted = 0 limit 1
  1427. 2021-09-14 09:04:06.306676 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="441518320569" AND A.accountid = '855' limit 1
  1428. 2021-09-14 09:04:06.306676 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 441518320569
  1429. 2021-09-14 09:04:06.306676 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="441518320569" LIMIT 1
  1430. 2021-09-14 09:04:06.306676 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound
  1431. 2021-09-14 09:04:06.306676 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="441518320569" AND (accountid = 0 OR status = 1) LIMIT 1
  1432. 2021-09-14 09:04:06.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  1433. 2021-09-14 09:04:06.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851
  1434. 2021-09-14 09:04:06.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^441518320569.*' OR patterns = '^44151832056.*' OR patterns = '^4415183205.*' OR patterns = '^441518320.*' OR patterns = '^44151832.*' OR patterns = '^4415183.*' OR patterns = '^441518.*' OR patterns = '^44151.*' OR patterns = '^4415.*' OR patterns = '^441.*' OR patterns = '^44.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC
  1435. 2021-09-14 09:04:06.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '441518320569' OR number = '44151832056' OR number = '4415183205' OR number = '441518320' OR number = '44151832' OR number = '4415183' OR number = '441518' OR number = '44151' OR number = '4415' OR number = '441' OR number = '44' OR number = '4' OR number ='--') OR (number = '441518320569*' OR number = '44151832056*' OR number = '4415183205*' OR number = '441518320*' OR number = '44151832*' OR number = '4415183*' OR number = '441518*' OR number = '44151*' OR number = '4415*' OR number = '441*' OR number = '44*' OR number = '4*' OR number ='--') OR (number = '+447734373741' OR number = '+44773437374' OR number = '+4477343737' OR number = '+447734373' OR number = '+44773437' OR number = '+4477343' OR number = '+447734' OR number = '+44773' OR number = '+4477' OR number = '+447' OR number = '+44' OR number = '+4' OR number = '+' OR number ='--') OR (number = '+447734373741*' OR number = '+44773437374*' OR number = '+4477343737*' OR number = '+447734373*' OR number = '+44773437*' OR number = '+4477343*' OR number = '+447734*' OR number = '+44773*' OR number = '+4477*' OR number = '+447*' OR number = '+44*' OR number = '+4*' OR number = '+*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  1436. 2021-09-14 09:04:06.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  1437. 2021-09-14 09:04:06.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '441518320569' OR routing_prefix = '44151832056' OR routing_prefix = '4415183205' OR routing_prefix = '441518320' OR routing_prefix = '44151832' OR routing_prefix = '4415183' OR routing_prefix = '441518' OR routing_prefix = '44151' OR routing_prefix = '4415' OR routing_prefix = '441' OR routing_prefix = '44' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  1438. 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  1439. 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 855
  1440. 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 594905904039
  1441. 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000
  1442. 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  1443. 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1
  1444. 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  1445. 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  1446. 2021-09-14 09:04:06.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  1447. 2021-09-14 09:04:06.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  1448. 2021-09-14 09:04:06.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="441518320569" LIMIT 1
  1449. 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound
  1450. 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  1451. 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 8985
  1452. 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  1453. 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  1454. 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  1455. 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Liverpool Landline
  1456. 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 200
  1457. 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 855
  1458. 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  1459. 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 855 !!!
  1460. 2021-09-14 09:04:06.326679 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180
  1461. 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
  1462. 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  1463. 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  1464. 2021-09-14 09:04:06.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 855 AND status=0 LIMIT 1
  1465. 2021-09-14 09:04:06.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" OR number = "851" AND deleted = 0 limit 1
  1466. 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:855
  1467. 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:855
  1468. 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 855
  1469. 2021-09-14 09:04:06.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  1470. 2021-09-14 09:04:06.326679 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  1471. 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
  1472. 2021-09-14 09:04:06.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  1473. 2021-09-14 09:04:06.326679 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  1474. 2021-09-14 09:04:06.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2
  1475. 2021-09-14 09:04:06.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  1476. <document type="freeswitch/xml">
  1477. <section name="dialplan" description="ASTPP Dialplan">
  1478. <context name="default">
  1479. <extension name="441518320569">
  1480. <condition field="destination_number" expression="441518320569">
  1481. <action application="set" data="effective_destination_number=441518320569"/>
  1482. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  1483. <action application="set" data="bridge_pre_execute_bleg_data=+10800 normal_clearing"/>
  1484. <action application="set" data="callstart=2021-09-14 13:04:06"/>
  1485. <action application="set" data="hangup_after_bridge=true"/>
  1486. <action application="set" data="continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602"/>
  1487. <action application="set" data="account_id=855"/>
  1488. <action application="set" data="parent_id=0"/>
  1489. <action application="set" data="entity_id=3"/>
  1490. <action application="set" data="call_processed=internal"/>
  1491. <action application="set" data="call_direction=inbound"/>
  1492. <action application="set" data="accountname=default"/>
  1493. <action application="set" data="filename1=astpp.pbx.lua"/>
  1494. <action application="set" data="origination_rates_did=ID:8985|CODE:^441518320569.*|DESTINATION:Liverpool Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:200|ACCID:851"/>
  1495. <action application="set" data="origination_rates=0"/>
  1496. <action application="set" data="original_caller_id_name=+447734373741"/>
  1497. <action application="set" data="original_caller_id_number=+447734373741"/>
  1498. <action application="set" data="effective_caller_id_name=+447734373741"/>
  1499. <action application="set" data="effective_caller_id_number=+447734373741"/>
  1500. <action application="set" data="receiver_accid=851"/>
  1501. <action application="export" data="domain_name=Voicespin802.newsip.israelnumber.com"/>
  1502. <action application="export" data="sip_to_host=Voicespin802.newsip.israelnumber.com"/>
  1503. <action application="limit" data="db 441518320569 did_441518320569 2 !SWITCH_CONGESTION"/>
  1504. <action application="export" data="presence_data=x|||AvoxiIn1(594905904039)|||^441518320569.* // Liverpool Landline // 0.00000||||||DID|||199.244.96.39"/>
  1505. <action application="export" data="call_type=2"/>
  1506. <action application="set" data="calltype=DIRECT-IP"/>
  1507. <action application="bridge" data="[leg_timeout=30]sofia/${sofia_profile_name}/441518320569@35.205.116.118"/>
  1508. </condition>
  1509. </extension>
  1510. </context>
  1511. </section>
  1512. </document>
  1513. 2021-09-14 09:04:06.326679 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released.
  1514. Dialplan: sofia/default/+447734373741@199.244.96.39 parsing [default->441518320569] continue=false
  1515. Dialplan: sofia/default/+447734373741@199.244.96.39 Regex (PASS) [441518320569] destination_number(441518320569) =~ /441518320569/ break=on-false
  1516. Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(effective_destination_number=441518320569)
  1517. Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  1518. Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  1519. Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(callstart=2021-09-14 13:04:06)
  1520. Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(hangup_after_bridge=true)
  1521. Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  1522. Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(account_id=855)
  1523. Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(parent_id=0)
  1524. Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(entity_id=3)
  1525. Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(call_processed=internal)
  1526. Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(call_direction=inbound)
  1527. Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(accountname=default)
  1528. Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(filename1=astpp.pbx.lua)
  1529. Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(origination_rates_did=ID:8985|CODE:^441518320569.*|DESTINATION:Liverpool Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:200|ACCID:851)
  1530. Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(origination_rates=0)
  1531. Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(original_caller_id_name=+447734373741)
  1532. Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(original_caller_id_number=+447734373741)
  1533. Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(effective_caller_id_name=+447734373741)
  1534. Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(effective_caller_id_number=+447734373741)
  1535. Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(receiver_accid=851)
  1536. Dialplan: sofia/default/+447734373741@199.244.96.39 Action export(domain_name=Voicespin802.newsip.israelnumber.com)
  1537. Dialplan: sofia/default/+447734373741@199.244.96.39 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  1538. Dialplan: sofia/default/+447734373741@199.244.96.39 Action limit(db 441518320569 did_441518320569 2 !SWITCH_CONGESTION)
  1539. Dialplan: sofia/default/+447734373741@199.244.96.39 Action export(presence_data=x|||AvoxiIn1(594905904039)|||^441518320569.* // Liverpool Landline // 0.00000||||||DID|||199.244.96.39)
  1540. Dialplan: sofia/default/+447734373741@199.244.96.39 Action export(call_type=2)
  1541. Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(calltype=DIRECT-IP)
  1542. Dialplan: sofia/default/+447734373741@199.244.96.39 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/441518320569@35.205.116.118)
  1543. 2021-09-14 09:04:06.346685 [DEBUG] switch_core_state_machine.c:286 (sofia/default/+447734373741@199.244.96.39) State Change CS_ROUTING -> CS_EXECUTE
  1544. 2021-09-14 09:04:06.346685 [DEBUG] switch_core_state_machine.c:643 (sofia/default/+447734373741@199.244.96.39) State ROUTING going to sleep
  1545. 2021-09-14 09:04:06.346685 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+447734373741@199.244.96.39) Running State Change CS_EXECUTE (Cur 7 Tot 248010)
  1546. 2021-09-14 09:04:06.346685 [DEBUG] switch_core_state_machine.c:650 (sofia/default/+447734373741@199.244.96.39) State EXECUTE
  1547. 2021-09-14 09:04:06.346685 [DEBUG] mod_sofia.c:198 sofia/default/+447734373741@199.244.96.39 SOFIA EXECUTE
  1548. 2021-09-14 09:04:06.346685 [DEBUG] switch_core_state_machine.c:328 sofia/default/+447734373741@199.244.96.39 Standard EXECUTE
  1549. EXECUTE sofia/default/+447734373741@199.244.96.39 set(effective_destination_number=441518320569)
  1550. 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [effective_destination_number]=[441518320569]
  1551. EXECUTE sofia/default/+447734373741@199.244.96.39 set(bridge_pre_execute_bleg_app=sched_hangup)
  1552. 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [bridge_pre_execute_bleg_app]=[sched_hangup]
  1553. EXECUTE sofia/default/+447734373741@199.244.96.39 set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  1554. 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing]
  1555. EXECUTE sofia/default/+447734373741@199.244.96.39 set(callstart=2021-09-14 13:04:06)
  1556. 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [callstart]=[2021-09-14 13:04:06]
  1557. EXECUTE sofia/default/+447734373741@199.244.96.39 set(hangup_after_bridge=true)
  1558. 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [hangup_after_bridge]=[true]
  1559. EXECUTE sofia/default/+447734373741@199.244.96.39 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  1560. 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]
  1561. EXECUTE sofia/default/+447734373741@199.244.96.39 set(account_id=855)
  1562. 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [account_id]=[855]
  1563. EXECUTE sofia/default/+447734373741@199.244.96.39 set(parent_id=0)
  1564. 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [parent_id]=[0]
  1565. EXECUTE sofia/default/+447734373741@199.244.96.39 set(entity_id=3)
  1566. 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [entity_id]=[3]
  1567. EXECUTE sofia/default/+447734373741@199.244.96.39 set(call_processed=internal)
  1568. 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [call_processed]=[internal]
  1569. EXECUTE sofia/default/+447734373741@199.244.96.39 set(call_direction=inbound)
  1570. 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [call_direction]=[inbound]
  1571. EXECUTE sofia/default/+447734373741@199.244.96.39 set(accountname=default)
  1572. 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [accountname]=[default]
  1573. EXECUTE sofia/default/+447734373741@199.244.96.39 set(filename1=astpp.pbx.lua)
  1574. 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [filename1]=[astpp.pbx.lua]
  1575. EXECUTE sofia/default/+447734373741@199.244.96.39 set(origination_rates_did=ID:8985|CODE:^441518320569.*|DESTINATION:Liverpool Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:200|ACCID:851)
  1576. 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [origination_rates_did]=[ID:8985|CODE:^441518320569.*|DESTINATION:Liverpool Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:200|ACCID:851]
  1577. EXECUTE sofia/default/+447734373741@199.244.96.39 set(origination_rates=0)
  1578. 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [origination_rates]=[0]
  1579. EXECUTE sofia/default/+447734373741@199.244.96.39 set(original_caller_id_name=+447734373741)
  1580. 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [original_caller_id_name]=[+447734373741]
  1581. EXECUTE sofia/default/+447734373741@199.244.96.39 set(original_caller_id_number=+447734373741)
  1582. 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [original_caller_id_number]=[+447734373741]
  1583. EXECUTE sofia/default/+447734373741@199.244.96.39 set(effective_caller_id_name=+447734373741)
  1584. 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [effective_caller_id_name]=[+447734373741]
  1585. EXECUTE sofia/default/+447734373741@199.244.96.39 set(effective_caller_id_number=+447734373741)
  1586. 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [effective_caller_id_number]=[+447734373741]
  1587. EXECUTE sofia/default/+447734373741@199.244.96.39 set(receiver_accid=851)
  1588. 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [receiver_accid]=[851]
  1589. EXECUTE sofia/default/+447734373741@199.244.96.39 export(domain_name=Voicespin802.newsip.israelnumber.com)
  1590. 2021-09-14 09:04:06.346685 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com]
  1591. EXECUTE sofia/default/+447734373741@199.244.96.39 export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  1592. 2021-09-14 09:04:06.346685 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com]
  1593. EXECUTE sofia/default/+447734373741@199.244.96.39 limit(db 441518320569 did_441518320569 2 !SWITCH_CONGESTION)
  1594. 2021-09-14 09:04:06.346685 [DEBUG] switch_limit.c:126 incr called: 441518320569_did_441518320569 max:2, interval:0
  1595. 2021-09-14 09:04:06.346685 [DEBUG] mod_db.c:194 Usage for 441518320569_did_441518320569 is now 1/2
  1596. EXECUTE sofia/default/+447734373741@199.244.96.39 export(presence_data=x|||AvoxiIn1(594905904039)|||^441518320569.* // Liverpool Landline // 0.00000||||||DID|||199.244.96.39)
  1597. 2021-09-14 09:04:06.346685 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||AvoxiIn1(594905904039)|||^441518320569.* // Liverpool Landline // 0.00000||||||DID|||199.244.96.39]
  1598. EXECUTE sofia/default/+447734373741@199.244.96.39 export(call_type=2)
  1599. 2021-09-14 09:04:06.346685 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2]
  1600. EXECUTE sofia/default/+447734373741@199.244.96.39 set(calltype=DIRECT-IP)
  1601. 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [calltype]=[DIRECT-IP]
  1602. EXECUTE sofia/default/+447734373741@199.244.96.39 bridge([leg_timeout=30]sofia/default/441518320569@35.205.116.118)
  1603. 2021-09-14 09:04:06.346685 [DEBUG] switch_channel.c:1250 sofia/default/+447734373741@199.244.96.39 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event
  1604. 2021-09-14 09:04:06.346685 [DEBUG] switch_channel.c:1250 sofia/default/+447734373741@199.244.96.39 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event
  1605. 2021-09-14 09:04:06.346685 [DEBUG] switch_channel.c:1250 sofia/default/+447734373741@199.244.96.39 EXPORTING[export_vars] [presence_data]=[x|||AvoxiIn1(594905904039)|||^441518320569.* // Liverpool Landline // 0.00000||||||DID|||199.244.96.39] to event
  1606. 2021-09-14 09:04:06.346685 [DEBUG] switch_channel.c:1250 sofia/default/+447734373741@199.244.96.39 EXPORTING[export_vars] [call_type]=[2] to event
  1607. 2021-09-14 09:04:06.346685 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  1608. 2021-09-14 09:04:06.346685 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  1609. 2021-09-14 09:04:06.346685 [NOTICE] switch_channel.c:1104 New Channel sofia/default/441518320569@35.205.116.118 [3e09bf26-155c-11ec-9dbf-7dfb9f6e00f0]
  1610. 2021-09-14 09:04:06.346685 [DEBUG] mod_sofia.c:4819 (sofia/default/441518320569@35.205.116.118) State Change CS_NEW -> CS_INIT
  1611. 2021-09-14 09:04:06.346685 [DEBUG] switch_ivr_originate.c:2963 sofia/default/441518320569@35.205.116.118 Setting leg timeout to 30
  1612. 2021-09-14 09:04:06.346685 [DEBUG] switch_core_state_machine.c:584 (sofia/default/441518320569@35.205.116.118) Running State Change CS_INIT (Cur 8 Tot 248011)
  1613. 2021-09-14 09:04:06.346685 [DEBUG] switch_core_state_machine.c:627 (sofia/default/441518320569@35.205.116.118) State INIT
  1614. 2021-09-14 09:04:06.346685 [DEBUG] mod_sofia.c:90 sofia/default/441518320569@35.205.116.118 SOFIA INIT
  1615. 2021-09-14 09:04:06.346685 [DEBUG] sofia_glue.c:1295 sofia/default/441518320569@35.205.116.118 sending invite version: 1.6.20  64bit
  1616. Local SDP:
  1617. v=0
  1618. o=FreeSWITCH 1631608028 1631608029 IN IP4 89.46.223.193
  1619. s=FreeSWITCH
  1620. c=IN IP4 89.46.223.193
  1621. t=0 0
  1622. m=audio 16618 RTP/AVP 8 101
  1623. a=rtpmap:8 PCMA/8000
  1624. a=rtpmap:101 telephone-event/8000
  1625. a=fmtp:101 0-16
  1626. a=ptime:20
  1627. a=sendrecv
  1628.  
  1629. 2021-09-14 09:04:06.346685 [DEBUG] switch_core_state_machine.c:40 sofia/default/441518320569@35.205.116.118 Standard INIT
  1630. 2021-09-14 09:04:06.346685 [DEBUG] switch_core_state_machine.c:48 (sofia/default/441518320569@35.205.116.118) State Change CS_INIT -> CS_ROUTING
  1631. 2021-09-14 09:04:06.346685 [DEBUG] switch_core_state_machine.c:627 (sofia/default/441518320569@35.205.116.118) State INIT going to sleep
  1632. 2021-09-14 09:04:06.346685 [DEBUG] switch_core_state_machine.c:584 (sofia/default/441518320569@35.205.116.118) Running State Change CS_ROUTING (Cur 8 Tot 248011)
  1633. 2021-09-14 09:04:06.346685 [DEBUG] switch_core_state_machine.c:643 (sofia/default/441518320569@35.205.116.118) State ROUTING
  1634. 2021-09-14 09:04:06.346685 [DEBUG] mod_sofia.c:143 sofia/default/441518320569@35.205.116.118 SOFIA ROUTING
  1635. 2021-09-14 09:04:06.346685 [DEBUG] switch_ivr_originate.c:67 (sofia/default/441518320569@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  1636. 2021-09-14 09:04:06.346685 [DEBUG] switch_core_state_machine.c:643 (sofia/default/441518320569@35.205.116.118) State ROUTING going to sleep
  1637. 2021-09-14 09:04:06.346685 [DEBUG] switch_core_state_machine.c:584 (sofia/default/441518320569@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 248011)
  1638. 2021-09-14 09:04:06.346685 [DEBUG] sofia.c:7084 Channel sofia/default/441518320569@35.205.116.118 entering state [calling][0]
  1639. 2021-09-14 09:04:06.346685 [DEBUG] switch_core_state_machine.c:662 (sofia/default/441518320569@35.205.116.118) State CONSUME_MEDIA
  1640. 2021-09-14 09:04:06.346685 [DEBUG] switch_core_state_machine.c:662 (sofia/default/441518320569@35.205.116.118) State CONSUME_MEDIA going to sleep
  1641. 2021-09-14 09:04:06.806673 [DEBUG] sofia.c:7084 Channel sofia/default/441518320569@35.205.116.118 entering state [completing][200]
  1642. 2021-09-14 09:04:06.806673 [DEBUG] sofia.c:7094 Remote SDP:
  1643. v=0
  1644. o=root 636030238 636030238 IN IP4 130.211.60.220
  1645. s=Asterisk PBX 13.29.2
  1646. c=IN IP4 130.211.60.220
  1647. t=0 0
  1648. m=audio 10008 RTP/AVP 8 101
  1649. a=rtpmap:8 PCMA/8000
  1650. a=rtpmap:101 telephone-event/8000
  1651. a=fmtp:101 0-16
  1652. a=ptime:20
  1653. a=maxptime:150
  1654.  
  1655. 2021-09-14 09:04:06.806673 [DEBUG] sofia.c:7084 Channel sofia/default/441518320569@35.205.116.118 entering state [ready][200]
  1656. 2021-09-14 09:04:06.806673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1657. 2021-09-14 09:04:06.806673 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1658. 2021-09-14 09:04:06.806673 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  1659. 2021-09-14 09:04:06.806673 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/441518320569@35.205.116.118 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  1660. 2021-09-14 09:04:06.806673 [DEBUG] switch_core_codec.c:111 sofia/default/441518320569@35.205.116.118 Original read codec set to PCMA:8
  1661. 2021-09-14 09:04:06.806673 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  1662. 2021-09-14 09:04:06.806673 [DEBUG] switch_core_media.c:4767 sofia/default/441518320569@35.205.116.118 Set 2833 dtmf send payload to 101 recv payload to 101
  1663. 2021-09-14 09:04:06.806673 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/441518320569@35.205.116.118] 89.46.223.193 port 16618 -> 130.211.60.220 port 10008 codec: 8 ms: 20
  1664. 2021-09-14 09:04:06.806673 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  1665. 2021-09-14 09:04:06.806673 [DEBUG] switch_core_media.c:7180 sofia/default/441518320569@35.205.116.118 Set 2833 dtmf send payload to 101
  1666. 2021-09-14 09:04:06.806673 [DEBUG] switch_core_media.c:7187 sofia/default/441518320569@35.205.116.118 Set 2833 dtmf receive payload to 101
  1667. 2021-09-14 09:04:06.806673 [DEBUG] switch_core_media.c:7210 sofia/default/441518320569@35.205.116.118 Set rtp dtmf delay to 40
  1668. 2021-09-14 09:04:06.806673 [NOTICE] sofia.c:8218 Channel [sofia/default/441518320569@35.205.116.118] has been answered
  1669. 2021-09-14 09:04:06.806673 [DEBUG] switch_channel.c:3773 (sofia/default/441518320569@35.205.116.118) Callstate Change DOWN -> ACTIVE
  1670. 2021-09-14 09:04:06.826675 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/+447734373741@199.244.96.39] 89.46.223.193 port 28472 -> 199.244.96.47 port 43322 codec: 8 ms: 20
  1671. 2021-09-14 09:04:06.826675 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  1672. 2021-09-14 09:04:06.826675 [DEBUG] switch_core_media.c:7180 sofia/default/+447734373741@199.244.96.39 Set 2833 dtmf send payload to 101
  1673. 2021-09-14 09:04:06.826675 [DEBUG] switch_core_media.c:7187 sofia/default/+447734373741@199.244.96.39 Set 2833 dtmf receive payload to 101
  1674. 2021-09-14 09:04:06.826675 [DEBUG] switch_core_media.c:7210 sofia/default/+447734373741@199.244.96.39 Set rtp dtmf delay to 40
  1675. 2021-09-14 09:04:06.826675 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/+447734373741@199.244.96.39:
  1676. v=0
  1677. o=FreeSWITCH 1631596174 1631596175 IN IP4 89.46.223.193
  1678. s=FreeSWITCH
  1679. c=IN IP4 89.46.223.193
  1680. t=0 0
  1681. m=audio 28472 RTP/AVP 8 101
  1682. a=rtpmap:8 PCMA/8000
  1683. a=rtpmap:101 telephone-event/8000
  1684. a=fmtp:101 0-16
  1685. a=ptime:20
  1686. a=sendrecv
  1687.  
  1688. 2021-09-14 09:04:06.826675 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/+447734373741@199.244.96.39] has been answered
  1689. 2021-09-14 09:04:06.826675 [DEBUG] switch_channel.c:3773 (sofia/default/+447734373741@199.244.96.39) Callstate Change RINGING -> ACTIVE
  1690. 2021-09-14 09:04:06.826675 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/441518320569@35.205.116.118]
  1691. 2021-09-14 09:04:06.826675 [DEBUG] sofia.c:7084 Channel sofia/default/+447734373741@199.244.96.39 entering state [completed][200]
  1692. 2021-09-14 09:04:06.826675 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/441518320569@35.205.116.118) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  1693. 2021-09-14 09:04:06.826675 [DEBUG] switch_core_state_machine.c:584 (sofia/default/441518320569@35.205.116.118) Running State Change CS_EXCHANGE_MEDIA (Cur 8 Tot 248011)
  1694. 2021-09-14 09:04:06.826675 [DEBUG] switch_core_state_machine.c:653 (sofia/default/441518320569@35.205.116.118) State EXCHANGE_MEDIA
  1695. 2021-09-14 09:04:06.826675 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  1696. 2021-09-14 09:04:06.966681 [DEBUG] sofia.c:7084 Channel sofia/default/+447734373741@199.244.96.39 entering state [ready][200]
  1697. 2021-09-14 09:04:07.006685 [DEBUG] switch_ivr_bridge.c:546 sofia/default/441518320569@35.205.116.118 Bridge execute app sched_hangup(+10800 normal_clearing)
  1698. 2021-09-14 09:04:07.026680 [DEBUG] switch_ivr.c:623 sofia/default/441518320569@35.205.116.118 Command Execute sched_hangup(+10800 normal_clearing)
  1699. EXECUTE sofia/default/441518320569@35.205.116.118 sched_hangup(+10800 normal_clearing)
  1700. 2021-09-14 09:04:07.026680 [DEBUG] switch_scheduler.c:249 Added task 31129 switch_ivr_schedule_hangup (3e09bf26-155c-11ec-9dbf-7dfb9f6e00f0) to run at 1631635447
  1701. 2021-09-14 09:04:07.146679 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  1702. 2021-09-14 09:04:07.226670 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  1703. 2021-09-14 09:04:15.246670 [DEBUG] sofia.c:7084 Channel sofia/default/41445510261@35.205.116.118 entering state [proceeding][181]
  1704. 2021-09-14 09:04:15.246670 [DEBUG] sofia.c:7084 Channel sofia/default/41445510261@35.205.116.118 entering state [terminated][486]
  1705. 2021-09-14 09:04:15.246670 [NOTICE] sofia.c:8273 Hangup sofia/default/41445510261@35.205.116.118 [CS_EXCHANGE_MEDIA] [USER_BUSY]
  1706. 2021-09-14 09:04:15.246670 [DEBUG] switch_ivr_bridge.c:712 sofia/default/41445510261@35.205.116.118 ending bridge by request from read function
  1707. 2021-09-14 09:04:15.246670 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/41445510261@35.205.116.118]
  1708. 2021-09-14 09:04:15.246670 [DEBUG] switch_core_state_machine.c:653 (sofia/default/41445510261@35.205.116.118) State EXCHANGE_MEDIA going to sleep
  1709. 2021-09-14 09:04:15.246670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/41445510261@35.205.116.118) Running State Change CS_HANGUP (Cur 8 Tot 248011)
  1710. 2021-09-14 09:04:15.246670 [DEBUG] switch_core_state_machine.c:850 (sofia/default/41445510261@35.205.116.118) Callstate Change EARLY -> HANGUP
  1711. 2021-09-14 09:04:15.246670 [DEBUG] switch_core_state_machine.c:852 (sofia/default/41445510261@35.205.116.118) State HANGUP
  1712. 2021-09-14 09:04:15.246670 [DEBUG] mod_sofia.c:438 Channel sofia/default/41445510261@35.205.116.118 hanging up, cause: USER_BUSY
  1713. 2021-09-14 09:04:15.246670 [DEBUG] switch_core_state_machine.c:60 sofia/default/41445510261@35.205.116.118 Standard HANGUP, cause: USER_BUSY
  1714. 2021-09-14 09:04:15.246670 [DEBUG] switch_core_state_machine.c:852 (sofia/default/41445510261@35.205.116.118) State HANGUP going to sleep
  1715. 2021-09-14 09:04:15.246670 [DEBUG] switch_core_state_machine.c:619 (sofia/default/41445510261@35.205.116.118) State Change CS_HANGUP -> CS_REPORTING
  1716. 2021-09-14 09:04:15.246670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/41445510261@35.205.116.118) Running State Change CS_REPORTING (Cur 8 Tot 248011)
  1717. 2021-09-14 09:04:15.246670 [DEBUG] switch_core_state_machine.c:938 (sofia/default/41445510261@35.205.116.118) State REPORTING
  1718. 2021-09-14 09:04:15.246670 [INFO] mod_json_cdr.c:271 Process [373aa264-155c-11ec-9d99-7dfb9f6e00f0.cdr.json]
  1719. 2021-09-14 09:04:15.246670 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/+442072589987@173.203.86.119]
  1720. 2021-09-14 09:04:15.246670 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/41445510261@35.205.116.118 skip receive message [UNBRIDGE] (channel is hungup already)
  1721. 2021-09-14 09:04:15.246670 [NOTICE] switch_channel.c:4844 Hangup sofia/default/+442072589987@173.203.86.119 [CS_EXECUTE] [USER_BUSY]
  1722. 2021-09-14 09:04:15.246670 [DEBUG] switch_core_state_machine.c:174 sofia/default/41445510261@35.205.116.118 Standard REPORTING, cause: USER_BUSY
  1723. 2021-09-14 09:04:15.246670 [DEBUG] switch_core_state_machine.c:938 (sofia/default/41445510261@35.205.116.118) State REPORTING going to sleep
  1724. 2021-09-14 09:04:15.246670 [DEBUG] switch_core_state_machine.c:610 (sofia/default/41445510261@35.205.116.118) State Change CS_REPORTING -> CS_DESTROY
  1725. 2021-09-14 09:04:15.246670 [DEBUG] switch_core_session.c:1665 Session 248009 (sofia/default/41445510261@35.205.116.118) Locked, Waiting on external entities
  1726. 2021-09-14 09:04:15.266668 [NOTICE] switch_core_session.c:1683 Session 248009 (sofia/default/41445510261@35.205.116.118) Ended
  1727. 2021-09-14 09:04:15.266668 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/41445510261@35.205.116.118 [CS_DESTROY]
  1728. 2021-09-14 09:04:15.266668 [DEBUG] switch_core_session.c:2815 sofia/default/+442072589987@173.203.86.119 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  1729. 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:650 (sofia/default/+442072589987@173.203.86.119) State EXECUTE going to sleep
  1730. 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+442072589987@173.203.86.119) Running State Change CS_HANGUP (Cur 7 Tot 248011)
  1731. 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:741 (sofia/default/41445510261@35.205.116.118) Running State Change CS_DESTROY (Cur 7 Tot 248011)
  1732. 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:751 (sofia/default/41445510261@35.205.116.118) State DESTROY
  1733. 2021-09-14 09:04:15.266668 [DEBUG] mod_sofia.c:343 sofia/default/41445510261@35.205.116.118 SOFIA DESTROY
  1734. 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:181 sofia/default/41445510261@35.205.116.118 Standard DESTROY
  1735. 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:751 (sofia/default/41445510261@35.205.116.118) State DESTROY going to sleep
  1736. 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:850 (sofia/default/+442072589987@173.203.86.119) Callstate Change EARLY -> HANGUP
  1737. 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:852 (sofia/default/+442072589987@173.203.86.119) State HANGUP
  1738. 2021-09-14 09:04:15.266668 [DEBUG] mod_sofia.c:432 sofia/default/+442072589987@173.203.86.119 Overriding SIP cause 486 with 486 from the other leg
  1739. 2021-09-14 09:04:15.266668 [DEBUG] mod_sofia.c:438 Channel sofia/default/+442072589987@173.203.86.119 hanging up, cause: USER_BUSY
  1740. 2021-09-14 09:04:15.266668 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 486
  1741. 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:60 sofia/default/+442072589987@173.203.86.119 Standard HANGUP, cause: USER_BUSY
  1742. 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:852 (sofia/default/+442072589987@173.203.86.119) State HANGUP going to sleep
  1743. 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:619 (sofia/default/+442072589987@173.203.86.119) State Change CS_HANGUP -> CS_REPORTING
  1744. 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+442072589987@173.203.86.119) Running State Change CS_REPORTING (Cur 7 Tot 248011)
  1745. 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:938 (sofia/default/+442072589987@173.203.86.119) State REPORTING
  1746. 2021-09-14 09:04:15.266668 [INFO] mod_json_cdr.c:271 Process [3734cc22-155c-11ec-9d79-7dfb9f6e00f0.cdr.json]
  1747. 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:174 sofia/default/+442072589987@173.203.86.119 Standard REPORTING, cause: USER_BUSY
  1748. 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:938 (sofia/default/+442072589987@173.203.86.119) State REPORTING going to sleep
  1749. 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:610 (sofia/default/+442072589987@173.203.86.119) State Change CS_REPORTING -> CS_DESTROY
  1750. 2021-09-14 09:04:15.266668 [DEBUG] switch_core_session.c:1665 Session 248008 (sofia/default/+442072589987@173.203.86.119) Locked, Waiting on external entities
  1751. 2021-09-14 09:04:15.266668 [NOTICE] switch_core_session.c:1683 Session 248008 (sofia/default/+442072589987@173.203.86.119) Ended
  1752. 2021-09-14 09:04:15.266668 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/+442072589987@173.203.86.119 [CS_DESTROY]
  1753. 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:741 (sofia/default/+442072589987@173.203.86.119) Running State Change CS_DESTROY (Cur 6 Tot 248011)
  1754. 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:751 (sofia/default/+442072589987@173.203.86.119) State DESTROY
  1755. 2021-09-14 09:04:15.266668 [DEBUG] mod_sofia.c:343 sofia/default/+442072589987@173.203.86.119 SOFIA DESTROY
  1756. 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:181 sofia/default/+442072589987@173.203.86.119 Standard DESTROY
  1757. 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:751 (sofia/default/+442072589987@173.203.86.119) State DESTROY going to sleep
  1758. 2021-09-14 09:04:15.526756 [DEBUG] switch_scheduler.c:144 Deleting task 31128 switch_ivr_schedule_hangup (373aa264-155c-11ec-9d99-7dfb9f6e00f0)
  1759. 2021-09-14 09:04:16.206673 [NOTICE] switch_channel.c:1104 New Channel sofia/default/390399745536@92.249.69.77 [43e7aec6-155c-11ec-9dc5-7dfb9f6e00f0]
  1760. 2021-09-14 09:04:16.206673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399745536@92.249.69.77) Running State Change CS_NEW (Cur 7 Tot 248012)
  1761. 2021-09-14 09:04:16.206673 [DEBUG] sofia.c:9873 sofia/default/390399745536@92.249.69.77 receiving invite from 136.243.196.198:5060 version: 1.6.20  64bit
  1762. 2021-09-14 09:04:16.206673 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
  1763. 2021-09-14 09:04:16.206673 [DEBUG] sofia.c:7084 Channel sofia/default/390399745536@92.249.69.77 entering state [received][100]
  1764. 2021-09-14 09:04:16.206673 [DEBUG] sofia.c:7094 Remote SDP:
  1765. v=0
  1766. o=asterisk 102370267 102370267 IN IP4 92.249.69.77
  1767. s=Asterisk PBX
  1768. c=IN IP4 92.249.69.77
  1769. t=0 0
  1770. m=audio 34646 RTP/AVP 8 0 101
  1771. a=rtpmap:8 PCMA/8000
  1772. a=rtpmap:0 PCMU/8000
  1773. a=rtpmap:101 telephone-event/8000
  1774. a=fmtp:101 0-16
  1775. a=ptime:20
  1776.  
  1777. 2021-09-14 09:04:16.206673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1778. 2021-09-14 09:04:16.206673 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1779. 2021-09-14 09:04:16.206673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1780. 2021-09-14 09:04:16.206673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  1781. 2021-09-14 09:04:16.206673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1782. 2021-09-14 09:04:16.206673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1783. 2021-09-14 09:04:16.206673 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  1784. 2021-09-14 09:04:16.206673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  1785. 2021-09-14 09:04:16.206673 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  1786. 2021-09-14 09:04:16.206673 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/390399745536@92.249.69.77 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  1787. 2021-09-14 09:04:16.206673 [DEBUG] switch_core_codec.c:111 sofia/default/390399745536@92.249.69.77 Original read codec set to PCMA:8
  1788. 2021-09-14 09:04:16.206673 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  1789. 2021-09-14 09:04:16.206673 [DEBUG] switch_core_media.c:4767 sofia/default/390399745536@92.249.69.77 Set 2833 dtmf send payload to 101 recv payload to 101
  1790. 2021-09-14 09:04:16.206673 [DEBUG] sofia.c:7507 (sofia/default/390399745536@92.249.69.77) State Change CS_NEW -> CS_INIT
  1791. 2021-09-14 09:04:16.206673 [DEBUG] switch_core_state_machine.c:603 (sofia/default/390399745536@92.249.69.77) State NEW
  1792. 2021-09-14 09:04:16.206673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399745536@92.249.69.77) Running State Change CS_INIT (Cur 7 Tot 248012)
  1793. 2021-09-14 09:04:16.206673 [DEBUG] switch_core_state_machine.c:627 (sofia/default/390399745536@92.249.69.77) State INIT
  1794. 2021-09-14 09:04:16.206673 [DEBUG] mod_sofia.c:90 sofia/default/390399745536@92.249.69.77 SOFIA INIT
  1795. 2021-09-14 09:04:16.206673 [DEBUG] switch_core_state_machine.c:40 sofia/default/390399745536@92.249.69.77 Standard INIT
  1796. 2021-09-14 09:04:16.206673 [DEBUG] switch_core_state_machine.c:48 (sofia/default/390399745536@92.249.69.77) State Change CS_INIT -> CS_ROUTING
  1797. 2021-09-14 09:04:16.206673 [DEBUG] switch_core_state_machine.c:627 (sofia/default/390399745536@92.249.69.77) State INIT going to sleep
  1798. 2021-09-14 09:04:16.206673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399745536@92.249.69.77) Running State Change CS_ROUTING (Cur 7 Tot 248012)
  1799. 2021-09-14 09:04:16.206673 [DEBUG] switch_channel.c:2249 (sofia/default/390399745536@92.249.69.77) Callstate Change DOWN -> RINGING
  1800. 2021-09-14 09:04:16.206673 [DEBUG] switch_core_state_machine.c:643 (sofia/default/390399745536@92.249.69.77) State ROUTING
  1801. 2021-09-14 09:04:16.206673 [DEBUG] mod_sofia.c:143 sofia/default/390399745536@92.249.69.77 SOFIA ROUTING
  1802. 2021-09-14 09:04:16.206673 [DEBUG] switch_core_state_machine.c:236 sofia/default/390399745536@92.249.69.77 Standard ROUTING
  1803. 2021-09-14 09:04:16.206673 [INFO] mod_dialplan_xml.c:637 Processing 390399745536 <390399745536>->00393357118905 in context default
  1804. 2021-09-14 09:04:16.206673 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected.
  1805. 2021-09-14 09:04:16.206673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  1806. 2021-09-14 09:04:16.206673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1807. 2021-09-14 09:04:16.206673 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params:
  1808. 'Event-Name: REQUEST_PARAMS
  1809. Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0
  1810. FreeSWITCH-Hostname: astpp1.local
  1811. FreeSWITCH-Switchname: astpp1.local
  1812. FreeSWITCH-IPv4: 89.46.223.193
  1813. FreeSWITCH-IPv6: %3A%3A1
  1814. Event-Date-Local: 2021-09-14%2009%3A04%3A16
  1815. Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A04%3A16%20GMT
  1816. Event-Date-Timestamp: 1631624656206673
  1817. Event-Calling-File: mod_dialplan_xml.c
  1818. Event-Calling-Function: dialplan_xml_locate
  1819. Event-Calling-Line-Number: 608
  1820. Event-Sequence: 7527639
  1821. Channel-State: CS_ROUTING
  1822. Channel-Call-State: RINGING
  1823. Channel-State-Number: 2
  1824. Channel-Name: sofia/default/390399745536%4092.249.69.77
  1825. Unique-ID: 43e7aec6-155c-11ec-9dc5-7dfb9f6e00f0
  1826. Call-Direction: inbound
  1827. Presence-Call-Direction: inbound
  1828. Channel-HIT-Dialplan: true
  1829. Channel-Presence-ID: 390399745536%4092.249.69.77
  1830. Channel-Call-UUID: 43e7aec6-155c-11ec-9dc5-7dfb9f6e00f0
  1831. Answer-State: ringing
  1832. Channel-Read-Codec-Name: PCMA
  1833. Channel-Read-Codec-Rate: 8000
  1834. Channel-Read-Codec-Bit-Rate: 64000
  1835. Channel-Write-Codec-Name: PCMA
  1836. Channel-Write-Codec-Rate: 8000
  1837. Channel-Write-Codec-Bit-Rate: 64000
  1838. Caller-Direction: inbound
  1839. Caller-Logical-Direction: inbound
  1840. Caller-Username: 390399745536
  1841. Caller-Dialplan: XML
  1842. Caller-Caller-ID-Name: 390399745536
  1843. Caller-Caller-ID-Number: 390399745536
  1844. Caller-Orig-Caller-ID-Name: 390399745536
  1845. Caller-Orig-Caller-ID-Number: 390399745536
  1846. Caller-Network-Addr: 136.243.196.198
  1847. Caller-ANI: 390399745536
  1848. Caller-Destination-Number: 00393357118905
  1849. Caller-Unique-ID: 43e7aec6-155c-11ec-9dc5-7dfb9f6e00f0
  1850. Caller-Source: mod_sofia
  1851. Caller-Context: default
  1852. Caller-Channel-Name: sofia/default/390399745536%4092.249.69.77
  1853. Caller-Profile-Index: 1
  1854. Caller-Profile-Created-Time: 1631624656206673
  1855. Caller-Channel-Created-Time: 1631624656206673
  1856. Caller-Channel-Answered-Time: 0
  1857. Caller-Channel-Progress-Time: 0
  1858. Caller-Channel-Progress-Media-Time: 0
  1859. Caller-Channel-Hangup-Time: 0
  1860. Caller-Channel-Transfer-Time: 0
  1861. Caller-Channel-Resurrect-Time: 0
  1862. Caller-Channel-Bridged-Time: 0
  1863. Caller-Channel-Last-Hold: 0
  1864. Caller-Channel-Hold-Accum: 0
  1865. Caller-Screen-Bit: false
  1866. Caller-Privacy-Hide-Name: false
  1867. Caller-Privacy-Hide-Number: false
  1868. variable_direction: inbound
  1869. variable_uuid: 43e7aec6-155c-11ec-9dc5-7dfb9f6e00f0
  1870. variable_session_id: 248012
  1871. variable_sip_from_user: 390399745536
  1872. variable_sip_from_uri: 390399745536%4092.249.69.77
  1873. variable_sip_from_host: 92.249.69.77
  1874. variable_video_media_flow: sendrecv
  1875. variable_channel_name: sofia/default/390399745536%4092.249.69.77
  1876. variable_sip_call_id: 22a8b6071e23d12305c9a02e53383982%4092.249.69.77%3A5060
  1877. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b
  1878. variable_sip_local_network_addr: 89.46.223.193
  1879. variable_sip_network_ip: 136.243.196.198
  1880. variable_sip_network_port: 5060
  1881. variable_sip_invite_stamp: 1631624656206673
  1882. variable_sip_received_ip: 136.243.196.198
  1883. variable_sip_received_port: 5060
  1884. variable_sip_via_protocol: udp
  1885. variable_sip_authorized: true
  1886. variable_sip_acl_authed_by: default
  1887. variable_sip_from_user_stripped: 390399745536
  1888. variable_sip_from_tag: as13fb429e
  1889. variable_sofia_profile_name: default
  1890. variable_recovery_profile_name: default
  1891. variable_sip_Remote-Party-ID: %22390399745536%22%20%3Csip%3A390399745536%4092.249.69.77%3E%3Bparty%3Dcalling%3Bprivacy%3Doff%3Bscreen%3Dno
  1892. variable_sip_cid_type: rpid
  1893. variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3Da13.881859c4%3E
  1894. variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3Da13.881859c4%3E
  1895. variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bK9e13.eea63863.0,SIP/2.0/UDP%2092.249.69.77%3A5060%3Bbranch%3Dz9hG4bK3fb40630
  1896. variable_sip_from_display: 390399745536
  1897. variable_sip_full_from: %22390399745536%22%20%3Csip%3A390399745536%4092.249.69.77%3E%3Btag%3Das13fb429e
  1898. variable_sip_full_to: %3Csip%3A00393357118905%40136.243.196.198%3E
  1899. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE
  1900. variable_sip_req_user: 00393357118905
  1901. variable_sip_req_uri: 00393357118905%40136.243.196.198
  1902. variable_sip_req_host: 136.243.196.198
  1903. variable_sip_to_user: 00393357118905
  1904. variable_sip_to_uri: 00393357118905%40136.243.196.198
  1905. variable_sip_to_host: 136.243.196.198
  1906. variable_sip_contact_user: 390399745536
  1907. variable_sip_contact_port: 5060
  1908. variable_sip_contact_uri: 390399745536%4092.249.69.77%3A5060
  1909. variable_sip_contact_host: 92.249.69.77
  1910. variable_sip_user_agent: Asterisk%20PBX
  1911. variable_sip_via_host: 136.243.196.198
  1912. variable_sip_via_port: 5060
  1913. variable_max_forwards: 30
  1914. variable_presence_id: 390399745536%4092.249.69.77
  1915. variable_sip_h_X-AUTH-IP: 92.249.69.77
  1916. variable_sip_h_P-Accountcode: 619312506378
  1917. variable_sip_h_P-effective_caller_id_name: 390399745536
  1918. variable_sip_h_P-effective_caller_id_number: 390399745536
  1919. variable_switch_r_sdp: v%3D0%0D%0Ao%3Dasterisk%20102370267%20102370267%20IN%20IP4%2092.249.69.77%0D%0As%3DAsterisk%20PBX%0D%0Ac%3DIN%20IP4%2092.249.69.77%0D%0At%3D0%200%0D%0Am%3Daudio%2034646%20RTP/AVP%208%200%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0A
  1920. variable_rtp_use_codec_string: PCMA,PCMU,G729
  1921. variable_audio_media_flow: sendrecv
  1922. variable_remote_media_ip: 92.249.69.77
  1923. variable_remote_media_port: 34646
  1924. variable_rtp_audio_recv_pt: 8
  1925. variable_rtp_use_codec_name: PCMA
  1926. variable_rtp_use_codec_rate: 8000
  1927. variable_rtp_use_codec_ptime: 20
  1928. variable_rtp_use_codec_channels: 1
  1929. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  1930. variable_read_codec: PCMA
  1931. variable_original_read_codec: PCMA
  1932. variable_read_rate: 8000
  1933. variable_original_read_rate: 8000
  1934. variable_write_codec: PCMA
  1935. variable_write_rate: 8000
  1936. variable_dtmf_type: rfc2833
  1937. variable_endpoint_disposition: RECEIVED
  1938. variable_call_uuid: 43e7aec6-155c-11ec-9dc5-7dfb9f6e00f0
  1939. Hunt-Direction: inbound
  1940. Hunt-Logical-Direction: inbound
  1941. Hunt-Username: 390399745536
  1942. Hunt-Dialplan: XML
  1943. Hunt-Caller-ID-Name: 390399745536
  1944. Hunt-Caller-ID-Number: 390399745536
  1945. Hunt-Orig-Caller-ID-Name: 390399745536
  1946. Hunt-Orig-Caller-ID-Number: 390399745536
  1947. Hunt-Network-Addr: 136.243.196.198
  1948. Hunt-ANI: 390399745536
  1949. Hunt-Destination-Number: 00393357118905
  1950. Hunt-Unique-ID: 43e7aec6-155c-11ec-9dc5-7dfb9f6e00f0
  1951. Hunt-Source: mod_sofia
  1952. Hunt-Context: default
  1953. Hunt-Channel-Name: sofia/default/390399745536%4092.249.69.77
  1954. Hunt-Profile-Index: 1
  1955. Hunt-Profile-Created-Time: 1631624656206673
  1956. Hunt-Channel-Created-Time: 1631624656206673
  1957. Hunt-Channel-Answered-Time: 0
  1958. Hunt-Channel-Progress-Time: 0
  1959. Hunt-Channel-Progress-Media-Time: 0
  1960. Hunt-Channel-Hangup-Time: 0
  1961. Hunt-Channel-Transfer-Time: 0
  1962. Hunt-Channel-Resurrect-Time: 0
  1963. Hunt-Channel-Bridged-Time: 0
  1964. Hunt-Channel-Last-Hold: 0
  1965. Hunt-Channel-Hold-Accum: 0
  1966. Hunt-Screen-Bit: false
  1967. Hunt-Privacy-Hide-Name: false
  1968. Hunt-Privacy-Hide-Number: false
  1969.  
  1970. '
  1971. 2021-09-14 09:04:16.206673 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name:
  1972. 2021-09-14 09:04:16.206673 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value:
  1973. 2021-09-14 09:04:16.206673 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name:
  1974. 2021-09-14 09:04:16.206673 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan
  1975. 2021-09-14 09:04:16.206673 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  1976. 2021-09-14 09:04:16.206673 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 00393357118905
  1977. 2021-09-14 09:04:16.206673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '00393357118905' limit 1
  1978. 2021-09-14 09:04:16.206673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '00393357118905' AND status=0 limit 1
  1979. 2021-09-14 09:04:16.206673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '92.249.69.77' limit 1
  1980. 2021-09-14 09:04:16.206673 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  1981. 2021-09-14 09:04:16.206673 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 390399745536 / 390399745536
  1982. 2021-09-14 09:04:16.206673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="00393357118905" LIMIT 1
  1983. 2021-09-14 09:04:16.206673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="00393357118905"  AND domains.domain="136.243.196.198" limit 1
  1984. 2021-09-14 09:04:16.206673 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  1985. 2021-09-14 09:04:16.206673 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 619312506378]
  1986. 2021-09-14 09:04:16.206673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "619312506378" OR number = "619312506378" AND deleted = 0 limit 1
  1987. 2021-09-14 09:04:16.206673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^00393357118905.*' OR blocked_patterns = '^0039335711890.*' OR blocked_patterns = '^003933571189.*' OR blocked_patterns = '^00393357118.*' OR blocked_patterns = '^0039335711.*' OR blocked_patterns = '^003933571.*' OR blocked_patterns = '^00393357.*' OR blocked_patterns = '^0039335.*' OR blocked_patterns = '^003933.*' OR blocked_patterns = '^00393.*' OR blocked_patterns = '^0039.*' OR blocked_patterns = '^003.*' OR blocked_patterns = '^00.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 1039 limit 1
  1988. 2021-09-14 09:04:16.206673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="00393357118905" AND A.accountid = '1039' limit 1
  1989. 2021-09-14 09:04:16.206673 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 00393357118905
  1990. 2021-09-14 09:04:16.206673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="00393357118905" LIMIT 1
  1991. 2021-09-14 09:04:16.206673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="00393357118905"  AND domains.domain="136.243.196.198" limit 1
  1992. 2021-09-14 09:04:16.206673 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : outbound
  1993. 2021-09-14 09:04:16.206673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="00393357118905" AND (accountid = 0 OR status = 1) LIMIT 1
  1994. 2021-09-14 09:04:16.206673 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 3
  1995. 2021-09-14 09:04:16.206673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 3 AND status=0 limit 1
  1996. 2021-09-14 09:04:16.206673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*".....00393357118905
  1997. 2021-09-14 09:04:16.206673 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 00393357118905
  1998. 2021-09-14 09:04:16.206673 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 393357118905
  1999. 2021-09-14 09:04:16.206673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*".....393357118905
  2000. 2021-09-14 09:04:16.206673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^393357118905.*' OR patterns = '^39335711890.*' OR patterns = '^3933571189.*' OR patterns = '^393357118.*' OR patterns = '^39335711.*' OR patterns = '^3933571.*' OR patterns = '^393357.*' OR patterns = '^39335.*' OR patterns = '^3933.*' OR patterns = '^393.*' OR patterns = '^39.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 1039 ORDER BY LENGTH(PKGPTR.patterns) DESC
  2001. 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '393357118905' OR number = '39335711890' OR number = '3933571189' OR number = '393357118' OR number = '39335711' OR number = '3933571' OR number = '393357' OR number = '39335' OR number = '3933' OR number = '393' OR number = '39' OR number = '3' OR number ='--') OR (number = '393357118905*' OR number = '39335711890*' OR number = '3933571189*' OR number = '393357118*' OR number = '39335711*' OR number = '3933571*' OR number = '393357*' OR number = '39335*' OR number = '3933*' OR number = '393*' OR number = '39*' OR number = '3*' OR number ='--') OR (number = '390399745536' OR number = '39039974553' OR number = '3903997455' OR number = '390399745' OR number = '39039974' OR number = '3903997' OR number = '390399' OR number = '39039' OR number = '3903' OR number = '390' OR number = '39' OR number = '3' OR number ='--') OR (number = '390399745536*' OR number = '39039974553*' OR number = '3903997455*' OR number = '390399745*' OR number = '39039974*' OR number = '3903997*' OR number = '390399*' OR number = '39039*' OR number = '3903*' OR number = '390*' OR number = '39*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  2002. 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  2003. 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '393357118905' OR routing_prefix = '39335711890' OR routing_prefix = '3933571189' OR routing_prefix = '393357118' OR routing_prefix = '39335711' OR routing_prefix = '3933571' OR routing_prefix = '393357' OR routing_prefix = '39335' OR routing_prefix = '3933' OR routing_prefix = '393' OR routing_prefix = '39' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  2004. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  2005. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 1039
  2006. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 619312506378
  2007. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 3173.67686
  2008. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  2009. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 49
  2010. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  2011. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  2012. 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0
  2013. 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound
  2014. 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0
  2015. 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^393357118905.*' OR pattern = '^39335711890.*' OR pattern = '^3933571189.*' OR pattern = '^393357118.*' OR pattern = '^39335711.*' OR pattern = '^3933571.*' OR pattern = '^393357.*' OR pattern = '^39335.*' OR pattern = '^3933.*' OR pattern = '^393.*' OR pattern = '^39.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 49 OR accountid=1039)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
  2016. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: outbound
  2017. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  2018. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1140861
  2019. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  2020. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  2021. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.33792
  2022. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : ItalyTim Mobile
  2023. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0
  2024. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 1039
  2025. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0
  2026. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type:
  2027. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  2028. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your3173.67686 balance Accountid 1039 !!!
  2029. 2021-09-14 09:04:16.226667 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 180 mins!
  2030. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
  2031. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 1140861
  2032. 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id  :0
  2033. 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=49 ORDER by id asc
  2034. 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^393357118905.*' OR pattern = '^39335711890.*' OR pattern = '^3933571189.*' OR pattern = '^393357118.*' OR pattern = '^39335711.*' OR pattern = '^3933571.*' OR pattern = '^393357.*' OR pattern = '^39335.*' OR pattern = '^3933.*' OR pattern = '^393.*' OR pattern = '^39.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (51,53,55) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
  2035. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  2036. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1916641
  2037. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^39335.*
  2038. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : ItalyTim Mobile
  2039. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  2040. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  2041. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^39335.*
  2042. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0
  2043. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0
  2044. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 53
  2045. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : tata3
  2046. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  2047. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway :
  2048. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 587
  2049. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  2050. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : Low_Tata_38986_110821
  2051. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  2052. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  2053. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 2096391
  2054. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^39335.*
  2055. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : ITALY - MOBILE TIM
  2056. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  2057. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  2058. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^39335.*
  2059. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0
  2060. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0
  2061. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 55
  2062. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : Telia_GW
  2063. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  2064. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway :
  2065. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 1017
  2066. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  2067. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : High_Telia_110821
  2068. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  2069. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  2070. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1744105
  2071. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^39335.*
  2072. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : ItalyTim Mobile
  2073. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  2074. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  2075. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^39335.*
  2076. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0
  2077. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0
  2078. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 51
  2079. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : tata3
  2080. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  2081. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway :
  2082. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 587
  2083. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  2084. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : high_tata_37113_110821
  2085. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  2086. 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 1039 AND status=0 LIMIT 1
  2087. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
  2088. 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : outbound
  2089. 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0
  2090. 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 587) AND status=0 limit 1
  2091. 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....393357118905
  2092. 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0
  2093. 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 1017) AND status=0 limit 1
  2094. 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....393357118905
  2095. 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0
  2096. 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 587) AND status=0 limit 1
  2097. 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....393357118905
  2098. 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
  2099. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2100. <document type="freeswitch/xml">
  2101. <section name="dialplan" description="ASTPP Dialplan">
  2102. <context name="default">
  2103. <extension name="393357118905">
  2104. <condition field="destination_number" expression="00393357118905">
  2105. <action application="set" data="effective_destination_number=393357118905"/>
  2106. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  2107. <action application="set" data="bridge_pre_execute_bleg_data=+10800 normal_clearing"/>
  2108. <action application="set" data="callstart=2021-09-14 13:04:16"/>
  2109. <action application="set" data="hangup_after_bridge=true"/>
  2110. <action application="set" data="continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602"/>
  2111. <action application="set" data="account_id=1039"/>
  2112. <action application="set" data="parent_id=0"/>
  2113. <action application="set" data="entity_id=0"/>
  2114. <action application="set" data="call_processed=internal"/>
  2115. <action application="set" data="call_direction=outbound"/>
  2116. <action application="set" data="accountname=default"/>
  2117. <action application="set" data="filename1=astpp.pbx.lua"/>
  2118. <action application="set" data="origination_rates=ID:1140861|CODE:^39335.*|DESTINATION:ItalyTim Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.33792|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039"/>
  2119. <action application="set" data="original_caller_id_name=390399745536"/>
  2120. <action application="set" data="original_caller_id_number=390399745536"/>
  2121.  
  2122. <action application="export" data="is_recording=1"/>
  2123. <action application="export" data="media_bug_answer_req=true"/>
  2124. <action application="export" data="RECORD_STEREO=true"/>
  2125. <action application="export" data="record_sample_rate=8000"/>
  2126. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  2127. <action application="set" data="effective_caller_id_name=390399745536"/>
  2128. <action application="set" data="effective_caller_id_number=390399745536"/>
  2129. <action application="set" data="calltype=STANDARD"/>
  2130. <action application="set" data="termination_rates=ID:1916641|CODE:^39335.*|DESTINATION:ItalyTim Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.08000|INC:1|INITIALBLOCK:1|TRUNK:53|PROVIDER:587"/>
  2131. <action application="set" data="trunk_id=53"/>
  2132. <action application="set" data="provider_id=587"/>
  2133. <action application="set" data="rate_flag=0"/>
  2134. <action application="set" data="force_trunk_flag=1140861"/>
  2135. <action application="export" data="presence_data=trunk_id=53"/>
  2136. <action application="set" data="intcall=0"/>
  2137. <action application="export" data="presence_data=x|||Enerxus(619312506378)|||^39335.* // ItalyTim Mobile // 0.33792 // trunk_id=0|||Low_Tata_38986_110821 // ^39335.* // ItalyTim Mobile // 0.08000 // trunk_id=53|||STD|||92.249.69.77"/>
  2138. <action application="bridge" data="[leg_timeout=0]sofia/gateway/tata3/393357118905;fs_path=sip:136.243.196.198:5060"/>
  2139. <action application="set" data="effective_caller_id_name=390399745536"/>
  2140. <action application="set" data="effective_caller_id_number=390399745536"/>
  2141. <action application="set" data="calltype=STANDARD"/>
  2142. <action application="set" data="termination_rates=ID:2096391|CODE:^39335.*|DESTINATION:ITALY - MOBILE TIM|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20410|INC:1|INITIALBLOCK:1|TRUNK:55|PROVIDER:1017"/>
  2143. <action application="set" data="trunk_id=55"/>
  2144. <action application="set" data="provider_id=1017"/>
  2145. <action application="set" data="rate_flag=0"/>
  2146. <action application="set" data="force_trunk_flag=1140861"/>
  2147. <action application="export" data="presence_data=trunk_id=55"/>
  2148. <action application="set" data="intcall=0"/>
  2149. <action application="export" data="presence_data=x|||Enerxus(619312506378)|||^39335.* // ItalyTim Mobile // 0.33792 // trunk_id=0|||High_Telia_110821 // ^39335.* // ITALY - MOBILE TIM // 0.20410 // trunk_id=55|||STD|||92.249.69.77"/>
  2150. <action application="bridge" data="[leg_timeout=0]sofia/gateway/Telia_GW/393357118905;fs_path=sip:136.243.196.198:5060"/>
  2151. <action application="set" data="effective_caller_id_name=390399745536"/>
  2152. <action application="set" data="effective_caller_id_number=390399745536"/>
  2153. <action application="set" data="calltype=STANDARD"/>
  2154. <action application="set" data="termination_rates=ID:1744105|CODE:^39335.*|DESTINATION:ItalyTim Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.21120|INC:1|INITIALBLOCK:1|TRUNK:51|PROVIDER:587"/>
  2155. <action application="set" data="trunk_id=51"/>
  2156. <action application="set" data="provider_id=587"/>
  2157. <action application="set" data="rate_flag=0"/>
  2158. <action application="set" data="force_trunk_flag=1140861"/>
  2159. <action application="export" data="presence_data=trunk_id=51"/>
  2160. <action application="set" data="intcall=0"/>
  2161. <action application="export" data="presence_data=x|||Enerxus(619312506378)|||^39335.* // ItalyTim Mobile // 0.33792 // trunk_id=0|||high_tata_37113_110821 // ^39335.* // ItalyTim Mobile // 0.21120 // trunk_id=51|||STD|||92.249.69.77"/>
  2162. <action application="bridge" data="[leg_timeout=0]sofia/gateway/tata3/393357118905;fs_path=sip:136.243.196.198:5060"/>
  2163. </condition>
  2164. </extension>
  2165. </context>
  2166. </section>
  2167. </document>
  2168. 2021-09-14 09:04:16.226667 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released.
  2169. Dialplan: sofia/default/390399745536@92.249.69.77 parsing [default->393357118905] continue=false
  2170. Dialplan: sofia/default/390399745536@92.249.69.77 Regex (PASS) [393357118905] destination_number(00393357118905) =~ /00393357118905/ break=on-false
  2171. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(effective_destination_number=393357118905)
  2172. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  2173. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  2174. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(callstart=2021-09-14 13:04:16)
  2175. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(hangup_after_bridge=true)
  2176. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  2177. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(account_id=1039)
  2178. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(parent_id=0)
  2179. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(entity_id=0)
  2180. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(call_processed=internal)
  2181. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(call_direction=outbound)
  2182. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(accountname=default)
  2183. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(filename1=astpp.pbx.lua)
  2184. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(origination_rates=ID:1140861|CODE:^39335.*|DESTINATION:ItalyTim Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.33792|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039)
  2185. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(original_caller_id_name=390399745536)
  2186. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(original_caller_id_number=390399745536)
  2187. Dialplan: sofia/default/390399745536@92.249.69.77 Action export(is_recording=1)
  2188. Dialplan: sofia/default/390399745536@92.249.69.77 Action export(media_bug_answer_req=true)
  2189. Dialplan: sofia/default/390399745536@92.249.69.77 Action export(RECORD_STEREO=true)
  2190. Dialplan: sofia/default/390399745536@92.249.69.77 Action export(record_sample_rate=8000)
  2191. Dialplan: sofia/default/390399745536@92.249.69.77 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  2192. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(effective_caller_id_name=390399745536)
  2193. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(effective_caller_id_number=390399745536)
  2194. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(calltype=STANDARD)
  2195. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(termination_rates=ID:1916641|CODE:^39335.*|DESTINATION:ItalyTim Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.08000|INC:1|INITIALBLOCK:1|TRUNK:53|PROVIDER:587)
  2196. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(trunk_id=53)
  2197. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(provider_id=587)
  2198. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(rate_flag=0)
  2199. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(force_trunk_flag=1140861)
  2200. Dialplan: sofia/default/390399745536@92.249.69.77 Action export(presence_data=trunk_id=53)
  2201. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(intcall=0)
  2202. Dialplan: sofia/default/390399745536@92.249.69.77 Action export(presence_data=x|||Enerxus(619312506378)|||^39335.* // ItalyTim Mobile // 0.33792 // trunk_id=0|||Low_Tata_38986_110821 // ^39335.* // ItalyTim Mobile // 0.08000 // trunk_id=53|||STD|||92.249.69.77)
  2203. Dialplan: sofia/default/390399745536@92.249.69.77 Action bridge([leg_timeout=0]sofia/gateway/tata3/393357118905;fs_path=sip:136.243.196.198:5060)
  2204. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(effective_caller_id_name=390399745536)
  2205. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(effective_caller_id_number=390399745536)
  2206. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(calltype=STANDARD)
  2207. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(termination_rates=ID:2096391|CODE:^39335.*|DESTINATION:ITALY - MOBILE TIM|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20410|INC:1|INITIALBLOCK:1|TRUNK:55|PROVIDER:1017)
  2208. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(trunk_id=55)
  2209. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(provider_id=1017)
  2210. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(rate_flag=0)
  2211. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(force_trunk_flag=1140861)
  2212. Dialplan: sofia/default/390399745536@92.249.69.77 Action export(presence_data=trunk_id=55)
  2213. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(intcall=0)
  2214. Dialplan: sofia/default/390399745536@92.249.69.77 Action export(presence_data=x|||Enerxus(619312506378)|||^39335.* // ItalyTim Mobile // 0.33792 // trunk_id=0|||High_Telia_110821 // ^39335.* // ITALY - MOBILE TIM // 0.20410 // trunk_id=55|||STD|||92.249.69.77)
  2215. Dialplan: sofia/default/390399745536@92.249.69.77 Action bridge([leg_timeout=0]sofia/gateway/Telia_GW/393357118905;fs_path=sip:136.243.196.198:5060)
  2216. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(effective_caller_id_name=390399745536)
  2217. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(effective_caller_id_number=390399745536)
  2218. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(calltype=STANDARD)
  2219. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(termination_rates=ID:1744105|CODE:^39335.*|DESTINATION:ItalyTim Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.21120|INC:1|INITIALBLOCK:1|TRUNK:51|PROVIDER:587)
  2220. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(trunk_id=51)
  2221. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(provider_id=587)
  2222. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(rate_flag=0)
  2223. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(force_trunk_flag=1140861)
  2224. Dialplan: sofia/default/390399745536@92.249.69.77 Action export(presence_data=trunk_id=51)
  2225. Dialplan: sofia/default/390399745536@92.249.69.77 Action set(intcall=0)
  2226. Dialplan: sofia/default/390399745536@92.249.69.77 Action export(presence_data=x|||Enerxus(619312506378)|||^39335.* // ItalyTim Mobile // 0.33792 // trunk_id=0|||high_tata_37113_110821 // ^39335.* // ItalyTim Mobile // 0.21120 // trunk_id=51|||STD|||92.249.69.77)
  2227. Dialplan: sofia/default/390399745536@92.249.69.77 Action bridge([leg_timeout=0]sofia/gateway/tata3/393357118905;fs_path=sip:136.243.196.198:5060)
  2228. 2021-09-14 09:04:16.226667 [DEBUG] switch_core_state_machine.c:286 (sofia/default/390399745536@92.249.69.77) State Change CS_ROUTING -> CS_EXECUTE
  2229. 2021-09-14 09:04:16.226667 [DEBUG] switch_core_state_machine.c:643 (sofia/default/390399745536@92.249.69.77) State ROUTING going to sleep
  2230. 2021-09-14 09:04:16.226667 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399745536@92.249.69.77) Running State Change CS_EXECUTE (Cur 7 Tot 248012)
  2231. 2021-09-14 09:04:16.226667 [DEBUG] switch_core_state_machine.c:650 (sofia/default/390399745536@92.249.69.77) State EXECUTE
  2232. 2021-09-14 09:04:16.226667 [DEBUG] mod_sofia.c:198 sofia/default/390399745536@92.249.69.77 SOFIA EXECUTE
  2233. 2021-09-14 09:04:16.226667 [DEBUG] switch_core_state_machine.c:328 sofia/default/390399745536@92.249.69.77 Standard EXECUTE
  2234. EXECUTE sofia/default/390399745536@92.249.69.77 set(effective_destination_number=393357118905)
  2235. 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [effective_destination_number]=[393357118905]
  2236. EXECUTE sofia/default/390399745536@92.249.69.77 set(bridge_pre_execute_bleg_app=sched_hangup)
  2237. 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [bridge_pre_execute_bleg_app]=[sched_hangup]
  2238. EXECUTE sofia/default/390399745536@92.249.69.77 set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  2239. 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing]
  2240. EXECUTE sofia/default/390399745536@92.249.69.77 set(callstart=2021-09-14 13:04:16)
  2241. 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [callstart]=[2021-09-14 13:04:16]
  2242. EXECUTE sofia/default/390399745536@92.249.69.77 set(hangup_after_bridge=true)
  2243. 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [hangup_after_bridge]=[true]
  2244. EXECUTE sofia/default/390399745536@92.249.69.77 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  2245. 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]
  2246. EXECUTE sofia/default/390399745536@92.249.69.77 set(account_id=1039)
  2247. 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [account_id]=[1039]
  2248. EXECUTE sofia/default/390399745536@92.249.69.77 set(parent_id=0)
  2249. 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [parent_id]=[0]
  2250. EXECUTE sofia/default/390399745536@92.249.69.77 set(entity_id=0)
  2251. 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [entity_id]=[0]
  2252. EXECUTE sofia/default/390399745536@92.249.69.77 set(call_processed=internal)
  2253. 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [call_processed]=[internal]
  2254. EXECUTE sofia/default/390399745536@92.249.69.77 set(call_direction=outbound)
  2255. 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [call_direction]=[outbound]
  2256. EXECUTE sofia/default/390399745536@92.249.69.77 set(accountname=default)
  2257. 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [accountname]=[default]
  2258. EXECUTE sofia/default/390399745536@92.249.69.77 set(filename1=astpp.pbx.lua)
  2259. 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [filename1]=[astpp.pbx.lua]
  2260. EXECUTE sofia/default/390399745536@92.249.69.77 set(origination_rates=ID:1140861|CODE:^39335.*|DESTINATION:ItalyTim Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.33792|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039)
  2261. 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [origination_rates]=[ID:1140861|CODE:^39335.*|DESTINATION:ItalyTim Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.33792|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039]
  2262. EXECUTE sofia/default/390399745536@92.249.69.77 set(original_caller_id_name=390399745536)
  2263. 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [original_caller_id_name]=[390399745536]
  2264. EXECUTE sofia/default/390399745536@92.249.69.77 set(original_caller_id_number=390399745536)
  2265. 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [original_caller_id_number]=[390399745536]
  2266. EXECUTE sofia/default/390399745536@92.249.69.77 export(is_recording=1)
  2267. 2021-09-14 09:04:16.226667 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [is_recording]=[1]
  2268. EXECUTE sofia/default/390399745536@92.249.69.77 export(media_bug_answer_req=true)
  2269. 2021-09-14 09:04:16.226667 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [media_bug_answer_req]=[true]
  2270. EXECUTE sofia/default/390399745536@92.249.69.77 export(RECORD_STEREO=true)
  2271. 2021-09-14 09:04:16.226667 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [RECORD_STEREO]=[true]
  2272. EXECUTE sofia/default/390399745536@92.249.69.77 export(record_sample_rate=8000)
  2273. 2021-09-14 09:04:16.226667 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [record_sample_rate]=[8000]
  2274. EXECUTE sofia/default/390399745536@92.249.69.77 export(execute_on_answer=record_session /var/lib/freeswitch/recordings/43e7aec6-155c-11ec-9dc5-7dfb9f6e00f0.wav)
  2275. 2021-09-14 09:04:16.226667 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/43e7aec6-155c-11ec-9dc5-7dfb9f6e00f0.wav]
  2276. EXECUTE sofia/default/390399745536@92.249.69.77 set(effective_caller_id_name=390399745536)
  2277. 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [effective_caller_id_name]=[390399745536]
  2278. EXECUTE sofia/default/390399745536@92.249.69.77 set(effective_caller_id_number=390399745536)
  2279. 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [effective_caller_id_number]=[390399745536]
  2280. EXECUTE sofia/default/390399745536@92.249.69.77 set(calltype=STANDARD)
  2281. 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [calltype]=[STANDARD]
  2282. EXECUTE sofia/default/390399745536@92.249.69.77 set(termination_rates=ID:1916641|CODE:^39335.*|DESTINATION:ItalyTim Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.08000|INC:1|INITIALBLOCK:1|TRUNK:53|PROVIDER:587)
  2283. 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [termination_rates]=[ID:1916641|CODE:^39335.*|DESTINATION:ItalyTim Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.08000|INC:1|INITIALBLOCK:1|TRUNK:53|PROVIDER:587]
  2284. EXECUTE sofia/default/390399745536@92.249.69.77 set(trunk_id=53)
  2285. 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [trunk_id]=[53]
  2286. EXECUTE sofia/default/390399745536@92.249.69.77 set(provider_id=587)
  2287. 2021-09-14 09:04:16.246659 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [provider_id]=[587]
  2288. EXECUTE sofia/default/390399745536@92.249.69.77 set(rate_flag=0)
  2289. 2021-09-14 09:04:16.246659 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [rate_flag]=[0]
  2290. EXECUTE sofia/default/390399745536@92.249.69.77 set(force_trunk_flag=1140861)
  2291. 2021-09-14 09:04:16.246659 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [force_trunk_flag]=[1140861]
  2292. EXECUTE sofia/default/390399745536@92.249.69.77 export(presence_data=trunk_id=53)
  2293. 2021-09-14 09:04:16.246659 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[trunk_id=53]
  2294. EXECUTE sofia/default/390399745536@92.249.69.77 set(intcall=0)
  2295. 2021-09-14 09:04:16.246659 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [intcall]=[0]
  2296. EXECUTE sofia/default/390399745536@92.249.69.77 export(presence_data=x|||Enerxus(619312506378)|||^39335.* // ItalyTim Mobile // 0.33792 // trunk_id=0|||Low_Tata_38986_110821 // ^39335.* // ItalyTim Mobile // 0.08000 // trunk_id=53|||STD|||92.249.69.77)
  2297. 2021-09-14 09:04:16.246659 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||Enerxus(619312506378)|||^39335.* // ItalyTim Mobile // 0.33792 // trunk_id=0|||Low_Tata_38986_110821 // ^39335.* // ItalyTim Mobile // 0.08000 // trunk_id=53|||STD|||92.249.69.77]
  2298. EXECUTE sofia/default/