From Sexy Echidna, 3 Years ago, written in FreeSWITCH.
- view diff
Embed
  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/390399745536@92.249.69.77 bridge([leg_timeout=0]sofia/gateway/tata3/393357118905;fs_path=sip:136.243.196.198:5060)
  2299. 2021-09-14 09:04:16.246659 [DEBUG] switch_channel.c:1250 sofia/default/390399745536@92.249.69.77 EXPORTING[export_vars] [is_recording]=[1] to event
  2300. 2021-09-14 09:04:16.246659 [DEBUG] switch_channel.c:1250 sofia/default/390399745536@92.249.69.77 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  2301. 2021-09-14 09:04:16.246659 [DEBUG] switch_channel.c:1250 sofia/default/390399745536@92.249.69.77 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  2302. 2021-09-14 09:04:16.246659 [DEBUG] switch_channel.c:1250 sofia/default/390399745536@92.249.69.77 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  2303. 2021-09-14 09:04:16.246659 [DEBUG] switch_channel.c:1250 sofia/default/390399745536@92.249.69.77 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/43e7aec6-155c-11ec-9dc5-7dfb9f6e00f0.wav] to event
  2304. 2021-09-14 09:04:16.246659 [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
  2305. 2021-09-14 09:04:16.246659 [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
  2306. 2021-09-14 09:04:16.246659 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  2307. 2021-09-14 09:04:16.246659 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  2308. 2021-09-14 09:04:16.246659 [NOTICE] switch_channel.c:1104 New Channel sofia/default/393357118905 [43ede8b8-155c-11ec-9deb-7dfb9f6e00f0]
  2309. 2021-09-14 09:04:16.246659 [DEBUG] mod_sofia.c:4819 (sofia/default/393357118905) State Change CS_NEW -> CS_INIT
  2310. 2021-09-14 09:04:16.246659 [DEBUG] switch_core_state_machine.c:584 (sofia/default/393357118905) Running State Change CS_INIT (Cur 8 Tot 248013)
  2311. 2021-09-14 09:04:16.246659 [DEBUG] switch_core_state_machine.c:627 (sofia/default/393357118905) State INIT
  2312. 2021-09-14 09:04:16.246659 [DEBUG] mod_sofia.c:90 sofia/default/393357118905 SOFIA INIT
  2313. 2021-09-14 09:04:16.246659 [DEBUG] sofia_glue.c:1264 sip:136.243.196.198:5060 Setting proxy route to sofia/default/393357118905
  2314. 2021-09-14 09:04:16.246659 [DEBUG] sofia_glue.c:1295 sofia/default/393357118905 sending invite version: 1.6.20  64bit
  2315. Local SDP:
  2316. v=0
  2317. o=FreeSWITCH 1631606950 1631606951 IN IP4 89.46.223.193
  2318. s=FreeSWITCH
  2319. c=IN IP4 89.46.223.193
  2320. t=0 0
  2321. m=audio 17706 RTP/AVP 8 101
  2322. a=rtpmap:8 PCMA/8000
  2323. a=rtpmap:101 telephone-event/8000
  2324. a=fmtp:101 0-16
  2325. a=ptime:20
  2326. a=sendrecv
  2327.  
  2328. 2021-09-14 09:04:16.246659 [DEBUG] switch_core_state_machine.c:40 sofia/default/393357118905 Standard INIT
  2329. 2021-09-14 09:04:16.246659 [DEBUG] switch_core_state_machine.c:48 (sofia/default/393357118905) State Change CS_INIT -> CS_ROUTING
  2330. 2021-09-14 09:04:16.246659 [DEBUG] switch_core_state_machine.c:627 (sofia/default/393357118905) State INIT going to sleep
  2331. 2021-09-14 09:04:16.246659 [DEBUG] switch_core_state_machine.c:584 (sofia/default/393357118905) Running State Change CS_ROUTING (Cur 8 Tot 248013)
  2332. 2021-09-14 09:04:16.246659 [DEBUG] sofia.c:7084 Channel sofia/default/393357118905 entering state [calling][0]
  2333. 2021-09-14 09:04:16.246659 [DEBUG] switch_core_state_machine.c:643 (sofia/default/393357118905) State ROUTING
  2334. 2021-09-14 09:04:16.246659 [DEBUG] mod_sofia.c:143 sofia/default/393357118905 SOFIA ROUTING
  2335. 2021-09-14 09:04:16.246659 [DEBUG] switch_ivr_originate.c:67 (sofia/default/393357118905) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  2336. 2021-09-14 09:04:16.246659 [DEBUG] switch_core_state_machine.c:643 (sofia/default/393357118905) State ROUTING going to sleep
  2337. 2021-09-14 09:04:16.246659 [DEBUG] switch_core_state_machine.c:584 (sofia/default/393357118905) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 248013)
  2338. 2021-09-14 09:04:16.246659 [DEBUG] switch_core_state_machine.c:662 (sofia/default/393357118905) State CONSUME_MEDIA
  2339. 2021-09-14 09:04:16.246659 [DEBUG] switch_core_state_machine.c:662 (sofia/default/393357118905) State CONSUME_MEDIA going to sleep
  2340. 2021-09-14 09:04:24.266670 [DEBUG] sofia.c:7084 Channel sofia/default/393357118905 entering state [terminated][486]
  2341. 2021-09-14 09:04:24.266670 [NOTICE] sofia.c:8273 Hangup sofia/default/393357118905 [CS_CONSUME_MEDIA] [USER_BUSY]
  2342. 2021-09-14 09:04:24.266670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/393357118905) Running State Change CS_HANGUP (Cur 8 Tot 248013)
  2343. 2021-09-14 09:04:24.266670 [DEBUG] switch_core_state_machine.c:850 (sofia/default/393357118905) Callstate Change DOWN -> HANGUP
  2344. 2021-09-14 09:04:24.266670 [DEBUG] switch_core_state_machine.c:852 (sofia/default/393357118905) State HANGUP
  2345. 2021-09-14 09:04:24.266670 [DEBUG] mod_sofia.c:438 Channel sofia/default/393357118905 hanging up, cause: USER_BUSY
  2346. 2021-09-14 09:04:24.266670 [DEBUG] switch_core_state_machine.c:60 sofia/default/393357118905 Standard HANGUP, cause: USER_BUSY
  2347. 2021-09-14 09:04:24.266670 [DEBUG] switch_core_state_machine.c:852 (sofia/default/393357118905) State HANGUP going to sleep
  2348. 2021-09-14 09:04:24.266670 [DEBUG] switch_core_state_machine.c:619 (sofia/default/393357118905) State Change CS_HANGUP -> CS_REPORTING
  2349. 2021-09-14 09:04:24.266670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/393357118905) Running State Change CS_REPORTING (Cur 8 Tot 248013)
  2350. 2021-09-14 09:04:24.266670 [DEBUG] switch_core_state_machine.c:938 (sofia/default/393357118905) State REPORTING
  2351. 2021-09-14 09:04:24.266670 [INFO] mod_json_cdr.c:271 Process [43ede8b8-155c-11ec-9deb-7dfb9f6e00f0.cdr.json]
  2352. 2021-09-14 09:04:24.266670 [DEBUG] switch_core_state_machine.c:174 sofia/default/393357118905 Standard REPORTING, cause: USER_BUSY
  2353. 2021-09-14 09:04:24.266670 [DEBUG] switch_core_state_machine.c:938 (sofia/default/393357118905) State REPORTING going to sleep
  2354. 2021-09-14 09:04:24.266670 [DEBUG] switch_core_state_machine.c:610 (sofia/default/393357118905) State Change CS_REPORTING -> CS_DESTROY
  2355. 2021-09-14 09:04:24.266670 [DEBUG] switch_core_session.c:1665 Session 248013 (sofia/default/393357118905) Locked, Waiting on external entities
  2356. 2021-09-14 09:04:24.286688 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 17 [USER_BUSY]
  2357. 2021-09-14 09:04:24.286688 [NOTICE] switch_core_session.c:1683 Session 248013 (sofia/default/393357118905) Ended
  2358. 2021-09-14 09:04:24.286688 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/393357118905 [CS_DESTROY]
  2359. 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:741 (sofia/default/393357118905) Running State Change CS_DESTROY (Cur 7 Tot 248013)
  2360. 2021-09-14 09:04:24.286688 [INFO] mod_dptools.c:3436 Originate Failed.  Cause: USER_BUSY
  2361. 2021-09-14 09:04:24.286688 [NOTICE] switch_channel.c:4844 Hangup sofia/default/390399745536@92.249.69.77 [CS_EXECUTE] [USER_BUSY]
  2362. 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:751 (sofia/default/393357118905) State DESTROY
  2363. 2021-09-14 09:04:24.286688 [DEBUG] mod_sofia.c:343 sofia/default/393357118905 SOFIA DESTROY
  2364. 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:181 sofia/default/393357118905 Standard DESTROY
  2365. 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:751 (sofia/default/393357118905) State DESTROY going to sleep
  2366. 2021-09-14 09:04:24.286688 [DEBUG] switch_core_session.c:2815 sofia/default/390399745536@92.249.69.77 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  2367. 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:650 (sofia/default/390399745536@92.249.69.77) State EXECUTE going to sleep
  2368. 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399745536@92.249.69.77) Running State Change CS_HANGUP (Cur 7 Tot 248013)
  2369. 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:850 (sofia/default/390399745536@92.249.69.77) Callstate Change RINGING -> HANGUP
  2370. 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:852 (sofia/default/390399745536@92.249.69.77) State HANGUP
  2371. 2021-09-14 09:04:24.286688 [DEBUG] mod_sofia.c:432 sofia/default/390399745536@92.249.69.77 Overriding SIP cause 486 with 486 from the other leg
  2372. 2021-09-14 09:04:24.286688 [DEBUG] mod_sofia.c:438 Channel sofia/default/390399745536@92.249.69.77 hanging up, cause: USER_BUSY
  2373. 2021-09-14 09:04:24.286688 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 486
  2374. 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:60 sofia/default/390399745536@92.249.69.77 Standard HANGUP, cause: USER_BUSY
  2375. 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:852 (sofia/default/390399745536@92.249.69.77) State HANGUP going to sleep
  2376. 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:619 (sofia/default/390399745536@92.249.69.77) State Change CS_HANGUP -> CS_REPORTING
  2377. 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399745536@92.249.69.77) Running State Change CS_REPORTING (Cur 7 Tot 248013)
  2378. 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:938 (sofia/default/390399745536@92.249.69.77) State REPORTING
  2379. 2021-09-14 09:04:24.286688 [INFO] mod_json_cdr.c:271 Process [43e7aec6-155c-11ec-9dc5-7dfb9f6e00f0.cdr.json]
  2380. 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:174 sofia/default/390399745536@92.249.69.77 Standard REPORTING, cause: USER_BUSY
  2381. 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:938 (sofia/default/390399745536@92.249.69.77) State REPORTING going to sleep
  2382. 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:610 (sofia/default/390399745536@92.249.69.77) State Change CS_REPORTING -> CS_DESTROY
  2383. 2021-09-14 09:04:24.286688 [DEBUG] switch_core_session.c:1665 Session 248012 (sofia/default/390399745536@92.249.69.77) Locked, Waiting on external entities
  2384. 2021-09-14 09:04:24.286688 [NOTICE] switch_core_session.c:1683 Session 248012 (sofia/default/390399745536@92.249.69.77) Ended
  2385. 2021-09-14 09:04:24.286688 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/390399745536@92.249.69.77 [CS_DESTROY]
  2386. 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:741 (sofia/default/390399745536@92.249.69.77) Running State Change CS_DESTROY (Cur 6 Tot 248013)
  2387. 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:751 (sofia/default/390399745536@92.249.69.77) State DESTROY
  2388. 2021-09-14 09:04:24.286688 [DEBUG] mod_sofia.c:343 sofia/default/390399745536@92.249.69.77 SOFIA DESTROY
  2389. 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:181 sofia/default/390399745536@92.249.69.77 Standard DESTROY
  2390. 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:751 (sofia/default/390399745536@92.249.69.77) State DESTROY going to sleep
  2391. 2021-09-14 09:04:32.606671 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48502760875@46.19.210.14 [4dafbc6e-155c-11ec-9def-7dfb9f6e00f0]
  2392. 2021-09-14 09:04:32.606671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48502760875@46.19.210.14) Running State Change CS_NEW (Cur 7 Tot 248014)
  2393. 2021-09-14 09:04:32.606671 [DEBUG] sofia.c:9873 sofia/default/48502760875@46.19.210.14 receiving invite from 136.243.196.198:5060 version: 1.6.20  64bit
  2394. 2021-09-14 09:04:32.606671 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
  2395. 2021-09-14 09:04:32.606671 [DEBUG] sofia.c:7084 Channel sofia/default/48502760875@46.19.210.14 entering state [received][100]
  2396. 2021-09-14 09:04:32.606671 [DEBUG] sofia.c:7094 Remote SDP:
  2397. v=0
  2398. o=didww-sbc 0 1 IN IP4 46.19.210.23
  2399. s=didww-sbc
  2400. t=0 0
  2401. m=audio 54016 RTP/AVP 0 8 18 4 101
  2402. c=IN IP4 46.19.210.23
  2403. a=rtpmap:0 PCMU/8000
  2404. a=rtpmap:8 PCMA/8000
  2405. a=rtpmap:18 G729/8000
  2406. a=fmtp:18 annexb=no
  2407. a=rtpmap:4 G723/8000
  2408. a=rtpmap:101 telephone-event/8000
  2409. a=ptime:20
  2410.  
  2411. 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  2412. 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  2413. 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  2414. 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  2415. 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  2416. 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  2417. 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  2418. 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  2419. 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  2420. 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  2421. 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  2422. 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  2423. 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1]
  2424. 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1]
  2425. 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:20:8000:1]
  2426. 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  2427. 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/48502760875@46.19.210.14 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  2428. 2021-09-14 09:04:32.606671 [DEBUG] switch_core_codec.c:111 sofia/default/48502760875@46.19.210.14 Original read codec set to PCMU:0
  2429. 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  2430. 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:4767 sofia/default/48502760875@46.19.210.14 Set 2833 dtmf send payload to 101 recv payload to 101
  2431. 2021-09-14 09:04:32.606671 [DEBUG] sofia.c:7507 (sofia/default/48502760875@46.19.210.14) State Change CS_NEW -> CS_INIT
  2432. 2021-09-14 09:04:32.606671 [DEBUG] switch_core_state_machine.c:603 (sofia/default/48502760875@46.19.210.14) State NEW
  2433. 2021-09-14 09:04:32.606671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48502760875@46.19.210.14) Running State Change CS_INIT (Cur 7 Tot 248014)
  2434. 2021-09-14 09:04:32.606671 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48502760875@46.19.210.14) State INIT
  2435. 2021-09-14 09:04:32.606671 [DEBUG] mod_sofia.c:90 sofia/default/48502760875@46.19.210.14 SOFIA INIT
  2436. 2021-09-14 09:04:32.606671 [DEBUG] switch_core_state_machine.c:40 sofia/default/48502760875@46.19.210.14 Standard INIT
  2437. 2021-09-14 09:04:32.606671 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48502760875@46.19.210.14) State Change CS_INIT -> CS_ROUTING
  2438. 2021-09-14 09:04:32.606671 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48502760875@46.19.210.14) State INIT going to sleep
  2439. 2021-09-14 09:04:32.606671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48502760875@46.19.210.14) Running State Change CS_ROUTING (Cur 7 Tot 248014)
  2440. 2021-09-14 09:04:32.606671 [DEBUG] switch_channel.c:2249 (sofia/default/48502760875@46.19.210.14) Callstate Change DOWN -> RINGING
  2441. 2021-09-14 09:04:32.606671 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48502760875@46.19.210.14) State ROUTING
  2442. 2021-09-14 09:04:32.606671 [DEBUG] mod_sofia.c:143 sofia/default/48502760875@46.19.210.14 SOFIA ROUTING
  2443. 2021-09-14 09:04:32.606671 [DEBUG] switch_core_state_machine.c:236 sofia/default/48502760875@46.19.210.14 Standard ROUTING
  2444. 2021-09-14 09:04:32.606671 [INFO] mod_dialplan_xml.c:637 Processing 48502760875 <48502760875>->48221531871 in context default
  2445. 2021-09-14 09:04:32.606671 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected.
  2446. 2021-09-14 09:04:32.606671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  2447. 2021-09-14 09:04:32.606671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2448. 2021-09-14 09:04:32.606671 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params:
  2449. 'Event-Name: REQUEST_PARAMS
  2450. Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0
  2451. FreeSWITCH-Hostname: astpp1.local
  2452. FreeSWITCH-Switchname: astpp1.local
  2453. FreeSWITCH-IPv4: 89.46.223.193
  2454. FreeSWITCH-IPv6: %3A%3A1
  2455. Event-Date-Local: 2021-09-14%2009%3A04%3A32
  2456. Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A04%3A32%20GMT
  2457. Event-Date-Timestamp: 1631624672606671
  2458. Event-Calling-File: mod_dialplan_xml.c
  2459. Event-Calling-Function: dialplan_xml_locate
  2460. Event-Calling-Line-Number: 608
  2461. Event-Sequence: 7527738
  2462. Channel-State: CS_ROUTING
  2463. Channel-Call-State: RINGING
  2464. Channel-State-Number: 2
  2465. Channel-Name: sofia/default/48502760875%4046.19.210.14
  2466. Unique-ID: 4dafbc6e-155c-11ec-9def-7dfb9f6e00f0
  2467. Call-Direction: inbound
  2468. Presence-Call-Direction: inbound
  2469. Channel-HIT-Dialplan: true
  2470. Channel-Presence-ID: 48502760875%4046.19.210.14
  2471. Channel-Call-UUID: 4dafbc6e-155c-11ec-9def-7dfb9f6e00f0
  2472. Answer-State: ringing
  2473. Channel-Read-Codec-Name: PCMU
  2474. Channel-Read-Codec-Rate: 8000
  2475. Channel-Read-Codec-Bit-Rate: 64000
  2476. Channel-Write-Codec-Name: PCMU
  2477. Channel-Write-Codec-Rate: 8000
  2478. Channel-Write-Codec-Bit-Rate: 64000
  2479. Caller-Direction: inbound
  2480. Caller-Logical-Direction: inbound
  2481. Caller-Username: 48502760875
  2482. Caller-Dialplan: XML
  2483. Caller-Caller-ID-Name: 48502760875
  2484. Caller-Caller-ID-Number: 48502760875
  2485. Caller-Orig-Caller-ID-Name: 48502760875
  2486. Caller-Orig-Caller-ID-Number: 48502760875
  2487. Caller-Network-Addr: 136.243.196.198
  2488. Caller-ANI: 48502760875
  2489. Caller-Destination-Number: 48221531871
  2490. Caller-Unique-ID: 4dafbc6e-155c-11ec-9def-7dfb9f6e00f0
  2491. Caller-Source: mod_sofia
  2492. Caller-Context: default
  2493. Caller-Channel-Name: sofia/default/48502760875%4046.19.210.14
  2494. Caller-Profile-Index: 1
  2495. Caller-Profile-Created-Time: 1631624672606671
  2496. Caller-Channel-Created-Time: 1631624672606671
  2497. Caller-Channel-Answered-Time: 0
  2498. Caller-Channel-Progress-Time: 0
  2499. Caller-Channel-Progress-Media-Time: 0
  2500. Caller-Channel-Hangup-Time: 0
  2501. Caller-Channel-Transfer-Time: 0
  2502. Caller-Channel-Resurrect-Time: 0
  2503. Caller-Channel-Bridged-Time: 0
  2504. Caller-Channel-Last-Hold: 0
  2505. Caller-Channel-Hold-Accum: 0
  2506. Caller-Screen-Bit: true
  2507. Caller-Privacy-Hide-Name: false
  2508. Caller-Privacy-Hide-Number: false
  2509. variable_direction: inbound
  2510. variable_uuid: 4dafbc6e-155c-11ec-9def-7dfb9f6e00f0
  2511. variable_session_id: 248014
  2512. variable_sip_from_user: 48502760875
  2513. variable_sip_from_uri: 48502760875%4046.19.210.14
  2514. variable_sip_from_host: 46.19.210.14
  2515. variable_video_media_flow: sendrecv
  2516. variable_channel_name: sofia/default/48502760875%4046.19.210.14
  2517. variable_sip_call_id: 14-14-7641671A-61409DE00008DD9D-71723700
  2518. variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b
  2519. variable_sip_local_network_addr: 89.46.223.193
  2520. variable_sip_network_ip: 136.243.196.198
  2521. variable_sip_network_port: 5060
  2522. variable_sip_invite_stamp: 1631624672606671
  2523. variable_sip_received_ip: 136.243.196.198
  2524. variable_sip_received_port: 5060
  2525. variable_sip_via_protocol: udp
  2526. variable_sip_authorized: true
  2527. variable_sip_acl_authed_by: default
  2528. variable_sip_from_user_stripped: 48502760875
  2529. variable_sip_from_tag: 14-6AD50234-61409DE00008DCA1-71723700
  2530. variable_sofia_profile_name: default
  2531. variable_recovery_profile_name: default
  2532. variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3Dcce.7abd5167%3E
  2533. variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3Dcce.7abd5167%3E
  2534. variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bKbe5b.7e2fe421.0,SIP/2.0/UDP%2046.19.210.14%3Breceived%3D46.19.210.14%3Bbranch%3Dz9hG4bKwIQqjae.%3Brport%3D5060
  2535. variable_sip_from_display: 48502760875
  2536. variable_sip_full_from: %2248502760875%22%20%3Csip%3A48502760875%4046.19.210.14%3E%3Btag%3D14-6AD50234-61409DE00008DCA1-71723700
  2537. variable_sip_full_to: %3Csip%3A48221531871%40newsip.israelnumber.com%3A5060%3E
  2538. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20UPDATE
  2539. variable_sip_req_user: 48221531871
  2540. variable_sip_req_port: 5060
  2541. variable_sip_req_uri: 48221531871%40newsip.israelnumber.com%3A5060
  2542. variable_sip_req_host: newsip.israelnumber.com
  2543. variable_sip_to_user: 48221531871
  2544. variable_sip_to_port: 5060
  2545. variable_sip_to_uri: 48221531871%40newsip.israelnumber.com%3A5060
  2546. variable_sip_to_host: newsip.israelnumber.com
  2547. variable_sip_contact_params: transport%3Dudp
  2548. variable_sip_contact_user: nobody
  2549. variable_sip_contact_port: 5060
  2550. variable_sip_contact_uri: nobody%4046.19.210.14%3A5060
  2551. variable_sip_contact_host: 46.19.210.14
  2552. variable_sip_user_agent: DIDWW%20SBC%20node
  2553. variable_sip_via_host: 136.243.196.198
  2554. variable_sip_via_port: 5060
  2555. variable_max_forwards: 30
  2556. variable_presence_id: 48502760875%4046.19.210.14
  2557. variable_sip_h_X-AUTH-IP: 46.19.210.14
  2558. variable_sip_h_P-Accountcode: 714761424818
  2559. variable_sip_h_P-effective_caller_id_name: 48502760875
  2560. variable_sip_h_P-effective_caller_id_number: 48502760875
  2561. variable_switch_r_sdp: v%3D0%0D%0Ao%3Ddidww-sbc%200%201%20IN%20IP4%2046.19.210.23%0D%0As%3Ddidww-sbc%0D%0At%3D0%200%0D%0Am%3Daudio%2054016%20RTP/AVP%200%208%2018%204%20101%0D%0Ac%3DIN%20IP4%2046.19.210.23%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A4%20G723/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dptime%3A20%0D%0A
  2562. variable_rtp_use_codec_string: PCMA,PCMU,G729
  2563. variable_audio_media_flow: sendrecv
  2564. variable_remote_media_ip: 46.19.210.23
  2565. variable_remote_media_port: 54016
  2566. variable_rtp_audio_recv_pt: 0
  2567. variable_rtp_use_codec_name: PCMU
  2568. variable_rtp_use_codec_rate: 8000
  2569. variable_rtp_use_codec_ptime: 20
  2570. variable_rtp_use_codec_channels: 1
  2571. variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c
  2572. variable_read_codec: PCMU
  2573. variable_original_read_codec: PCMU
  2574. variable_read_rate: 8000
  2575. variable_original_read_rate: 8000
  2576. variable_write_codec: PCMU
  2577. variable_write_rate: 8000
  2578. variable_dtmf_type: rfc2833
  2579. variable_endpoint_disposition: RECEIVED
  2580. variable_call_uuid: 4dafbc6e-155c-11ec-9def-7dfb9f6e00f0
  2581. Hunt-Direction: inbound
  2582. Hunt-Logical-Direction: inbound
  2583. Hunt-Username: 48502760875
  2584. Hunt-Dialplan: XML
  2585. Hunt-Caller-ID-Name: 48502760875
  2586. Hunt-Caller-ID-Number: 48502760875
  2587. Hunt-Orig-Caller-ID-Name: 48502760875
  2588. Hunt-Orig-Caller-ID-Number: 48502760875
  2589. Hunt-Network-Addr: 136.243.196.198
  2590. Hunt-ANI: 48502760875
  2591. Hunt-Destination-Number: 48221531871
  2592. Hunt-Unique-ID: 4dafbc6e-155c-11ec-9def-7dfb9f6e00f0
  2593. Hunt-Source: mod_sofia
  2594. Hunt-Context: default
  2595. Hunt-Channel-Name: sofia/default/48502760875%4046.19.210.14
  2596. Hunt-Profile-Index: 1
  2597. Hunt-Profile-Created-Time: 1631624672606671
  2598. Hunt-Channel-Created-Time: 1631624672606671
  2599. Hunt-Channel-Answered-Time: 0
  2600. Hunt-Channel-Progress-Time: 0
  2601. Hunt-Channel-Progress-Media-Time: 0
  2602. Hunt-Channel-Hangup-Time: 0
  2603. Hunt-Channel-Transfer-Time: 0
  2604. Hunt-Channel-Resurrect-Time: 0
  2605. Hunt-Channel-Bridged-Time: 0
  2606. Hunt-Channel-Last-Hold: 0
  2607. Hunt-Channel-Hold-Accum: 0
  2608. Hunt-Screen-Bit: true
  2609. Hunt-Privacy-Hide-Name: false
  2610. Hunt-Privacy-Hide-Number: false
  2611.  
  2612. '
  2613. 2021-09-14 09:04:32.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name:
  2614. 2021-09-14 09:04:32.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value:
  2615. 2021-09-14 09:04:32.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name:
  2616. 2021-09-14 09:04:32.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan
  2617. 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  2618. 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 48221531871
  2619. 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '48221531871' limit 1
  2620. 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '48221531871' AND status=0 limit 1
  2621. 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '46.19.210.14' limit 1
  2622. 2021-09-14 09:04:32.626741 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  2623. 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 48502760875 / 48502760875
  2624. 2021-09-14 09:04:32.626741 [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 ="48221531871" LIMIT 1
  2625. 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
  2626. 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 714761424818]
  2627. 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "714761424818" OR number = "714761424818" AND deleted = 0 limit 1
  2628. 2021-09-14 09:04:32.626741 [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 ="48221531871" AND A.accountid = '863' limit 1
  2629. 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 48221531871
  2630. 2021-09-14 09:04:32.626741 [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 ="48221531871" LIMIT 1
  2631. 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound
  2632. 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="48221531871" AND (accountid = 0 OR status = 1) LIMIT 1
  2633. 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  2634. 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851
  2635. 2021-09-14 09:04:32.626741 [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 = '^48221531871.*' OR patterns = '^4822153187.*' OR patterns = '^482215318.*' OR patterns = '^48221531.*' OR patterns = '^4822153.*' OR patterns = '^482215.*' OR patterns = '^48221.*' OR patterns = '^4822.*' OR patterns = '^482.*' OR patterns = '^48.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC
  2636. 2021-09-14 09:04:32.626741 [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 = '48221531871' OR number = '4822153187' OR number = '482215318' OR number = '48221531' OR number = '4822153' OR number = '482215' OR number = '48221' OR number = '4822' OR number = '482' OR number = '48' OR number = '4' OR number ='--') OR (number = '48221531871*' OR number = '4822153187*' OR number = '482215318*' OR number = '48221531*' OR number = '4822153*' OR number = '482215*' OR number = '48221*' OR number = '4822*' OR number = '482*' OR number = '48*' OR number = '4*' OR number ='--') OR (number = '48502760875' OR number = '4850276087' OR number = '485027608' OR number = '48502760' OR number = '4850276' OR number = '485027' OR number = '48502' OR number = '4850' OR number = '485' OR number = '48' OR number = '4' OR number ='--') OR (number = '48502760875*' OR number = '4850276087*' OR number = '485027608*' OR number = '48502760*' OR number = '4850276*' OR number = '485027*' OR number = '48502*' OR number = '4850*' OR number = '485*' OR number = '48*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  2637. 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  2638. 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '48221531871' OR routing_prefix = '4822153187' OR routing_prefix = '482215318' OR routing_prefix = '48221531' OR routing_prefix = '4822153' OR routing_prefix = '482215' OR routing_prefix = '48221' OR routing_prefix = '4822' OR routing_prefix = '482' OR routing_prefix = '48' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  2639. 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  2640. 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 863
  2641. 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 714761424818
  2642. 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000
  2643. 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  2644. 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1
  2645. 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  2646. 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  2647. 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  2648. 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  2649. 2021-09-14 09:04:32.626741 [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 ="48221531871" LIMIT 1
  2650. 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound
  2651. 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  2652. 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 10545
  2653. 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  2654. 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  2655. 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  2656. 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Warsaw Landline
  2657. 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 153
  2658. 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 863
  2659. 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  2660. 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 863 !!!
  2661. 2021-09-14 09:04:32.626741 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180
  2662. 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
  2663. 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  2664. 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  2665. 2021-09-14 09:04:32.626741 [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 = 863 AND status=0 LIMIT 1
  2666. 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" OR number = "851" AND deleted = 0 limit 1
  2667. 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:863
  2668. 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:863
  2669. 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 863
  2670. 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  2671. 2021-09-14 09:04:32.626741 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  2672. 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
  2673. 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  2674. 2021-09-14 09:04:32.626741 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  2675. 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2
  2676. 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2677. <document type="freeswitch/xml">
  2678. <section name="dialplan" description="ASTPP Dialplan">
  2679. <context name="default">
  2680. <extension name="48221531871">
  2681. <condition field="destination_number" expression="48221531871">
  2682. <action application="set" data="effective_destination_number=48221531871"/>
  2683. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  2684. <action application="set" data="bridge_pre_execute_bleg_data=+10800 normal_clearing"/>
  2685. <action application="set" data="callstart=2021-09-14 13:04:32"/>
  2686. <action application="set" data="hangup_after_bridge=true"/>
  2687. <action application="set" data="continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602"/>
  2688. <action application="set" data="account_id=863"/>
  2689. <action application="set" data="parent_id=0"/>
  2690. <action application="set" data="entity_id=3"/>
  2691. <action application="set" data="call_processed=internal"/>
  2692. <action application="set" data="call_direction=inbound"/>
  2693. <action application="set" data="accountname=default"/>
  2694. <action application="set" data="filename1=astpp.pbx.lua"/>
  2695. <action application="set" data="origination_rates_did=ID:10545|CODE:^48221531871.*|DESTINATION:Warsaw Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851"/>
  2696. <action application="set" data="origination_rates=0"/>
  2697. <action application="set" data="original_caller_id_name=48502760875"/>
  2698. <action application="set" data="original_caller_id_number=48502760875"/>
  2699. <action application="set" data="effective_caller_id_name=48502760875"/>
  2700. <action application="set" data="effective_caller_id_number=48502760875"/>
  2701. <action application="set" data="receiver_accid=851"/>
  2702. <action application="export" data="domain_name=Voicespin802.newsip.israelnumber.com"/>
  2703. <action application="export" data="sip_to_host=Voicespin802.newsip.israelnumber.com"/>
  2704. <action application="limit" data="db 48221531871 did_48221531871 2 !SWITCH_CONGESTION"/>
  2705. <action application="export" data="presence_data=x|||DIDwwIn1(714761424818)|||^48221531871.* // Warsaw Landline // 0.00000||||||DID|||46.19.210.14"/>
  2706. <action application="export" data="call_type=2"/>
  2707. <action application="set" data="calltype=DIRECT-IP"/>
  2708. <action application="bridge" data="[leg_timeout=30]sofia/${sofia_profile_name}/48221531871@35.205.116.118"/>
  2709. </condition>
  2710. </extension>
  2711. </context>
  2712. </section>
  2713. </document>
  2714. 2021-09-14 09:04:32.626741 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released.
  2715. Dialplan: sofia/default/48502760875@46.19.210.14 parsing [default->48221531871] continue=false
  2716. Dialplan: sofia/default/48502760875@46.19.210.14 Regex (PASS) [48221531871] destination_number(48221531871) =~ /48221531871/ break=on-false
  2717. Dialplan: sofia/default/48502760875@46.19.210.14 Action set(effective_destination_number=48221531871)
  2718. Dialplan: sofia/default/48502760875@46.19.210.14 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  2719. Dialplan: sofia/default/48502760875@46.19.210.14 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  2720. Dialplan: sofia/default/48502760875@46.19.210.14 Action set(callstart=2021-09-14 13:04:32)
  2721. Dialplan: sofia/default/48502760875@46.19.210.14 Action set(hangup_after_bridge=true)
  2722. Dialplan: sofia/default/48502760875@46.19.210.14 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  2723. Dialplan: sofia/default/48502760875@46.19.210.14 Action set(account_id=863)
  2724. Dialplan: sofia/default/48502760875@46.19.210.14 Action set(parent_id=0)
  2725. Dialplan: sofia/default/48502760875@46.19.210.14 Action set(entity_id=3)
  2726. Dialplan: sofia/default/48502760875@46.19.210.14 Action set(call_processed=internal)
  2727. Dialplan: sofia/default/48502760875@46.19.210.14 Action set(call_direction=inbound)
  2728. Dialplan: sofia/default/48502760875@46.19.210.14 Action set(accountname=default)
  2729. Dialplan: sofia/default/48502760875@46.19.210.14 Action set(filename1=astpp.pbx.lua)
  2730. Dialplan: sofia/default/48502760875@46.19.210.14 Action set(origination_rates_did=ID:10545|CODE:^48221531871.*|DESTINATION:Warsaw Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851)
  2731. Dialplan: sofia/default/48502760875@46.19.210.14 Action set(origination_rates=0)
  2732. Dialplan: sofia/default/48502760875@46.19.210.14 Action set(original_caller_id_name=48502760875)
  2733. Dialplan: sofia/default/48502760875@46.19.210.14 Action set(original_caller_id_number=48502760875)
  2734. Dialplan: sofia/default/48502760875@46.19.210.14 Action set(effective_caller_id_name=48502760875)
  2735. Dialplan: sofia/default/48502760875@46.19.210.14 Action set(effective_caller_id_number=48502760875)
  2736. Dialplan: sofia/default/48502760875@46.19.210.14 Action set(receiver_accid=851)
  2737. Dialplan: sofia/default/48502760875@46.19.210.14 Action export(domain_name=Voicespin802.newsip.israelnumber.com)
  2738. Dialplan: sofia/default/48502760875@46.19.210.14 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  2739. Dialplan: sofia/default/48502760875@46.19.210.14 Action limit(db 48221531871 did_48221531871 2 !SWITCH_CONGESTION)
  2740. Dialplan: sofia/default/48502760875@46.19.210.14 Action export(presence_data=x|||DIDwwIn1(714761424818)|||^48221531871.* // Warsaw Landline // 0.00000||||||DID|||46.19.210.14)
  2741. Dialplan: sofia/default/48502760875@46.19.210.14 Action export(call_type=2)
  2742. Dialplan: sofia/default/48502760875@46.19.210.14 Action set(calltype=DIRECT-IP)
  2743. Dialplan: sofia/default/48502760875@46.19.210.14 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/48221531871@35.205.116.118)
  2744. 2021-09-14 09:04:32.626741 [DEBUG] switch_core_state_machine.c:286 (sofia/default/48502760875@46.19.210.14) State Change CS_ROUTING -> CS_EXECUTE
  2745. 2021-09-14 09:04:32.626741 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48502760875@46.19.210.14) State ROUTING going to sleep
  2746. 2021-09-14 09:04:32.626741 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48502760875@46.19.210.14) Running State Change CS_EXECUTE (Cur 7 Tot 248014)
  2747. 2021-09-14 09:04:32.626741 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48502760875@46.19.210.14) State EXECUTE
  2748. 2021-09-14 09:04:32.626741 [DEBUG] mod_sofia.c:198 sofia/default/48502760875@46.19.210.14 SOFIA EXECUTE
  2749. 2021-09-14 09:04:32.626741 [DEBUG] switch_core_state_machine.c:328 sofia/default/48502760875@46.19.210.14 Standard EXECUTE
  2750. EXECUTE sofia/default/48502760875@46.19.210.14 set(effective_destination_number=48221531871)
  2751. 2021-09-14 09:04:32.626741 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [effective_destination_number]=[48221531871]
  2752. EXECUTE sofia/default/48502760875@46.19.210.14 set(bridge_pre_execute_bleg_app=sched_hangup)
  2753. 2021-09-14 09:04:32.626741 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [bridge_pre_execute_bleg_app]=[sched_hangup]
  2754. EXECUTE sofia/default/48502760875@46.19.210.14 set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  2755. 2021-09-14 09:04:32.626741 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing]
  2756. EXECUTE sofia/default/48502760875@46.19.210.14 set(callstart=2021-09-14 13:04:32)
  2757. 2021-09-14 09:04:32.626741 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [callstart]=[2021-09-14 13:04:32]
  2758. EXECUTE sofia/default/48502760875@46.19.210.14 set(hangup_after_bridge=true)
  2759. 2021-09-14 09:04:32.626741 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [hangup_after_bridge]=[true]
  2760. EXECUTE sofia/default/48502760875@46.19.210.14 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  2761. 2021-09-14 09:04:32.626741 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]
  2762. EXECUTE sofia/default/48502760875@46.19.210.14 set(account_id=863)
  2763. 2021-09-14 09:04:32.626741 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [account_id]=[863]
  2764. EXECUTE sofia/default/48502760875@46.19.210.14 set(parent_id=0)
  2765. 2021-09-14 09:04:32.626741 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [parent_id]=[0]
  2766. EXECUTE sofia/default/48502760875@46.19.210.14 set(entity_id=3)
  2767. 2021-09-14 09:04:32.626741 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [entity_id]=[3]
  2768. EXECUTE sofia/default/48502760875@46.19.210.14 set(call_processed=internal)
  2769. 2021-09-14 09:04:32.646662 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [call_processed]=[internal]
  2770. EXECUTE sofia/default/48502760875@46.19.210.14 set(call_direction=inbound)
  2771. 2021-09-14 09:04:32.646662 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [call_direction]=[inbound]
  2772. EXECUTE sofia/default/48502760875@46.19.210.14 set(accountname=default)
  2773. 2021-09-14 09:04:32.646662 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [accountname]=[default]
  2774. EXECUTE sofia/default/48502760875@46.19.210.14 set(filename1=astpp.pbx.lua)
  2775. 2021-09-14 09:04:32.646662 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [filename1]=[astpp.pbx.lua]
  2776. EXECUTE sofia/default/48502760875@46.19.210.14 set(origination_rates_did=ID:10545|CODE:^48221531871.*|DESTINATION:Warsaw Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851)
  2777. 2021-09-14 09:04:32.646662 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [origination_rates_did]=[ID:10545|CODE:^48221531871.*|DESTINATION:Warsaw Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851]
  2778. EXECUTE sofia/default/48502760875@46.19.210.14 set(origination_rates=0)
  2779. 2021-09-14 09:04:32.646662 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [origination_rates]=[0]
  2780. EXECUTE sofia/default/48502760875@46.19.210.14 set(original_caller_id_name=48502760875)
  2781. 2021-09-14 09:04:32.646662 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [original_caller_id_name]=[48502760875]
  2782. EXECUTE sofia/default/48502760875@46.19.210.14 set(original_caller_id_number=48502760875)
  2783. 2021-09-14 09:04:32.646662 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [original_caller_id_number]=[48502760875]
  2784. EXECUTE sofia/default/48502760875@46.19.210.14 set(effective_caller_id_name=48502760875)
  2785. 2021-09-14 09:04:32.646662 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [effective_caller_id_name]=[48502760875]
  2786. EXECUTE sofia/default/48502760875@46.19.210.14 set(effective_caller_id_number=48502760875)
  2787. 2021-09-14 09:04:32.646662 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [effective_caller_id_number]=[48502760875]
  2788. EXECUTE sofia/default/48502760875@46.19.210.14 set(receiver_accid=851)
  2789. 2021-09-14 09:04:32.646662 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [receiver_accid]=[851]
  2790. EXECUTE sofia/default/48502760875@46.19.210.14 export(domain_name=Voicespin802.newsip.israelnumber.com)
  2791. 2021-09-14 09:04:32.646662 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com]
  2792. EXECUTE sofia/default/48502760875@46.19.210.14 export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  2793. 2021-09-14 09:04:32.646662 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com]
  2794. EXECUTE sofia/default/48502760875@46.19.210.14 limit(db 48221531871 did_48221531871 2 !SWITCH_CONGESTION)
  2795. 2021-09-14 09:04:32.646662 [DEBUG] switch_limit.c:126 incr called: 48221531871_did_48221531871 max:2, interval:0
  2796. 2021-09-14 09:04:32.646662 [DEBUG] mod_db.c:194 Usage for 48221531871_did_48221531871 is now 1/2
  2797. EXECUTE sofia/default/48502760875@46.19.210.14 export(presence_data=x|||DIDwwIn1(714761424818)|||^48221531871.* // Warsaw Landline // 0.00000||||||DID|||46.19.210.14)
  2798. 2021-09-14 09:04:32.646662 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||DIDwwIn1(714761424818)|||^48221531871.* // Warsaw Landline // 0.00000||||||DID|||46.19.210.14]
  2799. EXECUTE sofia/default/48502760875@46.19.210.14 export(call_type=2)
  2800. 2021-09-14 09:04:32.646662 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2]
  2801. EXECUTE sofia/default/48502760875@46.19.210.14 set(calltype=DIRECT-IP)
  2802. 2021-09-14 09:04:32.646662 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [calltype]=[DIRECT-IP]
  2803. EXECUTE sofia/default/48502760875@46.19.210.14 bridge([leg_timeout=30]sofia/default/48221531871@35.205.116.118)
  2804. 2021-09-14 09:04:32.646662 [DEBUG] switch_channel.c:1250 sofia/default/48502760875@46.19.210.14 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event
  2805. 2021-09-14 09:04:32.646662 [DEBUG] switch_channel.c:1250 sofia/default/48502760875@46.19.210.14 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event
  2806. 2021-09-14 09:04:32.646662 [DEBUG] switch_channel.c:1250 sofia/default/48502760875@46.19.210.14 EXPORTING[export_vars] [presence_data]=[x|||DIDwwIn1(714761424818)|||^48221531871.* // Warsaw Landline // 0.00000||||||DID|||46.19.210.14] to event
  2807. 2021-09-14 09:04:32.646662 [DEBUG] switch_channel.c:1250 sofia/default/48502760875@46.19.210.14 EXPORTING[export_vars] [call_type]=[2] to event
  2808. 2021-09-14 09:04:32.646662 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  2809. 2021-09-14 09:04:32.646662 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  2810. 2021-09-14 09:04:32.646662 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48221531871@35.205.116.118 [4db507dc-155c-11ec-9e0f-7dfb9f6e00f0]
  2811. 2021-09-14 09:04:32.646662 [DEBUG] mod_sofia.c:4819 (sofia/default/48221531871@35.205.116.118) State Change CS_NEW -> CS_INIT
  2812. 2021-09-14 09:04:32.646662 [DEBUG] switch_ivr_originate.c:2963 sofia/default/48221531871@35.205.116.118 Setting leg timeout to 30
  2813. 2021-09-14 09:04:32.646662 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48221531871@35.205.116.118) Running State Change CS_INIT (Cur 8 Tot 248015)
  2814. 2021-09-14 09:04:32.646662 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48221531871@35.205.116.118) State INIT
  2815. 2021-09-14 09:04:32.646662 [DEBUG] mod_sofia.c:90 sofia/default/48221531871@35.205.116.118 SOFIA INIT
  2816. 2021-09-14 09:04:32.646662 [DEBUG] sofia_glue.c:1295 sofia/default/48221531871@35.205.116.118 sending invite version: 1.6.20  64bit
  2817. Local SDP:
  2818. v=0
  2819. o=FreeSWITCH 1631596786 1631596787 IN IP4 89.46.223.193
  2820. s=FreeSWITCH
  2821. c=IN IP4 89.46.223.193
  2822. t=0 0
  2823. m=audio 27886 RTP/AVP 0 101
  2824. a=rtpmap:0 PCMU/8000
  2825. a=rtpmap:101 telephone-event/8000
  2826. a=fmtp:101 0-16
  2827. a=ptime:20
  2828. a=sendrecv
  2829.  
  2830. 2021-09-14 09:04:32.646662 [DEBUG] switch_core_state_machine.c:40 sofia/default/48221531871@35.205.116.118 Standard INIT
  2831. 2021-09-14 09:04:32.646662 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48221531871@35.205.116.118) State Change CS_INIT -> CS_ROUTING
  2832. 2021-09-14 09:04:32.646662 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48221531871@35.205.116.118) State INIT going to sleep
  2833. 2021-09-14 09:04:32.646662 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48221531871@35.205.116.118) Running State Change CS_ROUTING (Cur 8 Tot 248015)
  2834. 2021-09-14 09:04:32.646662 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48221531871@35.205.116.118) State ROUTING
  2835. 2021-09-14 09:04:32.646662 [DEBUG] mod_sofia.c:143 sofia/default/48221531871@35.205.116.118 SOFIA ROUTING
  2836. 2021-09-14 09:04:32.646662 [DEBUG] switch_ivr_originate.c:67 (sofia/default/48221531871@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  2837. 2021-09-14 09:04:32.646662 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48221531871@35.205.116.118) State ROUTING going to sleep
  2838. 2021-09-14 09:04:32.646662 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48221531871@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 248015)
  2839. 2021-09-14 09:04:32.646662 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48221531871@35.205.116.118) State CONSUME_MEDIA
  2840. 2021-09-14 09:04:32.646662 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48221531871@35.205.116.118) State CONSUME_MEDIA going to sleep
  2841. 2021-09-14 09:04:32.646662 [DEBUG] sofia.c:7084 Channel sofia/default/48221531871@35.205.116.118 entering state [calling][0]
  2842. 2021-09-14 09:04:32.906663 [DEBUG] sofia.c:7084 Channel sofia/default/48221531871@35.205.116.118 entering state [completing][200]
  2843. 2021-09-14 09:04:32.906663 [DEBUG] sofia.c:7094 Remote SDP:
  2844. v=0
  2845. o=root 532150802 532150802 IN IP4 130.211.60.220
  2846. s=Asterisk PBX 13.29.2
  2847. c=IN IP4 130.211.60.220
  2848. t=0 0
  2849. m=audio 11520 RTP/AVP 0 101
  2850. a=rtpmap:0 PCMU/8000
  2851. a=rtpmap:101 telephone-event/8000
  2852. a=fmtp:101 0-16
  2853. a=ptime:20
  2854. a=maxptime:150
  2855.  
  2856. 2021-09-14 09:04:32.906663 [DEBUG] sofia.c:7084 Channel sofia/default/48221531871@35.205.116.118 entering state [ready][200]
  2857. 2021-09-14 09:04:32.906663 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  2858. 2021-09-14 09:04:32.906663 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  2859. 2021-09-14 09:04:32.906663 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  2860. 2021-09-14 09:04:32.906663 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/48221531871@35.205.116.118 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  2861. 2021-09-14 09:04:32.906663 [DEBUG] switch_core_codec.c:111 sofia/default/48221531871@35.205.116.118 Original read codec set to PCMU:0
  2862. 2021-09-14 09:04:32.906663 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  2863. 2021-09-14 09:04:32.906663 [DEBUG] switch_core_media.c:4767 sofia/default/48221531871@35.205.116.118 Set 2833 dtmf send payload to 101 recv payload to 101
  2864. 2021-09-14 09:04:32.906663 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/48221531871@35.205.116.118] 89.46.223.193 port 27886 -> 130.211.60.220 port 11520 codec: 0 ms: 20
  2865. 2021-09-14 09:04:32.906663 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  2866. 2021-09-14 09:04:32.906663 [DEBUG] switch_core_media.c:7180 sofia/default/48221531871@35.205.116.118 Set 2833 dtmf send payload to 101
  2867. 2021-09-14 09:04:32.906663 [DEBUG] switch_core_media.c:7187 sofia/default/48221531871@35.205.116.118 Set 2833 dtmf receive payload to 101
  2868. 2021-09-14 09:04:32.906663 [DEBUG] switch_core_media.c:7210 sofia/default/48221531871@35.205.116.118 Set rtp dtmf delay to 40
  2869. 2021-09-14 09:04:32.906663 [NOTICE] sofia.c:8218 Channel [sofia/default/48221531871@35.205.116.118] has been answered
  2870. 2021-09-14 09:04:32.906663 [DEBUG] switch_channel.c:3773 (sofia/default/48221531871@35.205.116.118) Callstate Change DOWN -> ACTIVE
  2871. 2021-09-14 09:04:32.926735 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/48502760875@46.19.210.14] 89.46.223.193 port 27378 -> 46.19.210.23 port 54016 codec: 0 ms: 20
  2872. 2021-09-14 09:04:32.926735 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  2873. 2021-09-14 09:04:32.926735 [DEBUG] switch_core_media.c:7180 sofia/default/48502760875@46.19.210.14 Set 2833 dtmf send payload to 101
  2874. 2021-09-14 09:04:32.926735 [DEBUG] switch_core_media.c:7187 sofia/default/48502760875@46.19.210.14 Set 2833 dtmf receive payload to 101
  2875. 2021-09-14 09:04:32.926735 [DEBUG] switch_core_media.c:7210 sofia/default/48502760875@46.19.210.14 Set rtp dtmf delay to 40
  2876. 2021-09-14 09:04:32.926735 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/48502760875@46.19.210.14:
  2877. v=0
  2878. o=FreeSWITCH 1631597294 1631597295 IN IP4 89.46.223.193
  2879. s=FreeSWITCH
  2880. c=IN IP4 89.46.223.193
  2881. t=0 0
  2882. m=audio 27378 RTP/AVP 0 101
  2883. a=rtpmap:0 PCMU/8000
  2884. a=rtpmap:101 telephone-event/8000
  2885. a=fmtp:101 0-16
  2886. a=ptime:20
  2887. a=sendrecv
  2888.  
  2889. 2021-09-14 09:04:32.926735 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/48502760875@46.19.210.14] has been answered
  2890. 2021-09-14 09:04:32.926735 [DEBUG] switch_channel.c:3773 (sofia/default/48502760875@46.19.210.14) Callstate Change RINGING -> ACTIVE
  2891. 2021-09-14 09:04:32.926735 [DEBUG] sofia.c:7084 Channel sofia/default/48502760875@46.19.210.14 entering state [completed][200]
  2892. 2021-09-14 09:04:32.926735 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/48221531871@35.205.116.118]
  2893. 2021-09-14 09:04:32.926735 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/48221531871@35.205.116.118) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  2894. 2021-09-14 09:04:32.926735 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48221531871@35.205.116.118) Running State Change CS_EXCHANGE_MEDIA (Cur 8 Tot 248015)
  2895. 2021-09-14 09:04:32.926735 [DEBUG] switch_core_state_machine.c:653 (sofia/default/48221531871@35.205.116.118) State EXCHANGE_MEDIA
  2896. 2021-09-14 09:04:32.926735 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  2897. 2021-09-14 09:04:33.006667 [DEBUG] sofia.c:7084 Channel sofia/default/48502760875@46.19.210.14 entering state [ready][200]
  2898. 2021-09-14 09:04:33.026667 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  2899. 2021-09-14 09:04:33.106668 [DEBUG] switch_ivr_bridge.c:546 sofia/default/48221531871@35.205.116.118 Bridge execute app sched_hangup(+10800 normal_clearing)
  2900. 2021-09-14 09:04:33.126711 [DEBUG] switch_ivr.c:623 sofia/default/48221531871@35.205.116.118 Command Execute sched_hangup(+10800 normal_clearing)
  2901. EXECUTE sofia/default/48221531871@35.205.116.118 sched_hangup(+10800 normal_clearing)
  2902. 2021-09-14 09:04:33.126711 [DEBUG] switch_scheduler.c:249 Added task 31130 switch_ivr_schedule_hangup (4db507dc-155c-11ec-9e0f-7dfb9f6e00f0) to run at 1631635473
  2903. 2021-09-14 09:04:35.106716 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  2904. 2021-09-14 09:04:36.506669 [NOTICE] switch_channel.c:1104 New Channel sofia/default/390541614514@173.203.86.119 [5003368a-155c-11ec-9e15-7dfb9f6e00f0]
  2905. 2021-09-14 09:04:36.506669 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390541614514@173.203.86.119) Running State Change CS_NEW (Cur 9 Tot 248016)
  2906. 2021-09-14 09:04:36.506669 [DEBUG] sofia.c:9873 sofia/default/390541614514@173.203.86.119 receiving invite from 136.243.196.198:5060 version: 1.6.20  64bit
  2907. 2021-09-14 09:04:36.506669 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
  2908. 2021-09-14 09:04:36.506669 [DEBUG] sofia.c:7084 Channel sofia/default/390541614514@173.203.86.119 entering state [received][100]
  2909. 2021-09-14 09:04:36.506669 [DEBUG] sofia.c:7094 Remote SDP:
  2910. v=0
  2911. o=root 1239251315 1239251315 IN IP4 173.203.86.119
  2912. s=Asterisk PBX 16.6.1
  2913. c=IN IP4 173.203.86.119
  2914. t=0 0
  2915. m=audio 19852 RTP/AVP 0 8 101
  2916. a=rtpmap:0 PCMU/8000
  2917. a=rtpmap:8 PCMA/8000
  2918. a=rtpmap:101 telephone-event/8000
  2919. a=fmtp:101 0-16
  2920. a=ptime:20
  2921. a=maxptime:150
  2922.  
  2923. 2021-09-14 09:04:36.506669 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  2924. 2021-09-14 09:04:36.506669 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  2925. 2021-09-14 09:04:36.506669 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  2926. 2021-09-14 09:04:36.506669 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  2927. 2021-09-14 09:04:36.506669 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  2928. 2021-09-14 09:04:36.506669 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  2929. 2021-09-14 09:04:36.506669 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  2930. 2021-09-14 09:04:36.506669 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  2931. 2021-09-14 09:04:36.506669 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  2932. 2021-09-14 09:04:36.506669 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/390541614514@173.203.86.119 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  2933. 2021-09-14 09:04:36.506669 [DEBUG] switch_core_codec.c:111 sofia/default/390541614514@173.203.86.119 Original read codec set to PCMU:0
  2934. 2021-09-14 09:04:36.506669 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  2935. 2021-09-14 09:04:36.506669 [DEBUG] switch_core_media.c:4767 sofia/default/390541614514@173.203.86.119 Set 2833 dtmf send payload to 101 recv payload to 101
  2936. 2021-09-14 09:04:36.506669 [DEBUG] sofia.c:7507 (sofia/default/390541614514@173.203.86.119) State Change CS_NEW -> CS_INIT
  2937. 2021-09-14 09:04:36.506669 [DEBUG] switch_core_state_machine.c:603 (sofia/default/390541614514@173.203.86.119) State NEW
  2938. 2021-09-14 09:04:36.506669 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390541614514@173.203.86.119) Running State Change CS_INIT (Cur 9 Tot 248016)
  2939. 2021-09-14 09:04:36.506669 [DEBUG] switch_core_state_machine.c:627 (sofia/default/390541614514@173.203.86.119) State INIT
  2940. 2021-09-14 09:04:36.506669 [DEBUG] mod_sofia.c:90 sofia/default/390541614514@173.203.86.119 SOFIA INIT
  2941. 2021-09-14 09:04:36.506669 [DEBUG] switch_core_state_machine.c:40 sofia/default/390541614514@173.203.86.119 Standard INIT
  2942. 2021-09-14 09:04:36.506669 [DEBUG] switch_core_state_machine.c:48 (sofia/default/390541614514@173.203.86.119) State Change CS_INIT -> CS_ROUTING
  2943. 2021-09-14 09:04:36.506669 [DEBUG] switch_core_state_machine.c:627 (sofia/default/390541614514@173.203.86.119) State INIT going to sleep
  2944. 2021-09-14 09:04:36.506669 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390541614514@173.203.86.119) Running State Change CS_ROUTING (Cur 9 Tot 248016)
  2945. 2021-09-14 09:04:36.506669 [DEBUG] switch_channel.c:2249 (sofia/default/390541614514@173.203.86.119) Callstate Change DOWN -> RINGING
  2946. 2021-09-14 09:04:36.506669 [DEBUG] switch_core_state_machine.c:643 (sofia/default/390541614514@173.203.86.119) State ROUTING
  2947. 2021-09-14 09:04:36.506669 [DEBUG] mod_sofia.c:143 sofia/default/390541614514@173.203.86.119 SOFIA ROUTING
  2948. 2021-09-14 09:04:36.506669 [DEBUG] switch_core_state_machine.c:236 sofia/default/390541614514@173.203.86.119 Standard ROUTING
  2949. 2021-09-14 09:04:36.506669 [INFO] mod_dialplan_xml.c:637 Processing 390541614514 <390541614514>->390399686667 in context default
  2950. 2021-09-14 09:04:36.506669 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected.
  2951. 2021-09-14 09:04:36.506669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  2952. 2021-09-14 09:04:36.506669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2953. 2021-09-14 09:04:36.526704 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params:
  2954. 'Event-Name: REQUEST_PARAMS
  2955. Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0
  2956. FreeSWITCH-Hostname: astpp1.local
  2957. FreeSWITCH-Switchname: astpp1.local
  2958. FreeSWITCH-IPv4: 89.46.223.193
  2959. FreeSWITCH-IPv6: %3A%3A1
  2960. Event-Date-Local: 2021-09-14%2009%3A04%3A36
  2961. Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A04%3A36%20GMT
  2962. Event-Date-Timestamp: 1631624676506669
  2963. Event-Calling-File: mod_dialplan_xml.c
  2964. Event-Calling-Function: dialplan_xml_locate
  2965. Event-Calling-Line-Number: 608
  2966. Event-Sequence: 7527824
  2967. Channel-State: CS_ROUTING
  2968. Channel-Call-State: RINGING
  2969. Channel-State-Number: 2
  2970. Channel-Name: sofia/default/390541614514%40173.203.86.119
  2971. Unique-ID: 5003368a-155c-11ec-9e15-7dfb9f6e00f0
  2972. Call-Direction: inbound
  2973. Presence-Call-Direction: inbound
  2974. Channel-HIT-Dialplan: true
  2975. Channel-Presence-ID: 390541614514%40173.203.86.119
  2976. Channel-Call-UUID: 5003368a-155c-11ec-9e15-7dfb9f6e00f0
  2977. Answer-State: ringing
  2978. Channel-Read-Codec-Name: PCMU
  2979. Channel-Read-Codec-Rate: 8000
  2980. Channel-Read-Codec-Bit-Rate: 64000
  2981. Channel-Write-Codec-Name: PCMU
  2982. Channel-Write-Codec-Rate: 8000
  2983. Channel-Write-Codec-Bit-Rate: 64000
  2984. Caller-Direction: inbound
  2985. Caller-Logical-Direction: inbound
  2986. Caller-Username: 390541614514
  2987. Caller-Dialplan: XML
  2988. Caller-Caller-ID-Name: 390541614514
  2989. Caller-Caller-ID-Number: 390541614514
  2990. Caller-Orig-Caller-ID-Name: 390541614514
  2991. Caller-Orig-Caller-ID-Number: 390541614514
  2992. Caller-Network-Addr: 136.243.196.198
  2993. Caller-ANI: 390541614514
  2994. Caller-Destination-Number: 390399686667
  2995. Caller-Unique-ID: 5003368a-155c-11ec-9e15-7dfb9f6e00f0
  2996. Caller-Source: mod_sofia
  2997. Caller-Context: default
  2998. Caller-Channel-Name: sofia/default/390541614514%40173.203.86.119
  2999. Caller-Profile-Index: 1
  3000. Caller-Profile-Created-Time: 1631624676506669
  3001. Caller-Channel-Created-Time: 1631624676506669
  3002. Caller-Channel-Answered-Time: 0
  3003. Caller-Channel-Progress-Time: 0
  3004. Caller-Channel-Progress-Media-Time: 0
  3005. Caller-Channel-Hangup-Time: 0
  3006. Caller-Channel-Transfer-Time: 0
  3007. Caller-Channel-Resurrect-Time: 0
  3008. Caller-Channel-Bridged-Time: 0
  3009. Caller-Channel-Last-Hold: 0
  3010. Caller-Channel-Hold-Accum: 0
  3011. Caller-Screen-Bit: true
  3012. Caller-Privacy-Hide-Name: false
  3013. Caller-Privacy-Hide-Number: false
  3014. variable_direction: inbound
  3015. variable_uuid: 5003368a-155c-11ec-9e15-7dfb9f6e00f0
  3016. variable_session_id: 248016
  3017. variable_sip_from_user: 390541614514
  3018. variable_sip_from_uri: 390541614514%40173.203.86.119
  3019. variable_sip_from_host: 173.203.86.119
  3020. variable_video_media_flow: sendrecv
  3021. variable_channel_name: sofia/default/390541614514%40173.203.86.119
  3022. variable_sip_call_id: 08edb49c3578ea4a1d840514701a9420%40173.203.86.119%3A5060
  3023. variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b
  3024. variable_sip_local_network_addr: 89.46.223.193
  3025. variable_sip_network_ip: 136.243.196.198
  3026. variable_sip_network_port: 5060
  3027. variable_sip_invite_stamp: 1631624676506669
  3028. variable_sip_received_ip: 136.243.196.198
  3029. variable_sip_received_port: 5060
  3030. variable_sip_via_protocol: udp
  3031. variable_sip_authorized: true
  3032. variable_sip_acl_authed_by: default
  3033. variable_sip_from_user_stripped: 390541614514
  3034. variable_sip_from_tag: as7ad7b7c6
  3035. variable_sofia_profile_name: default
  3036. variable_recovery_profile_name: default
  3037. variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3Dcc9.f3888797%3E
  3038. variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3Dcc9.f3888797%3E
  3039. variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bKc981.7a5a27a7.0,SIP/2.0/UDP%20173.203.86.119%3A5060%3Breceived%3D173.203.86.119%3Bbranch%3Dz9hG4bK01fa0d2e%3Brport%3D5060
  3040. variable_sip_from_display: 390541614514
  3041. variable_sip_full_from: %22390541614514%22%20%3Csip%3A390541614514%40173.203.86.119%3E%3Btag%3Das7ad7b7c6
  3042. variable_sip_full_to: %3Csip%3A390399686667%40newsip.israelnumber.com%3E
  3043. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE
  3044. variable_sip_req_user: 390399686667
  3045. variable_sip_req_uri: 390399686667%40newsip.israelnumber.com
  3046. variable_sip_req_host: newsip.israelnumber.com
  3047. variable_sip_to_user: 390399686667
  3048. variable_sip_to_uri: 390399686667%40newsip.israelnumber.com
  3049. variable_sip_to_host: newsip.israelnumber.com
  3050. variable_sip_contact_user: 390541614514
  3051. variable_sip_contact_port: 5060
  3052. variable_sip_contact_uri: 390541614514%40173.203.86.119%3A5060
  3053. variable_sip_contact_host: 173.203.86.119
  3054. variable_sip_user_agent: FPBX-14.0.13.40(16.6.1)
  3055. variable_sip_via_host: 136.243.196.198
  3056. variable_sip_via_port: 5060
  3057. variable_max_forwards: 30
  3058. variable_presence_id: 390541614514%40173.203.86.119
  3059. variable_sip_h_X-AUTH-IP: 173.203.86.119
  3060. variable_sip_h_P-Accountcode: 444484249994
  3061. variable_sip_h_P-effective_caller_id_name: 390541614514
  3062. variable_sip_h_P-effective_caller_id_number: 390541614514
  3063. variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%201239251315%201239251315%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%2019852%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
  3064. variable_rtp_use_codec_string: PCMA,PCMU,G729
  3065. variable_audio_media_flow: sendrecv
  3066. variable_remote_media_ip: 173.203.86.119
  3067. variable_remote_media_port: 19852
  3068. variable_rtp_audio_recv_pt: 0
  3069. variable_rtp_use_codec_name: PCMU
  3070. variable_rtp_use_codec_rate: 8000
  3071. variable_rtp_use_codec_ptime: 20
  3072. variable_rtp_use_codec_channels: 1
  3073. variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c
  3074. variable_read_codec: PCMU
  3075. variable_original_read_codec: PCMU
  3076. variable_read_rate: 8000
  3077. variable_original_read_rate: 8000
  3078. variable_write_codec: PCMU
  3079. variable_write_rate: 8000
  3080. variable_dtmf_type: rfc2833
  3081. variable_endpoint_disposition: RECEIVED
  3082. variable_call_uuid: 5003368a-155c-11ec-9e15-7dfb9f6e00f0
  3083. Hunt-Direction: inbound
  3084. Hunt-Logical-Direction: inbound
  3085. Hunt-Username: 390541614514
  3086. Hunt-Dialplan: XML
  3087. Hunt-Caller-ID-Name: 390541614514
  3088. Hunt-Caller-ID-Number: 390541614514
  3089. Hunt-Orig-Caller-ID-Name: 390541614514
  3090. Hunt-Orig-Caller-ID-Number: 390541614514
  3091. Hunt-Network-Addr: 136.243.196.198
  3092. Hunt-ANI: 390541614514
  3093. Hunt-Destination-Number: 390399686667
  3094. Hunt-Unique-ID: 5003368a-155c-11ec-9e15-7dfb9f6e00f0
  3095. Hunt-Source: mod_sofia
  3096. Hunt-Context: default
  3097. Hunt-Channel-Name: sofia/default/390541614514%40173.203.86.119
  3098. Hunt-Profile-Index: 1
  3099. Hunt-Profile-Created-Time: 1631624676506669
  3100. Hunt-Channel-Created-Time: 1631624676506669
  3101. Hunt-Channel-Answered-Time: 0
  3102. Hunt-Channel-Progress-Time: 0
  3103. Hunt-Channel-Progress-Media-Time: 0
  3104. Hunt-Channel-Hangup-Time: 0
  3105. Hunt-Channel-Transfer-Time: 0
  3106. Hunt-Channel-Resurrect-Time: 0
  3107. Hunt-Channel-Bridged-Time: 0
  3108. Hunt-Channel-Last-Hold: 0
  3109. Hunt-Channel-Hold-Accum: 0
  3110. Hunt-Screen-Bit: true
  3111. Hunt-Privacy-Hide-Name: false
  3112. Hunt-Privacy-Hide-Number: false
  3113.  
  3114. '
  3115. 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name:
  3116. 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value:
  3117. 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name:
  3118. 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan
  3119. 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  3120. 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 390399686667
  3121. 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '390399686667' limit 1
  3122. 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '390399686667' AND status=0 limit 1
  3123. 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '173.203.86.119' limit 1
  3124. 2021-09-14 09:04:36.526704 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  3125. 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 390541614514 / 390541614514
  3126. 2021-09-14 09:04:36.526704 [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 ="390399686667" LIMIT 1
  3127. 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
  3128. 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 444484249994]
  3129. 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "444484249994" OR number = "444484249994" AND deleted = 0 limit 1
  3130. 2021-09-14 09:04:36.526704 [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 ="390399686667" AND A.accountid = '923' limit 1
  3131. 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 390399686667
  3132. 2021-09-14 09:04:36.526704 [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 ="390399686667" LIMIT 1
  3133. 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound
  3134. 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="390399686667" AND (accountid = 0 OR status = 1) LIMIT 1
  3135. 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  3136. 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :889
  3137. 2021-09-14 09:04:36.526704 [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 = '^390399686667.*' OR patterns = '^39039968666.*' OR patterns = '^3903996866.*' OR patterns = '^390399686.*' OR patterns = '^39039968.*' OR patterns = '^3903996.*' OR patterns = '^390399.*' OR patterns = '^39039.*' OR patterns = '^3903.*' OR patterns = '^390.*' OR patterns = '^39.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 889 ORDER BY LENGTH(PKGPTR.patterns) DESC
  3138. 2021-09-14 09:04:36.526704 [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 = '390399686667' OR number = '39039968666' OR number = '3903996866' OR number = '390399686' OR number = '39039968' OR number = '3903996' OR number = '390399' OR number = '39039' OR number = '3903' OR number = '390' OR number = '39' OR number = '3' OR number ='--') OR (number = '390399686667*' OR number = '39039968666*' OR number = '3903996866*' OR number = '390399686*' OR number = '39039968*' OR number = '3903996*' OR number = '390399*' OR number = '39039*' OR number = '3903*' OR number = '390*' OR number = '39*' OR number = '3*' OR number ='--') OR (number = '390541614514' OR number = '39054161451' OR number = '3905416145' OR number = '390541614' OR number = '39054161' OR number = '3905416' OR number = '390541' OR number = '39054' OR number = '3905' OR number = '390' OR number = '39' OR number = '3' OR number ='--') OR (number = '390541614514*' OR number = '39054161451*' OR number = '3905416145*' OR number = '390541614*' OR number = '39054161*' OR number = '3905416*' OR number = '390541*' OR number = '39054*' OR number = '3905*' OR number = '390*' OR number = '39*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  3139. 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  3140. 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '390399686667' OR routing_prefix = '39039968666' OR routing_prefix = '3903996866' OR routing_prefix = '390399686' OR routing_prefix = '39039968' OR routing_prefix = '3903996' OR routing_prefix = '390399' OR routing_prefix = '39039' OR routing_prefix = '3903' OR routing_prefix = '390' OR routing_prefix = '39' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  3141. 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  3142. 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 923
  3143. 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 444484249994
  3144. 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000
  3145. 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  3146. 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1
  3147. 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  3148. 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  3149. 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  3150. 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  3151. 2021-09-14 09:04:36.526704 [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 ="390399686667" LIMIT 1
  3152. 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound
  3153. 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  3154. 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 12039
  3155. 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  3156. 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  3157. 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  3158. 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Monza Landline
  3159. 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 94
  3160. 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 923
  3161. 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  3162. 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 923 !!!
  3163. 2021-09-14 09:04:36.526704 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180
  3164. 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
  3165. 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  3166. 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  3167. 2021-09-14 09:04:36.526704 [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
  3168. 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "889" OR number = "889" AND deleted = 0 limit 1
  3169. 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:923
  3170. 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:923
  3171. 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 923
  3172. 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 889 limit 1
  3173. 2021-09-14 09:04:36.526704 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainReshetcall812.newsip.israelnumber.com
  3174. 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
  3175. 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 889 limit 1
  3176. 2021-09-14 09:04:36.526704 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainReshetcall812.newsip.israelnumber.com
  3177. 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2
  3178. 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  3179. <document type="freeswitch/xml">
  3180. <section name="dialplan" description="ASTPP Dialplan">
  3181. <context name="default">
  3182. <extension name="390399686667">
  3183. <condition field="destination_number" expression="390399686667">
  3184. <action application="set" data="effective_destination_number=390399686667"/>
  3185. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  3186. <action application="set" data="bridge_pre_execute_bleg_data=+10800 normal_clearing"/>
  3187. <action application="set" data="callstart=2021-09-14 13:04:36"/>
  3188. <action application="set" data="hangup_after_bridge=true"/>
  3189. <action application="set" data="continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602"/>
  3190. <action application="set" data="account_id=923"/>
  3191. <action application="set" data="parent_id=0"/>
  3192. <action application="set" data="entity_id=3"/>
  3193. <action application="set" data="call_processed=internal"/>
  3194. <action application="set" data="call_direction=inbound"/>
  3195. <action application="set" data="accountname=default"/>
  3196. <action application="set" data="filename1=astpp.pbx.lua"/>
  3197. <action application="set" data="origination_rates_did=ID:12039|CODE:^390399686667.*|DESTINATION:Monza Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:94|ACCID:889"/>
  3198. <action application="set" data="origination_rates=0"/>
  3199. <action application="set" data="original_caller_id_name=390541614514"/>
  3200. <action application="set" data="original_caller_id_number=390541614514"/>
  3201. <action application="set" data="effective_caller_id_name=390541614514"/>
  3202. <action application="set" data="effective_caller_id_number=390541614514"/>
  3203. <action application="set" data="receiver_accid=889"/>
  3204. <action application="export" data="domain_name=Reshetcall812.newsip.israelnumber.com"/>
  3205. <action application="export" data="sip_to_host=Reshetcall812.newsip.israelnumber.com"/>
  3206. <action application="limit" data="db 390399686667 did_390399686667 2 !SWITCH_CONGESTION"/>
  3207. <action application="export" data="presence_data=x|||Signal(444484249994)|||^390399686667.* // Monza Landline // 0.00000||||||DID|||173.203.86.119"/>
  3208. <action application="export" data="call_type=2"/>
  3209. <action application="set" data="calltype=DIRECT-IP"/>
  3210. <action application="bridge" data="[leg_timeout=30]sofia/${sofia_profile_name}/390399686667@88.99.5.200"/>
  3211. </condition>
  3212. </extension>
  3213. </context>
  3214. </section>
  3215. </document>
  3216. 2021-09-14 09:04:36.526704 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released.
  3217. Dialplan: sofia/default/390541614514@173.203.86.119 parsing [default->390399686667] continue=false
  3218. Dialplan: sofia/default/390541614514@173.203.86.119 Regex (PASS) [390399686667] destination_number(390399686667) =~ /390399686667/ break=on-false
  3219. Dialplan: sofia/default/390541614514@173.203.86.119 Action set(effective_destination_number=390399686667)
  3220. Dialplan: sofia/default/390541614514@173.203.86.119 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  3221. Dialplan: sofia/default/390541614514@173.203.86.119 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  3222. Dialplan: sofia/default/390541614514@173.203.86.119 Action set(callstart=2021-09-14 13:04:36)
  3223. Dialplan: sofia/default/390541614514@173.203.86.119 Action set(hangup_after_bridge=true)
  3224. Dialplan: sofia/default/390541614514@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)
  3225. Dialplan: sofia/default/390541614514@173.203.86.119 Action set(account_id=923)
  3226. Dialplan: sofia/default/390541614514@173.203.86.119 Action set(parent_id=0)
  3227. Dialplan: sofia/default/390541614514@173.203.86.119 Action set(entity_id=3)
  3228. Dialplan: sofia/default/390541614514@173.203.86.119 Action set(call_processed=internal)
  3229. Dialplan: sofia/default/390541614514@173.203.86.119 Action set(call_direction=inbound)
  3230. Dialplan: sofia/default/390541614514@173.203.86.119 Action set(accountname=default)
  3231. Dialplan: sofia/default/390541614514@173.203.86.119 Action set(filename1=astpp.pbx.lua)
  3232. Dialplan: sofia/default/390541614514@173.203.86.119 Action set(origination_rates_did=ID:12039|CODE:^390399686667.*|DESTINATION:Monza Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:94|ACCID:889)
  3233. Dialplan: sofia/default/390541614514@173.203.86.119 Action set(origination_rates=0)
  3234. Dialplan: sofia/default/390541614514@173.203.86.119 Action set(original_caller_id_name=390541614514)
  3235. Dialplan: sofia/default/390541614514@173.203.86.119 Action set(original_caller_id_number=390541614514)
  3236. Dialplan: sofia/default/390541614514@173.203.86.119 Action set(effective_caller_id_name=390541614514)
  3237. Dialplan: sofia/default/390541614514@173.203.86.119 Action set(effective_caller_id_number=390541614514)
  3238. Dialplan: sofia/default/390541614514@173.203.86.119 Action set(receiver_accid=889)
  3239. Dialplan: sofia/default/390541614514@173.203.86.119 Action export(domain_name=Reshetcall812.newsip.israelnumber.com)
  3240. Dialplan: sofia/default/390541614514@173.203.86.119 Action export(sip_to_host=Reshetcall812.newsip.israelnumber.com)
  3241. Dialplan: sofia/default/390541614514@173.203.86.119 Action limit(db 390399686667 did_390399686667 2 !SWITCH_CONGESTION)
  3242. Dialplan: sofia/default/390541614514@173.203.86.119 Action export(presence_data=x|||Signal(444484249994)|||^390399686667.* // Monza Landline // 0.00000||||||DID|||173.203.86.119)
  3243. Dialplan: sofia/default/390541614514@173.203.86.119 Action export(call_type=2)
  3244. Dialplan: sofia/default/390541614514@173.203.86.119 Action set(calltype=DIRECT-IP)
  3245. Dialplan: sofia/default/390541614514@173.203.86.119 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/390399686667@88.99.5.200)
  3246. 2021-09-14 09:04:36.546662 [DEBUG] switch_core_state_machine.c:286 (sofia/default/390541614514@173.203.86.119) State Change CS_ROUTING -> CS_EXECUTE
  3247. 2021-09-14 09:04:36.546662 [DEBUG] switch_core_state_machine.c:643 (sofia/default/390541614514@173.203.86.119) State ROUTING going to sleep
  3248. 2021-09-14 09:04:36.546662 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390541614514@173.203.86.119) Running State Change CS_EXECUTE (Cur 9 Tot 248016)
  3249. 2021-09-14 09:04:36.546662 [DEBUG] switch_core_state_machine.c:650 (sofia/default/390541614514@173.203.86.119) State EXECUTE
  3250. 2021-09-14 09:04:36.546662 [DEBUG] mod_sofia.c:198 sofia/default/390541614514@173.203.86.119 SOFIA EXECUTE
  3251. 2021-09-14 09:04:36.546662 [DEBUG] switch_core_state_machine.c:328 sofia/default/390541614514@173.203.86.119 Standard EXECUTE
  3252. EXECUTE sofia/default/390541614514@173.203.86.119 set(effective_destination_number=390399686667)
  3253. 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [effective_destination_number]=[390399686667]
  3254. EXECUTE sofia/default/390541614514@173.203.86.119 set(bridge_pre_execute_bleg_app=sched_hangup)
  3255. 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [bridge_pre_execute_bleg_app]=[sched_hangup]
  3256. EXECUTE sofia/default/390541614514@173.203.86.119 set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  3257. 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing]
  3258. EXECUTE sofia/default/390541614514@173.203.86.119 set(callstart=2021-09-14 13:04:36)
  3259. 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [callstart]=[2021-09-14 13:04:36]
  3260. EXECUTE sofia/default/390541614514@173.203.86.119 set(hangup_after_bridge=true)
  3261. 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [hangup_after_bridge]=[true]
  3262. EXECUTE sofia/default/390541614514@173.203.86.119 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  3263. 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]
  3264. EXECUTE sofia/default/390541614514@173.203.86.119 set(account_id=923)
  3265. 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [account_id]=[923]
  3266. EXECUTE sofia/default/390541614514@173.203.86.119 set(parent_id=0)
  3267. 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [parent_id]=[0]
  3268. EXECUTE sofia/default/390541614514@173.203.86.119 set(entity_id=3)
  3269. 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [entity_id]=[3]
  3270. EXECUTE sofia/default/390541614514@173.203.86.119 set(call_processed=internal)
  3271. 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [call_processed]=[internal]
  3272. EXECUTE sofia/default/390541614514@173.203.86.119 set(call_direction=inbound)
  3273. 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [call_direction]=[inbound]
  3274. EXECUTE sofia/default/390541614514@173.203.86.119 set(accountname=default)
  3275. 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [accountname]=[default]
  3276. EXECUTE sofia/default/390541614514@173.203.86.119 set(filename1=astpp.pbx.lua)
  3277. 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [filename1]=[astpp.pbx.lua]
  3278. EXECUTE sofia/default/390541614514@173.203.86.119 set(origination_rates_did=ID:12039|CODE:^390399686667.*|DESTINATION:Monza Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:94|ACCID:889)
  3279. 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [origination_rates_did]=[ID:12039|CODE:^390399686667.*|DESTINATION:Monza Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:94|ACCID:889]
  3280. EXECUTE sofia/default/390541614514@173.203.86.119 set(origination_rates=0)
  3281. 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [origination_rates]=[0]
  3282. EXECUTE sofia/default/390541614514@173.203.86.119 set(original_caller_id_name=390541614514)
  3283. 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [original_caller_id_name]=[390541614514]
  3284. EXECUTE sofia/default/390541614514@173.203.86.119 set(original_caller_id_number=390541614514)
  3285. 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [original_caller_id_number]=[390541614514]
  3286. EXECUTE sofia/default/390541614514@173.203.86.119 set(effective_caller_id_name=390541614514)
  3287. 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [effective_caller_id_name]=[390541614514]
  3288. EXECUTE sofia/default/390541614514@173.203.86.119 set(effective_caller_id_number=390541614514)
  3289. 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [effective_caller_id_number]=[390541614514]
  3290. EXECUTE sofia/default/390541614514@173.203.86.119 set(receiver_accid=889)
  3291. 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [receiver_accid]=[889]
  3292. EXECUTE sofia/default/390541614514@173.203.86.119 export(domain_name=Reshetcall812.newsip.israelnumber.com)
  3293. 2021-09-14 09:04:36.546662 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Reshetcall812.newsip.israelnumber.com]
  3294. EXECUTE sofia/default/390541614514@173.203.86.119 export(sip_to_host=Reshetcall812.newsip.israelnumber.com)
  3295. 2021-09-14 09:04:36.546662 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Reshetcall812.newsip.israelnumber.com]
  3296. EXECUTE sofia/default/390541614514@173.203.86.119 limit(db 390399686667 did_390399686667 2 !SWITCH_CONGESTION)
  3297. 2021-09-14 09:04:36.546662 [DEBUG] switch_limit.c:126 incr called: 390399686667_did_390399686667 max:2, interval:0
  3298. 2021-09-14 09:04:36.546662 [DEBUG] mod_db.c:194 Usage for 390399686667_did_390399686667 is now 1/2
  3299. EXECUTE sofia/default/390541614514@173.203.86.119 export(presence_data=x|||Signal(444484249994)|||^390399686667.* // Monza Landline // 0.00000||||||DID|||173.203.86.119)
  3300. 2021-09-14 09:04:36.546662 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||Signal(444484249994)|||^390399686667.* // Monza Landline // 0.00000||||||DID|||173.203.86.119]
  3301. EXECUTE sofia/default/390541614514@173.203.86.119 export(call_type=2)
  3302. 2021-09-14 09:04:36.546662 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2]
  3303. EXECUTE sofia/default/390541614514@173.203.86.119 set(calltype=DIRECT-IP)
  3304. 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [calltype]=[DIRECT-IP]
  3305. EXECUTE sofia/default/390541614514@173.203.86.119 bridge([leg_timeout=30]sofia/default/390399686667@88.99.5.200)
  3306. 2021-09-14 09:04:36.546662 [DEBUG] switch_channel.c:1250 sofia/default/390541614514@173.203.86.119 EXPORTING[export_vars] [domain_name]=[Reshetcall812.newsip.israelnumber.com] to event
  3307. 2021-09-14 09:04:36.546662 [DEBUG] switch_channel.c:1250 sofia/default/390541614514@173.203.86.119 EXPORTING[export_vars] [sip_to_host]=[Reshetcall812.newsip.israelnumber.com] to event
  3308. 2021-09-14 09:04:36.546662 [DEBUG] switch_channel.c:1250 sofia/default/390541614514@173.203.86.119 EXPORTING[export_vars] [presence_data]=[x|||Signal(444484249994)|||^390399686667.* // Monza Landline // 0.00000||||||DID|||173.203.86.119] to event
  3309. 2021-09-14 09:04:36.546662 [DEBUG] switch_channel.c:1250 sofia/default/390541614514@173.203.86.119 EXPORTING[export_vars] [call_type]=[2] to event
  3310. 2021-09-14 09:04:36.546662 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  3311. 2021-09-14 09:04:36.546662 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  3312. 2021-09-14 09:04:36.546662 [NOTICE] switch_channel.c:1104 New Channel sofia/default/390399686667@88.99.5.200 [500878d4-155c-11ec-9e35-7dfb9f6e00f0]
  3313. 2021-09-14 09:04:36.546662 [DEBUG] mod_sofia.c:4819 (sofia/default/390399686667@88.99.5.200) State Change CS_NEW -> CS_INIT
  3314. 2021-09-14 09:04:36.546662 [DEBUG] switch_ivr_originate.c:2963 sofia/default/390399686667@88.99.5.200 Setting leg timeout to 30
  3315. 2021-09-14 09:04:36.546662 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399686667@88.99.5.200) Running State Change CS_INIT (Cur 10 Tot 248017)
  3316. 2021-09-14 09:04:36.546662 [DEBUG] switch_core_state_machine.c:627 (sofia/default/390399686667@88.99.5.200) State INIT
  3317. 2021-09-14 09:04:36.546662 [DEBUG] mod_sofia.c:90 sofia/default/390399686667@88.99.5.200 SOFIA INIT
  3318. 2021-09-14 09:04:36.546662 [DEBUG] sofia_glue.c:1295 sofia/default/390399686667@88.99.5.200 sending invite version: 1.6.20  64bit
  3319. Local SDP:
  3320. v=0
  3321. o=FreeSWITCH 1631601574 1631601575 IN IP4 89.46.223.193
  3322. s=FreeSWITCH
  3323. c=IN IP4 89.46.223.193
  3324. t=0 0
  3325. m=audio 23102 RTP/AVP 0 101
  3326. a=rtpmap:0 PCMU/8000
  3327. a=rtpmap:101 telephone-event/8000
  3328. a=fmtp:101 0-16
  3329. a=ptime:20
  3330. a=sendrecv
  3331.  
  3332. 2021-09-14 09:04:36.546662 [DEBUG] switch_core_state_machine.c:40 sofia/default/390399686667@88.99.5.200 Standard INIT
  3333. 2021-09-14 09:04:36.546662 [DEBUG] switch_core_state_machine.c:48 (sofia/default/390399686667@88.99.5.200) State Change CS_INIT -> CS_ROUTING
  3334. 2021-09-14 09:04:36.546662 [DEBUG] switch_core_state_machine.c:627 (sofia/default/390399686667@88.99.5.200) State INIT going to sleep
  3335. 2021-09-14 09:04:36.546662 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399686667@88.99.5.200) Running State Change CS_ROUTING (Cur 10 Tot 248017)
  3336. 2021-09-14 09:04:36.546662 [DEBUG] switch_core_state_machine.c:643 (sofia/default/390399686667@88.99.5.200) State ROUTING
  3337. 2021-09-14 09:04:36.546662 [DEBUG] mod_sofia.c:143 sofia/default/390399686667@88.99.5.200 SOFIA ROUTING
  3338. 2021-09-14 09:04:36.546662 [DEBUG] switch_ivr_originate.c:67 (sofia/default/390399686667@88.99.5.200) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  3339. 2021-09-14 09:04:36.546662 [DEBUG] switch_core_state_machine.c:643 (sofia/default/390399686667@88.99.5.200) State ROUTING going to sleep
  3340. 2021-09-14 09:04:36.546662 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399686667@88.99.5.200) Running State Change CS_CONSUME_MEDIA (Cur 10 Tot 248017)
  3341. 2021-09-14 09:04:36.546662 [DEBUG] switch_core_state_machine.c:662 (sofia/default/390399686667@88.99.5.200) State CONSUME_MEDIA
  3342. 2021-09-14 09:04:36.546662 [DEBUG] switch_core_state_machine.c:662 (sofia/default/390399686667@88.99.5.200) State CONSUME_MEDIA going to sleep
  3343. 2021-09-14 09:04:36.546662 [DEBUG] sofia.c:7084 Channel sofia/default/390399686667@88.99.5.200 entering state [calling][0]
  3344. 2021-09-14 09:04:37.206669 [DEBUG] sofia.c:7084 Channel sofia/default/390399686667@88.99.5.200 entering state [proceeding][180]
  3345. 2021-09-14 09:04:37.206669 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/390399686667@88.99.5.200!
  3346. 2021-09-14 09:04:37.206669 [DEBUG] switch_channel.c:3346 (sofia/default/390399686667@88.99.5.200) Callstate Change DOWN -> RINGING
  3347. 2021-09-14 09:04:37.206669 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/390541614514@173.203.86.119!
  3348. 2021-09-14 09:04:37.206669 [DEBUG] sofia.c:7084 Channel sofia/default/390541614514@173.203.86.119 entering state [early][180]
  3349. 2021-09-14 09:04:37.206669 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/390541614514@173.203.86.119!
  3350. 2021-09-14 09:04:39.086710 [NOTICE] sofia.c:1012 Hangup sofia/default/48502760875@46.19.210.14 [CS_EXECUTE] [NORMAL_CLEARING]
  3351. 2021-09-14 09:04:39.086710 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/48502760875@46.19.210.14]
  3352. 2021-09-14 09:04:39.086710 [DEBUG] switch_ivr_bridge.c:706 sofia/default/48502760875@46.19.210.14 ending bridge by request from write function
  3353. 2021-09-14 09:04:39.086710 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/48221531871@35.205.116.118]
  3354. 2021-09-14 09:04:39.086710 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/48221531871@35.205.116.118 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  3355. 2021-09-14 09:04:39.086710 [DEBUG] switch_core_state_machine.c:653 (sofia/default/48221531871@35.205.116.118) State EXCHANGE_MEDIA going to sleep
  3356. 2021-09-14 09:04:39.086710 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48221531871@35.205.116.118) Running State Change CS_HANGUP (Cur 10 Tot 248017)
  3357. 2021-09-14 09:04:39.086710 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48221531871@35.205.116.118) Callstate Change ACTIVE -> HANGUP
  3358. 2021-09-14 09:04:39.086710 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48221531871@35.205.116.118) State HANGUP
  3359. 2021-09-14 09:04:39.086710 [DEBUG] mod_sofia.c:432 sofia/default/48221531871@35.205.116.118 Overriding SIP cause 480 with 200 from the other leg
  3360. 2021-09-14 09:04:39.086710 [DEBUG] mod_sofia.c:438 Channel sofia/default/48221531871@35.205.116.118 hanging up, cause: NORMAL_CLEARING
  3361. 2021-09-14 09:04:39.086710 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/48221531871@35.205.116.118
  3362. 2021-09-14 09:04:39.086710 [DEBUG] switch_core_state_machine.c:60 sofia/default/48221531871@35.205.116.118 Standard HANGUP, cause: NORMAL_CLEARING
  3363. 2021-09-14 09:04:39.086710 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48221531871@35.205.116.118) State HANGUP going to sleep
  3364. 2021-09-14 09:04:39.086710 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/48221531871@35.205.116.118 skip receive message [UNBRIDGE] (channel is hungup already)
  3365. 2021-09-14 09:04:39.086710 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/48502760875@46.19.210.14 skip receive message [UNBRIDGE] (channel is hungup already)
  3366. 2021-09-14 09:04:39.086710 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48221531871@35.205.116.118) State Change CS_HANGUP -> CS_REPORTING
  3367. 2021-09-14 09:04:39.086710 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48221531871@35.205.116.118) Running State Change CS_REPORTING (Cur 10 Tot 248017)
  3368. 2021-09-14 09:04:39.086710 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48221531871@35.205.116.118) State REPORTING
  3369. 2021-09-14 09:04:39.086710 [DEBUG] switch_core_session.c:2815 sofia/default/48502760875@46.19.210.14 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  3370. 2021-09-14 09:04:39.086710 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48502760875@46.19.210.14) State EXECUTE going to sleep
  3371. 2021-09-14 09:04:39.086710 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48502760875@46.19.210.14) Running State Change CS_HANGUP (Cur 10 Tot 248017)
  3372. 2021-09-14 09:04:39.086710 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48502760875@46.19.210.14) Callstate Change ACTIVE -> HANGUP
  3373. 2021-09-14 09:04:39.086710 [INFO] mod_json_cdr.c:271 Process [4db507dc-155c-11ec-9e0f-7dfb9f6e00f0.cdr.json]
  3374. 2021-09-14 09:04:39.086710 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48502760875@46.19.210.14) State HANGUP
  3375. 2021-09-14 09:04:39.086710 [DEBUG] mod_sofia.c:438 Channel sofia/default/48502760875@46.19.210.14 hanging up, cause: NORMAL_CLEARING
  3376. 2021-09-14 09:04:39.086710 [DEBUG] switch_core_state_machine.c:60 sofia/default/48502760875@46.19.210.14 Standard HANGUP, cause: NORMAL_CLEARING
  3377. 2021-09-14 09:04:39.086710 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48502760875@46.19.210.14) State HANGUP going to sleep
  3378. 2021-09-14 09:04:39.086710 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48502760875@46.19.210.14) State Change CS_HANGUP -> CS_REPORTING
  3379. 2021-09-14 09:04:39.086710 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48502760875@46.19.210.14) Running State Change CS_REPORTING (Cur 10 Tot 248017)
  3380. 2021-09-14 09:04:39.086710 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48502760875@46.19.210.14) State REPORTING
  3381. 2021-09-14 09:04:39.086710 [INFO] mod_json_cdr.c:271 Process [4dafbc6e-155c-11ec-9def-7dfb9f6e00f0.cdr.json]
  3382. 2021-09-14 09:04:39.106666 [DEBUG] switch_core_state_machine.c:174 sofia/default/48221531871@35.205.116.118 Standard REPORTING, cause: NORMAL_CLEARING
  3383. 2021-09-14 09:04:39.106666 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48221531871@35.205.116.118) State REPORTING going to sleep
  3384. 2021-09-14 09:04:39.106666 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48221531871@35.205.116.118) State Change CS_REPORTING -> CS_DESTROY
  3385. 2021-09-14 09:04:39.106666 [DEBUG] switch_core_session.c:1665 Session 248015 (sofia/default/48221531871@35.205.116.118) Locked, Waiting on external entities
  3386. 2021-09-14 09:04:39.106666 [NOTICE] switch_core_session.c:1683 Session 248015 (sofia/default/48221531871@35.205.116.118) Ended
  3387. 2021-09-14 09:04:39.106666 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48221531871@35.205.116.118 [CS_DESTROY]
  3388. 2021-09-14 09:04:39.106666 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48221531871@35.205.116.118) Running State Change CS_DESTROY (Cur 9 Tot 248017)
  3389. 2021-09-14 09:04:39.106666 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48221531871@35.205.116.118) State DESTROY
  3390. 2021-09-14 09:04:39.106666 [DEBUG] mod_sofia.c:343 sofia/default/48221531871@35.205.116.118 SOFIA DESTROY
  3391. 2021-09-14 09:04:39.106666 [DEBUG] switch_core_state_machine.c:181 sofia/default/48221531871@35.205.116.118 Standard DESTROY
  3392. 2021-09-14 09:04:39.106666 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48221531871@35.205.116.118) State DESTROY going to sleep
  3393. 2021-09-14 09:04:39.106666 [DEBUG] switch_core_state_machine.c:174 sofia/default/48502760875@46.19.210.14 Standard REPORTING, cause: NORMAL_CLEARING
  3394. 2021-09-14 09:04:39.106666 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48502760875@46.19.210.14) State REPORTING going to sleep
  3395. 2021-09-14 09:04:39.106666 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48502760875@46.19.210.14) State Change CS_REPORTING -> CS_DESTROY
  3396. 2021-09-14 09:04:39.106666 [DEBUG] switch_core_session.c:1665 Session 248014 (sofia/default/48502760875@46.19.210.14) Locked, Waiting on external entities
  3397. 2021-09-14 09:04:39.106666 [NOTICE] switch_core_session.c:1683 Session 248014 (sofia/default/48502760875@46.19.210.14) Ended
  3398. 2021-09-14 09:04:39.106666 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48502760875@46.19.210.14 [CS_DESTROY]
  3399. 2021-09-14 09:04:39.106666 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48502760875@46.19.210.14) Running State Change CS_DESTROY (Cur 8 Tot 248017)
  3400. 2021-09-14 09:04:39.106666 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48502760875@46.19.210.14) State DESTROY
  3401. 2021-09-14 09:04:39.106666 [DEBUG] mod_sofia.c:343 sofia/default/48502760875@46.19.210.14 SOFIA DESTROY
  3402. 2021-09-14 09:04:39.106666 [DEBUG] switch_core_state_machine.c:181 sofia/default/48502760875@46.19.210.14 Standard DESTROY
  3403. 2021-09-14 09:04:39.106666 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48502760875@46.19.210.14) State DESTROY going to sleep
  3404. 2021-09-14 09:04:39.126668 [DEBUG] switch_scheduler.c:144 Deleting task 31130 switch_ivr_schedule_hangup (4db507dc-155c-11ec-9e0f-7dfb9f6e00f0)
  3405. 2021-09-14 09:04:49.426754 [DEBUG] sofia.c:7084 Channel sofia/default/390399686667@88.99.5.200 entering state [completing][200]
  3406. 2021-09-14 09:04:49.426754 [DEBUG] sofia.c:7094 Remote SDP:
  3407. v=0
  3408. o=FreeSWITCH 1631608171 1631608172 IN IP4 88.99.5.200
  3409. s=FreeSWITCH
  3410. c=IN IP4 88.99.5.200
  3411. t=0 0
  3412. m=audio 16518 RTP/AVP 0 101
  3413. a=rtpmap:0 PCMU/8000
  3414. a=rtpmap:101 telephone-event/8000
  3415. a=fmtp:101 0-16
  3416. a=ptime:20
  3417.  
  3418. 2021-09-14 09:04:49.426754 [DEBUG] sofia.c:7084 Channel sofia/default/390399686667@88.99.5.200 entering state [ready][200]
  3419. 2021-09-14 09:04:49.426754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  3420. 2021-09-14 09:04:49.426754 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  3421. 2021-09-14 09:04:49.426754 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  3422. 2021-09-14 09:04:49.426754 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/390399686667@88.99.5.200 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  3423. 2021-09-14 09:04:49.426754 [DEBUG] switch_core_codec.c:111 sofia/default/390399686667@88.99.5.200 Original read codec set to PCMU:0
  3424. 2021-09-14 09:04:49.426754 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  3425. 2021-09-14 09:04:49.426754 [DEBUG] switch_core_media.c:4767 sofia/default/390399686667@88.99.5.200 Set 2833 dtmf send payload to 101 recv payload to 101
  3426. 2021-09-14 09:04:49.426754 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/390399686667@88.99.5.200] 89.46.223.193 port 23102 -> 88.99.5.200 port 16518 codec: 0 ms: 20
  3427. 2021-09-14 09:04:49.426754 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  3428. 2021-09-14 09:04:49.426754 [DEBUG] switch_core_media.c:7180 sofia/default/390399686667@88.99.5.200 Set 2833 dtmf send payload to 101
  3429. 2021-09-14 09:04:49.426754 [DEBUG] switch_core_media.c:7187 sofia/default/390399686667@88.99.5.200 Set 2833 dtmf receive payload to 101
  3430. 2021-09-14 09:04:49.426754 [DEBUG] switch_core_media.c:7210 sofia/default/390399686667@88.99.5.200 Set rtp dtmf delay to 40
  3431. 2021-09-14 09:04:49.426754 [NOTICE] sofia.c:8218 Channel [sofia/default/390399686667@88.99.5.200] has been answered
  3432. 2021-09-14 09:04:49.426754 [DEBUG] switch_channel.c:3773 (sofia/default/390399686667@88.99.5.200) Callstate Change RINGING -> ACTIVE
  3433. 2021-09-14 09:04:49.466672 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/390541614514@173.203.86.119] 89.46.223.193 port 26730 -> 173.203.86.119 port 19852 codec: 0 ms: 20
  3434. 2021-09-14 09:04:49.466672 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  3435. 2021-09-14 09:04:49.466672 [DEBUG] switch_core_media.c:7180 sofia/default/390541614514@173.203.86.119 Set 2833 dtmf send payload to 101
  3436. 2021-09-14 09:04:49.466672 [DEBUG] switch_core_media.c:7187 sofia/default/390541614514@173.203.86.119 Set 2833 dtmf receive payload to 101
  3437. 2021-09-14 09:04:49.466672 [DEBUG] switch_core_media.c:7210 sofia/default/390541614514@173.203.86.119 Set rtp dtmf delay to 40
  3438. 2021-09-14 09:04:49.466672 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/390541614514@173.203.86.119:
  3439. v=0
  3440. o=FreeSWITCH 1631597959 1631597960 IN IP4 89.46.223.193
  3441. s=FreeSWITCH
  3442. c=IN IP4 89.46.223.193
  3443. t=0 0
  3444. m=audio 26730 RTP/AVP 0 101
  3445. a=rtpmap:0 PCMU/8000
  3446. a=rtpmap:101 telephone-event/8000
  3447. a=fmtp:101 0-16
  3448. a=ptime:20
  3449. a=sendrecv
  3450.  
  3451. 2021-09-14 09:04:49.466672 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/390541614514@173.203.86.119] has been answered
  3452. 2021-09-14 09:04:49.466672 [DEBUG] switch_channel.c:3773 (sofia/default/390541614514@173.203.86.119) Callstate Change RINGING -> ACTIVE
  3453. 2021-09-14 09:04:49.466672 [DEBUG] sofia.c:7084 Channel sofia/default/390541614514@173.203.86.119 entering state [completed][200]
  3454. 2021-09-14 09:04:49.466672 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/390399686667@88.99.5.200]
  3455. 2021-09-14 09:04:49.466672 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/390399686667@88.99.5.200) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  3456. 2021-09-14 09:04:49.466672 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399686667@88.99.5.200) Running State Change CS_EXCHANGE_MEDIA (Cur 8 Tot 248017)
  3457. 2021-09-14 09:04:49.466672 [DEBUG] switch_core_state_machine.c:653 (sofia/default/390399686667@88.99.5.200) State EXCHANGE_MEDIA
  3458. 2021-09-14 09:04:49.466672 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  3459. 2021-09-14 09:04:49.486737 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  3460. 2021-09-14 09:04:49.567271 [DEBUG] sofia.c:7084 Channel sofia/default/390541614514@173.203.86.119 entering state [ready][200]
  3461. 2021-09-14 09:04:49.646669 [DEBUG] switch_ivr_bridge.c:546 sofia/default/390399686667@88.99.5.200 Bridge execute app sched_hangup(+10800 normal_clearing)
  3462. 2021-09-14 09:04:49.666670 [DEBUG] switch_ivr.c:623 sofia/default/390399686667@88.99.5.200 Command Execute sched_hangup(+10800 normal_clearing)
  3463. EXECUTE sofia/default/390399686667@88.99.5.200 sched_hangup(+10800 normal_clearing)
  3464. 2021-09-14 09:04:49.666670 [DEBUG] switch_scheduler.c:249 Added task 31131 switch_ivr_schedule_hangup (500878d4-155c-11ec-9e35-7dfb9f6e00f0) to run at 1631635489
  3465. 2021-09-14 09:04:49.746667 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  3466. 2021-09-14 09:04:51.726732 [NOTICE] switch_channel.c:1104 New Channel sofia/default/498008001050@193.109.216.112 [591382e8-155c-11ec-9e3b-7dfb9f6e00f0]
  3467. 2021-09-14 09:04:51.726732 [DEBUG] switch_core_state_machine.c:584 (sofia/default/498008001050@193.109.216.112) Running State Change CS_NEW (Cur 9 Tot 248018)
  3468. 2021-09-14 09:04:51.726732 [DEBUG] sofia.c:9873 sofia/default/498008001050@193.109.216.112 receiving invite from 136.243.196.198:5060 version: 1.6.20  64bit
  3469. 2021-09-14 09:04:51.726732 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
  3470. 2021-09-14 09:04:51.726732 [DEBUG] sofia.c:7084 Channel sofia/default/498008001050@193.109.216.112 entering state [received][100]
  3471. 2021-09-14 09:04:51.726732 [DEBUG] sofia.c:7094 Remote SDP:
  3472. v=0
  3473. o=root 1639141164 1639141164 IN IP4 193.109.216.112
  3474. s=Asterisk PBX 1.8.32.3
  3475. c=IN IP4 193.109.216.112
  3476. t=0 0
  3477. m=audio 35518 RTP/AVP 8 0 101
  3478. a=rtpmap:8 PCMA/8000
  3479. a=rtpmap:0 PCMU/8000
  3480. a=rtpmap:101 telephone-event/8000
  3481. a=fmtp:101 0-16
  3482. a=ptime:20
  3483.  
  3484. 2021-09-14 09:04:51.726732 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  3485. 2021-09-14 09:04:51.726732 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  3486. 2021-09-14 09:04:51.726732 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  3487. 2021-09-14 09:04:51.726732 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  3488. 2021-09-14 09:04:51.726732 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  3489. 2021-09-14 09:04:51.726732 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  3490. 2021-09-14 09:04:51.726732 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  3491. 2021-09-14 09:04:51.726732 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  3492. 2021-09-14 09:04:51.726732 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  3493. 2021-09-14 09:04:51.726732 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/498008001050@193.109.216.112 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  3494. 2021-09-14 09:04:51.726732 [DEBUG] switch_core_codec.c:111 sofia/default/498008001050@193.109.216.112 Original read codec set to PCMA:8
  3495. 2021-09-14 09:04:51.726732 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  3496. 2021-09-14 09:04:51.726732 [DEBUG] switch_core_media.c:4767 sofia/default/498008001050@193.109.216.112 Set 2833 dtmf send payload to 101 recv payload to 101
  3497. 2021-09-14 09:04:51.726732 [DEBUG] sofia.c:7507 (sofia/default/498008001050@193.109.216.112) State Change CS_NEW -> CS_INIT
  3498. 2021-09-14 09:04:51.726732 [DEBUG] switch_core_state_machine.c:603 (sofia/default/498008001050@193.109.216.112) State NEW
  3499. 2021-09-14 09:04:51.726732 [DEBUG] switch_core_state_machine.c:584 (sofia/default/498008001050@193.109.216.112) Running State Change CS_INIT (Cur 9 Tot 248018)
  3500. 2021-09-14 09:04:51.726732 [DEBUG] switch_core_state_machine.c:627 (sofia/default/498008001050@193.109.216.112) State INIT
  3501. 2021-09-14 09:04:51.726732 [DEBUG] mod_sofia.c:90 sofia/default/498008001050@193.109.216.112 SOFIA INIT
  3502. 2021-09-14 09:04:51.726732 [DEBUG] switch_core_state_machine.c:40 sofia/default/498008001050@193.109.216.112 Standard INIT
  3503. 2021-09-14 09:04:51.726732 [DEBUG] switch_core_state_machine.c:48 (sofia/default/498008001050@193.109.216.112) State Change CS_INIT -> CS_ROUTING
  3504. 2021-09-14 09:04:51.726732 [DEBUG] switch_core_state_machine.c:627 (sofia/default/498008001050@193.109.216.112) State INIT going to sleep
  3505. 2021-09-14 09:04:51.726732 [DEBUG] switch_core_state_machine.c:584 (sofia/default/498008001050@193.109.216.112) Running State Change CS_ROUTING (Cur 9 Tot 248018)
  3506. 2021-09-14 09:04:51.726732 [DEBUG] switch_channel.c:2249 (sofia/default/498008001050@193.109.216.112) Callstate Change DOWN -> RINGING
  3507. 2021-09-14 09:04:51.726732 [DEBUG] switch_core_state_machine.c:643 (sofia/default/498008001050@193.109.216.112) State ROUTING
  3508. 2021-09-14 09:04:51.726732 [DEBUG] mod_sofia.c:143 sofia/default/498008001050@193.109.216.112 SOFIA ROUTING
  3509. 2021-09-14 09:04:51.726732 [DEBUG] switch_core_state_machine.c:236 sofia/default/498008001050@193.109.216.112 Standard ROUTING
  3510. 2021-09-14 09:04:51.726732 [INFO] mod_dialplan_xml.c:637 Processing 498008001050 <498008001050>->004915111633383 in context default
  3511. 2021-09-14 09:04:51.726732 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected.
  3512. 2021-09-14 09:04:51.726732 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  3513. 2021-09-14 09:04:51.726732 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  3514. 2021-09-14 09:04:51.726732 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params:
  3515. 'Event-Name: REQUEST_PARAMS
  3516. Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0
  3517. FreeSWITCH-Hostname: astpp1.local
  3518. FreeSWITCH-Switchname: astpp1.local
  3519. FreeSWITCH-IPv4: 89.46.223.193
  3520. FreeSWITCH-IPv6: %3A%3A1
  3521. Event-Date-Local: 2021-09-14%2009%3A04%3A51
  3522. Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A04%3A51%20GMT
  3523. Event-Date-Timestamp: 1631624691726732
  3524. Event-Calling-File: mod_dialplan_xml.c
  3525. Event-Calling-Function: dialplan_xml_locate
  3526. Event-Calling-Line-Number: 608
  3527. Event-Sequence: 7527934
  3528. Channel-State: CS_ROUTING
  3529. Channel-Call-State: RINGING
  3530. Channel-State-Number: 2
  3531. Channel-Name: sofia/default/498008001050%40193.109.216.112
  3532. Unique-ID: 591382e8-155c-11ec-9e3b-7dfb9f6e00f0
  3533. Call-Direction: inbound
  3534. Presence-Call-Direction: inbound
  3535. Channel-HIT-Dialplan: true
  3536. Channel-Presence-ID: 498008001050%40193.109.216.112
  3537. Channel-Call-UUID: 591382e8-155c-11ec-9e3b-7dfb9f6e00f0
  3538. Answer-State: ringing
  3539. Channel-Read-Codec-Name: PCMA
  3540. Channel-Read-Codec-Rate: 8000
  3541. Channel-Read-Codec-Bit-Rate: 64000
  3542. Channel-Write-Codec-Name: PCMA
  3543. Channel-Write-Codec-Rate: 8000
  3544. Channel-Write-Codec-Bit-Rate: 64000
  3545. Caller-Direction: inbound
  3546. Caller-Logical-Direction: inbound
  3547. Caller-Username: 498008001050
  3548. Caller-Dialplan: XML
  3549. Caller-Caller-ID-Name: 498008001050
  3550. Caller-Caller-ID-Number: 498008001050
  3551. Caller-Orig-Caller-ID-Name: 498008001050
  3552. Caller-Orig-Caller-ID-Number: 498008001050
  3553. Caller-Network-Addr: 136.243.196.198
  3554. Caller-ANI: 498008001050
  3555. Caller-Destination-Number: 004915111633383
  3556. Caller-Unique-ID: 591382e8-155c-11ec-9e3b-7dfb9f6e00f0
  3557. Caller-Source: mod_sofia
  3558. Caller-Context: default
  3559. Caller-Channel-Name: sofia/default/498008001050%40193.109.216.112
  3560. Caller-Profile-Index: 1
  3561. Caller-Profile-Created-Time: 1631624691726732
  3562. Caller-Channel-Created-Time: 1631624691726732
  3563. Caller-Channel-Answered-Time: 0
  3564. Caller-Channel-Progress-Time: 0
  3565. Caller-Channel-Progress-Media-Time: 0
  3566. Caller-Channel-Hangup-Time: 0
  3567. Caller-Channel-Transfer-Time: 0
  3568. Caller-Channel-Resurrect-Time: 0
  3569. Caller-Channel-Bridged-Time: 0
  3570. Caller-Channel-Last-Hold: 0
  3571. Caller-Channel-Hold-Accum: 0
  3572. Caller-Screen-Bit: true
  3573. Caller-Privacy-Hide-Name: false
  3574. Caller-Privacy-Hide-Number: false
  3575. variable_direction: inbound
  3576. variable_uuid: 591382e8-155c-11ec-9e3b-7dfb9f6e00f0
  3577. variable_session_id: 248018
  3578. variable_sip_from_user: 498008001050
  3579. variable_sip_from_uri: 498008001050%40193.109.216.112
  3580. variable_sip_from_host: 193.109.216.112
  3581. variable_video_media_flow: sendrecv
  3582. variable_channel_name: sofia/default/498008001050%40193.109.216.112
  3583. variable_sip_call_id: 43c8caaf02dbe91a7bfdd9624f1c9213%40193.109.216.112%3A5060
  3584. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b
  3585. variable_sip_local_network_addr: 89.46.223.193
  3586. variable_sip_network_ip: 136.243.196.198
  3587. variable_sip_network_port: 5060
  3588. variable_sip_invite_stamp: 1631624691726732
  3589. variable_sip_received_ip: 136.243.196.198
  3590. variable_sip_received_port: 5060
  3591. variable_sip_via_protocol: udp
  3592. variable_sip_authorized: true
  3593. variable_sip_acl_authed_by: default
  3594. variable_sip_from_user_stripped: 498008001050
  3595. variable_sip_from_tag: as352a7585
  3596. variable_sofia_profile_name: default
  3597. variable_recovery_profile_name: default
  3598. variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3Dc81.0fb49cb5%3E
  3599. variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3Dc81.0fb49cb5%3E
  3600. variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bKd504.7f3a7c75.0,SIP/2.0/UDP%20193.109.216.112%3A5060%3Bbranch%3Dz9hG4bK4e5cf9b4
  3601. variable_sip_from_display: 498008001050
  3602. variable_sip_full_from: %22498008001050%22%20%3Csip%3A498008001050%40193.109.216.112%3E%3Btag%3Das352a7585
  3603. variable_sip_full_to: %3Csip%3A004915111633383%40136.243.196.198%3E
  3604. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE
  3605. variable_sip_req_user: 004915111633383
  3606. variable_sip_req_uri: 004915111633383%40136.243.196.198
  3607. variable_sip_req_host: 136.243.196.198
  3608. variable_sip_to_user: 004915111633383
  3609. variable_sip_to_uri: 004915111633383%40136.243.196.198
  3610. variable_sip_to_host: 136.243.196.198
  3611. variable_sip_contact_user: 498008001050
  3612. variable_sip_contact_port: 5060
  3613. variable_sip_contact_uri: 498008001050%40193.109.216.112%3A5060
  3614. variable_sip_contact_host: 193.109.216.112
  3615. variable_sip_user_agent: Asterisk%20PBX%201.8.32.3
  3616. variable_sip_via_host: 136.243.196.198
  3617. variable_sip_via_port: 5060
  3618. variable_max_forwards: 30
  3619. variable_presence_id: 498008001050%40193.109.216.112
  3620. variable_sip_h_X-AUTH-IP: 193.109.216.112
  3621. variable_sip_h_P-Accountcode: 619312506378
  3622. variable_sip_h_P-effective_caller_id_name: 498008001050
  3623. variable_sip_h_P-effective_caller_id_number: 498008001050
  3624. variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%201639141164%201639141164%20IN%20IP4%20193.109.216.112%0D%0As%3DAsterisk%20PBX%201.8.32.3%0D%0Ac%3DIN%20IP4%20193.109.216.112%0D%0At%3D0%200%0D%0Am%3Daudio%2035518%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
  3625. variable_rtp_use_codec_string: PCMA,PCMU,G729
  3626. variable_audio_media_flow: sendrecv
  3627. variable_remote_media_ip: 193.109.216.112
  3628. variable_remote_media_port: 35518
  3629. variable_rtp_audio_recv_pt: 8
  3630. variable_rtp_use_codec_name: PCMA
  3631. variable_rtp_use_codec_rate: 8000
  3632. variable_rtp_use_codec_ptime: 20
  3633. variable_rtp_use_codec_channels: 1
  3634. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  3635. variable_read_codec: PCMA
  3636. variable_original_read_codec: PCMA
  3637. variable_read_rate: 8000
  3638. variable_original_read_rate: 8000
  3639. variable_write_codec: PCMA
  3640. variable_write_rate: 8000
  3641. variable_dtmf_type: rfc2833
  3642. variable_endpoint_disposition: RECEIVED
  3643. variable_call_uuid: 591382e8-155c-11ec-9e3b-7dfb9f6e00f0
  3644. Hunt-Direction: inbound
  3645. Hunt-Logical-Direction: inbound
  3646. Hunt-Username: 498008001050
  3647. Hunt-Dialplan: XML
  3648. Hunt-Caller-ID-Name: 498008001050
  3649. Hunt-Caller-ID-Number: 498008001050
  3650. Hunt-Orig-Caller-ID-Name: 498008001050
  3651. Hunt-Orig-Caller-ID-Number: 498008001050
  3652. Hunt-Network-Addr: 136.243.196.198
  3653. Hunt-ANI: 498008001050
  3654. Hunt-Destination-Number: 004915111633383
  3655. Hunt-Unique-ID: 591382e8-155c-11ec-9e3b-7dfb9f6e00f0
  3656. Hunt-Source: mod_sofia
  3657. Hunt-Context: default
  3658. Hunt-Channel-Name: sofia/default/498008001050%40193.109.216.112
  3659. Hunt-Profile-Index: 1
  3660. Hunt-Profile-Created-Time: 1631624691726732
  3661. Hunt-Channel-Created-Time: 1631624691726732
  3662. Hunt-Channel-Answered-Time: 0
  3663. Hunt-Channel-Progress-Time: 0
  3664. Hunt-Channel-Progress-Media-Time: 0
  3665. Hunt-Channel-Hangup-Time: 0
  3666. Hunt-Channel-Transfer-Time: 0
  3667. Hunt-Channel-Resurrect-Time: 0
  3668. Hunt-Channel-Bridged-Time: 0
  3669. Hunt-Channel-Last-Hold: 0
  3670. Hunt-Channel-Hold-Accum: 0
  3671. Hunt-Screen-Bit: true
  3672. Hunt-Privacy-Hide-Name: false
  3673. Hunt-Privacy-Hide-Number: false
  3674.  
  3675. '
  3676. 2021-09-14 09:04:51.726732 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name:
  3677. 2021-09-14 09:04:51.726732 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value:
  3678. 2021-09-14 09:04:51.726732 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name:
  3679. 2021-09-14 09:04:51.726732 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan
  3680. 2021-09-14 09:04:51.726732 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  3681. 2021-09-14 09:04:51.726732 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 004915111633383
  3682. 2021-09-14 09:04:51.726732 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '004915111633383' limit 1
  3683. 2021-09-14 09:04:51.726732 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '004915111633383' AND status=0 limit 1
  3684. 2021-09-14 09:04:51.726732 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '193.109.216.112' limit 1
  3685. 2021-09-14 09:04:51.726732 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  3686. 2021-09-14 09:04:51.726732 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 498008001050 / 498008001050
  3687. 2021-09-14 09:04:51.726732 [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 ="004915111633383" LIMIT 1
  3688. 2021-09-14 09:04:51.726732 [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="004915111633383"  AND domains.domain="136.243.196.198" limit 1
  3689. 2021-09-14 09:04:51.726732 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  3690. 2021-09-14 09:04:51.726732 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 619312506378]
  3691. 2021-09-14 09:04:51.726732 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "619312506378" OR number = "619312506378" AND deleted = 0 limit 1
  3692. 2021-09-14 09:04:51.726732 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^004915111633383.*' OR blocked_patterns = '^00491511163338.*' OR blocked_patterns = '^0049151116333.*' OR blocked_patterns = '^004915111633.*' OR blocked_patterns = '^00491511163.*' OR blocked_patterns = '^0049151116.*' OR blocked_patterns = '^004915111.*' OR blocked_patterns = '^00491511.*' OR blocked_patterns = '^0049151.*' OR blocked_patterns = '^004915.*' OR blocked_patterns = '^00491.*' OR blocked_patterns = '^0049.*' OR blocked_patterns = '^004.*' OR blocked_patterns = '^00.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 1039 limit 1
  3693. 2021-09-14 09:04:51.726732 [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 ="004915111633383" AND A.accountid = '1039' limit 1
  3694. 2021-09-14 09:04:51.726732 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 004915111633383
  3695. 2021-09-14 09:04:51.726732 [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 ="004915111633383" LIMIT 1
  3696. 2021-09-14 09:04:51.726732 [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="004915111633383"  AND domains.domain="136.243.196.198" limit 1
  3697. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : outbound
  3698. 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="004915111633383" AND (accountid = 0 OR status = 1) LIMIT 1
  3699. 2021-09-14 09:04:51.746731 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 3
  3700. 2021-09-14 09:04:51.746731 [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
  3701. 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*".....004915111633383
  3702. 2021-09-14 09:04:51.746731 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 004915111633383
  3703. 2021-09-14 09:04:51.746731 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 4915111633383
  3704. 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*".....4915111633383
  3705. 2021-09-14 09:04:51.746731 [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 = '^4915111633383.*' OR patterns = '^491511163338.*' OR patterns = '^49151116333.*' OR patterns = '^4915111633.*' OR patterns = '^491511163.*' OR patterns = '^49151116.*' OR patterns = '^4915111.*' OR patterns = '^491511.*' OR patterns = '^49151.*' OR patterns = '^4915.*' OR patterns = '^491.*' OR patterns = '^49.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 1039 ORDER BY LENGTH(PKGPTR.patterns) DESC
  3706. 2021-09-14 09:04:51.746731 [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 = '4915111633383' OR number = '491511163338' OR number = '49151116333' OR number = '4915111633' OR number = '491511163' OR number = '49151116' OR number = '4915111' OR number = '491511' OR number = '49151' OR number = '4915' OR number = '491' OR number = '49' OR number = '4' OR number ='--') OR (number = '4915111633383*' OR number = '491511163338*' OR number = '49151116333*' OR number = '4915111633*' OR number = '491511163*' OR number = '49151116*' OR number = '4915111*' OR number = '491511*' OR number = '49151*' OR number = '4915*' OR number = '491*' OR number = '49*' OR number = '4*' OR number ='--') OR (number = '498008001050' OR number = '49800800105' OR number = '4980080010' OR number = '498008001' OR number = '49800800' OR number = '4980080' OR number = '498008' OR number = '49800' OR number = '4980' OR number = '498' OR number = '49' OR number = '4' OR number ='--') OR (number = '498008001050*' OR number = '49800800105*' OR number = '4980080010*' OR number = '498008001*' OR number = '49800800*' OR number = '4980080*' OR number = '498008*' OR number = '49800*' OR number = '4980*' OR number = '498*' OR number = '49*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  3707. 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  3708. 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '4915111633383' OR routing_prefix = '491511163338' OR routing_prefix = '49151116333' OR routing_prefix = '4915111633' OR routing_prefix = '491511163' OR routing_prefix = '49151116' OR routing_prefix = '4915111' OR routing_prefix = '491511' OR routing_prefix = '49151' OR routing_prefix = '4915' OR routing_prefix = '491' OR routing_prefix = '49' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  3709. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  3710. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 1039
  3711. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 619312506378
  3712. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 3173.67686
  3713. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  3714. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 49
  3715. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  3716. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  3717. 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0
  3718. 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound
  3719. 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0
  3720. 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^4915111633383.*' OR pattern = '^491511163338.*' OR pattern = '^49151116333.*' OR pattern = '^4915111633.*' OR pattern = '^491511163.*' OR pattern = '^49151116.*' OR pattern = '^4915111.*' OR pattern = '^491511.*' OR pattern = '^49151.*' OR pattern = '^4915.*' OR pattern = '^491.*' OR pattern = '^49.*' OR pattern = '^4.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 49 OR accountid=1039)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
  3721. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: outbound
  3722. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  3723. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1159939
  3724. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  3725. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  3726. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.38336
  3727. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : GermanyT-Mobile Mobile
  3728. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0
  3729. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 1039
  3730. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0
  3731. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type:
  3732. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  3733. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your3173.67686 balance Accountid 1039 !!!
  3734. 2021-09-14 09:04:51.746731 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 180 mins!
  3735. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
  3736. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 1159939
  3737. 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id  :0
  3738. 2021-09-14 09:04:51.746731 [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
  3739. 2021-09-14 09:04:51.746731 [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 = '^4915111633383.*' OR pattern = '^491511163338.*' OR pattern = '^49151116333.*' OR pattern = '^4915111633.*' OR pattern = '^491511163.*' OR pattern = '^49151116.*' OR pattern = '^4915111.*' OR pattern = '^491511.*' OR pattern = '^49151.*' OR pattern = '^4915.*' OR pattern = '^491.*' OR pattern = '^49.*' OR pattern = '^4.*' 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
  3740. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  3741. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1906905
  3742. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^49151.*
  3743. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : GermanyT-Mobile Mobile
  3744. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  3745. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  3746. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^49151.*
  3747. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0
  3748. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0
  3749. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 53
  3750. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : tata3
  3751. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  3752. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway :
  3753. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 587
  3754. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  3755. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : Low_Tata_38986_110821
  3756. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  3757. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  3758. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1734369
  3759. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^49151.*
  3760. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : GermanyT-Mobile Mobile
  3761. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  3762. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  3763. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^49151.*
  3764. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0
  3765. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0
  3766. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 51
  3767. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : tata3
  3768. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  3769. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway :
  3770. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 587
  3771. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  3772. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : high_tata_37113_110821
  3773. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  3774. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  3775. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 2087737
  3776. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^49151.*
  3777. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : GERMANY - MOBILE T-MOBILE
  3778. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  3779. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  3780. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^49151.*
  3781. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0
  3782. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0
  3783. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 55
  3784. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : Telia_GW
  3785. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  3786. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway :
  3787. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 1017
  3788. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  3789. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : High_Telia_110821
  3790. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  3791. 2021-09-14 09:04:51.746731 [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
  3792. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
  3793. 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : outbound
  3794. 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0
  3795. 2021-09-14 09:04:51.746731 [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
  3796. 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....4915111633383
  3797. 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0
  3798. 2021-09-14 09:04:51.746731 [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
  3799. 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....4915111633383
  3800. 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0
  3801. 2021-09-14 09:04:51.746731 [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
  3802. 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....4915111633383
  3803. 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
  3804. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  3805. <document type="freeswitch/xml">
  3806. <section name="dialplan" description="ASTPP Dialplan">
  3807. <context name="default">
  3808. <extension name="4915111633383">
  3809. <condition field="destination_number" expression="004915111633383">
  3810. <action application="set" data="effective_destination_number=4915111633383"/>
  3811. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  3812. <action application="set" data="bridge_pre_execute_bleg_data=+10800 normal_clearing"/>
  3813. <action application="set" data="callstart=2021-09-14 13:04:51"/>
  3814. <action application="set" data="hangup_after_bridge=true"/>
  3815. <action application="set" data="continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602"/>
  3816. <action application="set" data="account_id=1039"/>
  3817. <action application="set" data="parent_id=0"/>
  3818. <action application="set" data="entity_id=0"/>
  3819. <action application="set" data="call_processed=internal"/>
  3820. <action application="set" data="call_direction=outbound"/>
  3821. <action application="set" data="accountname=default"/>
  3822. <action application="set" data="filename1=astpp.pbx.lua"/>
  3823. <action application="set" data="origination_rates=ID:1159939|CODE:^49151.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.38336|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039"/>
  3824. <action application="set" data="original_caller_id_name=498008001050"/>
  3825. <action application="set" data="original_caller_id_number=498008001050"/>
  3826.  
  3827. <action application="export" data="is_recording=1"/>
  3828. <action application="export" data="media_bug_answer_req=true"/>
  3829. <action application="export" data="RECORD_STEREO=true"/>
  3830. <action application="export" data="record_sample_rate=8000"/>
  3831. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  3832. <action application="set" data="effective_caller_id_name=498008001050"/>
  3833. <action application="set" data="effective_caller_id_number=498008001050"/>
  3834. <action application="set" data="calltype=STANDARD"/>
  3835. <action application="set" data="termination_rates=ID:1906905|CODE:^49151.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00970|INC:1|INITIALBLOCK:1|TRUNK:53|PROVIDER:587"/>
  3836. <action application="set" data="trunk_id=53"/>
  3837. <action application="set" data="provider_id=587"/>
  3838. <action application="set" data="rate_flag=0"/>
  3839. <action application="set" data="force_trunk_flag=1159939"/>
  3840. <action application="export" data="presence_data=trunk_id=53"/>
  3841. <action application="set" data="intcall=0"/>
  3842. <action application="export" data="presence_data=x|||Enerxus(619312506378)|||^49151.* // GermanyT-Mobile Mobile // 0.38336 // trunk_id=0|||Low_Tata_38986_110821 // ^49151.* // GermanyT-Mobile Mobile // 0.00970 // trunk_id=53|||STD|||193.109.216.112"/>
  3843. <action application="bridge" data="[leg_timeout=0]sofia/gateway/tata3/4915111633383;fs_path=sip:136.243.196.198:5060"/>
  3844. <action application="set" data="effective_caller_id_name=498008001050"/>
  3845. <action application="set" data="effective_caller_id_number=498008001050"/>
  3846. <action application="set" data="calltype=STANDARD"/>
  3847. <action application="set" data="termination_rates=ID:1734369|CODE:^49151.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.19200|INC:1|INITIALBLOCK:1|TRUNK:51|PROVIDER:587"/>
  3848. <action application="set" data="trunk_id=51"/>
  3849. <action application="set" data="provider_id=587"/>
  3850. <action application="set" data="rate_flag=0"/>
  3851. <action application="set" data="force_trunk_flag=1159939"/>
  3852. <action application="export" data="presence_data=trunk_id=51"/>
  3853. <action application="set" data="intcall=0"/>
  3854. <action application="export" data="presence_data=x|||Enerxus(619312506378)|||^49151.* // GermanyT-Mobile Mobile // 0.38336 // trunk_id=0|||high_tata_37113_110821 // ^49151.* // GermanyT-Mobile Mobile // 0.19200 // trunk_id=51|||STD|||193.109.216.112"/>
  3855. <action application="bridge" data="[leg_timeout=0]sofia/gateway/tata3/4915111633383;fs_path=sip:136.243.196.198:5060"/>
  3856. <action application="set" data="effective_caller_id_name=498008001050"/>
  3857. <action application="set" data="effective_caller_id_number=498008001050"/>
  3858. <action application="set" data="calltype=STANDARD"/>
  3859. <action application="set" data="termination_rates=ID:2087737|CODE:^49151.*|DESTINATION:GERMANY - MOBILE T-MOBILE|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.23960|INC:1|INITIALBLOCK:1|TRUNK:55|PROVIDER:1017"/>
  3860. <action application="set" data="trunk_id=55"/>
  3861. <action application="set" data="provider_id=1017"/>
  3862. <action application="set" data="rate_flag=0"/>
  3863. <action application="set" data="force_trunk_flag=1159939"/>
  3864. <action application="export" data="presence_data=trunk_id=55"/>
  3865. <action application="set" data="intcall=0"/>
  3866. <action application="export" data="presence_data=x|||Enerxus(619312506378)|||^49151.* // GermanyT-Mobile Mobile // 0.38336 // trunk_id=0|||High_Telia_110821 // ^49151.* // GERMANY - MOBILE T-MOBILE // 0.23960 // trunk_id=55|||STD|||193.109.216.112"/>
  3867. <action application="bridge" data="[leg_timeout=0]sofia/gateway/Telia_GW/4915111633383;fs_path=sip:136.243.196.198:5060"/>
  3868. </condition>
  3869. </extension>
  3870. </context>
  3871. </section>
  3872. </document>
  3873. 2021-09-14 09:04:51.746731 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released.
  3874. Dialplan: sofia/default/498008001050@193.109.216.112 parsing [default->4915111633383] continue=false
  3875. Dialplan: sofia/default/498008001050@193.109.216.112 Regex (PASS) [4915111633383] destination_number(004915111633383) =~ /004915111633383/ break=on-false
  3876. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(effective_destination_number=4915111633383)
  3877. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  3878. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  3879. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(callstart=2021-09-14 13:04:51)
  3880. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(hangup_after_bridge=true)
  3881. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  3882. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(account_id=1039)
  3883. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(parent_id=0)
  3884. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(entity_id=0)
  3885. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(call_processed=internal)
  3886. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(call_direction=outbound)
  3887. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(accountname=default)
  3888. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(filename1=astpp.pbx.lua)
  3889. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(origination_rates=ID:1159939|CODE:^49151.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.38336|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039)
  3890. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(original_caller_id_name=498008001050)
  3891. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(original_caller_id_number=498008001050)
  3892. Dialplan: sofia/default/498008001050@193.109.216.112 Action export(is_recording=1)
  3893. Dialplan: sofia/default/498008001050@193.109.216.112 Action export(media_bug_answer_req=true)
  3894. Dialplan: sofia/default/498008001050@193.109.216.112 Action export(RECORD_STEREO=true)
  3895. Dialplan: sofia/default/498008001050@193.109.216.112 Action export(record_sample_rate=8000)
  3896. Dialplan: sofia/default/498008001050@193.109.216.112 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  3897. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(effective_caller_id_name=498008001050)
  3898. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(effective_caller_id_number=498008001050)
  3899. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(calltype=STANDARD)
  3900. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(termination_rates=ID:1906905|CODE:^49151.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00970|INC:1|INITIALBLOCK:1|TRUNK:53|PROVIDER:587)
  3901. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(trunk_id=53)
  3902. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(provider_id=587)
  3903. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(rate_flag=0)
  3904. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(force_trunk_flag=1159939)
  3905. Dialplan: sofia/default/498008001050@193.109.216.112 Action export(presence_data=trunk_id=53)
  3906. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(intcall=0)
  3907. Dialplan: sofia/default/498008001050@193.109.216.112 Action export(presence_data=x|||Enerxus(619312506378)|||^49151.* // GermanyT-Mobile Mobile // 0.38336 // trunk_id=0|||Low_Tata_38986_110821 // ^49151.* // GermanyT-Mobile Mobile // 0.00970 // trunk_id=53|||STD|||193.109.216.112)
  3908. Dialplan: sofia/default/498008001050@193.109.216.112 Action bridge([leg_timeout=0]sofia/gateway/tata3/4915111633383;fs_path=sip:136.243.196.198:5060)
  3909. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(effective_caller_id_name=498008001050)
  3910. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(effective_caller_id_number=498008001050)
  3911. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(calltype=STANDARD)
  3912. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(termination_rates=ID:1734369|CODE:^49151.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.19200|INC:1|INITIALBLOCK:1|TRUNK:51|PROVIDER:587)
  3913. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(trunk_id=51)
  3914. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(provider_id=587)
  3915. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(rate_flag=0)
  3916. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(force_trunk_flag=1159939)
  3917. Dialplan: sofia/default/498008001050@193.109.216.112 Action export(presence_data=trunk_id=51)
  3918. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(intcall=0)
  3919. Dialplan: sofia/default/498008001050@193.109.216.112 Action export(presence_data=x|||Enerxus(619312506378)|||^49151.* // GermanyT-Mobile Mobile // 0.38336 // trunk_id=0|||high_tata_37113_110821 // ^49151.* // GermanyT-Mobile Mobile // 0.19200 // trunk_id=51|||STD|||193.109.216.112)
  3920. Dialplan: sofia/default/498008001050@193.109.216.112 Action bridge([leg_timeout=0]sofia/gateway/tata3/4915111633383;fs_path=sip:136.243.196.198:5060)
  3921. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(effective_caller_id_name=498008001050)
  3922. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(effective_caller_id_number=498008001050)
  3923. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(calltype=STANDARD)
  3924. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(termination_rates=ID:2087737|CODE:^49151.*|DESTINATION:GERMANY - MOBILE T-MOBILE|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.23960|INC:1|INITIALBLOCK:1|TRUNK:55|PROVIDER:1017)
  3925. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(trunk_id=55)
  3926. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(provider_id=1017)
  3927. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(rate_flag=0)
  3928. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(force_trunk_flag=1159939)
  3929. Dialplan: sofia/default/498008001050@193.109.216.112 Action export(presence_data=trunk_id=55)
  3930. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(intcall=0)
  3931. Dialplan: sofia/default/498008001050@193.109.216.112 Action export(presence_data=x|||Enerxus(619312506378)|||^49151.* // GermanyT-Mobile Mobile // 0.38336 // trunk_id=0|||High_Telia_110821 // ^49151.* // GERMANY - MOBILE T-MOBILE // 0.23960 // trunk_id=55|||STD|||193.109.216.112)
  3932. Dialplan: sofia/default/498008001050@193.109.216.112 Action bridge([leg_timeout=0]sofia/gateway/Telia_GW/4915111633383;fs_path=sip:136.243.196.198:5060)
  3933. 2021-09-14 09:04:51.746731 [DEBUG] switch_core_state_machine.c:286 (sofia/default/498008001050@193.109.216.112) State Change CS_ROUTING -> CS_EXECUTE
  3934. 2021-09-14 09:04:51.746731 [DEBUG] switch_core_state_machine.c:643 (sofia/default/498008001050@193.109.216.112) State ROUTING going to sleep
  3935. 2021-09-14 09:04:51.746731 [DEBUG] switch_core_state_machine.c:584 (sofia/default/498008001050@193.109.216.112) Running State Change CS_EXECUTE (Cur 9 Tot 248018)
  3936. 2021-09-14 09:04:51.746731 [DEBUG] switch_core_state_machine.c:650 (sofia/default/498008001050@193.109.216.112) State EXECUTE
  3937. 2021-09-14 09:04:51.746731 [DEBUG] mod_sofia.c:198 sofia/default/498008001050@193.109.216.112 SOFIA EXECUTE
  3938. 2021-09-14 09:04:51.746731 [DEBUG] switch_core_state_machine.c:328 sofia/default/498008001050@193.109.216.112 Standard EXECUTE
  3939. EXECUTE sofia/default/498008001050@193.109.216.112 set(effective_destination_number=4915111633383)
  3940. 2021-09-14 09:04:51.746731 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [effective_destination_number]=[4915111633383]
  3941. EXECUTE sofia/default/498008001050@193.109.216.112 set(bridge_pre_execute_bleg_app=sched_hangup)
  3942. 2021-09-14 09:04:51.746731 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [bridge_pre_execute_bleg_app]=[sched_hangup]
  3943. EXECUTE sofia/default/498008001050@193.109.216.112 set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  3944. 2021-09-14 09:04:51.746731 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing]
  3945. EXECUTE sofia/default/498008001050@193.109.216.112 set(callstart=2021-09-14 13:04:51)
  3946. 2021-09-14 09:04:51.746731 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [callstart]=[2021-09-14 13:04:51]
  3947. EXECUTE sofia/default/498008001050@193.109.216.112 set(hangup_after_bridge=true)
  3948. 2021-09-14 09:04:51.746731 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [hangup_after_bridge]=[true]
  3949. EXECUTE sofia/default/498008001050@193.109.216.112 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  3950. 2021-09-14 09:04:51.746731 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]
  3951. EXECUTE sofia/default/498008001050@193.109.216.112 set(account_id=1039)
  3952. 2021-09-14 09:04:51.746731 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [account_id]=[1039]
  3953. EXECUTE sofia/default/498008001050@193.109.216.112 set(parent_id=0)
  3954. 2021-09-14 09:04:51.746731 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [parent_id]=[0]
  3955. EXECUTE sofia/default/498008001050@193.109.216.112 set(entity_id=0)
  3956. 2021-09-14 09:04:51.746731 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [entity_id]=[0]
  3957. EXECUTE sofia/default/498008001050@193.109.216.112 set(call_processed=internal)
  3958. 2021-09-14 09:04:51.746731 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [call_processed]=[internal]
  3959. EXECUTE sofia/default/498008001050@193.109.216.112 set(call_direction=outbound)
  3960. 2021-09-14 09:04:51.746731 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [call_direction]=[outbound]
  3961. EXECUTE sofia/default/498008001050@193.109.216.112 set(accountname=default)
  3962. 2021-09-14 09:04:51.746731 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [accountname]=[default]
  3963. EXECUTE sofia/default/498008001050@193.109.216.112 set(filename1=astpp.pbx.lua)
  3964. 2021-09-14 09:04:51.746731 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [filename1]=[astpp.pbx.lua]
  3965. EXECUTE sofia/default/498008001050@193.109.216.112 set(origination_rates=ID:1159939|CODE:^49151.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.38336|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039)
  3966. 2021-09-14 09:04:51.746731 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [origination_rates]=[ID:1159939|CODE:^49151.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.38336|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039]
  3967. EXECUTE sofia/default/498008001050@193.109.216.112 set(original_caller_id_name=498008001050)
  3968. 2021-09-14 09:04:51.746731 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [original_caller_id_name]=[498008001050]
  3969. EXECUTE sofia/default/498008001050@193.109.216.112 set(original_caller_id_number=498008001050)
  3970. 2021-09-14 09:04:51.746731 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [original_caller_id_number]=[498008001050]
  3971. EXECUTE sofia/default/498008001050@193.109.216.112 export(is_recording=1)
  3972. 2021-09-14 09:04:51.746731 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [is_recording]=[1]
  3973. EXECUTE sofia/default/498008001050@193.109.216.112 export(media_bug_answer_req=true)
  3974. 2021-09-14 09:04:51.767337 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [media_bug_answer_req]=[true]
  3975. EXECUTE sofia/default/498008001050@193.109.216.112 export(RECORD_STEREO=true)
  3976. 2021-09-14 09:04:51.767337 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [RECORD_STEREO]=[true]
  3977. EXECUTE sofia/default/498008001050@193.109.216.112 export(record_sample_rate=8000)
  3978. 2021-09-14 09:04:51.767337 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [record_sample_rate]=[8000]
  3979. EXECUTE sofia/default/498008001050@193.109.216.112 export(execute_on_answer=record_session /var/lib/freeswitch/recordings/591382e8-155c-11ec-9e3b-7dfb9f6e00f0.wav)
  3980. 2021-09-14 09:04:51.767337 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/591382e8-155c-11ec-9e3b-7dfb9f6e00f0.wav]
  3981. EXECUTE sofia/default/498008001050@193.109.216.112 set(effective_caller_id_name=498008001050)
  3982. 2021-09-14 09:04:51.767337 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [effective_caller_id_name]=[498008001050]
  3983. EXECUTE sofia/default/498008001050@193.109.216.112 set(effective_caller_id_number=498008001050)
  3984. 2021-09-14 09:04:51.767337 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [effective_caller_id_number]=[498008001050]
  3985. EXECUTE sofia/default/498008001050@193.109.216.112 set(calltype=STANDARD)
  3986. 2021-09-14 09:04:51.767337 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [calltype]=[STANDARD]
  3987. EXECUTE sofia/default/498008001050@193.109.216.112 set(termination_rates=ID:1906905|CODE:^49151.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00970|INC:1|INITIALBLOCK:1|TRUNK:53|PROVIDER:587)
  3988. 2021-09-14 09:04:51.767337 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [termination_rates]=[ID:1906905|CODE:^49151.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00970|INC:1|INITIALBLOCK:1|TRUNK:53|PROVIDER:587]
  3989. EXECUTE sofia/default/498008001050@193.109.216.112 set(trunk_id=53)
  3990. 2021-09-14 09:04:51.767337 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [trunk_id]=[53]
  3991. EXECUTE sofia/default/498008001050@193.109.216.112 set(provider_id=587)
  3992. 2021-09-14 09:04:51.767337 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [provider_id]=[587]
  3993. EXECUTE sofia/default/498008001050@193.109.216.112 set(rate_flag=0)
  3994. 2021-09-14 09:04:51.767337 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [rate_flag]=[0]
  3995. EXECUTE sofia/default/498008001050@193.109.216.112 set(force_trunk_flag=1159939)
  3996. 2021-09-14 09:04:51.767337 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [force_trunk_flag]=[1159939]
  3997. EXECUTE sofia/default/498008001050@193.109.216.112 export(presence_data=trunk_id=53)
  3998. 2021-09-14 09:04:51.767337 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[trunk_id=53]
  3999. EXECUTE sofia/default/498008001050@193.109.216.112 set(intcall=0)
  4000. 2021-09-14 09:04:51.767337 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [intcall]=[0]
  4001. EXECUTE sofia/default/498008001050@193.109.216.112 export(presence_data=x|||Enerxus(619312506378)|||^49151.* // GermanyT-Mobile Mobile // 0.38336 // trunk_id=0|||Low_Tata_38986_110821 // ^49151.* // GermanyT-Mobile Mobile // 0.00970 // trunk_id=53|||STD|||193.109.216.112)
  4002. 2021-09-14 09:04:51.767337 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||Enerxus(619312506378)|||^49151.* // GermanyT-Mobile Mobile // 0.38336 // trunk_id=0|||Low_Tata_38986_110821 // ^49151.* // GermanyT-Mobile Mobile // 0.00970 // trunk_id=53|||STD|||193.109.216.112]
  4003. EXECUTE sofia/default/498008001050@193.109.216.112 bridge([leg_timeout=0]sofia/gateway/tata3/4915111633383;fs_path=sip:136.243.196.198:5060)
  4004. 2021-09-14 09:04:51.767337 [DEBUG] switch_channel.c:1250 sofia/default/498008001050@193.109.216.112 EXPORTING[export_vars] [is_recording]=[1] to event
  4005. 2021-09-14 09:04:51.767337 [DEBUG] switch_channel.c:1250 sofia/default/498008001050@193.109.216.112 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  4006. 2021-09-14 09:04:51.767337 [DEBUG] switch_channel.c:1250 sofia/default/498008001050@193.109.216.112 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  4007. 2021-09-14 09:04:51.767337 [DEBUG] switch_channel.c:1250 sofia/default/498008001050@193.109.216.112 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  4008. 2021-09-14 09:04:51.767337 [DEBUG] switch_channel.c:1250 sofia/default/498008001050@193.109.216.112 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/591382e8-155c-11ec-9e3b-7dfb9f6e00f0.wav] to event
  4009. 2021-09-14 09:04:51.767337 [DEBUG] switch_channel.c:1250 sofia/default/498008001050@193.109.216.112 EXPORTING[export_vars] [presence_data]=[x|||Enerxus(619312506378)|||^49151.* // GermanyT-Mobile Mobile // 0.38336 // trunk_id=0|||Low_Tata_38986_110821 // ^49151.* // GermanyT-Mobile Mobile // 0.00970 // trunk_id=53|||STD|||193.109.216.112] to event
  4010. 2021-09-14 09:04:51.767337 [DEBUG] switch_channel.c:1250 sofia/default/498008001050@193.109.216.112 EXPORTING[export_vars] [presence_data]=[x|||Enerxus(619312506378)|||^49151.* // GermanyT-Mobile Mobile // 0.38336 // trunk_id=0|||Low_Tata_38986_110821 // ^49151.* // GermanyT-Mobile Mobile // 0.00970 // trunk_id=53|||STD|||193.109.216.112] to event
  4011. 2021-09-14 09:04:51.767337 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  4012. 2021-09-14 09:04:51.767337 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  4013. 2021-09-14 09:04:51.767337 [NOTICE] switch_channel.c:1104 New Channel sofia/default/4915111633383 [591a155e-155c-11ec-9e61-7dfb9f6e00f0]
  4014. 2021-09-14 09:04:51.767337 [DEBUG] mod_sofia.c:4819 (sofia/default/4915111633383) State Change CS_NEW -> CS_INIT
  4015. 2021-09-14 09:04:51.767337 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4915111633383) Running State Change CS_INIT (Cur 10 Tot 248019)
  4016. 2021-09-14 09:04:51.767337 [DEBUG] switch_core_state_machine.c:627 (sofia/default/4915111633383) State INIT
  4017. 2021-09-14 09:04:51.767337 [DEBUG] mod_sofia.c:90 sofia/default/4915111633383 SOFIA INIT
  4018. 2021-09-14 09:04:51.767337 [DEBUG] sofia_glue.c:1264 sip:136.243.196.198:5060 Setting proxy route to sofia/default/4915111633383
  4019. 2021-09-14 09:04:51.767337 [DEBUG] sofia_glue.c:1295 sofia/default/4915111633383 sending invite version: 1.6.20  64bit
  4020. Local SDP:
  4021. v=0
  4022. o=FreeSWITCH 1631607655 1631607656 IN IP4 89.46.223.193
  4023. s=FreeSWITCH
  4024. c=IN IP4 89.46.223.193
  4025. t=0 0
  4026. m=audio 17036 RTP/AVP 8 101
  4027. a=rtpmap:8 PCMA/8000
  4028. a=rtpmap:101 telephone-event/8000
  4029. a=fmtp:101 0-16
  4030. a=ptime:20
  4031. a=sendrecv
  4032.  
  4033. 2021-09-14 09:04:51.767337 [DEBUG] switch_core_state_machine.c:40 sofia/default/4915111633383 Standard INIT
  4034. 2021-09-14 09:04:51.767337 [DEBUG] switch_core_state_machine.c:48 (sofia/default/4915111633383) State Change CS_INIT -> CS_ROUTING
  4035. 2021-09-14 09:04:51.767337 [DEBUG] switch_core_state_machine.c:627 (sofia/default/4915111633383) State INIT going to sleep
  4036. 2021-09-14 09:04:51.767337 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4915111633383) Running State Change CS_ROUTING (Cur 10 Tot 248019)
  4037. 2021-09-14 09:04:51.767337 [DEBUG] sofia.c:7084 Channel sofia/default/4915111633383 entering state [calling][0]
  4038. 2021-09-14 09:04:51.767337 [DEBUG] switch_core_state_machine.c:643 (sofia/default/4915111633383) State ROUTING
  4039. 2021-09-14 09:04:51.767337 [DEBUG] mod_sofia.c:143 sofia/default/4915111633383 SOFIA ROUTING
  4040. 2021-09-14 09:04:51.767337 [DEBUG] switch_ivr_originate.c:67 (sofia/default/4915111633383) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  4041. 2021-09-14 09:04:51.767337 [DEBUG] switch_core_state_machine.c:643 (sofia/default/4915111633383) State ROUTING going to sleep
  4042. 2021-09-14 09:04:51.767337 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4915111633383) Running State Change CS_CONSUME_MEDIA (Cur 10 Tot 248019)
  4043. 2021-09-14 09:04:51.767337 [DEBUG] switch_core_state_machine.c:662 (sofia/default/4915111633383) State CONSUME_MEDIA
  4044. 2021-09-14 09:04:51.767337 [DEBUG] switch_core_state_machine.c:662 (sofia/default/4915111633383) State CONSUME_MEDIA going to sleep
  4045. 2021-09-14 09:04:53.346701 [DEBUG] sofia.c:7084 Channel sofia/default/4915111633383 entering state [proceeding][183]
  4046. 2021-09-14 09:04:53.346701 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/4915111633383!
  4047. 2021-09-14 09:04:53.346701 [DEBUG] switch_channel.c:3346 (sofia/default/4915111633383) Callstate Change DOWN -> RINGING
  4048. 2021-09-14 09:04:53.366679 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/498008001050@193.109.216.112!
  4049. 2021-09-14 09:04:53.366679 [DEBUG] sofia.c:7084 Channel sofia/default/498008001050@193.109.216.112 entering state [early][180]
  4050. 2021-09-14 09:04:53.366679 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/498008001050@193.109.216.112!
  4051. 2021-09-14 09:04:53.626750 [DEBUG] sofia.c:7084 Channel sofia/default/4915111633383 entering state [proceeding][180]
  4052. 2021-09-14 09:04:53.626750 [DEBUG] sofia.c:7094 Remote SDP:
  4053. v=0
  4054. o=Sonus_UAC 31429 10452 IN IP4 209.58.46.110
  4055. s=SIP Media Capabilities
  4056. c=IN IP4 209.58.46.103
  4057. t=0 0
  4058. m=audio 6392 RTP/AVP 8 101
  4059. a=rtpmap:8 PCMA/8000
  4060. a=rtpmap:101 telephone-event/8000
  4061. a=fmtp:101 0-15
  4062. a=maxptime:20
  4063.  
  4064. 2021-09-14 09:04:53.626750 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  4065. 2021-09-14 09:04:53.626750 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  4066. 2021-09-14 09:04:53.626750 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  4067. 2021-09-14 09:04:53.626750 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/4915111633383 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  4068. 2021-09-14 09:04:53.626750 [DEBUG] switch_core_codec.c:111 sofia/default/4915111633383 Original read codec set to PCMA:8
  4069. 2021-09-14 09:04:53.626750 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  4070. 2021-09-14 09:04:53.626750 [DEBUG] switch_core_media.c:4767 sofia/default/4915111633383 Set 2833 dtmf send payload to 101 recv payload to 101
  4071. 2021-09-14 09:04:53.626750 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/4915111633383] 89.46.223.193 port 17036 -> 209.58.46.103 port 6392 codec: 8 ms: 20
  4072. 2021-09-14 09:04:53.626750 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  4073. 2021-09-14 09:04:53.626750 [DEBUG] switch_core_media.c:7180 sofia/default/4915111633383 Set 2833 dtmf send payload to 101
  4074. 2021-09-14 09:04:53.626750 [DEBUG] switch_core_media.c:7187 sofia/default/4915111633383 Set 2833 dtmf receive payload to 101
  4075. 2021-09-14 09:04:53.626750 [DEBUG] switch_core_media.c:7210 sofia/default/4915111633383 Set rtp dtmf delay to 40
  4076. 2021-09-14 09:04:53.626750 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/4915111633383!
  4077. 2021-09-14 09:04:53.626750 [DEBUG] switch_channel.c:3474 (sofia/default/4915111633383) Callstate Change RINGING -> EARLY
  4078. 2021-09-14 09:04:53.626750 [INFO] switch_ivr_originate.c:3654 Sending early media
  4079. 2021-09-14 09:04:53.626750 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/498008001050@193.109.216.112] 89.46.223.193 port 19582 -> 193.109.216.112 port 35518 codec: 8 ms: 20
  4080. 2021-09-14 09:04:53.626750 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  4081. 2021-09-14 09:04:53.626750 [DEBUG] switch_core_media.c:7180 sofia/default/498008001050@193.109.216.112 Set 2833 dtmf send payload to 101
  4082. 2021-09-14 09:04:53.626750 [DEBUG] switch_core_media.c:7187 sofia/default/498008001050@193.109.216.112 Set 2833 dtmf receive payload to 101
  4083. 2021-09-14 09:04:53.626750 [DEBUG] switch_core_media.c:7210 sofia/default/498008001050@193.109.216.112 Set rtp dtmf delay to 40
  4084. 2021-09-14 09:04:53.626750 [DEBUG] mod_sofia.c:2364 Ring SDP:
  4085. v=0
  4086. o=FreeSWITCH 1631605111 1631605112 IN IP4 89.46.223.193
  4087. s=FreeSWITCH
  4088. c=IN IP4 89.46.223.193
  4089. t=0 0
  4090. m=audio 19582 RTP/AVP 8 101
  4091. a=rtpmap:8 PCMA/8000
  4092. a=rtpmap:101 telephone-event/8000
  4093. a=fmtp:101 0-16
  4094. a=ptime:20
  4095. a=sendrecv
  4096.  
  4097. 2021-09-14 09:04:53.626750 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/default/498008001050@193.109.216.112!
  4098. 2021-09-14 09:04:53.626750 [DEBUG] switch_channel.c:3474 (sofia/default/498008001050@193.109.216.112) Callstate Change RINGING -> EARLY
  4099. 2021-09-14 09:04:53.626750 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/4915111633383]
  4100. 2021-09-14 09:04:53.626750 [DEBUG] sofia.c:7084 Channel sofia/default/498008001050@193.109.216.112 entering state [early][183]
  4101. 2021-09-14 09:04:53.626750 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/4915111633383) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  4102. 2021-09-14 09:04:53.626750 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4915111633383) Running State Change CS_EXCHANGE_MEDIA (Cur 10 Tot 248019)
  4103. 2021-09-14 09:04:53.626750 [DEBUG] switch_core_state_machine.c:653 (sofia/default/4915111633383) State EXCHANGE_MEDIA
  4104. 2021-09-14 09:04:53.626750 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  4105. 2021-09-14 09:04:53.686729 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  4106. 2021-09-14 09:04:53.746722 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  4107. 2021-09-14 09:04:53.826697 [DEBUG] switch_ivr_bridge.c:546 sofia/default/4915111633383 Bridge execute app sched_hangup(+10800 normal_clearing)
  4108. 2021-09-14 09:04:53.846676 [DEBUG] switch_ivr.c:623 sofia/default/4915111633383 Command Execute sched_hangup(+10800 normal_clearing)
  4109. EXECUTE sofia/default/4915111633383 sched_hangup(+10800 normal_clearing)
  4110. 2021-09-14 09:04:53.846676 [DEBUG] switch_scheduler.c:249 Added task 31132 switch_ivr_schedule_hangup (591a155e-155c-11ec-9e61-7dfb9f6e00f0) to run at 1631635493
  4111. 2021-09-14 09:05:05.506668 [NOTICE] switch_channel.c:1104 New Channel sofia/default/97239707000@173.203.86.119 [614af770-155c-11ec-9e67-7dfb9f6e00f0]
  4112. 2021-09-14 09:05:05.506668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97239707000@173.203.86.119) Running State Change CS_NEW (Cur 11 Tot 248020)
  4113. 2021-09-14 09:05:05.506668 [DEBUG] sofia.c:9873 sofia/default/97239707000@173.203.86.119 receiving invite from 136.243.196.198:5060 version: 1.6.20  64bit
  4114. 2021-09-14 09:05:05.506668 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
  4115. 2021-09-14 09:05:05.506668 [DEBUG] sofia.c:7084 Channel sofia/default/97239707000@173.203.86.119 entering state [received][100]
  4116. 2021-09-14 09:05:05.506668 [DEBUG] sofia.c:7094 Remote SDP:
  4117. v=0
  4118. o=root 1435526589 1435526589 IN IP4 173.203.86.119
  4119. s=Asterisk PBX 16.6.1
  4120. c=IN IP4 173.203.86.119
  4121. t=0 0
  4122. m=audio 16470 RTP/AVP 0 8 101
  4123. a=rtpmap:0 PCMU/8000
  4124. a=rtpmap:8 PCMA/8000
  4125. a=rtpmap:101 telephone-event/8000
  4126. a=fmtp:101 0-16
  4127. a=ptime:20
  4128. a=maxptime:150
  4129.  
  4130. 2021-09-14 09:05:05.506668 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  4131. 2021-09-14 09:05:05.506668 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  4132. 2021-09-14 09:05:05.506668 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  4133. 2021-09-14 09:05:05.506668 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  4134. 2021-09-14 09:05:05.506668 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  4135. 2021-09-14 09:05:05.506668 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  4136. 2021-09-14 09:05:05.506668 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  4137. 2021-09-14 09:05:05.506668 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  4138. 2021-09-14 09:05:05.506668 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  4139. 2021-09-14 09:05:05.506668 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/97239707000@173.203.86.119 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  4140. 2021-09-14 09:05:05.506668 [DEBUG] switch_core_codec.c:111 sofia/default/97239707000@173.203.86.119 Original read codec set to PCMU:0
  4141. 2021-09-14 09:05:05.506668 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  4142. 2021-09-14 09:05:05.506668 [DEBUG] switch_core_media.c:4767 sofia/default/97239707000@173.203.86.119 Set 2833 dtmf send payload to 101 recv payload to 101
  4143. 2021-09-14 09:05:05.506668 [DEBUG] sofia.c:7507 (sofia/default/97239707000@173.203.86.119) State Change CS_NEW -> CS_INIT
  4144. 2021-09-14 09:05:05.506668 [DEBUG] switch_core_state_machine.c:603 (sofia/default/97239707000@173.203.86.119) State NEW
  4145. 2021-09-14 09:05:05.506668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97239707000@173.203.86.119) Running State Change CS_INIT (Cur 11 Tot 248020)
  4146. 2021-09-14 09:05:05.506668 [DEBUG] switch_core_state_machine.c:627 (sofia/default/97239707000@173.203.86.119) State INIT
  4147. 2021-09-14 09:05:05.506668 [DEBUG] mod_sofia.c:90 sofia/default/97239707000@173.203.86.119 SOFIA INIT
  4148. 2021-09-14 09:05:05.506668 [DEBUG] switch_core_state_machine.c:40 sofia/default/97239707000@173.203.86.119 Standard INIT
  4149. 2021-09-14 09:05:05.506668 [DEBUG] switch_core_state_machine.c:48 (sofia/default/97239707000@173.203.86.119) State Change CS_INIT -> CS_ROUTING
  4150. 2021-09-14 09:05:05.506668 [DEBUG] switch_core_state_machine.c:627 (sofia/default/97239707000@173.203.86.119) State INIT going to sleep
  4151. 2021-09-14 09:05:05.506668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97239707000@173.203.86.119) Running State Change CS_ROUTING (Cur 11 Tot 248020)
  4152. 2021-09-14 09:05:05.506668 [DEBUG] switch_channel.c:2249 (sofia/default/97239707000@173.203.86.119) Callstate Change DOWN -> RINGING
  4153. 2021-09-14 09:05:05.506668 [DEBUG] switch_core_state_machine.c:643 (sofia/default/97239707000@173.203.86.119) State ROUTING
  4154. 2021-09-14 09:05:05.506668 [DEBUG] mod_sofia.c:143 sofia/default/97239707000@173.203.86.119 SOFIA ROUTING
  4155. 2021-09-14 09:05:05.506668 [DEBUG] switch_core_state_machine.c:236 sofia/default/97239707000@173.203.86.119 Standard ROUTING
  4156. 2021-09-14 09:05:05.506668 [INFO] mod_dialplan_xml.c:637 Processing 97239707000 <97239707000>->447520641863 in context default
  4157. 2021-09-14 09:05:05.506668 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected.
  4158. 2021-09-14 09:05:05.506668 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  4159. 2021-09-14 09:05:05.506668 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  4160. 2021-09-14 09:05:05.506668 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params:
  4161. 'Event-Name: REQUEST_PARAMS
  4162. Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0
  4163. FreeSWITCH-Hostname: astpp1.local
  4164. FreeSWITCH-Switchname: astpp1.local
  4165. FreeSWITCH-IPv4: 89.46.223.193
  4166. FreeSWITCH-IPv6: %3A%3A1
  4167. Event-Date-Local: 2021-09-14%2009%3A05%3A05
  4168. Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A05%3A05%20GMT
  4169. Event-Date-Timestamp: 1631624705506668
  4170. Event-Calling-File: mod_dialplan_xml.c
  4171. Event-Calling-Function: dialplan_xml_locate
  4172. Event-Calling-Line-Number: 608
  4173. Event-Sequence: 7528033
  4174. Channel-State: CS_ROUTING
  4175. Channel-Call-State: RINGING
  4176. Channel-State-Number: 2
  4177. Channel-Name: sofia/default/97239707000%40173.203.86.119
  4178. Unique-ID: 614af770-155c-11ec-9e67-7dfb9f6e00f0
  4179. Call-Direction: inbound
  4180. Presence-Call-Direction: inbound
  4181. Channel-HIT-Dialplan: true
  4182. Channel-Presence-ID: 97239707000%40173.203.86.119
  4183. Channel-Call-UUID: 614af770-155c-11ec-9e67-7dfb9f6e00f0
  4184. Answer-State: ringing
  4185. Channel-Read-Codec-Name: PCMU
  4186. Channel-Read-Codec-Rate: 8000
  4187. Channel-Read-Codec-Bit-Rate: 64000
  4188. Channel-Write-Codec-Name: PCMU
  4189. Channel-Write-Codec-Rate: 8000
  4190. Channel-Write-Codec-Bit-Rate: 64000
  4191. Caller-Direction: inbound
  4192. Caller-Logical-Direction: inbound
  4193. Caller-Username: 97239707000
  4194. Caller-Dialplan: XML
  4195. Caller-Caller-ID-Name: 97239707000
  4196. Caller-Caller-ID-Number: 97239707000
  4197. Caller-Orig-Caller-ID-Name: 97239707000
  4198. Caller-Orig-Caller-ID-Number: 97239707000
  4199. Caller-Network-Addr: 136.243.196.198
  4200. Caller-ANI: 97239707000
  4201. Caller-Destination-Number: 447520641863
  4202. Caller-Unique-ID: 614af770-155c-11ec-9e67-7dfb9f6e00f0
  4203. Caller-Source: mod_sofia
  4204. Caller-Context: default
  4205. Caller-Channel-Name: sofia/default/97239707000%40173.203.86.119
  4206. Caller-Profile-Index: 1
  4207. Caller-Profile-Created-Time: 1631624705506668
  4208. Caller-Channel-Created-Time: 1631624705506668
  4209. Caller-Channel-Answered-Time: 0
  4210. Caller-Channel-Progress-Time: 0
  4211. Caller-Channel-Progress-Media-Time: 0
  4212. Caller-Channel-Hangup-Time: 0
  4213. Caller-Channel-Transfer-Time: 0
  4214. Caller-Channel-Resurrect-Time: 0
  4215. Caller-Channel-Bridged-Time: 0
  4216. Caller-Channel-Last-Hold: 0
  4217. Caller-Channel-Hold-Accum: 0
  4218. Caller-Screen-Bit: true
  4219. Caller-Privacy-Hide-Name: false
  4220. Caller-Privacy-Hide-Number: false
  4221. variable_direction: inbound
  4222. variable_uuid: 614af770-155c-11ec-9e67-7dfb9f6e00f0
  4223. variable_session_id: 248020
  4224. variable_sip_from_user: 97239707000
  4225. variable_sip_from_uri: 97239707000%40173.203.86.119
  4226. variable_sip_from_host: 173.203.86.119
  4227. variable_video_media_flow: sendrecv
  4228. variable_channel_name: sofia/default/97239707000%40173.203.86.119
  4229. variable_sip_call_id: 440a9a3028309e116a37205731be5fc7%40173.203.86.119%3A5060
  4230. variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b
  4231. variable_sip_local_network_addr: 89.46.223.193
  4232. variable_sip_network_ip: 136.243.196.198
  4233. variable_sip_network_port: 5060
  4234. variable_sip_invite_stamp: 1631624705506668
  4235. variable_sip_received_ip: 136.243.196.198
  4236. variable_sip_received_port: 5060
  4237. variable_sip_via_protocol: udp
  4238. variable_sip_authorized: true
  4239. variable_sip_acl_authed_by: default
  4240. variable_sip_from_user_stripped: 97239707000
  4241. variable_sip_from_tag: as5dcfcb81
  4242. variable_sofia_profile_name: default
  4243. variable_recovery_profile_name: default
  4244. variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D8fb.965c3e37%3E
  4245. variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D8fb.965c3e37%3E
  4246. variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bK8ca8.81220052.0,SIP/2.0/UDP%20173.203.86.119%3A5060%3Breceived%3D173.203.86.119%3Bbranch%3Dz9hG4bK0e0e01d3%3Brport%3D5060
  4247. variable_sip_from_display: 97239707000
  4248. variable_sip_full_from: %2297239707000%22%20%3Csip%3A97239707000%40173.203.86.119%3E%3Btag%3Das5dcfcb81
  4249. variable_sip_full_to: %3Csip%3A447520641863%40newsip.israelnumber.com%3E
  4250. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE
  4251. variable_sip_req_user: 447520641863
  4252. variable_sip_req_uri: 447520641863%40newsip.israelnumber.com
  4253. variable_sip_req_host: newsip.israelnumber.com
  4254. variable_sip_to_user: 447520641863
  4255. variable_sip_to_uri: 447520641863%40newsip.israelnumber.com
  4256. variable_sip_to_host: newsip.israelnumber.com
  4257. variable_sip_contact_user: 97239707000
  4258. variable_sip_contact_port: 5060
  4259. variable_sip_contact_uri: 97239707000%40173.203.86.119%3A5060
  4260. variable_sip_contact_host: 173.203.86.119
  4261. variable_sip_user_agent: FPBX-14.0.13.40(16.6.1)
  4262. variable_sip_via_host: 136.243.196.198
  4263. variable_sip_via_port: 5060
  4264. variable_max_forwards: 30
  4265. variable_presence_id: 97239707000%40173.203.86.119
  4266. variable_sip_h_X-AUTH-IP: 173.203.86.119
  4267. variable_sip_h_P-Accountcode: 444484249994
  4268. variable_sip_h_P-effective_caller_id_name: 97239707000
  4269. variable_sip_h_P-effective_caller_id_number: 97239707000
  4270. variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%201435526589%201435526589%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%2016470%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
  4271. variable_rtp_use_codec_string: PCMA,PCMU,G729
  4272. variable_audio_media_flow: sendrecv
  4273. variable_remote_media_ip: 173.203.86.119
  4274. variable_remote_media_port: 16470
  4275. variable_rtp_audio_recv_pt: 0
  4276. variable_rtp_use_codec_name: PCMU
  4277. variable_rtp_use_codec_rate: 8000
  4278. variable_rtp_use_codec_ptime: 20
  4279. variable_rtp_use_codec_channels: 1
  4280. variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c
  4281. variable_read_codec: PCMU
  4282. variable_original_read_codec: PCMU
  4283. variable_read_rate: 8000
  4284. variable_original_read_rate: 8000
  4285. variable_write_codec: PCMU
  4286. variable_write_rate: 8000
  4287. variable_dtmf_type: rfc2833
  4288. variable_endpoint_disposition: RECEIVED
  4289. variable_call_uuid: 614af770-155c-11ec-9e67-7dfb9f6e00f0
  4290. Hunt-Direction: inbound
  4291. Hunt-Logical-Direction: inbound
  4292. Hunt-Username: 97239707000
  4293. Hunt-Dialplan: XML
  4294. Hunt-Caller-ID-Name: 97239707000
  4295. Hunt-Caller-ID-Number: 97239707000
  4296. Hunt-Orig-Caller-ID-Name: 97239707000
  4297. Hunt-Orig-Caller-ID-Number: 97239707000
  4298. Hunt-Network-Addr: 136.243.196.198
  4299. Hunt-ANI: 97239707000
  4300. Hunt-Destination-Number: 447520641863
  4301. Hunt-Unique-ID: 614af770-155c-11ec-9e67-7dfb9f6e00f0
  4302. Hunt-Source: mod_sofia
  4303. Hunt-Context: default
  4304. Hunt-Channel-Name: sofia/default/97239707000%40173.203.86.119
  4305. Hunt-Profile-Index: 1
  4306. Hunt-Profile-Created-Time: 1631624705506668
  4307. Hunt-Channel-Created-Time: 1631624705506668
  4308. Hunt-Channel-Answered-Time: 0
  4309. Hunt-Channel-Progress-Time: 0
  4310. Hunt-Channel-Progress-Media-Time: 0
  4311. Hunt-Channel-Hangup-Time: 0
  4312. Hunt-Channel-Transfer-Time: 0
  4313. Hunt-Channel-Resurrect-Time: 0
  4314. Hunt-Channel-Bridged-Time: 0
  4315. Hunt-Channel-Last-Hold: 0
  4316. Hunt-Channel-Hold-Accum: 0
  4317. Hunt-Screen-Bit: true
  4318. Hunt-Privacy-Hide-Name: false
  4319. Hunt-Privacy-Hide-Number: false
  4320.  
  4321. '
  4322. 2021-09-14 09:05:05.506668 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name:
  4323. 2021-09-14 09:05:05.506668 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value:
  4324. 2021-09-14 09:05:05.506668 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name:
  4325. 2021-09-14 09:05:05.506668 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan
  4326. 2021-09-14 09:05:05.506668 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  4327. 2021-09-14 09:05:05.506668 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 447520641863
  4328. 2021-09-14 09:05:05.506668 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '447520641863' limit 1
  4329. 2021-09-14 09:05:05.506668 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '447520641863' AND status=0 limit 1
  4330. 2021-09-14 09:05:05.506668 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '173.203.86.119' limit 1
  4331. 2021-09-14 09:05:05.506668 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  4332. 2021-09-14 09:05:05.506668 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 97239707000 / 97239707000
  4333. 2021-09-14 09:05:05.506668 [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 ="447520641863" LIMIT 1
  4334. 2021-09-14 09:05:05.506668 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
  4335. 2021-09-14 09:05:05.506668 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 444484249994]
  4336. 2021-09-14 09:05:05.506668 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "444484249994" OR number = "444484249994" AND deleted = 0 limit 1
  4337. 2021-09-14 09:05:05.506668 [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 ="447520641863" AND A.accountid = '923' limit 1
  4338. 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 447520641863
  4339. 2021-09-14 09:05:05.526686 [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 ="447520641863" LIMIT 1
  4340. 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound
  4341. 2021-09-14 09:05:05.526686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="447520641863" AND (accountid = 0 OR status = 1) LIMIT 1
  4342. 2021-09-14 09:05:05.526686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  4343. 2021-09-14 09:05:05.526686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :583
  4344. 2021-09-14 09:05:05.526686 [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 = '^447520641863.*' OR patterns = '^44752064186.*' OR patterns = '^4475206418.*' OR patterns = '^447520641.*' OR patterns = '^44752064.*' OR patterns = '^4475206.*' OR patterns = '^447520.*' OR patterns = '^44752.*' OR patterns = '^4475.*' OR patterns = '^447.*' OR patterns = '^44.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 583 ORDER BY LENGTH(PKGPTR.patterns) DESC
  4345. 2021-09-14 09:05:05.526686 [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 = '447520641863' OR number = '44752064186' OR number = '4475206418' OR number = '447520641' OR number = '44752064' OR number = '4475206' OR number = '447520' OR number = '44752' OR number = '4475' OR number = '447' OR number = '44' OR number = '4' OR number ='--') OR (number = '447520641863*' OR number = '44752064186*' OR number = '4475206418*' OR number = '447520641*' OR number = '44752064*' OR number = '4475206*' OR number = '447520*' OR number = '44752*' OR number = '4475*' OR number = '447*' OR number = '44*' OR number = '4*' OR number ='--') OR (number = '97239707000' OR number = '9723970700' OR number = '972397070' OR number = '97239707' OR number = '9723970' OR number = '972397' OR number = '97239' OR number = '9723' OR number = '972' OR number = '97' OR number = '9' OR number ='--') OR (number = '97239707000*' OR number = '9723970700*' OR number = '972397070*' OR number = '97239707*' OR number = '9723970*' OR number = '972397*' OR number = '97239*' OR number = '9723*' OR number = '972*' OR number = '97*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  4346. 2021-09-14 09:05:05.526686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  4347. 2021-09-14 09:05:05.526686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '447520641863' OR routing_prefix = '44752064186' OR routing_prefix = '4475206418' OR routing_prefix = '447520641' OR routing_prefix = '44752064' OR routing_prefix = '4475206' OR routing_prefix = '447520' OR routing_prefix = '44752' OR routing_prefix = '4475' OR routing_prefix = '447' OR routing_prefix = '44' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  4348. 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  4349. 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 923
  4350. 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 444484249994
  4351. 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000
  4352. 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  4353. 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1
  4354. 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  4355. 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  4356. 2021-09-14 09:05:05.526686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  4357. 2021-09-14 09:05:05.526686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  4358. 2021-09-14 09:05:05.526686 [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 ="447520641863" LIMIT 1
  4359. 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound
  4360. 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  4361. 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 13005
  4362. 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  4363. 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  4364. 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  4365. 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Mobile Voice
  4366. 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 200
  4367. 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 923
  4368. 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  4369. 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 923 !!!
  4370. 2021-09-14 09:05:05.526686 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180
  4371. 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
  4372. 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  4373. 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  4374. 2021-09-14 09:05:05.526686 [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
  4375. 2021-09-14 09:05:05.526686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "583" OR number = "583" AND deleted = 0 limit 1
  4376. 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:923
  4377. 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:923
  4378. 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 923
  4379. 2021-09-14 09:05:05.526686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 583 limit 1
  4380. 2021-09-14 09:05:05.526686 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainAmir550.newsip.israelnumber.com
  4381. 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
  4382. 2021-09-14 09:05:05.526686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 583 limit 1
  4383. 2021-09-14 09:05:05.526686 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainAmir550.newsip.israelnumber.com
  4384. 2021-09-14 09:05:05.526686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_1
  4385. 2021-09-14 09:05:05.526686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  4386. <document type="freeswitch/xml">
  4387. <section name="dialplan" description="ASTPP Dialplan">
  4388. <context name="default">
  4389. <extension name="447520641863">
  4390. <condition field="destination_number" expression="447520641863">
  4391. <action application="set" data="effective_destination_number=447520641863"/>
  4392. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  4393. <action application="set" data="bridge_pre_execute_bleg_data=+10800 normal_clearing"/>
  4394. <action application="set" data="callstart=2021-09-14 13:05:05"/>
  4395. <action application="set" data="hangup_after_bridge=true"/>
  4396. <action application="set" data="continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602"/>
  4397. <action application="set" data="account_id=923"/>
  4398. <action application="set" data="parent_id=0"/>
  4399. <action application="set" data="entity_id=3"/>
  4400. <action application="set" data="call_processed=internal"/>
  4401. <action application="set" data="call_direction=inbound"/>
  4402. <action application="set" data="accountname=default"/>
  4403. <action application="set" data="filename1=astpp.pbx.lua"/>
  4404. <action application="set" data="origination_rates_did=ID:13005|CODE:^447520641863.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:1|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:200|ACCID:583"/>
  4405. <action application="set" data="origination_rates=0"/>
  4406. <action application="set" data="original_caller_id_name=97239707000"/>
  4407. <action application="set" data="original_caller_id_number=97239707000"/>
  4408. <action application="set" data="effective_caller_id_name=97239707000"/>
  4409. <action application="set" data="effective_caller_id_number=97239707000"/>
  4410. <action application="set" data="receiver_accid=583"/>
  4411. <action application="export" data="domain_name=Amir550.newsip.israelnumber.com"/>
  4412. <action application="export" data="sip_to_host=Amir550.newsip.israelnumber.com"/>
  4413. <action application="limit" data="db 447520641863 did_447520641863 2 !SWITCH_CONGESTION"/>
  4414. <action application="export" data="presence_data=x|||Signal(444484249994)|||^447520641863.* // Mobile Voice // 0.00000||||||DID|||173.203.86.119"/>
  4415. <action application="export" data="call_type=1"/>
  4416. <action application="set" data="calltype=DID@IP"/>
  4417. <action application="bridge" data="[leg_timeout=30]sofia/${sofia_profile_name}/447520641863@212.150.158.100"/>
  4418. </condition>
  4419. </extension>
  4420. </context>
  4421. </section>
  4422. </document>
  4423. 2021-09-14 09:05:05.526686 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released.
  4424. Dialplan: sofia/default/97239707000@173.203.86.119 parsing [default->447520641863] continue=false
  4425. Dialplan: sofia/default/97239707000@173.203.86.119 Regex (PASS) [447520641863] destination_number(447520641863) =~ /447520641863/ break=on-false
  4426. Dialplan: sofia/default/97239707000@173.203.86.119 Action set(effective_destination_number=447520641863)
  4427. Dialplan: sofia/default/97239707000@173.203.86.119 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  4428. Dialplan: sofia/default/97239707000@173.203.86.119 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  4429. Dialplan: sofia/default/97239707000@173.203.86.119 Action set(callstart=2021-09-14 13:05:05)
  4430. Dialplan: sofia/default/97239707000@173.203.86.119 Action set(hangup_after_bridge=true)
  4431. Dialplan: sofia/default/97239707000@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)
  4432. Dialplan: sofia/default/97239707000@173.203.86.119 Action set(account_id=923)
  4433. Dialplan: sofia/default/97239707000@173.203.86.119 Action set(parent_id=0)
  4434. Dialplan: sofia/default/97239707000@173.203.86.119 Action set(entity_id=3)
  4435. Dialplan: sofia/default/97239707000@173.203.86.119 Action set(call_processed=internal)
  4436. Dialplan: sofia/default/97239707000@173.203.86.119 Action set(call_direction=inbound)
  4437. Dialplan: sofia/default/97239707000@173.203.86.119 Action set(accountname=default)
  4438. Dialplan: sofia/default/97239707000@173.203.86.119 Action set(filename1=astpp.pbx.lua)
  4439. Dialplan: sofia/default/97239707000@173.203.86.119 Action set(origination_rates_did=ID:13005|CODE:^447520641863.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:1|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:200|ACCID:583)
  4440. Dialplan: sofia/default/97239707000@173.203.86.119 Action set(origination_rates=0)
  4441. Dialplan: sofia/default/97239707000@173.203.86.119 Action set(original_caller_id_name=97239707000)
  4442. Dialplan: sofia/default/97239707000@173.203.86.119 Action set(original_caller_id_number=97239707000)
  4443. Dialplan: sofia/default/97239707000@173.203.86.119 Action set(effective_caller_id_name=97239707000)
  4444. Dialplan: sofia/default/97239707000@173.203.86.119 Action set(effective_caller_id_number=97239707000)
  4445. Dialplan: sofia/default/97239707000@173.203.86.119 Action set(receiver_accid=583)
  4446. Dialplan: sofia/default/97239707000@173.203.86.119 Action export(domain_name=Amir550.newsip.israelnumber.com)
  4447. Dialplan: sofia/default/97239707000@173.203.86.119 Action export(sip_to_host=Amir550.newsip.israelnumber.com)
  4448. Dialplan: sofia/default/97239707000@173.203.86.119 Action limit(db 447520641863 did_447520641863 2 !SWITCH_CONGESTION)
  4449. Dialplan: sofia/default/97239707000@173.203.86.119 Action export(presence_data=x|||Signal(444484249994)|||^447520641863.* // Mobile Voice // 0.00000||||||DID|||173.203.86.119)
  4450. Dialplan: sofia/default/97239707000@173.203.86.119 Action export(call_type=1)
  4451. Dialplan: sofia/default/97239707000@173.203.86.119 Action set(calltype=DID@IP)
  4452. Dialplan: sofia/default/97239707000@173.203.86.119 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/447520641863@212.150.158.100)
  4453. 2021-09-14 09:05:05.526686 [DEBUG] switch_core_state_machine.c:286 (sofia/default/97239707000@173.203.86.119) State Change CS_ROUTING -> CS_EXECUTE
  4454. 2021-09-14 09:05:05.526686 [DEBUG] switch_core_state_machine.c:643 (sofia/default/97239707000@173.203.86.119) State ROUTING going to sleep
  4455. 2021-09-14 09:05:05.526686 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97239707000@173.203.86.119) Running State Change CS_EXECUTE (Cur 11 Tot 248020)
  4456. 2021-09-14 09:05:05.526686 [DEBUG] switch_core_state_machine.c:650 (sofia/default/97239707000@173.203.86.119) State EXECUTE
  4457. 2021-09-14 09:05:05.526686 [DEBUG] mod_sofia.c:198 sofia/default/97239707000@173.203.86.119 SOFIA EXECUTE
  4458. 2021-09-14 09:05:05.526686 [DEBUG] switch_core_state_machine.c:328 sofia/default/97239707000@173.203.86.119 Standard EXECUTE
  4459. EXECUTE sofia/default/97239707000@173.203.86.119 set(effective_destination_number=447520641863)
  4460. 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [effective_destination_number]=[447520641863]
  4461. EXECUTE sofia/default/97239707000@173.203.86.119 set(bridge_pre_execute_bleg_app=sched_hangup)
  4462. 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [bridge_pre_execute_bleg_app]=[sched_hangup]
  4463. EXECUTE sofia/default/97239707000@173.203.86.119 set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  4464. 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing]
  4465. EXECUTE sofia/default/97239707000@173.203.86.119 set(callstart=2021-09-14 13:05:05)
  4466. 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [callstart]=[2021-09-14 13:05:05]
  4467. EXECUTE sofia/default/97239707000@173.203.86.119 set(hangup_after_bridge=true)
  4468. 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [hangup_after_bridge]=[true]
  4469. EXECUTE sofia/default/97239707000@173.203.86.119 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  4470. 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]
  4471. EXECUTE sofia/default/97239707000@173.203.86.119 set(account_id=923)
  4472. 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [account_id]=[923]
  4473. EXECUTE sofia/default/97239707000@173.203.86.119 set(parent_id=0)
  4474. 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [parent_id]=[0]
  4475. EXECUTE sofia/default/97239707000@173.203.86.119 set(entity_id=3)
  4476. 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [entity_id]=[3]
  4477. EXECUTE sofia/default/97239707000@173.203.86.119 set(call_processed=internal)
  4478. 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [call_processed]=[internal]
  4479. EXECUTE sofia/default/97239707000@173.203.86.119 set(call_direction=inbound)
  4480. 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [call_direction]=[inbound]
  4481. EXECUTE sofia/default/97239707000@173.203.86.119 set(accountname=default)
  4482. 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [accountname]=[default]
  4483. EXECUTE sofia/default/97239707000@173.203.86.119 set(filename1=astpp.pbx.lua)
  4484. 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [filename1]=[astpp.pbx.lua]
  4485. EXECUTE sofia/default/97239707000@173.203.86.119 set(origination_rates_did=ID:13005|CODE:^447520641863.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:1|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:200|ACCID:583)
  4486. 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [origination_rates_did]=[ID:13005|CODE:^447520641863.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:1|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:200|ACCID:583]
  4487. EXECUTE sofia/default/97239707000@173.203.86.119 set(origination_rates=0)
  4488. 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [origination_rates]=[0]
  4489. EXECUTE sofia/default/97239707000@173.203.86.119 set(original_caller_id_name=97239707000)
  4490. 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [original_caller_id_name]=[97239707000]
  4491. EXECUTE sofia/default/97239707000@173.203.86.119 set(original_caller_id_number=97239707000)
  4492. 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [original_caller_id_number]=[97239707000]
  4493. EXECUTE sofia/default/97239707000@173.203.86.119 set(effective_caller_id_name=97239707000)
  4494. 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [effective_caller_id_name]=[97239707000]
  4495. EXECUTE sofia/default/97239707000@173.203.86.119 set(effective_caller_id_number=97239707000)
  4496. 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [effective_caller_id_number]=[97239707000]
  4497. EXECUTE sofia/default/97239707000@173.203.86.119 set(receiver_accid=583)
  4498. 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [receiver_accid]=[583]
  4499. EXECUTE sofia/default/97239707000@173.203.86.119 export(domain_name=Amir550.newsip.israelnumber.com)
  4500. 2021-09-14 09:05:05.526686 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Amir550.newsip.israelnumber.com]
  4501. EXECUTE sofia/default/97239707000@173.203.86.119 export(sip_to_host=Amir550.newsip.israelnumber.com)
  4502. 2021-09-14 09:05:05.526686 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Amir550.newsip.israelnumber.com]
  4503. EXECUTE sofia/default/97239707000@173.203.86.119 limit(db 447520641863 did_447520641863 2 !SWITCH_CONGESTION)
  4504. 2021-09-14 09:05:05.526686 [DEBUG] switch_limit.c:126 incr called: 447520641863_did_447520641863 max:2, interval:0
  4505. 2021-09-14 09:05:05.526686 [DEBUG] mod_db.c:194 Usage for 447520641863_did_447520641863 is now 1/2
  4506. EXECUTE sofia/default/97239707000@173.203.86.119 export(presence_data=x|||Signal(444484249994)|||^447520641863.* // Mobile Voice // 0.00000||||||DID|||173.203.86.119)
  4507. 2021-09-14 09:05:05.586708 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||Signal(444484249994)|||^447520641863.* // Mobile Voice // 0.00000||||||DID|||173.203.86.119]
  4508. EXECUTE sofia/default/97239707000@173.203.86.119 export(call_type=1)
  4509. 2021-09-14 09:05:05.586708 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[1]
  4510. EXECUTE sofia/default/97239707000@173.203.86.119 set(calltype=DID@IP)
  4511. 2021-09-14 09:05:05.586708 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [calltype]=[DID@IP]
  4512. EXECUTE sofia/default/97239707000@173.203.86.119 bridge([leg_timeout=30]sofia/default/447520641863@212.150.158.100)
  4513. 2021-09-14 09:05:05.586708 [DEBUG] switch_channel.c:1250 sofia/default/97239707000@173.203.86.119 EXPORTING[export_vars] [domain_name]=[Amir550.newsip.israelnumber.com] to event
  4514. 2021-09-14 09:05:05.586708 [DEBUG] switch_channel.c:1250 sofia/default/97239707000@173.203.86.119 EXPORTING[export_vars] [sip_to_host]=[Amir550.newsip.israelnumber.com] to event
  4515. 2021-09-14 09:05:05.586708 [DEBUG] switch_channel.c:1250 sofia/default/97239707000@173.203.86.119 EXPORTING[export_vars] [presence_data]=[x|||Signal(444484249994)|||^447520641863.* // Mobile Voice // 0.00000||||||DID|||173.203.86.119] to event
  4516. 2021-09-14 09:05:05.586708 [DEBUG] switch_channel.c:1250 sofia/default/97239707000@173.203.86.119 EXPORTING[export_vars] [call_type]=[1] to event
  4517. 2021-09-14 09:05:05.586708 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  4518. 2021-09-14 09:05:05.586708 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  4519. 2021-09-14 09:05:05.586708 [NOTICE] switch_channel.c:1104 New Channel sofia/default/447520641863@212.150.158.100 [6158722e-155c-11ec-9e87-7dfb9f6e00f0]
  4520. 2021-09-14 09:05:05.586708 [DEBUG] mod_sofia.c:4819 (sofia/default/447520641863@212.150.158.100) State Change CS_NEW -> CS_INIT
  4521. 2021-09-14 09:05:05.586708 [DEBUG] switch_ivr_originate.c:2963 sofia/default/447520641863@212.150.158.100 Setting leg timeout to 30
  4522. 2021-09-14 09:05:05.586708 [DEBUG] switch_core_state_machine.c:584 (sofia/default/447520641863@212.150.158.100) Running State Change CS_INIT (Cur 12 Tot 248021)
  4523. 2021-09-14 09:05:05.586708 [DEBUG] switch_core_state_machine.c:627 (sofia/default/447520641863@212.150.158.100) State INIT
  4524. 2021-09-14 09:05:05.586708 [DEBUG] mod_sofia.c:90 sofia/default/447520641863@212.150.158.100 SOFIA INIT
  4525. 2021-09-14 09:05:05.586708 [DEBUG] sofia_glue.c:1295 sofia/default/447520641863@212.150.158.100 sending invite version: 1.6.20  64bit
  4526. Local SDP:
  4527. v=0
  4528. o=FreeSWITCH 1631596733 1631596734 IN IP4 89.46.223.193
  4529. s=FreeSWITCH
  4530. c=IN IP4 89.46.223.193
  4531. t=0 0
  4532. m=audio 27972 RTP/AVP 0 101
  4533. a=rtpmap:0 PCMU/8000
  4534. a=rtpmap:101 telephone-event/8000
  4535. a=fmtp:101 0-16
  4536. a=ptime:20
  4537. a=sendrecv
  4538.  
  4539. 2021-09-14 09:05:05.586708 [DEBUG] switch_core_state_machine.c:40 sofia/default/447520641863@212.150.158.100 Standard INIT
  4540. 2021-09-14 09:05:05.586708 [DEBUG] switch_core_state_machine.c:48 (sofia/default/447520641863@212.150.158.100) State Change CS_INIT -> CS_ROUTING
  4541. 2021-09-14 09:05:05.586708 [DEBUG] switch_core_state_machine.c:627 (sofia/default/447520641863@212.150.158.100) State INIT going to sleep
  4542. 2021-09-14 09:05:05.586708 [DEBUG] switch_core_state_machine.c:584 (sofia/default/447520641863@212.150.158.100) Running State Change CS_ROUTING (Cur 12 Tot 248021)
  4543. 2021-09-14 09:05:05.586708 [DEBUG] sofia.c:7084 Channel sofia/default/447520641863@212.150.158.100 entering state [calling][0]
  4544. 2021-09-14 09:05:05.586708 [DEBUG] switch_core_state_machine.c:643 (sofia/default/447520641863@212.150.158.100) State ROUTING
  4545. 2021-09-14 09:05:05.586708 [DEBUG] mod_sofia.c:143 sofia/default/447520641863@212.150.158.100 SOFIA ROUTING
  4546. 2021-09-14 09:05:05.586708 [DEBUG] switch_ivr_originate.c:67 (sofia/default/447520641863@212.150.158.100) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  4547. 2021-09-14 09:05:05.586708 [DEBUG] switch_core_state_machine.c:643 (sofia/default/447520641863@212.150.158.100) State ROUTING going to sleep
  4548. 2021-09-14 09:05:05.586708 [DEBUG] switch_core_state_machine.c:584 (sofia/default/447520641863@212.150.158.100) Running State Change CS_CONSUME_MEDIA (Cur 12 Tot 248021)
  4549. 2021-09-14 09:05:05.586708 [DEBUG] switch_core_state_machine.c:662 (sofia/default/447520641863@212.150.158.100) State CONSUME_MEDIA
  4550. 2021-09-14 09:05:05.586708 [DEBUG] switch_core_state_machine.c:662 (sofia/default/447520641863@212.150.158.100) State CONSUME_MEDIA going to sleep
  4551. 2021-09-14 09:05:05.966729 [DEBUG] sofia.c:7084 Channel sofia/default/447520641863@212.150.158.100 entering state [proceeding][180]
  4552. 2021-09-14 09:05:05.966729 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/447520641863@212.150.158.100!
  4553. 2021-09-14 09:05:05.966729 [DEBUG] switch_channel.c:3346 (sofia/default/447520641863@212.150.158.100) Callstate Change DOWN -> RINGING
  4554. 2021-09-14 09:05:05.966729 [DEBUG] sofia.c:7084 Channel sofia/default/447520641863@212.150.158.100 entering state [proceeding][183]
  4555. 2021-09-14 09:05:05.966729 [DEBUG] sofia.c:7094 Remote SDP:
  4556. v=0
  4557. o=root 21052 21052 IN IP4 212.150.158.100
  4558. s=session
  4559. c=IN IP4 212.150.158.100
  4560. t=0 0
  4561. m=audio 19976 RTP/AVP 0 101
  4562. a=rtpmap:0 PCMU/8000
  4563. a=rtpmap:101 telephone-event/8000
  4564. a=fmtp:101 0-16
  4565. a=silenceSupp:off - - - -
  4566. a=ptime:20
  4567.  
  4568. 2021-09-14 09:05:05.966729 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  4569. 2021-09-14 09:05:05.966729 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  4570. 2021-09-14 09:05:05.966729 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  4571. 2021-09-14 09:05:05.966729 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/447520641863@212.150.158.100 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  4572. 2021-09-14 09:05:05.966729 [DEBUG] switch_core_codec.c:111 sofia/default/447520641863@212.150.158.100 Original read codec set to PCMU:0
  4573. 2021-09-14 09:05:05.966729 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/97239707000@173.203.86.119!
  4574. 2021-09-14 09:05:05.966729 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  4575. 2021-09-14 09:05:05.966729 [DEBUG] switch_core_media.c:4767 sofia/default/447520641863@212.150.158.100 Set 2833 dtmf send payload to 101 recv payload to 101
  4576. 2021-09-14 09:05:05.966729 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/447520641863@212.150.158.100] 89.46.223.193 port 27972 -> 212.150.158.100 port 19976 codec: 0 ms: 20
  4577. 2021-09-14 09:05:05.966729 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  4578. 2021-09-14 09:05:05.966729 [DEBUG] sofia.c:7084 Channel sofia/default/97239707000@173.203.86.119 entering state [early][180]
  4579. 2021-09-14 09:05:05.966729 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/97239707000@173.203.86.119!
  4580. 2021-09-14 09:05:05.966729 [DEBUG] switch_core_media.c:7180 sofia/default/447520641863@212.150.158.100 Set 2833 dtmf send payload to 101
  4581. 2021-09-14 09:05:05.966729 [DEBUG] switch_core_media.c:7187 sofia/default/447520641863@212.150.158.100 Set 2833 dtmf receive payload to 101
  4582. 2021-09-14 09:05:05.966729 [DEBUG] switch_core_media.c:7210 sofia/default/447520641863@212.150.158.100 Set rtp dtmf delay to 40
  4583. 2021-09-14 09:05:05.966729 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/447520641863@212.150.158.100!
  4584. 2021-09-14 09:05:05.966729 [DEBUG] switch_channel.c:3474 (sofia/default/447520641863@212.150.158.100) Callstate Change RINGING -> EARLY
  4585. 2021-09-14 09:05:05.986658 [INFO] switch_ivr_originate.c:3654 Sending early media
  4586. 2021-09-14 09:05:05.986658 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/97239707000@173.203.86.119] 89.46.223.193 port 23894 -> 173.203.86.119 port 16470 codec: 0 ms: 20
  4587. 2021-09-14 09:05:05.986658 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  4588. 2021-09-14 09:05:05.986658 [DEBUG] switch_core_media.c:7180 sofia/default/97239707000@173.203.86.119 Set 2833 dtmf send payload to 101
  4589. 2021-09-14 09:05:05.986658 [DEBUG] switch_core_media.c:7187 sofia/default/97239707000@173.203.86.119 Set 2833 dtmf receive payload to 101
  4590. 2021-09-14 09:05:05.986658 [DEBUG] switch_core_media.c:7210 sofia/default/97239707000@173.203.86.119 Set rtp dtmf delay to 40
  4591. 2021-09-14 09:05:05.986658 [DEBUG] mod_sofia.c:2364 Ring SDP:
  4592. v=0
  4593. o=FreeSWITCH 1631600811 1631600812 IN IP4 89.46.223.193
  4594. s=FreeSWITCH
  4595. c=IN IP4 89.46.223.193
  4596. t=0 0
  4597. m=audio 23894 RTP/AVP 0 101
  4598. a=rtpmap:0 PCMU/8000
  4599. a=rtpmap:101 telephone-event/8000
  4600. a=fmtp:101 0-16
  4601. a=ptime:20
  4602. a=sendrecv
  4603.  
  4604. 2021-09-14 09:05:05.986658 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/default/97239707000@173.203.86.119!
  4605. 2021-09-14 09:05:05.986658 [DEBUG] switch_channel.c:3474 (sofia/default/97239707000@173.203.86.119) Callstate Change RINGING -> EARLY
  4606. 2021-09-14 09:05:05.986658 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/447520641863@212.150.158.100]
  4607. 2021-09-14 09:05:05.986658 [DEBUG] sofia.c:7084 Channel sofia/default/97239707000@173.203.86.119 entering state [early][183]
  4608. 2021-09-14 09:05:06.006664 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/447520641863@212.150.158.100) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  4609. 2021-09-14 09:05:06.006664 [DEBUG] switch_core_state_machine.c:584 (sofia/default/447520641863@212.150.158.100) Running State Change CS_EXCHANGE_MEDIA (Cur 12 Tot 248021)
  4610. 2021-09-14 09:05:06.006664 [DEBUG] switch_core_state_machine.c:653 (sofia/default/447520641863@212.150.158.100) State EXCHANGE_MEDIA
  4611. 2021-09-14 09:05:06.006664 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  4612. 2021-09-14 09:05:06.026667 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  4613. 2021-09-14 09:05:06.146767 [DEBUG] switch_ivr_bridge.c:546 sofia/default/447520641863@212.150.158.100 Bridge execute app sched_hangup(+10800 normal_clearing)
  4614. 2021-09-14 09:05:06.186666 [DEBUG] switch_ivr.c:623 sofia/default/447520641863@212.150.158.100 Command Execute sched_hangup(+10800 normal_clearing)
  4615. EXECUTE sofia/default/447520641863@212.150.158.100 sched_hangup(+10800 normal_clearing)
  4616. 2021-09-14 09:05:06.186666 [DEBUG] switch_scheduler.c:249 Added task 31133 switch_ivr_schedule_hangup (6158722e-155c-11ec-9e87-7dfb9f6e00f0) to run at 1631635506
  4617. 2021-09-14 09:05:12.326673 [DEBUG] sofia.c:7084 Channel sofia/default/447520641863@212.150.158.100 entering state [completing][200]
  4618. 2021-09-14 09:05:12.326673 [DEBUG] sofia.c:7094 Remote SDP:
  4619. v=0
  4620. o=root 21052 21053 IN IP4 212.150.158.100
  4621. s=session
  4622. c=IN IP4 212.150.158.100
  4623. t=0 0
  4624. m=audio 19976 RTP/AVP 0 101
  4625. a=rtpmap:0 PCMU/8000
  4626. a=rtpmap:101 telephone-event/8000
  4627. a=fmtp:101 0-16
  4628. a=silenceSupp:off - - - -
  4629. a=ptime:20
  4630.  
  4631. 2021-09-14 09:05:12.346685 [DEBUG] sofia.c:7084 Channel sofia/default/447520641863@212.150.158.100 entering state [ready][200]
  4632. 2021-09-14 09:05:12.346685 [NOTICE] sofia.c:8159 Channel [sofia/default/447520641863@212.150.158.100] has been answered
  4633. 2021-09-14 09:05:12.346685 [DEBUG] switch_channel.c:3773 (sofia/default/447520641863@212.150.158.100) Callstate Change EARLY -> ACTIVE
  4634. 2021-09-14 09:05:12.346685 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/97239707000@173.203.86.119.
  4635. 2021-09-14 09:05:12.346685 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/97239707000@173.203.86.119:
  4636. v=0
  4637. o=FreeSWITCH 1631600811 1631600813 IN IP4 89.46.223.193
  4638. s=FreeSWITCH
  4639. c=IN IP4 89.46.223.193
  4640. t=0 0
  4641. m=audio 23894 RTP/AVP 0 101
  4642. a=rtpmap:0 PCMU/8000
  4643. a=rtpmap:101 telephone-event/8000
  4644. a=fmtp:101 0-16
  4645. a=ptime:20
  4646. a=sendrecv
  4647.  
  4648. 2021-09-14 09:05:12.346685 [NOTICE] switch_ivr_bridge.c:623 Channel [sofia/default/97239707000@173.203.86.119] has been answered
  4649. 2021-09-14 09:05:12.346685 [DEBUG] switch_channel.c:3773 (sofia/default/97239707000@173.203.86.119) Callstate Change EARLY -> ACTIVE
  4650. 2021-09-14 09:05:12.346685 [DEBUG] sofia.c:7084 Channel sofia/default/97239707000@173.203.86.119 entering state [completed][200]
  4651. 2021-09-14 09:05:12.406664 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  4652. 2021-09-14 09:05:12.466678 [DEBUG] sofia.c:7084 Channel sofia/default/97239707000@173.203.86.119 entering state [ready][200]
  4653. 2021-09-14 09:05:12.586727 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  4654. 2021-09-14 09:05:13.726704 [NOTICE] switch_channel.c:1104 New Channel sofia/default/43720902004@193.109.216.112 [6631582e-155c-11ec-9e8d-7dfb9f6e00f0]
  4655. 2021-09-14 09:05:13.726704 [DEBUG] switch_core_state_machine.c:584 (sofia/default/43720902004@193.109.216.112) Running State Change CS_NEW (Cur 13 Tot 248022)
  4656. 2021-09-14 09:05:13.726704 [DEBUG] sofia.c:9873 sofia/default/43720902004@193.109.216.112 receiving invite from 136.243.196.198:5060 version: 1.6.20  64bit
  4657. 2021-09-14 09:05:13.726704 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
  4658. 2021-09-14 09:05:13.726704 [DEBUG] sofia.c:7084 Channel sofia/default/43720902004@193.109.216.112 entering state [received][100]
  4659. 2021-09-14 09:05:13.726704 [DEBUG] sofia.c:7094 Remote SDP:
  4660. v=0
  4661. o=root 181797555 181797555 IN IP4 193.109.216.112
  4662. s=Asterisk PBX 1.8.32.3
  4663. c=IN IP4 193.109.216.112
  4664. t=0 0
  4665. m=audio 17990 RTP/AVP 8 0 101
  4666. a=rtpmap:8 PCMA/8000
  4667. a=rtpmap:0 PCMU/8000
  4668. a=rtpmap:101 telephone-event/8000
  4669. a=fmtp:101 0-16
  4670. a=ptime:20
  4671.  
  4672. 2021-09-14 09:05:13.726704 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  4673. 2021-09-14 09:05:13.726704 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  4674. 2021-09-14 09:05:13.726704 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  4675. 2021-09-14 09:05:13.726704 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  4676. 2021-09-14 09:05:13.726704 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  4677. 2021-09-14 09:05:13.726704 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  4678. 2021-09-14 09:05:13.726704 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  4679. 2021-09-14 09:05:13.726704 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  4680. 2021-09-14 09:05:13.726704 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  4681. 2021-09-14 09:05:13.726704 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/43720902004@193.109.216.112 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  4682. 2021-09-14 09:05:13.726704 [DEBUG] switch_core_codec.c:111 sofia/default/43720902004@193.109.216.112 Original read codec set to PCMA:8
  4683. 2021-09-14 09:05:13.726704 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  4684. 2021-09-14 09:05:13.726704 [DEBUG] switch_core_media.c:4767 sofia/default/43720902004@193.109.216.112 Set 2833 dtmf send payload to 101 recv payload to 101
  4685. 2021-09-14 09:05:13.726704 [DEBUG] sofia.c:7507 (sofia/default/43720902004@193.109.216.112) State Change CS_NEW -> CS_INIT
  4686. 2021-09-14 09:05:13.726704 [DEBUG] switch_core_state_machine.c:603 (sofia/default/43720902004@193.109.216.112) State NEW
  4687. 2021-09-14 09:05:13.726704 [DEBUG] switch_core_state_machine.c:584 (sofia/default/43720902004@193.109.216.112) Running State Change CS_INIT (Cur 13 Tot 248022)
  4688. 2021-09-14 09:05:13.726704 [DEBUG] switch_core_state_machine.c:627 (sofia/default/43720902004@193.109.216.112) State INIT
  4689. 2021-09-14 09:05:13.726704 [DEBUG] mod_sofia.c:90 sofia/default/43720902004@193.109.216.112 SOFIA INIT
  4690. 2021-09-14 09:05:13.726704 [DEBUG] switch_core_state_machine.c:40 sofia/default/43720902004@193.109.216.112 Standard INIT
  4691. 2021-09-14 09:05:13.726704 [DEBUG] switch_core_state_machine.c:48 (sofia/default/43720902004@193.109.216.112) State Change CS_INIT -> CS_ROUTING
  4692. 2021-09-14 09:05:13.726704 [DEBUG] switch_core_state_machine.c:627 (sofia/default/43720902004@193.109.216.112) State INIT going to sleep
  4693. 2021-09-14 09:05:13.726704 [DEBUG] switch_core_state_machine.c:584 (sofia/default/43720902004@193.109.216.112) Running State Change CS_ROUTING (Cur 13 Tot 248022)
  4694. 2021-09-14 09:05:13.726704 [DEBUG] switch_channel.c:2249 (sofia/default/43720902004@193.109.216.112) Callstate Change DOWN -> RINGING
  4695. 2021-09-14 09:05:13.726704 [DEBUG] switch_core_state_machine.c:643 (sofia/default/43720902004@193.109.216.112) State ROUTING
  4696. 2021-09-14 09:05:13.726704 [DEBUG] mod_sofia.c:143 sofia/default/43720902004@193.109.216.112 SOFIA ROUTING
  4697. 2021-09-14 09:05:13.726704 [DEBUG] switch_core_state_machine.c:236 sofia/default/43720902004@193.109.216.112 Standard ROUTING
  4698. 2021-09-14 09:05:13.726704 [INFO] mod_dialplan_xml.c:637 Processing 43720902004 <43720902004>->004369910001245 in context default
  4699. 2021-09-14 09:05:13.726704 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected.
  4700. 2021-09-14 09:05:13.726704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  4701. 2021-09-14 09:05:13.726704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  4702. 2021-09-14 09:05:13.726704 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params:
  4703. 'Event-Name: REQUEST_PARAMS
  4704. Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0
  4705. FreeSWITCH-Hostname: astpp1.local
  4706. FreeSWITCH-Switchname: astpp1.local
  4707. FreeSWITCH-IPv4: 89.46.223.193
  4708. FreeSWITCH-IPv6: %3A%3A1
  4709. Event-Date-Local: 2021-09-14%2009%3A05%3A13
  4710. Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A05%3A13%20GMT
  4711. Event-Date-Timestamp: 1631624713726704
  4712. Event-Calling-File: mod_dialplan_xml.c
  4713. Event-Calling-Function: dialplan_xml_locate
  4714. Event-Calling-Line-Number: 608
  4715. Event-Sequence: 7528126
  4716. Channel-State: CS_ROUTING
  4717. Channel-Call-State: RINGING
  4718. Channel-State-Number: 2
  4719. Channel-Name: sofia/default/43720902004%40193.109.216.112
  4720. Unique-ID: 6631582e-155c-11ec-9e8d-7dfb9f6e00f0
  4721. Call-Direction: inbound
  4722. Presence-Call-Direction: inbound
  4723. Channel-HIT-Dialplan: true
  4724. Channel-Presence-ID: 43720902004%40193.109.216.112
  4725. Channel-Call-UUID: 6631582e-155c-11ec-9e8d-7dfb9f6e00f0
  4726. Answer-State: ringing
  4727. Channel-Read-Codec-Name: PCMA
  4728. Channel-Read-Codec-Rate: 8000
  4729. Channel-Read-Codec-Bit-Rate: 64000
  4730. Channel-Write-Codec-Name: PCMA
  4731. Channel-Write-Codec-Rate: 8000
  4732. Channel-Write-Codec-Bit-Rate: 64000
  4733. Caller-Direction: inbound
  4734. Caller-Logical-Direction: inbound
  4735. Caller-Username: 43720902004
  4736. Caller-Dialplan: XML
  4737. Caller-Caller-ID-Name: 43720902004
  4738. Caller-Caller-ID-Number: 43720902004
  4739. Caller-Orig-Caller-ID-Name: 43720902004
  4740. Caller-Orig-Caller-ID-Number: 43720902004
  4741. Caller-Network-Addr: 136.243.196.198
  4742. Caller-ANI: 43720902004
  4743. Caller-Destination-Number: 004369910001245
  4744. Caller-Unique-ID: 6631582e-155c-11ec-9e8d-7dfb9f6e00f0
  4745. Caller-Source: mod_sofia
  4746. Caller-Context: default
  4747. Caller-Channel-Name: sofia/default/43720902004%40193.109.216.112
  4748. Caller-Profile-Index: 1
  4749. Caller-Profile-Created-Time: 1631624713726704
  4750. Caller-Channel-Created-Time: 1631624713726704
  4751. Caller-Channel-Answered-Time: 0
  4752. Caller-Channel-Progress-Time: 0
  4753. Caller-Channel-Progress-Media-Time: 0
  4754. Caller-Channel-Hangup-Time: 0
  4755. Caller-Channel-Transfer-Time: 0
  4756. Caller-Channel-Resurrect-Time: 0
  4757. Caller-Channel-Bridged-Time: 0
  4758. Caller-Channel-Last-Hold: 0
  4759. Caller-Channel-Hold-Accum: 0
  4760. Caller-Screen-Bit: true
  4761. Caller-Privacy-Hide-Name: false
  4762. Caller-Privacy-Hide-Number: false
  4763. variable_direction: inbound
  4764. variable_uuid: 6631582e-155c-11ec-9e8d-7dfb9f6e00f0
  4765. variable_session_id: 248022
  4766. variable_sip_from_user: 43720902004
  4767. variable_sip_from_uri: 43720902004%40193.109.216.112
  4768. variable_sip_from_host: 193.109.216.112
  4769. variable_video_media_flow: sendrecv
  4770. variable_channel_name: sofia/default/43720902004%40193.109.216.112
  4771. variable_sip_call_id: 4fdaf2fb69accf72454b01e342dbe528%40193.109.216.112%3A5060
  4772. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b
  4773. variable_sip_local_network_addr: 89.46.223.193
  4774. variable_sip_network_ip: 136.243.196.198
  4775. variable_sip_network_port: 5060
  4776. variable_sip_invite_stamp: 1631624713726704
  4777. variable_sip_received_ip: 136.243.196.198
  4778. variable_sip_received_port: 5060
  4779. variable_sip_via_protocol: udp
  4780. variable_sip_authorized: true
  4781. variable_sip_acl_authed_by: default
  4782. variable_sip_from_user_stripped: 43720902004
  4783. variable_sip_from_tag: as6fe1c954
  4784. variable_sofia_profile_name: default
  4785. variable_recovery_profile_name: default
  4786. variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D46.5fe73e76%3E
  4787. variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D46.5fe73e76%3E
  4788. variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bK33f1.58821937.0,SIP/2.0/UDP%20193.109.216.112%3A5060%3Bbranch%3Dz9hG4bK7962bb1b
  4789. variable_sip_from_display: 43720902004
  4790. variable_sip_full_from: %2243720902004%22%20%3Csip%3A43720902004%40193.109.216.112%3E%3Btag%3Das6fe1c954
  4791. variable_sip_full_to: %3Csip%3A004369910001245%40136.243.196.198%3E
  4792. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE
  4793. variable_sip_req_user: 004369910001245
  4794. variable_sip_req_uri: 004369910001245%40136.243.196.198
  4795. variable_sip_req_host: 136.243.196.198
  4796. variable_sip_to_user: 004369910001245
  4797. variable_sip_to_uri: 004369910001245%40136.243.196.198
  4798. variable_sip_to_host: 136.243.196.198
  4799. variable_sip_contact_user: 43720902004
  4800. variable_sip_contact_port: 5060
  4801. variable_sip_contact_uri: 43720902004%40193.109.216.112%3A5060
  4802. variable_sip_contact_host: 193.109.216.112
  4803. variable_sip_user_agent: Asterisk%20PBX%201.8.32.3
  4804. variable_sip_via_host: 136.243.196.198
  4805. variable_sip_via_port: 5060
  4806. variable_max_forwards: 30
  4807. variable_presence_id: 43720902004%40193.109.216.112
  4808. variable_sip_h_X-AUTH-IP: 193.109.216.112
  4809. variable_sip_h_P-Accountcode: 619312506378
  4810. variable_sip_h_P-effective_caller_id_name: 43720902004
  4811. variable_sip_h_P-effective_caller_id_number: 43720902004
  4812. variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%20181797555%20181797555%20IN%20IP4%20193.109.216.112%0D%0As%3DAsterisk%20PBX%201.8.32.3%0D%0Ac%3DIN%20IP4%20193.109.216.112%0D%0At%3D0%200%0D%0Am%3Daudio%2017990%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
  4813. variable_rtp_use_codec_string: PCMA,PCMU,G729
  4814. variable_audio_media_flow: sendrecv
  4815. variable_remote_media_ip: 193.109.216.112
  4816. variable_remote_media_port: 17990
  4817. variable_rtp_audio_recv_pt: 8
  4818. variable_rtp_use_codec_name: PCMA
  4819. variable_rtp_use_codec_rate: 8000
  4820. variable_rtp_use_codec_ptime: 20
  4821. variable_rtp_use_codec_channels: 1
  4822. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  4823. variable_read_codec: PCMA
  4824. variable_original_read_codec: PCMA
  4825. variable_read_rate: 8000
  4826. variable_original_read_rate: 8000
  4827. variable_write_codec: PCMA
  4828. variable_write_rate: 8000
  4829. variable_dtmf_type: rfc2833
  4830. variable_endpoint_disposition: RECEIVED
  4831. variable_call_uuid: 6631582e-155c-11ec-9e8d-7dfb9f6e00f0
  4832. Hunt-Direction: inbound
  4833. Hunt-Logical-Direction: inbound
  4834. Hunt-Username: 43720902004
  4835. Hunt-Dialplan: XML
  4836. Hunt-Caller-ID-Name: 43720902004
  4837. Hunt-Caller-ID-Number: 43720902004
  4838. Hunt-Orig-Caller-ID-Name: 43720902004
  4839. Hunt-Orig-Caller-ID-Number: 43720902004
  4840. Hunt-Network-Addr: 136.243.196.198
  4841. Hunt-ANI: 43720902004
  4842. Hunt-Destination-Number: 004369910001245
  4843. Hunt-Unique-ID: 6631582e-155c-11ec-9e8d-7dfb9f6e00f0
  4844. Hunt-Source: mod_sofia
  4845. Hunt-Context: default
  4846. Hunt-Channel-Name: sofia/default/43720902004%40193.109.216.112
  4847. Hunt-Profile-Index: 1
  4848. Hunt-Profile-Created-Time: 1631624713726704
  4849. Hunt-Channel-Created-Time: 1631624713726704
  4850. Hunt-Channel-Answered-Time: 0
  4851. Hunt-Channel-Progress-Time: 0
  4852. Hunt-Channel-Progress-Media-Time: 0
  4853. Hunt-Channel-Hangup-Time: 0
  4854. Hunt-Channel-Transfer-Time: 0
  4855. Hunt-Channel-Resurrect-Time: 0
  4856. Hunt-Channel-Bridged-Time: 0
  4857. Hunt-Channel-Last-Hold: 0
  4858. Hunt-Channel-Hold-Accum: 0
  4859. Hunt-Screen-Bit: true
  4860. Hunt-Privacy-Hide-Name: false
  4861. Hunt-Privacy-Hide-Number: false
  4862.  
  4863. '
  4864. 2021-09-14 09:05:13.726704 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name:
  4865. 2021-09-14 09:05:13.726704 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value:
  4866. 2021-09-14 09:05:13.726704 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name:
  4867. 2021-09-14 09:05:13.726704 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan
  4868. 2021-09-14 09:05:13.726704 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  4869. 2021-09-14 09:05:13.726704 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 004369910001245
  4870. 2021-09-14 09:05:13.726704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '004369910001245' limit 1
  4871. 2021-09-14 09:05:13.726704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '004369910001245' AND status=0 limit 1
  4872. 2021-09-14 09:05:13.726704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '193.109.216.112' limit 1
  4873. 2021-09-14 09:05:13.726704 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  4874. 2021-09-14 09:05:13.726704 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 43720902004 / 43720902004
  4875. 2021-09-14 09:05:13.726704 [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 ="004369910001245" LIMIT 1
  4876. 2021-09-14 09:05:13.726704 [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="004369910001245"  AND domains.domain="136.243.196.198" limit 1
  4877. 2021-09-14 09:05:13.726704 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  4878. 2021-09-14 09:05:13.726704 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 619312506378]
  4879. 2021-09-14 09:05:13.726704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "619312506378" OR number = "619312506378" AND deleted = 0 limit 1
  4880. 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^004369910001245.*' OR blocked_patterns = '^00436991000124.*' OR blocked_patterns = '^0043699100012.*' OR blocked_patterns = '^004369910001.*' OR blocked_patterns = '^00436991000.*' OR blocked_patterns = '^0043699100.*' OR blocked_patterns = '^004369910.*' OR blocked_patterns = '^00436991.*' OR blocked_patterns = '^0043699.*' OR blocked_patterns = '^004369.*' OR blocked_patterns = '^00436.*' OR blocked_patterns = '^0043.*' OR blocked_patterns = '^004.*' OR blocked_patterns = '^00.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 1039 limit 1
  4881. 2021-09-14 09:05:13.746665 [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 ="004369910001245" AND A.accountid = '1039' limit 1
  4882. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 004369910001245
  4883. 2021-09-14 09:05:13.746665 [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 ="004369910001245" LIMIT 1
  4884. 2021-09-14 09:05:13.746665 [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="004369910001245"  AND domains.domain="136.243.196.198" limit 1
  4885. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : outbound
  4886. 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="004369910001245" AND (accountid = 0 OR status = 1) LIMIT 1
  4887. 2021-09-14 09:05:13.746665 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 3
  4888. 2021-09-14 09:05:13.746665 [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
  4889. 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*".....004369910001245
  4890. 2021-09-14 09:05:13.746665 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 004369910001245
  4891. 2021-09-14 09:05:13.746665 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 4369910001245
  4892. 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*".....4369910001245
  4893. 2021-09-14 09:05:13.746665 [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 = '^4369910001245.*' OR patterns = '^436991000124.*' OR patterns = '^43699100012.*' OR patterns = '^4369910001.*' OR patterns = '^436991000.*' OR patterns = '^43699100.*' OR patterns = '^4369910.*' OR patterns = '^436991.*' OR patterns = '^43699.*' OR patterns = '^4369.*' OR patterns = '^436.*' OR patterns = '^43.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 1039 ORDER BY LENGTH(PKGPTR.patterns) DESC
  4894. 2021-09-14 09:05:13.746665 [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 = '4369910001245' OR number = '436991000124' OR number = '43699100012' OR number = '4369910001' OR number = '436991000' OR number = '43699100' OR number = '4369910' OR number = '436991' OR number = '43699' OR number = '4369' OR number = '436' OR number = '43' OR number = '4' OR number ='--') OR (number = '4369910001245*' OR number = '436991000124*' OR number = '43699100012*' OR number = '4369910001*' OR number = '436991000*' OR number = '43699100*' OR number = '4369910*' OR number = '436991*' OR number = '43699*' OR number = '4369*' OR number = '436*' OR number = '43*' OR number = '4*' OR number ='--') OR (number = '43720902004' OR number = '4372090200' OR number = '437209020' OR number = '43720902' OR number = '4372090' OR number = '437209' OR number = '43720' OR number = '4372' OR number = '437' OR number = '43' OR number = '4' OR number ='--') OR (number = '43720902004*' OR number = '4372090200*' OR number = '437209020*' OR number = '43720902*' OR number = '4372090*' OR number = '437209*' OR number = '43720*' OR number = '4372*' OR number = '437*' OR number = '43*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  4895. 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  4896. 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '4369910001245' OR routing_prefix = '436991000124' OR routing_prefix = '43699100012' OR routing_prefix = '4369910001' OR routing_prefix = '436991000' OR routing_prefix = '43699100' OR routing_prefix = '4369910' OR routing_prefix = '436991' OR routing_prefix = '43699' OR routing_prefix = '4369' OR routing_prefix = '436' OR routing_prefix = '43' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  4897. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  4898. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 1039
  4899. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 619312506378
  4900. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 3173.67686
  4901. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  4902. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 49
  4903. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  4904. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  4905. 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0
  4906. 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound
  4907. 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0
  4908. 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^4369910001245.*' OR pattern = '^436991000124.*' OR pattern = '^43699100012.*' OR pattern = '^4369910001.*' OR pattern = '^436991000.*' OR pattern = '^43699100.*' OR pattern = '^4369910.*' OR pattern = '^436991.*' OR pattern = '^43699.*' OR pattern = '^4369.*' OR pattern = '^436.*' OR pattern = '^43.*' OR pattern = '^4.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 49 OR accountid=1039)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
  4909. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: outbound
  4910. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  4911. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1142605
  4912. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  4913. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  4914. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.33920
  4915. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : AustriaH3g Mobile
  4916. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0
  4917. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 1039
  4918. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0
  4919. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type:
  4920. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  4921. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your3173.67686 balance Accountid 1039 !!!
  4922. 2021-09-14 09:05:13.746665 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 180 mins!
  4923. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
  4924. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 1142605
  4925. 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id  :0
  4926. 2021-09-14 09:05:13.746665 [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
  4927. 2021-09-14 09:05:13.746665 [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 = '^4369910001245.*' OR pattern = '^436991000124.*' OR pattern = '^43699100012.*' OR pattern = '^4369910001.*' OR pattern = '^436991000.*' OR pattern = '^43699100.*' OR pattern = '^4369910.*' OR pattern = '^436991.*' OR pattern = '^43699.*' OR pattern = '^4369.*' OR pattern = '^436.*' OR pattern = '^43.*' OR pattern = '^4.*' 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
  4928. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  4929. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1717305
  4930. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^43699.*
  4931. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : AustriaH3g Mobile
  4932. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  4933. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  4934. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^43699.*
  4935. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0
  4936. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0
  4937. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 51
  4938. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : tata3
  4939. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  4940. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway :
  4941. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 587
  4942. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  4943. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : high_tata_37113_110821
  4944. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  4945. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  4946. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1889841
  4947. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^43699.*
  4948. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : AustriaH3g Mobile
  4949. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  4950. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  4951. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^43699.*
  4952. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0
  4953. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0
  4954. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 53
  4955. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : tata3
  4956. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  4957. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway :
  4958. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 587
  4959. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  4960. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : Low_Tata_38986_110821
  4961. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  4962. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  4963. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 2064315
  4964. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^43699.*
  4965. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : AUSTRIA - MOBILE HUTCHISON 3G
  4966. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  4967. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  4968. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^43699.*
  4969. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0
  4970. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0
  4971. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 55
  4972. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : Telia_GW
  4973. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  4974. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway :
  4975. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 1017
  4976. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  4977. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : High_Telia_110821
  4978. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  4979. 2021-09-14 09:05:13.746665 [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
  4980. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
  4981. 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : outbound
  4982. 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0
  4983. 2021-09-14 09:05:13.746665 [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
  4984. 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....4369910001245
  4985. 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0
  4986. 2021-09-14 09:05:13.746665 [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
  4987. 2021-09-14 09:05:13.766661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....4369910001245
  4988. 2021-09-14 09:05:13.766661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0
  4989. 2021-09-14 09:05:13.766661 [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
  4990. 2021-09-14 09:05:13.766661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....4369910001245
  4991. 2021-09-14 09:05:13.766661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
  4992. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  4993. <document type="freeswitch/xml">
  4994. <section name="dialplan" description="ASTPP Dialplan">
  4995. <context name="default">
  4996. <extension name="4369910001245">
  4997. <condition field="destination_number" expression="004369910001245">
  4998. <action application="set" data="effective_destination_number=4369910001245"/>
  4999. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  5000. <action application="set" data="bridge_pre_execute_bleg_data=+10800 normal_clearing"/>
  5001. <action application="set" data="callstart=2021-09-14 13:05:13"/>
  5002. <action application="set" data="hangup_after_bridge=true"/>
  5003. <action application="set" data="continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602"/>
  5004. <action application="set" data="account_id=1039"/>
  5005. <action application="set" data="parent_id=0"/>
  5006. <action application="set" data="entity_id=0"/>
  5007. <action application="set" data="call_processed=internal"/>
  5008. <action application="set" data="call_direction=outbound"/>
  5009. <action application="set" data="accountname=default"/>
  5010. <action application="set" data="filename1=astpp.pbx.lua"/>
  5011. <action application="set" data="origination_rates=ID:1142605|CODE:^43699.*|DESTINATION:AustriaH3g Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.33920|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039"/>
  5012. <action application="set" data="original_caller_id_name=43720902004"/>
  5013. <action application="set" data="original_caller_id_number=43720902004"/>
  5014.  
  5015. <action application="export" data="is_recording=1"/>
  5016. <action application="export" data="media_bug_answer_req=true"/>
  5017. <action application="export" data="RECORD_STEREO=true"/>
  5018. <action application="export" data="record_sample_rate=8000"/>
  5019. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  5020. <action application="set" data="effective_caller_id_name=43720902004"/>
  5021. <action application="set" data="effective_caller_id_number=43720902004"/>
  5022. <action application="set" data="calltype=STANDARD"/>
  5023. <action application="set" data="termination_rates=ID:1717305|CODE:^43699.*|DESTINATION:AustriaH3g Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.19060|INC:1|INITIALBLOCK:1|TRUNK:51|PROVIDER:587"/>
  5024. <action application="set" data="trunk_id=51"/>
  5025. <action application="set" data="provider_id=587"/>
  5026. <action application="set" data="rate_flag=0"/>
  5027. <action application="set" data="force_trunk_flag=1142605"/>
  5028. <action application="export" data="presence_data=trunk_id=51"/>
  5029. <action application="set" data="intcall=0"/>
  5030. <action application="export" data="presence_data=x|||Enerxus(619312506378)|||^43699.* // AustriaH3g Mobile // 0.33920 // trunk_id=0|||high_tata_37113_110821 // ^43699.* // AustriaH3g Mobile // 0.19060 // trunk_id=51|||STD|||193.109.216.112"/>
  5031. <action application="bridge" data="[leg_timeout=0]sofia/gateway/tata3/4369910001245;fs_path=sip:136.243.196.198:5060"/>
  5032. <action application="set" data="effective_caller_id_name=43720902004"/>
  5033. <action application="set" data="effective_caller_id_number=43720902004"/>
  5034. <action application="set" data="calltype=STANDARD"/>
  5035. <action application="set" data="termination_rates=ID:1889841|CODE:^43699.*|DESTINATION:AustriaH3g Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.19070|INC:1|INITIALBLOCK:1|TRUNK:53|PROVIDER:587"/>
  5036. <action application="set" data="trunk_id=53"/>
  5037. <action application="set" data="provider_id=587"/>
  5038. <action application="set" data="rate_flag=0"/>
  5039. <action application="set" data="force_trunk_flag=1142605"/>
  5040. <action application="export" data="presence_data=trunk_id=53"/>
  5041. <action application="set" data="intcall=0"/>
  5042. <action application="export" data="presence_data=x|||Enerxus(619312506378)|||^43699.* // AustriaH3g Mobile // 0.33920 // trunk_id=0|||Low_Tata_38986_110821 // ^43699.* // AustriaH3g Mobile // 0.19070 // trunk_id=53|||STD|||193.109.216.112"/>
  5043. <action application="bridge" data="[leg_timeout=0]sofia/gateway/tata3/4369910001245;fs_path=sip:136.243.196.198:5060"/>
  5044. <action application="set" data="effective_caller_id_name=43720902004"/>
  5045. <action application="set" data="effective_caller_id_number=43720902004"/>
  5046. <action application="set" data="calltype=STANDARD"/>
  5047. <action application="set" data="termination_rates=ID:2064315|CODE:^43699.*|DESTINATION:AUSTRIA - MOBILE HUTCHISON 3G|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.21200|INC:1|INITIALBLOCK:1|TRUNK:55|PROVIDER:1017"/>
  5048. <action application="set" data="trunk_id=55"/>
  5049. <action application="set" data="provider_id=1017"/>
  5050. <action application="set" data="rate_flag=0"/>
  5051. <action application="set" data="force_trunk_flag=1142605"/>
  5052. <action application="export" data="presence_data=trunk_id=55"/>
  5053. <action application="set" data="intcall=0"/>
  5054. <action application="export" data="presence_data=x|||Enerxus(619312506378)|||^43699.* // AustriaH3g Mobile // 0.33920 // trunk_id=0|||High_Telia_110821 // ^43699.* // AUSTRIA - MOBILE HUTCHISON 3G // 0.21200 // trunk_id=55|||STD|||193.109.216.112"/>
  5055. <action application="bridge" data="[leg_timeout=0]sofia/gateway/Telia_GW/4369910001245;fs_path=sip:136.243.196.198:5060"/>
  5056. </condition>
  5057. </extension>
  5058. </context>
  5059. </section>
  5060. </document>
  5061. 2021-09-14 09:05:13.766661 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released.
  5062. Dialplan: sofia/default/43720902004@193.109.216.112 parsing [default->4369910001245] continue=false
  5063. Dialplan: sofia/default/43720902004@193.109.216.112 Regex (PASS) [4369910001245] destination_number(004369910001245) =~ /004369910001245/ break=on-false
  5064. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(effective_destination_number=4369910001245)
  5065. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  5066. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  5067. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(callstart=2021-09-14 13:05:13)
  5068. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(hangup_after_bridge=true)
  5069. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  5070. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(account_id=1039)
  5071. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(parent_id=0)
  5072. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(entity_id=0)
  5073. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(call_processed=internal)
  5074. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(call_direction=outbound)
  5075. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(accountname=default)
  5076. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(filename1=astpp.pbx.lua)
  5077. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(origination_rates=ID:1142605|CODE:^43699.*|DESTINATION:AustriaH3g Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.33920|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039)
  5078. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(original_caller_id_name=43720902004)
  5079. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(original_caller_id_number=43720902004)
  5080. Dialplan: sofia/default/43720902004@193.109.216.112 Action export(is_recording=1)
  5081. Dialplan: sofia/default/43720902004@193.109.216.112 Action export(media_bug_answer_req=true)
  5082. Dialplan: sofia/default/43720902004@193.109.216.112 Action export(RECORD_STEREO=true)
  5083. Dialplan: sofia/default/43720902004@193.109.216.112 Action export(record_sample_rate=8000)
  5084. Dialplan: sofia/default/43720902004@193.109.216.112 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  5085. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(effective_caller_id_name=43720902004)
  5086. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(effective_caller_id_number=43720902004)
  5087. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(calltype=STANDARD)
  5088. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(termination_rates=ID:1717305|CODE:^43699.*|DESTINATION:AustriaH3g Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.19060|INC:1|INITIALBLOCK:1|TRUNK:51|PROVIDER:587)
  5089. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(trunk_id=51)
  5090. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(provider_id=587)
  5091. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(rate_flag=0)
  5092. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(force_trunk_flag=1142605)
  5093. Dialplan: sofia/default/43720902004@193.109.216.112 Action export(presence_data=trunk_id=51)
  5094. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(intcall=0)
  5095. Dialplan: sofia/default/43720902004@193.109.216.112 Action export(presence_data=x|||Enerxus(619312506378)|||^43699.* // AustriaH3g Mobile // 0.33920 // trunk_id=0|||high_tata_37113_110821 // ^43699.* // AustriaH3g Mobile // 0.19060 // trunk_id=51|||STD|||193.109.216.112)
  5096. Dialplan: sofia/default/43720902004@193.109.216.112 Action bridge([leg_timeout=0]sofia/gateway/tata3/4369910001245;fs_path=sip:136.243.196.198:5060)
  5097. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(effective_caller_id_name=43720902004)
  5098. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(effective_caller_id_number=43720902004)
  5099. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(calltype=STANDARD)
  5100. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(termination_rates=ID:1889841|CODE:^43699.*|DESTINATION:AustriaH3g Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.19070|INC:1|INITIALBLOCK:1|TRUNK:53|PROVIDER:587)
  5101. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(trunk_id=53)
  5102. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(provider_id=587)
  5103. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(rate_flag=0)
  5104. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(force_trunk_flag=1142605)
  5105. Dialplan: sofia/default/43720902004@193.109.216.112 Action export(presence_data=trunk_id=53)
  5106. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(intcall=0)
  5107. Dialplan: sofia/default/43720902004@193.109.216.112 Action export(presence_data=x|||Enerxus(619312506378)|||^43699.* // AustriaH3g Mobile // 0.33920 // trunk_id=0|||Low_Tata_38986_110821 // ^43699.* // AustriaH3g Mobile // 0.19070 // trunk_id=53|||STD|||193.109.216.112)
  5108. Dialplan: sofia/default/43720902004@193.109.216.112 Action bridge([leg_timeout=0]sofia/gateway/tata3/4369910001245;fs_path=sip:136.243.196.198:5060)
  5109. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(effective_caller_id_name=43720902004)
  5110. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(effective_caller_id_number=43720902004)
  5111. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(calltype=STANDARD)
  5112. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(termination_rates=ID:2064315|CODE:^43699.*|DESTINATION:AUSTRIA - MOBILE HUTCHISON 3G|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.21200|INC:1|INITIALBLOCK:1|TRUNK:55|PROVIDER:1017)
  5113. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(trunk_id=55)
  5114. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(provider_id=1017)
  5115. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(rate_flag=0)
  5116. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(force_trunk_flag=1142605)
  5117. Dialplan: sofia/default/43720902004@193.109.216.112 Action export(presence_data=trunk_id=55)
  5118. Dialplan: sofia/default/43720902004@193.109.216.112 Action set(intcall=0)
  5119. Dialplan: sofia/default/43720902004@193.109.216.112 Action export(presence_data=x|||Enerxus(619312506378)|||^43699.* // AustriaH3g Mobile // 0.33920 // trunk_id=0|||High_Telia_110821 // ^43699.* // AUSTRIA - MOBILE HUTCHISON 3G // 0.21200 // trunk_id=55|||STD|||193.109.216.112)
  5120. Dialplan: sofia/default/43720902004@193.109.216.112 Action bridge([leg_timeout=0]sofia/gateway/Telia_GW/4369910001245;fs_path=sip:136.243.196.198:5060)
  5121. 2021-09-14 09:05:13.766661 [DEBUG] switch_core_state_machine.c:286 (sofia/default/43720902004@193.109.216.112) State Change CS_ROUTING -> CS_EXECUTE
  5122. 2021-09-14 09:05:13.766661 [DEBUG] switch_core_state_machine.c:643 (sofia/default/43720902004@193.109.216.112) State ROUTING going to sleep
  5123. 2021-09-14 09:05:13.766661 [DEBUG] switch_core_state_machine.c:584 (sofia/default/43720902004@193.109.216.112) Running State Change CS_EXECUTE (Cur 13 Tot 248022)
  5124. 2021-09-14 09:05:13.766661 [DEBUG] switch_core_state_machine.c:650 (sofia/default/43720902004@193.109.216.112) State EXECUTE
  5125. 2021-09-14 09:05:13.766661 [DEBUG] mod_sofia.c:198 sofia/default/43720902004@193.109.216.112 SOFIA EXECUTE
  5126. 2021-09-14 09:05:13.766661 [DEBUG] switch_core_state_machine.c:328 sofia/default/43720902004@193.109.216.112 Standard EXECUTE
  5127. EXECUTE sofia/default/43720902004@193.109.216.112 set(effective_destination_number=4369910001245)
  5128. 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [effective_destination_number]=[4369910001245]
  5129. EXECUTE sofia/default/43720902004@193.109.216.112 set(bridge_pre_execute_bleg_app=sched_hangup)
  5130. 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [bridge_pre_execute_bleg_app]=[sched_hangup]
  5131. EXECUTE sofia/default/43720902004@193.109.216.112 set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  5132. 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing]
  5133. EXECUTE sofia/default/43720902004@193.109.216.112 set(callstart=2021-09-14 13:05:13)
  5134. 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [callstart]=[2021-09-14 13:05:13]
  5135. EXECUTE sofia/default/43720902004@193.109.216.112 set(hangup_after_bridge=true)
  5136. 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [hangup_after_bridge]=[true]
  5137. EXECUTE sofia/default/43720902004@193.109.216.112 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  5138. 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]
  5139. EXECUTE sofia/default/43720902004@193.109.216.112 set(account_id=1039)
  5140. 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [account_id]=[1039]
  5141. EXECUTE sofia/default/43720902004@193.109.216.112 set(parent_id=0)
  5142. 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [parent_id]=[0]
  5143. EXECUTE sofia/default/43720902004@193.109.216.112 set(entity_id=0)
  5144. 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [entity_id]=[0]
  5145. EXECUTE sofia/default/43720902004@193.109.216.112 set(call_processed=internal)
  5146. 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [call_processed]=[internal]
  5147. EXECUTE sofia/default/43720902004@193.109.216.112 set(call_direction=outbound)
  5148. 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [call_direction]=[outbound]
  5149. EXECUTE sofia/default/43720902004@193.109.216.112 set(accountname=default)
  5150. 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [accountname]=[default]
  5151. EXECUTE sofia/default/43720902004@193.109.216.112 set(filename1=astpp.pbx.lua)
  5152. 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [filename1]=[astpp.pbx.lua]
  5153. EXECUTE sofia/default/43720902004@193.109.216.112 set(origination_rates=ID:1142605|CODE:^43699.*|DESTINATION:AustriaH3g Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.33920|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039)
  5154. 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [origination_rates]=[ID:1142605|CODE:^43699.*|DESTINATION:AustriaH3g Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.33920|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039]
  5155. EXECUTE sofia/default/43720902004@193.109.216.112 set(original_caller_id_name=43720902004)
  5156. 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [original_caller_id_name]=[43720902004]
  5157. EXECUTE sofia/default/43720902004@193.109.216.112 set(original_caller_id_number=43720902004)
  5158. 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [original_caller_id_number]=[43720902004]
  5159. EXECUTE sofia/default/43720902004@193.109.216.112 export(is_recording=1)
  5160. 2021-09-14 09:05:13.766661 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [is_recording]=[1]
  5161. EXECUTE sofia/default/43720902004@193.109.216.112 export(media_bug_answer_req=true)
  5162. 2021-09-14 09:05:13.766661 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [media_bug_answer_req]=[true]
  5163. EXECUTE sofia/default/43720902004@193.109.216.112 export(RECORD_STEREO=true)
  5164. 2021-09-14 09:05:13.766661 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [RECORD_STEREO]=[true]
  5165. EXECUTE sofia/default/43720902004@193.109.216.112 export(record_sample_rate=8000)
  5166. 2021-09-14 09:05:13.766661 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [record_sample_rate]=[8000]
  5167. EXECUTE sofia/default/43720902004@193.109.216.112 export(execute_on_answer=record_session /var/lib/freeswitch/recordings/6631582e-155c-11ec-9e8d-7dfb9f6e00f0.wav)
  5168. 2021-09-14 09:05:13.766661 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/6631582e-155c-11ec-9e8d-7dfb9f6e00f0.wav]
  5169. EXECUTE sofia/default/43720902004@193.109.216.112 set(effective_caller_id_name=43720902004)
  5170. 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [effective_caller_id_name]=[43720902004]
  5171. EXECUTE sofia/default/43720902004@193.109.216.112 set(effective_caller_id_number=43720902004)
  5172. 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [effective_caller_id_number]=[43720902004]
  5173. EXECUTE sofia/default/43720902004@193.109.216.112 set(calltype=STANDARD)
  5174. 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [calltype]=[STANDARD]
  5175. EXECUTE sofia/default/43720902004@193.109.216.112 set(termination_rates=ID:1717305|CODE:^43699.*|DESTINATION:AustriaH3g Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.19060|INC:1|INITIALBLOCK:1|TRUNK:51|PROVIDER:587)
  5176. 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [termination_rates]=[ID:1717305|CODE:^43699.*|DESTINATION:AustriaH3g Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.19060|INC:1|INITIALBLOCK:1|TRUNK:51|PROVIDER:587]
  5177. EXECUTE sofia/default/43720902004@193.109.216.112 set(trunk_id=51)
  5178. 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [trunk_id]=[51]
  5179. EXECUTE sofia/default/43720902004@193.109.216.112 set(provider_id=587)
  5180. 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [provider_id]=[587]
  5181. EXECUTE sofia/default/43720902004@193.109.216.112 set(rate_flag=0)
  5182. 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [rate_flag]=[0]
  5183. EXECUTE sofia/default/43720902004@193.109.216.112 set(force_trunk_flag=1142605)
  5184. 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [force_trunk_flag]=[1142605]
  5185. EXECUTE sofia/default/43720902004@193.109.216.112 export(presence_data=trunk_id=51)
  5186. 2021-09-14 09:05:13.766661 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[trunk_id=51]
  5187. EXECUTE sofia/default/43720902004@193.109.216.112 set(intcall=0)
  5188. 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [intcall]=[0]
  5189. EXECUTE sofia/default/43720902004@193.109.216.112 export(presence_data=x|||Enerxus(619312506378)|||^43699.* // AustriaH3g Mobile // 0.33920 // trunk_id=0|||high_tata_37113_110821 // ^43699.* // AustriaH3g Mobile // 0.19060 // trunk_id=51|||STD|||193.109.216.112)
  5190. 2021-09-14 09:05:13.766661 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||Enerxus(619312506378)|||^43699.* // AustriaH3g Mobile // 0.33920 // trunk_id=0|||high_tata_37113_110821 // ^43699.* // AustriaH3g Mobile // 0.19060 // trunk_id=51|||STD|||193.109.216.112]
  5191. EXECUTE sofia/default/43720902004@193.109.216.112 bridge([leg_timeout=0]sofia/gateway/tata3/4369910001245;fs_path=sip:136.243.196.198:5060)
  5192. 2021-09-14 09:05:13.766661 [DEBUG] switch_channel.c:1250 sofia/default/43720902004@193.109.216.112 EXPORTING[export_vars] [is_recording]=[1] to event
  5193. 2021-09-14 09:05:13.766661 [DEBUG] switch_channel.c:1250 sofia/default/43720902004@193.109.216.112 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  5194. 2021-09-14 09:05:13.766661 [DEBUG] switch_channel.c:1250 sofia/default/43720902004@193.109.216.112 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  5195. 2021-09-14 09:05:13.766661 [DEBUG] switch_channel.c:1250 sofia/default/43720902004@193.109.216.112 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  5196. 2021-09-14 09:05:13.766661 [DEBUG] switch_channel.c:1250 sofia/default/43720902004@193.109.216.112 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/6631582e-155c-11ec-9e8d-7dfb9f6e00f0.wav] to event
  5197. 2021-09-14 09:05:13.766661 [DEBUG] switch_channel.c:1250 sofia/default/43720902004@193.109.216.112 EXPORTING[export_vars] [presence_data]=[x|||Enerxus(619312506378)|||^43699.* // AustriaH3g Mobile // 0.33920 // trunk_id=0|||high_tata_37113_110821 // ^43699.* // AustriaH3g Mobile // 0.19060 // trunk_id=51|||STD|||193.109.216.112] to event
  5198. 2021-09-14 09:05:13.766661 [DEBUG] switch_channel.c:1250 sofia/default/43720902004@193.109.216.112 EXPORTING[export_vars] [presence_data]=[x|||Enerxus(619312506378)|||^43699.* // AustriaH3g Mobile // 0.33920 // trunk_id=0|||high_tata_37113_110821 // ^43699.* // AustriaH3g Mobile // 0.19060 // trunk_id=51|||STD|||193.109.216.112] to event
  5199. 2021-09-14 09:05:13.766661 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  5200. 2021-09-14 09:05:13.766661 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  5201. 2021-09-14 09:05:13.766661 [NOTICE] switch_channel.c:1104 New Channel sofia/default/4369910001245 [6637aa94-155c-11ec-9eb3-7dfb9f6e00f0]
  5202. 2021-09-14 09:05:13.766661 [DEBUG] mod_sofia.c:4819 (sofia/default/4369910001245) State Change CS_NEW -> CS_INIT
  5203. 2021-09-14 09:05:13.766661 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4369910001245) Running State Change CS_INIT (Cur 14 Tot 248023)
  5204. 2021-09-14 09:05:13.766661 [DEBUG] switch_core_state_machine.c:627 (sofia/default/4369910001245) State INIT
  5205. 2021-09-14 09:05:13.766661 [DEBUG] mod_sofia.c:90 sofia/default/4369910001245 SOFIA INIT
  5206. 2021-09-14 09:05:13.766661 [DEBUG] sofia_glue.c:1264 sip:136.243.196.198:5060 Setting proxy route to sofia/default/4369910001245
  5207. 2021-09-14 09:05:13.766661 [DEBUG] sofia_glue.c:1295 sofia/default/4369910001245 sending invite version: 1.6.20  64bit
  5208. Local SDP:
  5209. v=0
  5210. o=FreeSWITCH 1631596005 1631596006 IN IP4 89.46.223.193
  5211. s=FreeSWITCH
  5212. c=IN IP4 89.46.223.193
  5213. t=0 0
  5214. m=audio 28708 RTP/AVP 8 101
  5215. a=rtpmap:8 PCMA/8000
  5216. a=rtpmap:101 telephone-event/8000
  5217. a=fmtp:101 0-16
  5218. a=ptime:20
  5219. a=sendrecv
  5220.  
  5221. 2021-09-14 09:05:13.766661 [DEBUG] switch_core_state_machine.c:40 sofia/default/4369910001245 Standard INIT
  5222. 2021-09-14 09:05:13.766661 [DEBUG] switch_core_state_machine.c:48 (sofia/default/4369910001245) State Change CS_INIT -> CS_ROUTING
  5223. 2021-09-14 09:05:13.766661 [DEBUG] switch_core_state_machine.c:627 (sofia/default/4369910001245) State INIT going to sleep
  5224. 2021-09-14 09:05:13.766661 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4369910001245) Running State Change CS_ROUTING (Cur 14 Tot 248023)
  5225. 2021-09-14 09:05:13.766661 [DEBUG] switch_core_state_machine.c:643 (sofia/default/4369910001245) State ROUTING
  5226. 2021-09-14 09:05:13.766661 [DEBUG] mod_sofia.c:143 sofia/default/4369910001245 SOFIA ROUTING
  5227. 2021-09-14 09:05:13.766661 [DEBUG] switch_ivr_originate.c:67 (sofia/default/4369910001245) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  5228. 2021-09-14 09:05:13.766661 [DEBUG] switch_core_state_machine.c:643 (sofia/default/4369910001245) State ROUTING going to sleep
  5229. 2021-09-14 09:05:13.766661 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4369910001245) Running State Change CS_CONSUME_MEDIA (Cur 14 Tot 248023)
  5230. 2021-09-14 09:05:13.766661 [DEBUG] sofia.c:7084 Channel sofia/default/4369910001245 entering state [calling][0]
  5231. 2021-09-14 09:05:13.766661 [DEBUG] switch_core_state_machine.c:662 (sofia/default/4369910001245) State CONSUME_MEDIA
  5232. 2021-09-14 09:05:13.766661 [DEBUG] switch_core_state_machine.c:662 (sofia/default/4369910001245) State CONSUME_MEDIA going to sleep
  5233. 2021-09-14 09:05:16.426696 [DEBUG] sofia.c:7084 Channel sofia/default/4369910001245 entering state [proceeding][180]
  5234. 2021-09-14 09:05:16.426696 [DEBUG] sofia.c:7094 Remote SDP:
  5235. v=0
  5236. o=Sonus_UAC 31002 19981 IN IP4 209.58.46.110
  5237. s=SIP Media Capabilities
  5238. c=IN IP4 209.58.46.103
  5239. t=0 0
  5240. m=audio 22518 RTP/AVP 8 101
  5241. a=rtpmap:8 PCMA/8000
  5242. a=rtpmap:101 telephone-event/8000
  5243. a=fmtp:101 0-15
  5244. a=maxptime:20
  5245.  
  5246. 2021-09-14 09:05:16.426696 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  5247. 2021-09-14 09:05:16.426696 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  5248. 2021-09-14 09:05:16.426696 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  5249. 2021-09-14 09:05:16.426696 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/4369910001245 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  5250. 2021-09-14 09:05:16.426696 [DEBUG] switch_core_codec.c:111 sofia/default/4369910001245 Original read codec set to PCMA:8
  5251. 2021-09-14 09:05:16.426696 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  5252. 2021-09-14 09:05:16.426696 [DEBUG] switch_core_media.c:4767 sofia/default/4369910001245 Set 2833 dtmf send payload to 101 recv payload to 101
  5253. 2021-09-14 09:05:16.426696 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/4369910001245] 89.46.223.193 port 28708 -> 209.58.46.103 port 22518 codec: 8 ms: 20
  5254. 2021-09-14 09:05:16.426696 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  5255. 2021-09-14 09:05:16.426696 [DEBUG] switch_core_media.c:7180 sofia/default/4369910001245 Set 2833 dtmf send payload to 101
  5256. 2021-09-14 09:05:16.426696 [DEBUG] switch_core_media.c:7187 sofia/default/4369910001245 Set 2833 dtmf receive payload to 101
  5257. 2021-09-14 09:05:16.426696 [DEBUG] switch_core_media.c:7210 sofia/default/4369910001245 Set rtp dtmf delay to 40
  5258. 2021-09-14 09:05:16.426696 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/4369910001245!
  5259. 2021-09-14 09:05:16.426696 [DEBUG] switch_channel.c:3474 (sofia/default/4369910001245) Callstate Change DOWN -> EARLY
  5260. 2021-09-14 09:05:16.446660 [INFO] switch_ivr_originate.c:3654 Sending early media
  5261. 2021-09-14 09:05:16.446660 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/43720902004@193.109.216.112] 89.46.223.193 port 19560 -> 193.109.216.112 port 17990 codec: 8 ms: 20
  5262. 2021-09-14 09:05:16.446660 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  5263. 2021-09-14 09:05:16.446660 [DEBUG] switch_core_media.c:7180 sofia/default/43720902004@193.109.216.112 Set 2833 dtmf send payload to 101
  5264. 2021-09-14 09:05:16.446660 [DEBUG] switch_core_media.c:7187 sofia/default/43720902004@193.109.216.112 Set 2833 dtmf receive payload to 101
  5265. 2021-09-14 09:05:16.446660 [DEBUG] switch_core_media.c:7210 sofia/default/43720902004@193.109.216.112 Set rtp dtmf delay to 40
  5266. 2021-09-14 09:05:16.446660 [DEBUG] mod_sofia.c:2364 Ring SDP:
  5267. v=0
  5268. o=FreeSWITCH 1631605156 1631605157 IN IP4 89.46.223.193
  5269. s=FreeSWITCH
  5270. c=IN IP4 89.46.223.193
  5271. t=0 0
  5272. m=audio 19560 RTP/AVP 8 101
  5273. a=rtpmap:8 PCMA/8000
  5274. a=rtpmap:101 telephone-event/8000
  5275. a=fmtp:101 0-16
  5276. a=ptime:20
  5277. a=sendrecv
  5278.  
  5279. 2021-09-14 09:05:16.446660 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/default/43720902004@193.109.216.112!
  5280. 2021-09-14 09:05:16.446660 [DEBUG] switch_channel.c:3474 (sofia/default/43720902004@193.109.216.112) Callstate Change RINGING -> EARLY
  5281. 2021-09-14 09:05:16.446660 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/4369910001245]
  5282. 2021-09-14 09:05:16.446660 [DEBUG] sofia.c:7084 Channel sofia/default/43720902004@193.109.216.112 entering state [early][183]
  5283. 2021-09-14 09:05:16.446660 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/4369910001245) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  5284. 2021-09-14 09:05:16.446660 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4369910001245) Running State Change CS_EXCHANGE_MEDIA (Cur 14 Tot 248023)
  5285. 2021-09-14 09:05:16.446660 [DEBUG] switch_core_state_machine.c:653 (sofia/default/4369910001245) State EXCHANGE_MEDIA
  5286. 2021-09-14 09:05:16.446660 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  5287. 2021-09-14 09:05:16.486714 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  5288. 2021-09-14 09:05:16.626708 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  5289. 2021-09-14 09:05:16.626708 [DEBUG] switch_ivr_bridge.c:546 sofia/default/4369910001245 Bridge execute app sched_hangup(+10800 normal_clearing)
  5290. 2021-09-14 09:05:16.646660 [DEBUG] switch_ivr.c:623 sofia/default/4369910001245 Command Execute sched_hangup(+10800 normal_clearing)
  5291. EXECUTE sofia/default/4369910001245 sched_hangup(+10800 normal_clearing)
  5292. 2021-09-14 09:05:16.646660 [DEBUG] switch_scheduler.c:249 Added task 31134 switch_ivr_schedule_hangup (6637aa94-155c-11ec-9eb3-7dfb9f6e00f0) to run at 1631635516
  5293. 2021-09-14 09:05:18.226727 [NOTICE] sofia.c:1012 Hangup sofia/default/97239707000@173.203.86.119 [CS_EXECUTE] [NORMAL_CLEARING]
  5294. 2021-09-14 09:05:18.246665 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/97239707000@173.203.86.119]
  5295. 2021-09-14 09:05:18.246665 [DEBUG] switch_ivr_bridge.c:706 sofia/default/97239707000@173.203.86.119 ending bridge by request from write function
  5296. 2021-09-14 09:05:18.246665 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/447520641863@212.150.158.100]
  5297. 2021-09-14 09:05:18.246665 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/447520641863@212.150.158.100 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  5298. 2021-09-14 09:05:18.246665 [DEBUG] switch_core_state_machine.c:653 (sofia/default/447520641863@212.150.158.100) State EXCHANGE_MEDIA going to sleep
  5299. 2021-09-14 09:05:18.246665 [DEBUG] switch_core_state_machine.c:584 (sofia/default/447520641863@212.150.158.100) Running State Change CS_HANGUP (Cur 14 Tot 248023)
  5300. 2021-09-14 09:05:18.246665 [DEBUG] switch_core_state_machine.c:850 (sofia/default/447520641863@212.150.158.100) Callstate Change ACTIVE -> HANGUP
  5301. 2021-09-14 09:05:18.246665 [DEBUG] switch_core_state_machine.c:852 (sofia/default/447520641863@212.150.158.100) State HANGUP
  5302. 2021-09-14 09:05:18.246665 [DEBUG] mod_sofia.c:432 sofia/default/447520641863@212.150.158.100 Overriding SIP cause 480 with 200 from the other leg
  5303. 2021-09-14 09:05:18.246665 [DEBUG] mod_sofia.c:438 Channel sofia/default/447520641863@212.150.158.100 hanging up, cause: NORMAL_CLEARING
  5304. 2021-09-14 09:05:18.246665 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/447520641863@212.150.158.100 skip receive message [UNBRIDGE] (channel is hungup already)
  5305. 2021-09-14 09:05:18.246665 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/97239707000@173.203.86.119 skip receive message [UNBRIDGE] (channel is hungup already)
  5306. 2021-09-14 09:05:18.246665 [DEBUG] switch_core_session.c:2815 sofia/default/97239707000@173.203.86.119 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  5307. 2021-09-14 09:05:18.246665 [DEBUG] switch_core_state_machine.c:650 (sofia/default/97239707000@173.203.86.119) State EXECUTE going to sleep
  5308. 2021-09-14 09:05:18.246665 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/447520641863@212.150.158.100
  5309. 2021-09-14 09:05:18.246665 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97239707000@173.203.86.119) Running State Change CS_HANGUP (Cur 14 Tot 248023)
  5310. 2021-09-14 09:05:18.246665 [DEBUG] switch_core_state_machine.c:60 sofia/default/447520641863@212.150.158.100 Standard HANGUP, cause: NORMAL_CLEARING
  5311. 2021-09-14 09:05:18.246665 [DEBUG] switch_core_state_machine.c:852 (sofia/default/447520641863@212.150.158.100) State HANGUP going to sleep
  5312. 2021-09-14 09:05:18.246665 [DEBUG] switch_core_state_machine.c:619 (sofia/default/447520641863@212.150.158.100) State Change CS_HANGUP -> CS_REPORTING
  5313. 2021-09-14 09:05:18.246665 [DEBUG] switch_core_state_machine.c:584 (sofia/default/447520641863@212.150.158.100) Running State Change CS_REPORTING (Cur 14 Tot 248023)
  5314. 2021-09-14 09:05:18.246665 [DEBUG] switch_core_state_machine.c:938 (sofia/default/447520641863@212.150.158.100) State REPORTING
  5315. 2021-09-14 09:05:18.246665 [DEBUG] switch_core_state_machine.c:850 (sofia/default/97239707000@173.203.86.119) Callstate Change ACTIVE -> HANGUP
  5316. 2021-09-14 09:05:18.246665 [DEBUG] switch_core_state_machine.c:852 (sofia/default/97239707000@173.203.86.119) State HANGUP
  5317. 2021-09-14 09:05:18.246665 [DEBUG] mod_sofia.c:438 Channel sofia/default/97239707000@173.203.86.119 hanging up, cause: NORMAL_CLEARING
  5318. 2021-09-14 09:05:18.246665 [INFO] mod_json_cdr.c:271 Process [6158722e-155c-11ec-9e87-7dfb9f6e00f0.cdr.json]
  5319. 2021-09-14 09:05:18.246665 [DEBUG] switch_core_state_machine.c:60 sofia/default/97239707000@173.203.86.119 Standard HANGUP, cause: NORMAL_CLEARING
  5320. 2021-09-14 09:05:18.246665 [DEBUG] switch_core_state_machine.c:852 (sofia/default/97239707000@173.203.86.119) State HANGUP going to sleep
  5321. 2021-09-14 09:05:18.246665 [DEBUG] switch_core_state_machine.c:619 (sofia/default/97239707000@173.203.86.119) State Change CS_HANGUP -> CS_REPORTING
  5322. 2021-09-14 09:05:18.246665 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97239707000@173.203.86.119) Running State Change CS_REPORTING (Cur 14 Tot 248023)
  5323. 2021-09-14 09:05:18.246665 [DEBUG] switch_core_state_machine.c:938 (sofia/default/97239707000@173.203.86.119) State REPORTING
  5324. 2021-09-14 09:05:18.246665 [INFO] mod_json_cdr.c:271 Process [614af770-155c-11ec-9e67-7dfb9f6e00f0.cdr.json]
  5325. 2021-09-14 09:05:18.266662 [DEBUG] switch_core_state_machine.c:174 sofia/default/447520641863@212.150.158.100 Standard REPORTING, cause: NORMAL_CLEARING
  5326. 2021-09-14 09:05:18.266662 [DEBUG] switch_core_state_machine.c:938 (sofia/default/447520641863@212.150.158.100) State REPORTING going to sleep
  5327. 2021-09-14 09:05:18.266662 [DEBUG] switch_core_state_machine.c:610 (sofia/default/447520641863@212.150.158.100) State Change CS_REPORTING -> CS_DESTROY
  5328. 2021-09-14 09:05:18.266662 [DEBUG] switch_core_session.c:1665 Session 248021 (sofia/default/447520641863@212.150.158.100) Locked, Waiting on external entities
  5329. 2021-09-14 09:05:18.266662 [NOTICE] switch_core_session.c:1683 Session 248021 (sofia/default/447520641863@212.150.158.100) Ended
  5330. 2021-09-14 09:05:18.266662 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/447520641863@212.150.158.100 [CS_DESTROY]
  5331. 2021-09-14 09:05:18.266662 [DEBUG] switch_core_state_machine.c:741 (sofia/default/447520641863@212.150.158.100) Running State Change CS_DESTROY (Cur 13 Tot 248023)
  5332. 2021-09-14 09:05:18.266662 [DEBUG] switch_core_state_machine.c:751 (sofia/default/447520641863@212.150.158.100) State DESTROY
  5333. 2021-09-14 09:05:18.266662 [DEBUG] mod_sofia.c:343 sofia/default/447520641863@212.150.158.100 SOFIA DESTROY
  5334. 2021-09-14 09:05:18.266662 [DEBUG] switch_core_state_machine.c:181 sofia/default/447520641863@212.150.158.100 Standard DESTROY
  5335. 2021-09-14 09:05:18.266662 [DEBUG] switch_core_state_machine.c:751 (sofia/default/447520641863@212.150.158.100) State DESTROY going to sleep
  5336. 2021-09-14 09:05:18.286673 [DEBUG] switch_core_state_machine.c:174 sofia/default/97239707000@173.203.86.119 Standard REPORTING, cause: NORMAL_CLEARING
  5337. 2021-09-14 09:05:18.286673 [DEBUG] switch_core_state_machine.c:938 (sofia/default/97239707000@173.203.86.119) State REPORTING going to sleep
  5338. 2021-09-14 09:05:18.286673 [DEBUG] switch_core_state_machine.c:610 (sofia/default/97239707000@173.203.86.119) State Change CS_REPORTING -> CS_DESTROY
  5339. 2021-09-14 09:05:18.286673 [DEBUG] switch_core_session.c:1665 Session 248020 (sofia/default/97239707000@173.203.86.119) Locked, Waiting on external entities
  5340. 2021-09-14 09:05:18.286673 [NOTICE] switch_core_session.c:1683 Session 248020 (sofia/default/97239707000@173.203.86.119) Ended
  5341. 2021-09-14 09:05:18.286673 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/97239707000@173.203.86.119 [CS_DESTROY]
  5342. 2021-09-14 09:05:18.286673 [DEBUG] switch_core_state_machine.c:741 (sofia/default/97239707000@173.203.86.119) Running State Change CS_DESTROY (Cur 12 Tot 248023)
  5343. 2021-09-14 09:05:18.286673 [DEBUG] switch_core_state_machine.c:751 (sofia/default/97239707000@173.203.86.119) State DESTROY
  5344. 2021-09-14 09:05:18.286673 [DEBUG] mod_sofia.c:343 sofia/default/97239707000@173.203.86.119 SOFIA DESTROY
  5345. 2021-09-14 09:05:18.286673 [DEBUG] switch_core_state_machine.c:181 sofia/default/97239707000@173.203.86.119 Standard DESTROY
  5346. 2021-09-14 09:05:18.286673 [DEBUG] switch_core_state_machine.c:751 (sofia/default/97239707000@173.203.86.119) State DESTROY going to sleep
  5347. 2021-09-14 09:05:18.646671 [DEBUG] switch_scheduler.c:144 Deleting task 31133 switch_ivr_schedule_hangup (6158722e-155c-11ec-9e87-7dfb9f6e00f0)
  5348. 2021-09-14 09:05:22.426711 [DEBUG] sofia.c:7084 Channel sofia/default/4369910001245 entering state [completing][200]
  5349. 2021-09-14 09:05:22.426711 [DEBUG] sofia.c:7091 Duplicate SDP
  5350. v=0
  5351. o=Sonus_UAC 31002 19981 IN IP4 209.58.46.110
  5352. s=SIP Media Capabilities
  5353. c=IN IP4 209.58.46.103
  5354. t=0 0
  5355. m=audio 22518 RTP/AVP 8 101
  5356. a=rtpmap:8 PCMA/8000
  5357. a=rtpmap:101 telephone-event/8000
  5358. a=fmtp:101 0-15
  5359. a=maxptime:20
  5360.  
  5361. 2021-09-14 09:05:22.446665 [DEBUG] sofia.c:7084 Channel sofia/default/4369910001245 entering state [ready][200]
  5362. 2021-09-14 09:05:22.446665 [NOTICE] sofia.c:8159 Channel [sofia/default/4369910001245] has been answered
  5363. EXECUTE sofia/default/4369910001245 record_session(/var/lib/freeswitch/recordings/6631582e-155c-11ec-9e8d-7dfb9f6e00f0.wav)
  5364. 2021-09-14 09:05:22.466669 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/43720902004@193.109.216.112.
  5365. 2021-09-14 09:05:22.466669 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/43720902004@193.109.216.112:
  5366. v=0
  5367. o=FreeSWITCH 1631605156 1631605158 IN IP4 89.46.223.193
  5368. s=FreeSWITCH
  5369. c=IN IP4 89.46.223.193
  5370. t=0 0
  5371. m=audio 19560 RTP/AVP 8 101
  5372. a=rtpmap:8 PCMA/8000
  5373. a=rtpmap:101 telephone-event/8000
  5374. a=fmtp:101 0-16
  5375. a=ptime:20
  5376. a=sendrecv
  5377.  
  5378. 2021-09-14 09:05:22.466669 [NOTICE] switch_ivr_bridge.c:623 Channel [sofia/default/43720902004@193.109.216.112] has been answered
  5379. 2021-09-14 09:05:22.466669 [DEBUG] sofia.c:7084 Channel sofia/default/43720902004@193.109.216.112 entering state [completed][200]
  5380. EXECUTE sofia/default/43720902004@193.109.216.112 record_session(/var/lib/freeswitch/recordings/6631582e-155c-11ec-9e8d-7dfb9f6e00f0.wav)
  5381. 2021-09-14 09:05:22.466669 [DEBUG] switch_core_media_bug.c:945 Attaching BUG to sofia/default/4369910001245
  5382. 2021-09-14 09:05:22.466669 [DEBUG] switch_channel.c:3773 (sofia/default/4369910001245) Callstate Change EARLY -> ACTIVE
  5383. 2021-09-14 09:05:22.466669 [DEBUG] switch_core_media_bug.c:945 Attaching BUG to sofia/default/43720902004@193.109.216.112
  5384. 2021-09-14 09:05:22.466669 [DEBUG] switch_channel.c:3773 (sofia/default/43720902004@193.109.216.112) Callstate Change EARLY -> ACTIVE
  5385. 2021-09-14 09:05:22.466669 [DEBUG] switch_ivr_async.c:1500 No silence detection configured; assuming start of speech
  5386. 2021-09-14 09:05:22.486665 [DEBUG] switch_ivr_async.c:1500 No silence detection configured; assuming start of speech
  5387. 2021-09-14 09:05:22.506668 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  5388. 2021-09-14 09:05:22.506668 [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  5389. 2021-09-14 09:05:22.526686 [DEBUG] sofia.c:7084 Channel sofia/default/43720902004@193.109.216.112 entering state [ready][200]
  5390. 2021-09-14 09:05:22.586667 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  5391. 2021-09-14 09:05:22.586667 [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  5392. 2021-09-14 09:05:38.666876 [DEBUG] sofia.c:7084 Channel sofia/default/4915111633383 entering state [terminated][480]
  5393. 2021-09-14 09:05:38.666876 [NOTICE] sofia.c:8273 Hangup sofia/default/4915111633383 [CS_EXCHANGE_MEDIA] [NO_USER_RESPONSE]
  5394. 2021-09-14 09:05:38.666876 [DEBUG] switch_ivr_bridge.c:712 sofia/default/4915111633383 ending bridge by request from read function
  5395. 2021-09-14 09:05:38.666876 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/4915111633383]
  5396. 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:653 (sofia/default/4915111633383) State EXCHANGE_MEDIA going to sleep
  5397. 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4915111633383) Running State Change CS_HANGUP (Cur 12 Tot 248023)
  5398. 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:850 (sofia/default/4915111633383) Callstate Change EARLY -> HANGUP
  5399. 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:852 (sofia/default/4915111633383) State HANGUP
  5400. 2021-09-14 09:05:38.666876 [DEBUG] mod_sofia.c:438 Channel sofia/default/4915111633383 hanging up, cause: NO_USER_RESPONSE
  5401. 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:60 sofia/default/4915111633383 Standard HANGUP, cause: NO_USER_RESPONSE
  5402. 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:852 (sofia/default/4915111633383) State HANGUP going to sleep
  5403. 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:619 (sofia/default/4915111633383) State Change CS_HANGUP -> CS_REPORTING
  5404. 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4915111633383) Running State Change CS_REPORTING (Cur 12 Tot 248023)
  5405. 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:938 (sofia/default/4915111633383) State REPORTING
  5406. 2021-09-14 09:05:38.666876 [INFO] mod_json_cdr.c:271 Process [591a155e-155c-11ec-9e61-7dfb9f6e00f0.cdr.json]
  5407. 2021-09-14 09:05:38.666876 [DEBUG] switch_ivr_bridge.c:706 sofia/default/4915111633383 ending bridge by request from write function
  5408. 2021-09-14 09:05:38.666876 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/498008001050@193.109.216.112]
  5409. 2021-09-14 09:05:38.666876 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/4915111633383 skip receive message [UNBRIDGE] (channel is hungup already)
  5410. 2021-09-14 09:05:38.666876 [NOTICE] switch_channel.c:4844 Hangup sofia/default/498008001050@193.109.216.112 [CS_EXECUTE] [NO_USER_RESPONSE]
  5411. 2021-09-14 09:05:38.666876 [DEBUG] switch_core_session.c:2815 sofia/default/498008001050@193.109.216.112 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  5412. 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:650 (sofia/default/498008001050@193.109.216.112) State EXECUTE going to sleep
  5413. 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:584 (sofia/default/498008001050@193.109.216.112) Running State Change CS_HANGUP (Cur 12 Tot 248023)
  5414. 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:850 (sofia/default/498008001050@193.109.216.112) Callstate Change EARLY -> HANGUP
  5415. 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:852 (sofia/default/498008001050@193.109.216.112) State HANGUP
  5416. 2021-09-14 09:05:38.666876 [DEBUG] mod_sofia.c:432 sofia/default/498008001050@193.109.216.112 Overriding SIP cause 408 with 480 from the other leg
  5417. 2021-09-14 09:05:38.666876 [DEBUG] mod_sofia.c:438 Channel sofia/default/498008001050@193.109.216.112 hanging up, cause: NO_USER_RESPONSE
  5418. 2021-09-14 09:05:38.666876 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 480
  5419. 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:60 sofia/default/498008001050@193.109.216.112 Standard HANGUP, cause: NO_USER_RESPONSE
  5420. 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:852 (sofia/default/498008001050@193.109.216.112) State HANGUP going to sleep
  5421. 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:619 (sofia/default/498008001050@193.109.216.112) State Change CS_HANGUP -> CS_REPORTING
  5422. 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:584 (sofia/default/498008001050@193.109.216.112) Running State Change CS_REPORTING (Cur 12 Tot 248023)
  5423. 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:938 (sofia/default/498008001050@193.109.216.112) State REPORTING
  5424. 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:174 sofia/default/4915111633383 Standard REPORTING, cause: NO_USER_RESPONSE
  5425. 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:938 (sofia/default/4915111633383) State REPORTING going to sleep
  5426. 2021-09-14 09:05:38.666876 [INFO] mod_json_cdr.c:271 Process [591382e8-155c-11ec-9e3b-7dfb9f6e00f0.cdr.json]
  5427. 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:610 (sofia/default/4915111633383) State Change CS_REPORTING -> CS_DESTROY
  5428. 2021-09-14 09:05:38.666876 [DEBUG] switch_core_session.c:1665 Session 248019 (sofia/default/4915111633383) Locked, Waiting on external entities
  5429. 2021-09-14 09:05:38.666876 [NOTICE] switch_core_session.c:1683 Session 248019 (sofia/default/4915111633383) Ended
  5430. 2021-09-14 09:05:38.666876 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/4915111633383 [CS_DESTROY]
  5431. 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:741 (sofia/default/4915111633383) Running State Change CS_DESTROY (Cur 11 Tot 248023)
  5432. 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:751 (sofia/default/4915111633383) State DESTROY
  5433. 2021-09-14 09:05:38.666876 [DEBUG] mod_sofia.c:343 sofia/default/4915111633383 SOFIA DESTROY
  5434. 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:181 sofia/default/4915111633383 Standard DESTROY
  5435. 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:751 (sofia/default/4915111633383) State DESTROY going to sleep
  5436. 2021-09-14 09:05:38.706667 [DEBUG] switch_core_state_machine.c:174 sofia/default/498008001050@193.109.216.112 Standard REPORTING, cause: NO_USER_RESPONSE
  5437. 2021-09-14 09:05:38.706667 [DEBUG] switch_core_state_machine.c:938 (sofia/default/498008001050@193.109.216.112) State REPORTING going to sleep
  5438. 2021-09-14 09:05:38.706667 [DEBUG] switch_core_state_machine.c:610 (sofia/default/498008001050@193.109.216.112) State Change CS_REPORTING -> CS_DESTROY
  5439. 2021-09-14 09:05:38.706667 [DEBUG] switch_core_session.c:1665 Session 248018 (sofia/default/498008001050@193.109.216.112) Locked, Waiting on external entities
  5440. 2021-09-14 09:05:38.706667 [NOTICE] switch_core_session.c:1683 Session 248018 (sofia/default/498008001050@193.109.216.112) Ended
  5441. 2021-09-14 09:05:38.706667 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/498008001050@193.109.216.112 [CS_DESTROY]
  5442. 2021-09-14 09:05:38.706667 [DEBUG] switch_core_state_machine.c:741 (sofia/default/498008001050@193.109.216.112) Running State Change CS_DESTROY (Cur 10 Tot 248023)
  5443. 2021-09-14 09:05:38.706667 [DEBUG] switch_core_state_machine.c:751 (sofia/default/498008001050@193.109.216.112) State DESTROY
  5444. 2021-09-14 09:05:38.706667 [DEBUG] mod_sofia.c:343 sofia/default/498008001050@193.109.216.112 SOFIA DESTROY
  5445. 2021-09-14 09:05:38.706667 [DEBUG] switch_core_state_machine.c:181 sofia/default/498008001050@193.109.216.112 Standard DESTROY
  5446. 2021-09-14 09:05:38.706667 [DEBUG] switch_core_state_machine.c:751 (sofia/default/498008001050@193.109.216.112) State DESTROY going to sleep
  5447. 2021-09-14 09:05:38.866754 [NOTICE] switch_channel.c:1104 New Channel sofia/default/498008001050@193.109.216.112 [752f635c-155c-11ec-9ebb-7dfb9f6e00f0]
  5448. 2021-09-14 09:05:38.866754 [DEBUG] switch_core_state_machine.c:584 (sofia/default/498008001050@193.109.216.112) Running State Change CS_NEW (Cur 11 Tot 248024)
  5449. 2021-09-14 09:05:38.866754 [DEBUG] sofia.c:9873 sofia/default/498008001050@193.109.216.112 receiving invite from 136.243.196.198:5060 version: 1.6.20  64bit
  5450. 2021-09-14 09:05:38.866754 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
  5451. 2021-09-14 09:05:38.866754 [DEBUG] sofia.c:7084 Channel sofia/default/498008001050@193.109.216.112 entering state [received][100]
  5452. 2021-09-14 09:05:38.866754 [DEBUG] sofia.c:7094 Remote SDP:
  5453. v=0
  5454. o=root 186973619 186973619 IN IP4 193.109.216.112
  5455. s=Asterisk PBX 1.8.32.3
  5456. c=IN IP4 193.109.216.112
  5457. t=0 0
  5458. m=audio 46902 RTP/AVP 8 0 101
  5459. a=rtpmap:8 PCMA/8000
  5460. a=rtpmap:0 PCMU/8000
  5461. a=rtpmap:101 telephone-event/8000
  5462. a=fmtp:101 0-16
  5463. a=ptime:20
  5464.  
  5465. 2021-09-14 09:05:38.866754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  5466. 2021-09-14 09:05:38.866754 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  5467. 2021-09-14 09:05:38.866754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  5468. 2021-09-14 09:05:38.866754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  5469. 2021-09-14 09:05:38.866754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  5470. 2021-09-14 09:05:38.866754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  5471. 2021-09-14 09:05:38.866754 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  5472. 2021-09-14 09:05:38.866754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  5473. 2021-09-14 09:05:38.866754 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  5474. 2021-09-14 09:05:38.866754 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/498008001050@193.109.216.112 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  5475. 2021-09-14 09:05:38.866754 [DEBUG] switch_core_codec.c:111 sofia/default/498008001050@193.109.216.112 Original read codec set to PCMA:8
  5476. 2021-09-14 09:05:38.866754 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  5477. 2021-09-14 09:05:38.866754 [DEBUG] switch_core_media.c:4767 sofia/default/498008001050@193.109.216.112 Set 2833 dtmf send payload to 101 recv payload to 101
  5478. 2021-09-14 09:05:38.866754 [DEBUG] sofia.c:7507 (sofia/default/498008001050@193.109.216.112) State Change CS_NEW -> CS_INIT
  5479. 2021-09-14 09:05:38.866754 [DEBUG] switch_core_state_machine.c:603 (sofia/default/498008001050@193.109.216.112) State NEW
  5480. 2021-09-14 09:05:38.866754 [DEBUG] switch_core_state_machine.c:584 (sofia/default/498008001050@193.109.216.112) Running State Change CS_INIT (Cur 11 Tot 248024)
  5481. 2021-09-14 09:05:38.866754 [DEBUG] switch_core_state_machine.c:627 (sofia/default/498008001050@193.109.216.112) State INIT
  5482. 2021-09-14 09:05:38.866754 [DEBUG] mod_sofia.c:90 sofia/default/498008001050@193.109.216.112 SOFIA INIT
  5483. 2021-09-14 09:05:38.866754 [DEBUG] switch_core_state_machine.c:40 sofia/default/498008001050@193.109.216.112 Standard INIT
  5484. 2021-09-14 09:05:38.866754 [DEBUG] switch_core_state_machine.c:48 (sofia/default/498008001050@193.109.216.112) State Change CS_INIT -> CS_ROUTING
  5485. 2021-09-14 09:05:38.866754 [DEBUG] switch_core_state_machine.c:627 (sofia/default/498008001050@193.109.216.112) State INIT going to sleep
  5486. 2021-09-14 09:05:38.866754 [DEBUG] switch_core_state_machine.c:584 (sofia/default/498008001050@193.109.216.112) Running State Change CS_ROUTING (Cur 11 Tot 248024)
  5487. 2021-09-14 09:05:38.866754 [DEBUG] switch_channel.c:2249 (sofia/default/498008001050@193.109.216.112) Callstate Change DOWN -> RINGING
  5488. 2021-09-14 09:05:38.866754 [DEBUG] switch_core_state_machine.c:643 (sofia/default/498008001050@193.109.216.112) State ROUTING
  5489. 2021-09-14 09:05:38.866754 [DEBUG] mod_sofia.c:143 sofia/default/498008001050@193.109.216.112 SOFIA ROUTING
  5490. 2021-09-14 09:05:38.866754 [DEBUG] switch_core_state_machine.c:236 sofia/default/498008001050@193.109.216.112 Standard ROUTING
  5491. 2021-09-14 09:05:38.866754 [INFO] mod_dialplan_xml.c:637 Processing 498008001050 <498008001050>->004915111633383 in context default
  5492. 2021-09-14 09:05:38.866754 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected.
  5493. 2021-09-14 09:05:38.866754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  5494. 2021-09-14 09:05:38.866754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  5495. 2021-09-14 09:05:38.866754 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params:
  5496. 'Event-Name: REQUEST_PARAMS
  5497. Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0
  5498. FreeSWITCH-Hostname: astpp1.local
  5499. FreeSWITCH-Switchname: astpp1.local
  5500. FreeSWITCH-IPv4: 89.46.223.193
  5501. FreeSWITCH-IPv6: %3A%3A1
  5502. Event-Date-Local: 2021-09-14%2009%3A05%3A38
  5503. Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A05%3A38%20GMT
  5504. Event-Date-Timestamp: 1631624738866754
  5505. Event-Calling-File: mod_dialplan_xml.c
  5506. Event-Calling-Function: dialplan_xml_locate
  5507. Event-Calling-Line-Number: 608
  5508. Event-Sequence: 7528272
  5509. Channel-State: CS_ROUTING
  5510. Channel-Call-State: RINGING
  5511. Channel-State-Number: 2
  5512. Channel-Name: sofia/default/498008001050%40193.109.216.112
  5513. Unique-ID: 752f635c-155c-11ec-9ebb-7dfb9f6e00f0
  5514. Call-Direction: inbound
  5515. Presence-Call-Direction: inbound
  5516. Channel-HIT-Dialplan: true
  5517. Channel-Presence-ID: 498008001050%40193.109.216.112
  5518. Channel-Call-UUID: 752f635c-155c-11ec-9ebb-7dfb9f6e00f0
  5519. Answer-State: ringing
  5520. Channel-Read-Codec-Name: PCMA
  5521. Channel-Read-Codec-Rate: 8000
  5522. Channel-Read-Codec-Bit-Rate: 64000
  5523. Channel-Write-Codec-Name: PCMA
  5524. Channel-Write-Codec-Rate: 8000
  5525. Channel-Write-Codec-Bit-Rate: 64000
  5526. Caller-Direction: inbound
  5527. Caller-Logical-Direction: inbound
  5528. Caller-Username: 498008001050
  5529. Caller-Dialplan: XML
  5530. Caller-Caller-ID-Name: 498008001050
  5531. Caller-Caller-ID-Number: 498008001050
  5532. Caller-Orig-Caller-ID-Name: 498008001050
  5533. Caller-Orig-Caller-ID-Number: 498008001050
  5534. Caller-Network-Addr: 136.243.196.198
  5535. Caller-ANI: 498008001050
  5536. Caller-Destination-Number: 004915111633383
  5537. Caller-Unique-ID: 752f635c-155c-11ec-9ebb-7dfb9f6e00f0
  5538. Caller-Source: mod_sofia
  5539. Caller-Context: default
  5540. Caller-Channel-Name: sofia/default/498008001050%40193.109.216.112
  5541. Caller-Profile-Index: 1
  5542. Caller-Profile-Created-Time: 1631624738866754
  5543. Caller-Channel-Created-Time: 1631624738866754
  5544. Caller-Channel-Answered-Time: 0
  5545. Caller-Channel-Progress-Time: 0
  5546. Caller-Channel-Progress-Media-Time: 0
  5547. Caller-Channel-Hangup-Time: 0
  5548. Caller-Channel-Transfer-Time: 0
  5549. Caller-Channel-Resurrect-Time: 0
  5550. Caller-Channel-Bridged-Time: 0
  5551. Caller-Channel-Last-Hold: 0
  5552. Caller-Channel-Hold-Accum: 0
  5553. Caller-Screen-Bit: true
  5554. Caller-Privacy-Hide-Name: false
  5555. Caller-Privacy-Hide-Number: false
  5556. variable_direction: inbound
  5557. variable_uuid: 752f635c-155c-11ec-9ebb-7dfb9f6e00f0
  5558. variable_session_id: 248024
  5559. variable_sip_from_user: 498008001050
  5560. variable_sip_from_uri: 498008001050%40193.109.216.112
  5561. variable_sip_from_host: 193.109.216.112
  5562. variable_video_media_flow: sendrecv
  5563. variable_channel_name: sofia/default/498008001050%40193.109.216.112
  5564. variable_sip_call_id: 5ceec1a005a22844435a52c366949d93%40193.109.216.112%3A5060
  5565. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b
  5566. variable_sip_local_network_addr: 89.46.223.193
  5567. variable_sip_network_ip: 136.243.196.198
  5568. variable_sip_network_port: 5060
  5569. variable_sip_invite_stamp: 1631624738866754
  5570. variable_sip_received_ip: 136.243.196.198
  5571. variable_sip_received_port: 5060
  5572. variable_sip_via_protocol: udp
  5573. variable_sip_authorized: true
  5574. variable_sip_acl_authed_by: default
  5575. variable_sip_from_user_stripped: 498008001050
  5576. variable_sip_from_tag: as1785555d
  5577. variable_sofia_profile_name: default
  5578. variable_recovery_profile_name: default
  5579. variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D035.8ff445b4%3E
  5580. variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D035.8ff445b4%3E
  5581. variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bK1041.4f59f456.0,SIP/2.0/UDP%20193.109.216.112%3A5060%3Bbranch%3Dz9hG4bK692ab387
  5582. variable_sip_from_display: 498008001050
  5583. variable_sip_full_from: %22498008001050%22%20%3Csip%3A498008001050%40193.109.216.112%3E%3Btag%3Das1785555d
  5584. variable_sip_full_to: %3Csip%3A004915111633383%40136.243.196.198%3E
  5585. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE
  5586. variable_sip_req_user: 004915111633383
  5587. variable_sip_req_uri: 004915111633383%40136.243.196.198
  5588. variable_sip_req_host: 136.243.196.198
  5589. variable_sip_to_user: 004915111633383
  5590. variable_sip_to_uri: 004915111633383%40136.243.196.198
  5591. variable_sip_to_host: 136.243.196.198
  5592. variable_sip_contact_user: 498008001050
  5593. variable_sip_contact_port: 5060
  5594. variable_sip_contact_uri: 498008001050%40193.109.216.112%3A5060
  5595. variable_sip_contact_host: 193.109.216.112
  5596. variable_sip_user_agent: Asterisk%20PBX%201.8.32.3
  5597. variable_sip_via_host: 136.243.196.198
  5598. variable_sip_via_port: 5060
  5599. variable_max_forwards: 30
  5600. variable_presence_id: 498008001050%40193.109.216.112
  5601. variable_sip_h_X-AUTH-IP: 193.109.216.112
  5602. variable_sip_h_P-Accountcode: 619312506378
  5603. variable_sip_h_P-effective_caller_id_name: 498008001050
  5604. variable_sip_h_P-effective_caller_id_number: 498008001050
  5605. variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%20186973619%20186973619%20IN%20IP4%20193.109.216.112%0D%0As%3DAsterisk%20PBX%201.8.32.3%0D%0Ac%3DIN%20IP4%20193.109.216.112%0D%0At%3D0%200%0D%0Am%3Daudio%2046902%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
  5606. variable_rtp_use_codec_string: PCMA,PCMU,G729
  5607. variable_audio_media_flow: sendrecv
  5608. variable_remote_media_ip: 193.109.216.112
  5609. variable_remote_media_port: 46902
  5610. variable_rtp_audio_recv_pt: 8
  5611. variable_rtp_use_codec_name: PCMA
  5612. variable_rtp_use_codec_rate: 8000
  5613. variable_rtp_use_codec_ptime: 20
  5614. variable_rtp_use_codec_channels: 1
  5615. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  5616. variable_read_codec: PCMA
  5617. variable_original_read_codec: PCMA
  5618. variable_read_rate: 8000
  5619. variable_original_read_rate: 8000
  5620. variable_write_codec: PCMA
  5621. variable_write_rate: 8000
  5622. variable_dtmf_type: rfc2833
  5623. variable_endpoint_disposition: RECEIVED
  5624. variable_call_uuid: 752f635c-155c-11ec-9ebb-7dfb9f6e00f0
  5625. Hunt-Direction: inbound
  5626. Hunt-Logical-Direction: inbound
  5627. Hunt-Username: 498008001050
  5628. Hunt-Dialplan: XML
  5629. Hunt-Caller-ID-Name: 498008001050
  5630. Hunt-Caller-ID-Number: 498008001050
  5631. Hunt-Orig-Caller-ID-Name: 498008001050
  5632. Hunt-Orig-Caller-ID-Number: 498008001050
  5633. Hunt-Network-Addr: 136.243.196.198
  5634. Hunt-ANI: 498008001050
  5635. Hunt-Destination-Number: 004915111633383
  5636. Hunt-Unique-ID: 752f635c-155c-11ec-9ebb-7dfb9f6e00f0
  5637. Hunt-Source: mod_sofia
  5638. Hunt-Context: default
  5639. Hunt-Channel-Name: sofia/default/498008001050%40193.109.216.112
  5640. Hunt-Profile-Index: 1
  5641. Hunt-Profile-Created-Time: 1631624738866754
  5642. Hunt-Channel-Created-Time: 1631624738866754
  5643. Hunt-Channel-Answered-Time: 0
  5644. Hunt-Channel-Progress-Time: 0
  5645. Hunt-Channel-Progress-Media-Time: 0
  5646. Hunt-Channel-Hangup-Time: 0
  5647. Hunt-Channel-Transfer-Time: 0
  5648. Hunt-Channel-Resurrect-Time: 0
  5649. Hunt-Channel-Bridged-Time: 0
  5650. Hunt-Channel-Last-Hold: 0
  5651. Hunt-Channel-Hold-Accum: 0
  5652. Hunt-Screen-Bit: true
  5653. Hunt-Privacy-Hide-Name: false
  5654. Hunt-Privacy-Hide-Number: false
  5655.  
  5656. '
  5657. 2021-09-14 09:05:38.866754 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name:
  5658. 2021-09-14 09:05:38.866754 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value:
  5659. 2021-09-14 09:05:38.866754 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name:
  5660. 2021-09-14 09:05:38.866754 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan
  5661. 2021-09-14 09:05:38.866754 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  5662. 2021-09-14 09:05:38.866754 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 004915111633383
  5663. 2021-09-14 09:05:38.866754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '004915111633383' limit 1
  5664. 2021-09-14 09:05:38.866754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '004915111633383' AND status=0 limit 1
  5665. 2021-09-14 09:05:38.866754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '193.109.216.112' limit 1
  5666. 2021-09-14 09:05:38.866754 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  5667. 2021-09-14 09:05:38.866754 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 498008001050 / 498008001050
  5668. 2021-09-14 09:05:38.866754 [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 ="004915111633383" LIMIT 1
  5669. 2021-09-14 09:05:38.866754 [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="004915111633383"  AND domains.domain="136.243.196.198" limit 1
  5670. 2021-09-14 09:05:38.866754 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  5671. 2021-09-14 09:05:38.866754 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 619312506378]
  5672. 2021-09-14 09:05:38.866754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "619312506378" OR number = "619312506378" AND deleted = 0 limit 1
  5673. 2021-09-14 09:05:38.866754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^004915111633383.*' OR blocked_patterns = '^00491511163338.*' OR blocked_patterns = '^0049151116333.*' OR blocked_patterns = '^004915111633.*' OR blocked_patterns = '^00491511163.*' OR blocked_patterns = '^0049151116.*' OR blocked_patterns = '^004915111.*' OR blocked_patterns = '^00491511.*' OR blocked_patterns = '^0049151.*' OR blocked_patterns = '^004915.*' OR blocked_patterns = '^00491.*' OR blocked_patterns = '^0049.*' OR blocked_patterns = '^004.*' OR blocked_patterns = '^00.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 1039 limit 1
  5674. 2021-09-14 09:05:38.866754 [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 ="004915111633383" AND A.accountid = '1039' limit 1
  5675. 2021-09-14 09:05:38.866754 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 004915111633383
  5676. 2021-09-14 09:05:38.866754 [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 ="004915111633383" LIMIT 1
  5677. 2021-09-14 09:05:38.866754 [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="004915111633383"  AND domains.domain="136.243.196.198" limit 1
  5678. 2021-09-14 09:05:38.866754 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : outbound
  5679. 2021-09-14 09:05:38.866754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="004915111633383" AND (accountid = 0 OR status = 1) LIMIT 1
  5680. 2021-09-14 09:05:38.866754 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 3
  5681. 2021-09-14 09:05:38.866754 [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
  5682. 2021-09-14 09:05:38.866754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*".....004915111633383
  5683. 2021-09-14 09:05:38.866754 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 004915111633383
  5684. 2021-09-14 09:05:38.866754 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 4915111633383
  5685. 2021-09-14 09:05:38.866754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*".....4915111633383
  5686. 2021-09-14 09:05:38.866754 [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 = '^4915111633383.*' OR patterns = '^491511163338.*' OR patterns = '^49151116333.*' OR patterns = '^4915111633.*' OR patterns = '^491511163.*' OR patterns = '^49151116.*' OR patterns = '^4915111.*' OR patterns = '^491511.*' OR patterns = '^49151.*' OR patterns = '^4915.*' OR patterns = '^491.*' OR patterns = '^49.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 1039 ORDER BY LENGTH(PKGPTR.patterns) DESC
  5687. 2021-09-14 09:05:38.906663 [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 = '4915111633383' OR number = '491511163338' OR number = '49151116333' OR number = '4915111633' OR number = '491511163' OR number = '49151116' OR number = '4915111' OR number = '491511' OR number = '49151' OR number = '4915' OR number = '491' OR number = '49' OR number = '4' OR number ='--') OR (number = '4915111633383*' OR number = '491511163338*' OR number = '49151116333*' OR number = '4915111633*' OR number = '491511163*' OR number = '49151116*' OR number = '4915111*' OR number = '491511*' OR number = '49151*' OR number = '4915*' OR number = '491*' OR number = '49*' OR number = '4*' OR number ='--') OR (number = '498008001050' OR number = '49800800105' OR number = '4980080010' OR number = '498008001' OR number = '49800800' OR number = '4980080' OR number = '498008' OR number = '49800' OR number = '4980' OR number = '498' OR number = '49' OR number = '4' OR number ='--') OR (number = '498008001050*' OR number = '49800800105*' OR number = '4980080010*' OR number = '498008001*' OR number = '49800800*' OR number = '4980080*' OR number = '498008*' OR number = '49800*' OR number = '4980*' OR number = '498*' OR number = '49*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  5688. 2021-09-14 09:05:38.906663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  5689. 2021-09-14 09:05:38.906663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '4915111633383' OR routing_prefix = '491511163338' OR routing_prefix = '49151116333' OR routing_prefix = '4915111633' OR routing_prefix = '491511163' OR routing_prefix = '49151116' OR routing_prefix = '4915111' OR routing_prefix = '491511' OR routing_prefix = '49151' OR routing_prefix = '4915' OR routing_prefix = '491' OR routing_prefix = '49' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  5690. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  5691. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 1039
  5692. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 619312506378
  5693. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 3173.67686
  5694. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  5695. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 49
  5696. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  5697. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  5698. 2021-09-14 09:05:38.906663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0
  5699. 2021-09-14 09:05:38.906663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound
  5700. 2021-09-14 09:05:38.906663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0
  5701. 2021-09-14 09:05:38.906663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^4915111633383.*' OR pattern = '^491511163338.*' OR pattern = '^49151116333.*' OR pattern = '^4915111633.*' OR pattern = '^491511163.*' OR pattern = '^49151116.*' OR pattern = '^4915111.*' OR pattern = '^491511.*' OR pattern = '^49151.*' OR pattern = '^4915.*' OR pattern = '^491.*' OR pattern = '^49.*' OR pattern = '^4.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 49 OR accountid=1039)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
  5702. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: outbound
  5703. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  5704. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1159939
  5705. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  5706. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  5707. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.38336
  5708. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : GermanyT-Mobile Mobile
  5709. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0
  5710. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 1039
  5711. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0
  5712. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type:
  5713. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  5714. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your3173.67686 balance Accountid 1039 !!!
  5715. 2021-09-14 09:05:38.906663 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 180 mins!
  5716. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
  5717. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 1159939
  5718. 2021-09-14 09:05:38.906663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id  :0
  5719. 2021-09-14 09:05:38.906663 [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
  5720. 2021-09-14 09:05:38.906663 [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 = '^4915111633383.*' OR pattern = '^491511163338.*' OR pattern = '^49151116333.*' OR pattern = '^4915111633.*' OR pattern = '^491511163.*' OR pattern = '^49151116.*' OR pattern = '^4915111.*' OR pattern = '^491511.*' OR pattern = '^49151.*' OR pattern = '^4915.*' OR pattern = '^491.*' OR pattern = '^49.*' OR pattern = '^4.*' 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
  5721. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  5722. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1906905
  5723. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^49151.*
  5724. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : GermanyT-Mobile Mobile
  5725. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  5726. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  5727. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^49151.*
  5728. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0
  5729. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0
  5730. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 53
  5731. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : tata3
  5732. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  5733. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway :
  5734. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 587
  5735. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  5736. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : Low_Tata_38986_110821
  5737. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  5738. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  5739. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1734369
  5740. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^49151.*
  5741. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : GermanyT-Mobile Mobile
  5742. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  5743. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  5744. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^49151.*
  5745. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0
  5746. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0
  5747. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 51
  5748. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : tata3
  5749. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  5750. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway :
  5751. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 587
  5752. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  5753. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : high_tata_37113_110821
  5754. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  5755. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  5756. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 2087737
  5757. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^49151.*
  5758. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : GERMANY - MOBILE T-MOBILE
  5759. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  5760. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  5761. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^49151.*
  5762. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0
  5763. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0
  5764. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 55
  5765. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : Telia_GW
  5766. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  5767. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway :
  5768. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 1017
  5769. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  5770. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : High_Telia_110821
  5771. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  5772. 2021-09-14 09:05:38.906663 [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
  5773. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
  5774. 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : outbound
  5775. 2021-09-14 09:05:38.906663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0
  5776. 2021-09-14 09:05:38.906663 [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
  5777. 2021-09-14 09:05:38.906663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....4915111633383
  5778. 2021-09-14 09:05:38.906663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0
  5779. 2021-09-14 09:05:38.906663 [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
  5780. 2021-09-14 09:05:38.906663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....4915111633383
  5781. 2021-09-14 09:05:38.906663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0
  5782. 2021-09-14 09:05:38.906663 [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
  5783. 2021-09-14 09:05:38.906663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....4915111633383
  5784. 2021-09-14 09:05:38.906663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
  5785. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  5786. <document type="freeswitch/xml">
  5787. <section name="dialplan" description="ASTPP Dialplan">
  5788. <context name="default">
  5789. <extension name="4915111633383">
  5790. <condition field="destination_number" expression="004915111633383">
  5791. <action application="set" data="effective_destination_number=4915111633383"/>
  5792. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  5793. <action application="set" data="bridge_pre_execute_bleg_data=+10800 normal_clearing"/>
  5794. <action application="set" data="callstart=2021-09-14 13:05:38"/>
  5795. <action application="set" data="hangup_after_bridge=true"/>
  5796. <action application="set" data="continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602"/>
  5797. <action application="set" data="account_id=1039"/>
  5798. <action application="set" data="parent_id=0"/>
  5799. <action application="set" data="entity_id=0"/>
  5800. <action application="set" data="call_processed=internal"/>
  5801. <action application="set" data="call_direction=outbound"/>
  5802. <action application="set" data="accountname=default"/>
  5803. <action application="set" data="filename1=astpp.pbx.lua"/>
  5804. <action application="set" data="origination_rates=ID:1159939|CODE:^49151.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.38336|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039"/>
  5805. <action application="set" data="original_caller_id_name=498008001050"/>
  5806. <action application="set" data="original_caller_id_number=498008001050"/>
  5807.  
  5808. <action application="export" data="is_recording=1"/>
  5809. <action application="export" data="media_bug_answer_req=true"/>
  5810. <action application="export" data="RECORD_STEREO=true"/>
  5811. <action application="export" data="record_sample_rate=8000"/>
  5812. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  5813. <action application="set" data="effective_caller_id_name=498008001050"/>
  5814. <action application="set" data="effective_caller_id_number=498008001050"/>
  5815. <action application="set" data="calltype=STANDARD"/>
  5816. <action application="set" data="termination_rates=ID:1906905|CODE:^49151.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00970|INC:1|INITIALBLOCK:1|TRUNK:53|PROVIDER:587"/>
  5817. <action application="set" data="trunk_id=53"/>
  5818. <action application="set" data="provider_id=587"/>
  5819. <action application="set" data="rate_flag=0"/>
  5820. <action application="set" data="force_trunk_flag=1159939"/>
  5821. <action application="export" data="presence_data=trunk_id=53"/>
  5822. <action application="set" data="intcall=0"/>
  5823. <action application="export" data="presence_data=x|||Enerxus(619312506378)|||^49151.* // GermanyT-Mobile Mobile // 0.38336 // trunk_id=0|||Low_Tata_38986_110821 // ^49151.* // GermanyT-Mobile Mobile // 0.00970 // trunk_id=53|||STD|||193.109.216.112"/>
  5824. <action application="bridge" data="[leg_timeout=0]sofia/gateway/tata3/4915111633383;fs_path=sip:136.243.196.198:5060"/>
  5825. <action application="set" data="effective_caller_id_name=498008001050"/>
  5826. <action application="set" data="effective_caller_id_number=498008001050"/>
  5827. <action application="set" data="calltype=STANDARD"/>
  5828. <action application="set" data="termination_rates=ID:1734369|CODE:^49151.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.19200|INC:1|INITIALBLOCK:1|TRUNK:51|PROVIDER:587"/>
  5829. <action application="set" data="trunk_id=51"/>
  5830. <action application="set" data="provider_id=587"/>
  5831. <action application="set" data="rate_flag=0"/>
  5832. <action application="set" data="force_trunk_flag=1159939"/>
  5833. <action application="export" data="presence_data=trunk_id=51"/>
  5834. <action application="set" data="intcall=0"/>
  5835. <action application="export" data="presence_data=x|||Enerxus(619312506378)|||^49151.* // GermanyT-Mobile Mobile // 0.38336 // trunk_id=0|||high_tata_37113_110821 // ^49151.* // GermanyT-Mobile Mobile // 0.19200 // trunk_id=51|||STD|||193.109.216.112"/>
  5836. <action application="bridge" data="[leg_timeout=0]sofia/gateway/tata3/4915111633383;fs_path=sip:136.243.196.198:5060"/>
  5837. <action application="set" data="effective_caller_id_name=498008001050"/>
  5838. <action application="set" data="effective_caller_id_number=498008001050"/>
  5839. <action application="set" data="calltype=STANDARD"/>
  5840. <action application="set" data="termination_rates=ID:2087737|CODE:^49151.*|DESTINATION:GERMANY - MOBILE T-MOBILE|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.23960|INC:1|INITIALBLOCK:1|TRUNK:55|PROVIDER:1017"/>
  5841. <action application="set" data="trunk_id=55"/>
  5842. <action application="set" data="provider_id=1017"/>
  5843. <action application="set" data="rate_flag=0"/>
  5844. <action application="set" data="force_trunk_flag=1159939"/>
  5845. <action application="export" data="presence_data=trunk_id=55"/>
  5846. <action application="set" data="intcall=0"/>
  5847. <action application="export" data="presence_data=x|||Enerxus(619312506378)|||^49151.* // GermanyT-Mobile Mobile // 0.38336 // trunk_id=0|||High_Telia_110821 // ^49151.* // GERMANY - MOBILE T-MOBILE // 0.23960 // trunk_id=55|||STD|||193.109.216.112"/>
  5848. <action application="bridge" data="[leg_timeout=0]sofia/gateway/Telia_GW/4915111633383;fs_path=sip:136.243.196.198:5060"/>
  5849. </condition>
  5850. </extension>
  5851. </context>
  5852. </section>
  5853. </document>
  5854. 2021-09-14 09:05:38.906663 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released.
  5855. Dialplan: sofia/default/498008001050@193.109.216.112 parsing [default->4915111633383] continue=false
  5856. Dialplan: sofia/default/498008001050@193.109.216.112 Regex (PASS) [4915111633383] destination_number(004915111633383) =~ /004915111633383/ break=on-false
  5857. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(effective_destination_number=4915111633383)
  5858. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  5859. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  5860. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(callstart=2021-09-14 13:05:38)
  5861. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(hangup_after_bridge=true)
  5862. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  5863. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(account_id=1039)
  5864. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(parent_id=0)
  5865. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(entity_id=0)
  5866. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(call_processed=internal)
  5867. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(call_direction=outbound)
  5868. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(accountname=default)
  5869. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(filename1=astpp.pbx.lua)
  5870. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(origination_rates=ID:1159939|CODE:^49151.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.38336|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039)
  5871. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(original_caller_id_name=498008001050)
  5872. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(original_caller_id_number=498008001050)
  5873. Dialplan: sofia/default/498008001050@193.109.216.112 Action export(is_recording=1)
  5874. Dialplan: sofia/default/498008001050@193.109.216.112 Action export(media_bug_answer_req=true)
  5875. Dialplan: sofia/default/498008001050@193.109.216.112 Action export(RECORD_STEREO=true)
  5876. Dialplan: sofia/default/498008001050@193.109.216.112 Action export(record_sample_rate=8000)
  5877. Dialplan: sofia/default/498008001050@193.109.216.112 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  5878. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(effective_caller_id_name=498008001050)
  5879. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(effective_caller_id_number=498008001050)
  5880. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(calltype=STANDARD)
  5881. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(termination_rates=ID:1906905|CODE:^49151.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00970|INC:1|INITIALBLOCK:1|TRUNK:53|PROVIDER:587)
  5882. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(trunk_id=53)
  5883. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(provider_id=587)
  5884. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(rate_flag=0)
  5885. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(force_trunk_flag=1159939)
  5886. Dialplan: sofia/default/498008001050@193.109.216.112 Action export(presence_data=trunk_id=53)
  5887. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(intcall=0)
  5888. Dialplan: sofia/default/498008001050@193.109.216.112 Action export(presence_data=x|||Enerxus(619312506378)|||^49151.* // GermanyT-Mobile Mobile // 0.38336 // trunk_id=0|||Low_Tata_38986_110821 // ^49151.* // GermanyT-Mobile Mobile // 0.00970 // trunk_id=53|||STD|||193.109.216.112)
  5889. Dialplan: sofia/default/498008001050@193.109.216.112 Action bridge([leg_timeout=0]sofia/gateway/tata3/4915111633383;fs_path=sip:136.243.196.198:5060)
  5890. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(effective_caller_id_name=498008001050)
  5891. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(effective_caller_id_number=498008001050)
  5892. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(calltype=STANDARD)
  5893. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(termination_rates=ID:1734369|CODE:^49151.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.19200|INC:1|INITIALBLOCK:1|TRUNK:51|PROVIDER:587)
  5894. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(trunk_id=51)
  5895. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(provider_id=587)
  5896. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(rate_flag=0)
  5897. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(force_trunk_flag=1159939)
  5898. Dialplan: sofia/default/498008001050@193.109.216.112 Action export(presence_data=trunk_id=51)
  5899. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(intcall=0)
  5900. Dialplan: sofia/default/498008001050@193.109.216.112 Action export(presence_data=x|||Enerxus(619312506378)|||^49151.* // GermanyT-Mobile Mobile // 0.38336 // trunk_id=0|||high_tata_37113_110821 // ^49151.* // GermanyT-Mobile Mobile // 0.19200 // trunk_id=51|||STD|||193.109.216.112)
  5901. Dialplan: sofia/default/498008001050@193.109.216.112 Action bridge([leg_timeout=0]sofia/gateway/tata3/4915111633383;fs_path=sip:136.243.196.198:5060)
  5902. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(effective_caller_id_name=498008001050)
  5903. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(effective_caller_id_number=498008001050)
  5904. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(calltype=STANDARD)
  5905. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(termination_rates=ID:2087737|CODE:^49151.*|DESTINATION:GERMANY - MOBILE T-MOBILE|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.23960|INC:1|INITIALBLOCK:1|TRUNK:55|PROVIDER:1017)
  5906. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(trunk_id=55)
  5907. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(provider_id=1017)
  5908. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(rate_flag=0)
  5909. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(force_trunk_flag=1159939)
  5910. Dialplan: sofia/default/498008001050@193.109.216.112 Action export(presence_data=trunk_id=55)
  5911. Dialplan: sofia/default/498008001050@193.109.216.112 Action set(intcall=0)
  5912. Dialplan: sofia/default/498008001050@193.109.216.112 Action export(presence_data=x|||Enerxus(619312506378)|||^49151.* // GermanyT-Mobile Mobile // 0.38336 // trunk_id=0|||High_Telia_110821 // ^49151.* // GERMANY - MOBILE T-MOBILE // 0.23960 // trunk_id=55|||STD|||193.109.216.112)
  5913. Dialplan: sofia/default/498008001050@193.109.216.112 Action bridge([leg_timeout=0]sofia/gateway/Telia_GW/4915111633383;fs_path=sip:136.243.196.198:5060)
  5914. 2021-09-14 09:05:38.906663 [DEBUG] switch_core_state_machine.c:286 (sofia/default/498008001050@193.109.216.112) State Change CS_ROUTING -> CS_EXECUTE
  5915. 2021-09-14 09:05:38.906663 [DEBUG] switch_core_state_machine.c:643 (sofia/default/498008001050@193.109.216.112) State ROUTING going to sleep
  5916. 2021-09-14 09:05:38.906663 [DEBUG] switch_core_state_machine.c:584 (sofia/default/498008001050@193.109.216.112) Running State Change CS_EXECUTE (Cur 11 Tot 248024)
  5917. 2021-09-14 09:05:38.906663 [DEBUG] switch_core_state_machine.c:650 (sofia/default/498008001050@193.109.216.112) State EXECUTE
  5918. 2021-09-14 09:05:38.906663 [DEBUG] mod_sofia.c:198 sofia/default/498008001050@193.109.216.112 SOFIA EXECUTE
  5919. 2021-09-14 09:05:38.906663 [DEBUG] switch_core_state_machine.c:328 sofia/default/498008001050@193.109.216.112 Standard EXECUTE
  5920. EXECUTE sofia/default/498008001050@193.109.216.112 set(effective_destination_number=4915111633383)
  5921. 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [effective_destination_number]=[4915111633383]
  5922. EXECUTE sofia/default/498008001050@193.109.216.112 set(bridge_pre_execute_bleg_app=sched_hangup)
  5923. 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [bridge_pre_execute_bleg_app]=[sched_hangup]
  5924. EXECUTE sofia/default/498008001050@193.109.216.112 set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  5925. 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing]
  5926. EXECUTE sofia/default/498008001050@193.109.216.112 set(callstart=2021-09-14 13:05:38)
  5927. 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [callstart]=[2021-09-14 13:05:38]
  5928. EXECUTE sofia/default/498008001050@193.109.216.112 set(hangup_after_bridge=true)
  5929. 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [hangup_after_bridge]=[true]
  5930. EXECUTE sofia/default/498008001050@193.109.216.112 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  5931. 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]
  5932. EXECUTE sofia/default/498008001050@193.109.216.112 set(account_id=1039)
  5933. 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [account_id]=[1039]
  5934. EXECUTE sofia/default/498008001050@193.109.216.112 set(parent_id=0)
  5935. 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [parent_id]=[0]
  5936. EXECUTE sofia/default/498008001050@193.109.216.112 set(entity_id=0)
  5937. 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [entity_id]=[0]
  5938. EXECUTE sofia/default/498008001050@193.109.216.112 set(call_processed=internal)
  5939. 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [call_processed]=[internal]
  5940. EXECUTE sofia/default/498008001050@193.109.216.112 set(call_direction=outbound)
  5941. 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [call_direction]=[outbound]
  5942. EXECUTE sofia/default/498008001050@193.109.216.112 set(accountname=default)
  5943. 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [accountname]=[default]
  5944. EXECUTE sofia/default/498008001050@193.109.216.112 set(filename1=astpp.pbx.lua)
  5945. 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [filename1]=[astpp.pbx.lua]
  5946. EXECUTE sofia/default/498008001050@193.109.216.112 set(origination_rates=ID:1159939|CODE:^49151.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.38336|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039)
  5947. 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [origination_rates]=[ID:1159939|CODE:^49151.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.38336|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039]
  5948. EXECUTE sofia/default/498008001050@193.109.216.112 set(original_caller_id_name=498008001050)
  5949. 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [original_caller_id_name]=[498008001050]
  5950. EXECUTE sofia/default/498008001050@193.109.216.112 set(original_caller_id_number=498008001050)
  5951. 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [original_caller_id_number]=[498008001050]
  5952. EXECUTE sofia/default/498008001050@193.109.216.112 export(is_recording=1)
  5953. 2021-09-14 09:05:38.906663 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [is_recording]=[1]
  5954. EXECUTE sofia/default/498008001050@193.109.216.112 export(media_bug_answer_req=true)
  5955. 2021-09-14 09:05:38.906663 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [media_bug_answer_req]=[true]
  5956. EXECUTE sofia/default/498008001050@193.109.216.112 export(RECORD_STEREO=true)
  5957. 2021-09-14 09:05:38.906663 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [RECORD_STEREO]=[true]
  5958. EXECUTE sofia/default/498008001050@193.109.216.112 export(record_sample_rate=8000)
  5959. 2021-09-14 09:05:38.906663 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [record_sample_rate]=[8000]
  5960. EXECUTE sofia/default/498008001050@193.109.216.112 export(execute_on_answer=record_session /var/lib/freeswitch/recordings/752f635c-155c-11ec-9ebb-7dfb9f6e00f0.wav)
  5961. 2021-09-14 09:05:38.906663 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/752f635c-155c-11ec-9ebb-7dfb9f6e00f0.wav]
  5962. EXECUTE sofia/default/498008001050@193.109.216.112 set(effective_caller_id_name=498008001050)
  5963. 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [effective_caller_id_name]=[498008001050]
  5964. EXECUTE sofia/default/498008001050@193.109.216.112 set(effective_caller_id_number=498008001050)
  5965. 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [effective_caller_id_number]=[498008001050]
  5966. EXECUTE sofia/default/498008001050@193.109.216.112 set(calltype=STANDARD)
  5967. 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [calltype]=[STANDARD]
  5968. EXECUTE sofia/default/498008001050@193.109.216.112 set(termination_rates=ID:1906905|CODE:^49151.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00970|INC:1|INITIALBLOCK:1|TRUNK:53|PROVIDER:587)
  5969. 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [termination_rates]=[ID:1906905|CODE:^49151.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00970|INC:1|INITIALBLOCK:1|TRUNK:53|PROVIDER:587]
  5970. EXECUTE sofia/default/498008001050@193.109.216.112 set(trunk_id=53)
  5971. 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [trunk_id]=[53]
  5972. EXECUTE sofia/default/498008001050@193.109.216.112 set(provider_id=587)
  5973. 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [provider_id]=[587]
  5974. EXECUTE sofia/default/498008001050@193.109.216.112 set(rate_flag=0)
  5975. 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [rate_flag]=[0]
  5976. EXECUTE sofia/default/498008001050@193.109.216.112 set(force_trunk_flag=1159939)
  5977. 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [force_trunk_flag]=[1159939]
  5978. EXECUTE sofia/default/498008001050@193.109.216.112 export(presence_data=trunk_id=53)
  5979. 2021-09-14 09:05:38.906663 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[trunk_id=53]
  5980. EXECUTE sofia/default/498008001050@193.109.216.112 set(intcall=0)
  5981. 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [intcall]=[0]
  5982. EXECUTE sofia/default/498008001050@193.109.216.112 export(presence_data=x|||Enerxus(619312506378)|||^49151.* // GermanyT-Mobile Mobile // 0.38336 // trunk_id=0|||Low_Tata_38986_110821 // ^49151.* // GermanyT-Mobile Mobile // 0.00970 // trunk_id=53|||STD|||193.109.216.112)
  5983. 2021-09-14 09:05:38.906663 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||Enerxus(619312506378)|||^49151.* // GermanyT-Mobile Mobile // 0.38336 // trunk_id=0|||Low_Tata_38986_110821 // ^49151.* // GermanyT-Mobile Mobile // 0.00970 // trunk_id=53|||STD|||193.109.216.112]
  5984. EXECUTE sofia/default/498008001050@193.109.216.112 bridge([leg_timeout=0]sofia/gateway/tata3/4915111633383;fs_path=sip:136.243.196.198:5060)
  5985. 2021-09-14 09:05:38.906663 [DEBUG] switch_channel.c:1250 sofia/default/498008001050@193.109.216.112 EXPORTING[export_vars] [is_recording]=[1] to event
  5986. 2021-09-14 09:05:38.906663 [DEBUG] switch_channel.c:1250 sofia/default/498008001050@193.109.216.112 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  5987. 2021-09-14 09:05:38.906663 [DEBUG] switch_channel.c:1250 sofia/default/498008001050@193.109.216.112 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  5988. 2021-09-14 09:05:38.906663 [DEBUG] switch_channel.c:1250 sofia/default/498008001050@193.109.216.112 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  5989. 2021-09-14 09:05:38.906663 [DEBUG] switch_channel.c:1250 sofia/default/498008001050@193.109.216.112 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/752f635c-155c-11ec-9ebb-7dfb9f6e00f0.wav] to event
  5990. 2021-09-14 09:05:38.906663 [DEBUG] switch_channel.c:1250 sofia/default/498008001050@193.109.216.112 EXPORTING[export_vars] [presence_data]=[x|||Enerxus(619312506378)|||^49151.* // GermanyT-Mobile Mobile // 0.38336 // trunk_id=0|||Low_Tata_38986_110821 // ^49151.* // GermanyT-Mobile Mobile // 0.00970 // trunk_id=53|||STD|||193.109.216.112] to event
  5991. 2021-09-14 09:05:38.906663 [DEBUG] switch_channel.c:1250 sofia/default/498008001050@193.109.216.112 EXPORTING[export_vars] [presence_data]=[x|||Enerxus(619312506378)|||^49151.* // GermanyT-Mobile Mobile // 0.38336 // trunk_id=0|||Low_Tata_38986_110821 // ^49151.* // GermanyT-Mobile Mobile // 0.00970 // trunk_id=53|||STD|||193.109.216.112] to event
  5992. 2021-09-14 09:05:38.906663 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  5993. 2021-09-14 09:05:38.906663 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  5994. 2021-09-14 09:05:38.906663 [NOTICE] switch_channel.c:1104 New Channel sofia/default/4915111633383 [75359952-155c-11ec-9ee1-7dfb9f6e00f0]
  5995. 2021-09-14 09:05:38.906663 [DEBUG] mod_sofia.c:4819 (sofia/default/4915111633383) State Change CS_NEW -> CS_INIT
  5996. 2021-09-14 09:05:38.906663 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4915111633383) Running State Change CS_INIT (Cur 12 Tot 248025)
  5997. 2021-09-14 09:05:38.926662 [DEBUG] switch_core_state_machine.c:627 (sofia/default/4915111633383) State INIT
  5998. 2021-09-14 09:05:38.926662 [DEBUG] mod_sofia.c:90 sofia/default/4915111633383 SOFIA INIT
  5999. 2021-09-14 09:05:38.926662 [DEBUG] sofia_glue.c:1264 sip:136.243.196.198:5060 Setting proxy route to sofia/default/4915111633383
  6000. 2021-09-14 09:05:38.926662 [DEBUG] sofia_glue.c:1295 sofia/default/4915111633383 sending invite version: 1.6.20  64bit
  6001. Local SDP:
  6002. v=0
  6003. o=FreeSWITCH 1631605598 1631605599 IN IP4 89.46.223.193
  6004. s=FreeSWITCH
  6005. c=IN IP4 89.46.223.193
  6006. t=0 0
  6007. m=audio 19140 RTP/AVP 8 101
  6008. a=rtpmap:8 PCMA/8000
  6009. a=rtpmap:101 telephone-event/8000
  6010. a=fmtp:101 0-16
  6011. a=ptime:20
  6012. a=sendrecv
  6013.  
  6014. 2021-09-14 09:05:38.926662 [DEBUG] switch_core_state_machine.c:40 sofia/default/4915111633383 Standard INIT
  6015. 2021-09-14 09:05:38.926662 [DEBUG] switch_core_state_machine.c:48 (sofia/default/4915111633383) State Change CS_INIT -> CS_ROUTING
  6016. 2021-09-14 09:05:38.926662 [DEBUG] switch_core_state_machine.c:627 (sofia/default/4915111633383) State INIT going to sleep
  6017. 2021-09-14 09:05:38.926662 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4915111633383) Running State Change CS_ROUTING (Cur 12 Tot 248025)
  6018. 2021-09-14 09:05:38.926662 [DEBUG] sofia.c:7084 Channel sofia/default/4915111633383 entering state [calling][0]
  6019. 2021-09-14 09:05:38.926662 [DEBUG] switch_core_state_machine.c:643 (sofia/default/4915111633383) State ROUTING
  6020. 2021-09-14 09:05:38.926662 [DEBUG] mod_sofia.c:143 sofia/default/4915111633383 SOFIA ROUTING
  6021. 2021-09-14 09:05:38.926662 [DEBUG] switch_ivr_originate.c:67 (sofia/default/4915111633383) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  6022. 2021-09-14 09:05:38.926662 [DEBUG] switch_core_state_machine.c:643 (sofia/default/4915111633383) State ROUTING going to sleep
  6023. 2021-09-14 09:05:38.926662 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4915111633383) Running State Change CS_CONSUME_MEDIA (Cur 12 Tot 248025)
  6024. 2021-09-14 09:05:38.926662 [DEBUG] switch_core_state_machine.c:662 (sofia/default/4915111633383) State CONSUME_MEDIA
  6025. 2021-09-14 09:05:38.926662 [DEBUG] switch_core_state_machine.c:662 (sofia/default/4915111633383) State CONSUME_MEDIA going to sleep
  6026. 2021-09-14 09:05:39.146669 [DEBUG] switch_scheduler.c:144 Deleting task 31132 switch_ivr_schedule_hangup (591a155e-155c-11ec-9e61-7dfb9f6e00f0)
  6027. 2021-09-14 09:05:39.906661 [DEBUG] sofia.c:7084 Channel sofia/default/4915111633383 entering state [proceeding][183]
  6028. 2021-09-14 09:05:39.906661 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/4915111633383!
  6029. 2021-09-14 09:05:39.906661 [DEBUG] switch_channel.c:3346 (sofia/default/4915111633383) Callstate Change DOWN -> RINGING
  6030. 2021-09-14 09:05:39.926667 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/498008001050@193.109.216.112!
  6031. 2021-09-14 09:05:39.926667 [DEBUG] sofia.c:7084 Channel sofia/default/498008001050@193.109.216.112 entering state [early][180]
  6032. 2021-09-14 09:05:39.926667 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/498008001050@193.109.216.112!
  6033. 2021-09-14 09:05:40.006668 [DEBUG] sofia.c:7084 Channel sofia/default/4915111633383 entering state [proceeding][180]
  6034. 2021-09-14 09:05:40.006668 [DEBUG] sofia.c:7094 Remote SDP:
  6035. v=0
  6036. o=Sonus_UAC 26921 27514 IN IP4 209.58.46.110
  6037. s=SIP Media Capabilities
  6038. c=IN IP4 209.58.46.103
  6039. t=0 0
  6040. m=audio 26824 RTP/AVP 8 101
  6041. a=rtpmap:8 PCMA/8000
  6042. a=rtpmap:101 telephone-event/8000
  6043. a=fmtp:101 0-15
  6044. a=maxptime:20
  6045.  
  6046. 2021-09-14 09:05:40.006668 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  6047. 2021-09-14 09:05:40.006668 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  6048. 2021-09-14 09:05:40.006668 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  6049. 2021-09-14 09:05:40.006668 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/4915111633383 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  6050. 2021-09-14 09:05:40.006668 [DEBUG] switch_core_codec.c:111 sofia/default/4915111633383 Original read codec set to PCMA:8
  6051. 2021-09-14 09:05:40.006668 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  6052. 2021-09-14 09:05:40.006668 [DEBUG] switch_core_media.c:4767 sofia/default/4915111633383 Set 2833 dtmf send payload to 101 recv payload to 101
  6053. 2021-09-14 09:05:40.006668 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/4915111633383] 89.46.223.193 port 19140 -> 209.58.46.103 port 26824 codec: 8 ms: 20
  6054. 2021-09-14 09:05:40.006668 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  6055. 2021-09-14 09:05:40.006668 [DEBUG] switch_core_media.c:7180 sofia/default/4915111633383 Set 2833 dtmf send payload to 101
  6056. 2021-09-14 09:05:40.006668 [DEBUG] switch_core_media.c:7187 sofia/default/4915111633383 Set 2833 dtmf receive payload to 101
  6057. 2021-09-14 09:05:40.006668 [DEBUG] switch_core_media.c:7210 sofia/default/4915111633383 Set rtp dtmf delay to 40
  6058. 2021-09-14 09:05:40.006668 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/4915111633383!
  6059. 2021-09-14 09:05:40.006668 [DEBUG] switch_channel.c:3474 (sofia/default/4915111633383) Callstate Change RINGING -> EARLY
  6060. 2021-09-14 09:05:40.026662 [INFO] switch_ivr_originate.c:3654 Sending early media
  6061. 2021-09-14 09:05:40.026662 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/498008001050@193.109.216.112] 89.46.223.193 port 26616 -> 193.109.216.112 port 46902 codec: 8 ms: 20
  6062. 2021-09-14 09:05:40.026662 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  6063. 2021-09-14 09:05:40.026662 [DEBUG] switch_core_media.c:7180 sofia/default/498008001050@193.109.216.112 Set 2833 dtmf send payload to 101
  6064. 2021-09-14 09:05:40.026662 [DEBUG] switch_core_media.c:7187 sofia/default/498008001050@193.109.216.112 Set 2833 dtmf receive payload to 101
  6065. 2021-09-14 09:05:40.026662 [DEBUG] switch_core_media.c:7210 sofia/default/498008001050@193.109.216.112 Set rtp dtmf delay to 40
  6066. 2021-09-14 09:05:40.026662 [DEBUG] mod_sofia.c:2364 Ring SDP:
  6067. v=0
  6068. o=FreeSWITCH 1631598124 1631598125 IN IP4 89.46.223.193
  6069. s=FreeSWITCH
  6070. c=IN IP4 89.46.223.193
  6071. t=0 0
  6072. m=audio 26616 RTP/AVP 8 101
  6073. a=rtpmap:8 PCMA/8000
  6074. a=rtpmap:101 telephone-event/8000
  6075. a=fmtp:101 0-16
  6076. a=ptime:20
  6077. a=sendrecv
  6078.  
  6079. 2021-09-14 09:05:40.026662 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/default/498008001050@193.109.216.112!
  6080. 2021-09-14 09:05:40.026662 [DEBUG] switch_channel.c:3474 (sofia/default/498008001050@193.109.216.112) Callstate Change RINGING -> EARLY
  6081. 2021-09-14 09:05:40.026662 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/4915111633383]
  6082. 2021-09-14 09:05:40.026662 [DEBUG] sofia.c:7084 Channel sofia/default/498008001050@193.109.216.112 entering state [early][183]
  6083. 2021-09-14 09:05:40.026662 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/4915111633383) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  6084. 2021-09-14 09:05:40.026662 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4915111633383) Running State Change CS_EXCHANGE_MEDIA (Cur 12 Tot 248025)
  6085. 2021-09-14 09:05:40.026662 [DEBUG] switch_core_state_machine.c:653 (sofia/default/4915111633383) State EXCHANGE_MEDIA
  6086. 2021-09-14 09:05:40.026662 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  6087. 2021-09-14 09:05:40.066668 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  6088. 2021-09-14 09:05:40.206665 [DEBUG] switch_ivr_bridge.c:546 sofia/default/4915111633383 Bridge execute app sched_hangup(+10800 normal_clearing)
  6089. 2021-09-14 09:05:40.226664 [DEBUG] switch_ivr.c:623 sofia/default/4915111633383 Command Execute sched_hangup(+10800 normal_clearing)
  6090. EXECUTE sofia/default/4915111633383 sched_hangup(+10800 normal_clearing)
  6091. 2021-09-14 09:05:40.226664 [DEBUG] switch_scheduler.c:249 Added task 31135 switch_ivr_schedule_hangup (75359952-155c-11ec-9ee1-7dfb9f6e00f0) to run at 1631635540
  6092. 2021-09-14 09:05:42.486671 [DEBUG] sofia.c:7084 Channel sofia/default/498008001050@193.109.216.112 entering state [terminated][487]
  6093. 2021-09-14 09:05:42.486671 [NOTICE] sofia.c:8273 Hangup sofia/default/498008001050@193.109.216.112 [CS_EXECUTE] [ORIGINATOR_CANCEL]
  6094. 2021-09-14 09:05:42.486671 [DEBUG] switch_ivr_bridge.c:712 sofia/default/498008001050@193.109.216.112 ending bridge by request from read function
  6095. 2021-09-14 09:05:42.486671 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/498008001050@193.109.216.112]
  6096. 2021-09-14 09:05:42.486671 [DEBUG] switch_ivr_bridge.c:706 sofia/default/498008001050@193.109.216.112 ending bridge by request from write function
  6097. 2021-09-14 09:05:42.486671 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/4915111633383]
  6098. 2021-09-14 09:05:42.486671 [NOTICE] switch_ivr_bridge.c:900 Hangup sofia/default/4915111633383 [CS_EXCHANGE_MEDIA] [ORIGINATOR_CANCEL]
  6099. 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:653 (sofia/default/4915111633383) State EXCHANGE_MEDIA going to sleep
  6100. 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4915111633383) Running State Change CS_HANGUP (Cur 12 Tot 248025)
  6101. 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:850 (sofia/default/4915111633383) Callstate Change EARLY -> HANGUP
  6102. 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:852 (sofia/default/4915111633383) State HANGUP
  6103. 2021-09-14 09:05:42.486671 [DEBUG] mod_sofia.c:432 sofia/default/4915111633383 Overriding SIP cause 487 with 487 from the other leg
  6104. 2021-09-14 09:05:42.486671 [DEBUG] mod_sofia.c:438 Channel sofia/default/4915111633383 hanging up, cause: ORIGINATOR_CANCEL
  6105. 2021-09-14 09:05:42.486671 [DEBUG] mod_sofia.c:502 Sending CANCEL to sofia/default/4915111633383
  6106. 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:60 sofia/default/4915111633383 Standard HANGUP, cause: ORIGINATOR_CANCEL
  6107. 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:852 (sofia/default/4915111633383) State HANGUP going to sleep
  6108. 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:619 (sofia/default/4915111633383) State Change CS_HANGUP -> CS_REPORTING
  6109. 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4915111633383) Running State Change CS_REPORTING (Cur 12 Tot 248025)
  6110. 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:938 (sofia/default/4915111633383) State REPORTING
  6111. 2021-09-14 09:05:42.486671 [INFO] mod_json_cdr.c:271 Process [75359952-155c-11ec-9ee1-7dfb9f6e00f0.cdr.json]
  6112. 2021-09-14 09:05:42.486671 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/4915111633383 skip receive message [UNBRIDGE] (channel is hungup already)
  6113. 2021-09-14 09:05:42.486671 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/498008001050@193.109.216.112 skip receive message [UNBRIDGE] (channel is hungup already)
  6114. 2021-09-14 09:05:42.486671 [DEBUG] switch_core_session.c:2815 sofia/default/498008001050@193.109.216.112 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  6115. 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:650 (sofia/default/498008001050@193.109.216.112) State EXECUTE going to sleep
  6116. 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/498008001050@193.109.216.112) Running State Change CS_HANGUP (Cur 12 Tot 248025)
  6117. 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:850 (sofia/default/498008001050@193.109.216.112) Callstate Change EARLY -> HANGUP
  6118. 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:852 (sofia/default/498008001050@193.109.216.112) State HANGUP
  6119. 2021-09-14 09:05:42.486671 [DEBUG] mod_sofia.c:438 Channel sofia/default/498008001050@193.109.216.112 hanging up, cause: ORIGINATOR_CANCEL
  6120. 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:60 sofia/default/498008001050@193.109.216.112 Standard HANGUP, cause: ORIGINATOR_CANCEL
  6121. 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:852 (sofia/default/498008001050@193.109.216.112) State HANGUP going to sleep
  6122. 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:619 (sofia/default/498008001050@193.109.216.112) State Change CS_HANGUP -> CS_REPORTING
  6123. 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/498008001050@193.109.216.112) Running State Change CS_REPORTING (Cur 12 Tot 248025)
  6124. 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:938 (sofia/default/498008001050@193.109.216.112) State REPORTING
  6125. 2021-09-14 09:05:42.486671 [INFO] mod_json_cdr.c:271 Process [752f635c-155c-11ec-9ebb-7dfb9f6e00f0.cdr.json]
  6126. 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:174 sofia/default/4915111633383 Standard REPORTING, cause: ORIGINATOR_CANCEL
  6127. 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:938 (sofia/default/4915111633383) State REPORTING going to sleep
  6128. 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:610 (sofia/default/4915111633383) State Change CS_REPORTING -> CS_DESTROY
  6129. 2021-09-14 09:05:42.486671 [DEBUG] switch_core_session.c:1665 Session 248025 (sofia/default/4915111633383) Locked, Waiting on external entities
  6130. 2021-09-14 09:05:42.486671 [NOTICE] switch_core_session.c:1683 Session 248025 (sofia/default/4915111633383) Ended
  6131. 2021-09-14 09:05:42.486671 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/4915111633383 [CS_DESTROY]
  6132. 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:741 (sofia/default/4915111633383) Running State Change CS_DESTROY (Cur 11 Tot 248025)
  6133. 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:751 (sofia/default/4915111633383) State DESTROY
  6134. 2021-09-14 09:05:42.486671 [DEBUG] mod_sofia.c:343 sofia/default/4915111633383 SOFIA DESTROY
  6135. 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:181 sofia/default/4915111633383 Standard DESTROY
  6136. 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:751 (sofia/default/4915111633383) State DESTROY going to sleep
  6137. 2021-09-14 09:05:42.506674 [DEBUG] switch_core_state_machine.c:174 sofia/default/498008001050@193.109.216.112 Standard REPORTING, cause: ORIGINATOR_CANCEL
  6138. 2021-09-14 09:05:42.506674 [DEBUG] switch_core_state_machine.c:938 (sofia/default/498008001050@193.109.216.112) State REPORTING going to sleep
  6139. 2021-09-14 09:05:42.506674 [DEBUG] switch_core_state_machine.c:610 (sofia/default/498008001050@193.109.216.112) State Change CS_REPORTING -> CS_DESTROY
  6140. 2021-09-14 09:05:42.506674 [DEBUG] switch_core_session.c:1665 Session 248024 (sofia/default/498008001050@193.109.216.112) Locked, Waiting on external entities
  6141. 2021-09-14 09:05:42.506674 [NOTICE] switch_core_session.c:1683 Session 248024 (sofia/default/498008001050@193.109.216.112) Ended
  6142. 2021-09-14 09:05:42.506674 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/498008001050@193.109.216.112 [CS_DESTROY]
  6143. 2021-09-14 09:05:42.506674 [DEBUG] switch_core_state_machine.c:741 (sofia/default/498008001050@193.109.216.112) Running State Change CS_DESTROY (Cur 10 Tot 248025)
  6144. 2021-09-14 09:05:42.506674 [DEBUG] switch_core_state_machine.c:751 (sofia/default/498008001050@193.109.216.112) State DESTROY
  6145. 2021-09-14 09:05:42.506674 [DEBUG] mod_sofia.c:343 sofia/default/498008001050@193.109.216.112 SOFIA DESTROY
  6146. 2021-09-14 09:05:42.506674 [DEBUG] switch_core_state_machine.c:181 sofia/default/498008001050@193.109.216.112 Standard DESTROY
  6147. 2021-09-14 09:05:42.506674 [DEBUG] switch_core_state_machine.c:751 (sofia/default/498008001050@193.109.216.112) State DESTROY going to sleep
  6148. 2021-09-14 09:05:42.726664 [DEBUG] switch_scheduler.c:144 Deleting task 31135 switch_ivr_schedule_hangup (75359952-155c-11ec-9ee1-7dfb9f6e00f0)
  6149. 2021-09-14 09:06:06.026670 [NOTICE] sofia.c:1012 Hangup sofia/default/43720902004@193.109.216.112 [CS_EXECUTE] [NORMAL_CLEARING]
  6150. 2021-09-14 09:06:06.026670 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/43720902004@193.109.216.112]
  6151. 2021-09-14 09:06:06.026670 [DEBUG] switch_ivr_bridge.c:706 sofia/default/43720902004@193.109.216.112 ending bridge by request from write function
  6152. 2021-09-14 09:06:06.026670 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/4369910001245]
  6153. 2021-09-14 09:06:06.026670 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/4369910001245 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  6154. 2021-09-14 09:06:06.026670 [DEBUG] switch_core_state_machine.c:653 (sofia/default/4369910001245) State EXCHANGE_MEDIA going to sleep
  6155. 2021-09-14 09:06:06.026670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4369910001245) Running State Change CS_HANGUP (Cur 10 Tot 248025)
  6156. 2021-09-14 09:06:06.026670 [DEBUG] switch_ivr_async.c:1316 Stop recording file /var/lib/freeswitch/recordings/6631582e-155c-11ec-9e8d-7dfb9f6e00f0.wav
  6157. 2021-09-14 09:06:06.026670 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/4369910001245 skip receive message [UNBRIDGE] (channel is hungup already)
  6158. 2021-09-14 09:06:06.026670 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/43720902004@193.109.216.112 skip receive message [UNBRIDGE] (channel is hungup already)
  6159. 2021-09-14 09:06:06.026670 [DEBUG] switch_core_session.c:2815 sofia/default/43720902004@193.109.216.112 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  6160. 2021-09-14 09:06:06.026670 [DEBUG] switch_core_state_machine.c:650 (sofia/default/43720902004@193.109.216.112) State EXECUTE going to sleep
  6161. 2021-09-14 09:06:06.026670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/43720902004@193.109.216.112) Running State Change CS_HANGUP (Cur 10 Tot 248025)
  6162. 2021-09-14 09:06:06.026670 [DEBUG] switch_ivr_async.c:1316 Stop recording file /var/lib/freeswitch/recordings/6631582e-155c-11ec-9e8d-7dfb9f6e00f0.wav
  6163. 2021-09-14 09:06:06.026670 [DEBUG] switch_ivr_async.c:1380 Channel is hung up
  6164. 2021-09-14 09:06:06.026670 [DEBUG] switch_core_media_bug.c:1298 Removing BUG from sofia/default/43720902004@193.109.216.112
  6165. 2021-09-14 09:06:06.026670 [DEBUG] switch_core_state_machine.c:850 (sofia/default/43720902004@193.109.216.112) Callstate Change ACTIVE -> HANGUP
  6166. 2021-09-14 09:06:06.026670 [DEBUG] switch_core_state_machine.c:852 (sofia/default/43720902004@193.109.216.112) State HANGUP
  6167. 2021-09-14 09:06:06.026670 [DEBUG] mod_sofia.c:438 Channel sofia/default/43720902004@193.109.216.112 hanging up, cause: NORMAL_CLEARING
  6168. 2021-09-14 09:06:06.026670 [DEBUG] switch_core_state_machine.c:60 sofia/default/43720902004@193.109.216.112 Standard HANGUP, cause: NORMAL_CLEARING
  6169. 2021-09-14 09:06:06.026670 [DEBUG] switch_core_state_machine.c:852 (sofia/default/43720902004@193.109.216.112) State HANGUP going to sleep
  6170. 2021-09-14 09:06:06.026670 [DEBUG] switch_core_state_machine.c:619 (sofia/default/43720902004@193.109.216.112) State Change CS_HANGUP -> CS_REPORTING
  6171. 2021-09-14 09:06:06.026670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/43720902004@193.109.216.112) Running State Change CS_REPORTING (Cur 10 Tot 248025)
  6172. 2021-09-14 09:06:06.026670 [DEBUG] switch_core_state_machine.c:938 (sofia/default/43720902004@193.109.216.112) State REPORTING
  6173. 2021-09-14 09:06:06.026670 [INFO] mod_json_cdr.c:271 Process [6631582e-155c-11ec-9e8d-7dfb9f6e00f0.cdr.json]
  6174. 2021-09-14 09:06:06.046728 [DEBUG] switch_ivr_async.c:1380 Channel is hung up
  6175. 2021-09-14 09:06:06.046728 [DEBUG] switch_core_media_bug.c:1298 Removing BUG from sofia/default/4369910001245
  6176. 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:850 (sofia/default/4369910001245) Callstate Change ACTIVE -> HANGUP
  6177. 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:852 (sofia/default/4369910001245) State HANGUP
  6178. 2021-09-14 09:06:06.046728 [DEBUG] mod_sofia.c:432 sofia/default/4369910001245 Overriding SIP cause 480 with 200 from the other leg
  6179. 2021-09-14 09:06:06.046728 [DEBUG] mod_sofia.c:438 Channel sofia/default/4369910001245 hanging up, cause: NORMAL_CLEARING
  6180. 2021-09-14 09:06:06.046728 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/4369910001245
  6181. 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:60 sofia/default/4369910001245 Standard HANGUP, cause: NORMAL_CLEARING
  6182. 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:852 (sofia/default/4369910001245) State HANGUP going to sleep
  6183. 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:619 (sofia/default/4369910001245) State Change CS_HANGUP -> CS_REPORTING
  6184. 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4369910001245) Running State Change CS_REPORTING (Cur 10 Tot 248025)
  6185. 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:938 (sofia/default/4369910001245) State REPORTING
  6186. 2021-09-14 09:06:06.046728 [INFO] mod_json_cdr.c:271 Process [6637aa94-155c-11ec-9eb3-7dfb9f6e00f0.cdr.json]
  6187. 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:174 sofia/default/4369910001245 Standard REPORTING, cause: NORMAL_CLEARING
  6188. 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:938 (sofia/default/4369910001245) State REPORTING going to sleep
  6189. 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:610 (sofia/default/4369910001245) State Change CS_REPORTING -> CS_DESTROY
  6190. 2021-09-14 09:06:06.046728 [DEBUG] switch_core_session.c:1665 Session 248023 (sofia/default/4369910001245) Locked, Waiting on external entities
  6191. 2021-09-14 09:06:06.046728 [NOTICE] switch_core_session.c:1683 Session 248023 (sofia/default/4369910001245) Ended
  6192. 2021-09-14 09:06:06.046728 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/4369910001245 [CS_DESTROY]
  6193. 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:741 (sofia/default/4369910001245) Running State Change CS_DESTROY (Cur 9 Tot 248025)
  6194. 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:751 (sofia/default/4369910001245) State DESTROY
  6195. 2021-09-14 09:06:06.046728 [DEBUG] mod_sofia.c:343 sofia/default/4369910001245 SOFIA DESTROY
  6196. 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:181 sofia/default/4369910001245 Standard DESTROY
  6197. 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:751 (sofia/default/4369910001245) State DESTROY going to sleep
  6198. 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:174 sofia/default/43720902004@193.109.216.112 Standard REPORTING, cause: NORMAL_CLEARING
  6199. 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:938 (sofia/default/43720902004@193.109.216.112) State REPORTING going to sleep
  6200. 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:610 (sofia/default/43720902004@193.109.216.112) State Change CS_REPORTING -> CS_DESTROY
  6201. 2021-09-14 09:06:06.046728 [DEBUG] switch_core_session.c:1665 Session 248022 (sofia/default/43720902004@193.109.216.112) Locked, Waiting on external entities
  6202. 2021-09-14 09:06:06.046728 [NOTICE] switch_core_session.c:1683 Session 248022 (sofia/default/43720902004@193.109.216.112) Ended
  6203. 2021-09-14 09:06:06.046728 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/43720902004@193.109.216.112 [CS_DESTROY]
  6204. 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:741 (sofia/default/43720902004@193.109.216.112) Running State Change CS_DESTROY (Cur 8 Tot 248025)
  6205. 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:751 (sofia/default/43720902004@193.109.216.112) State DESTROY
  6206. 2021-09-14 09:06:06.046728 [DEBUG] mod_sofia.c:343 sofia/default/43720902004@193.109.216.112 SOFIA DESTROY
  6207. 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:181 sofia/default/43720902004@193.109.216.112 Standard DESTROY
  6208. 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:751 (sofia/default/43720902004@193.109.216.112) State DESTROY going to sleep
  6209. 2021-09-14 09:06:06.226668 [DEBUG] switch_scheduler.c:144 Deleting task 31134 switch_ivr_schedule_hangup (6637aa94-155c-11ec-9eb3-7dfb9f6e00f0)
  6210. 2021-09-14 09:06:13.626749 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48798517722@46.19.210.14 [89e72e24-155c-11ec-9ee7-7dfb9f6e00f0]
  6211. 2021-09-14 09:06:13.626749 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_NEW (Cur 9 Tot 248026)
  6212. 2021-09-14 09:06:13.626749 [DEBUG] sofia.c:9873 sofia/default/48798517722@46.19.210.14 receiving invite from 136.243.196.198:5060 version: 1.6.20  64bit
  6213. 2021-09-14 09:06:13.626749 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
  6214. 2021-09-14 09:06:13.626749 [DEBUG] sofia.c:7084 Channel sofia/default/48798517722@46.19.210.14 entering state [received][100]
  6215. 2021-09-14 09:06:13.626749 [DEBUG] sofia.c:7094 Remote SDP:
  6216. v=0
  6217. o=didww-sbc 3069840352 32538 IN IP4 46.19.210.22
  6218. s=didww-sbc
  6219. t=0 0
  6220. m=audio 41090 RTP/AVP 0 8 18 4 101
  6221. c=IN IP4 46.19.210.22
  6222. a=rtpmap:0 PCMU/8000
  6223. a=rtpmap:8 PCMA/8000
  6224. a=rtpmap:18 G729/8000
  6225. a=fmtp:18 annexb=no
  6226. a=rtpmap:4 G723/8000
  6227. a=rtpmap:101 telephone-event/8000
  6228. a=ptime:20
  6229.  
  6230. 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  6231. 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  6232. 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  6233. 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  6234. 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  6235. 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  6236. 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  6237. 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  6238. 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  6239. 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  6240. 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  6241. 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  6242. 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1]
  6243. 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1]
  6244. 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:20:8000:1]
  6245. 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  6246. 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/48798517722@46.19.210.14 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  6247. 2021-09-14 09:06:13.626749 [DEBUG] switch_core_codec.c:111 sofia/default/48798517722@46.19.210.14 Original read codec set to PCMU:0
  6248. 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  6249. 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:4767 sofia/default/48798517722@46.19.210.14 Set 2833 dtmf send payload to 101 recv payload to 101
  6250. 2021-09-14 09:06:13.626749 [DEBUG] sofia.c:7507 (sofia/default/48798517722@46.19.210.14) State Change CS_NEW -> CS_INIT
  6251. 2021-09-14 09:06:13.626749 [DEBUG] switch_core_state_machine.c:603 (sofia/default/48798517722@46.19.210.14) State NEW
  6252. 2021-09-14 09:06:13.626749 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_INIT (Cur 9 Tot 248026)
  6253. 2021-09-14 09:06:13.626749 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT
  6254. 2021-09-14 09:06:13.626749 [DEBUG] mod_sofia.c:90 sofia/default/48798517722@46.19.210.14 SOFIA INIT
  6255. 2021-09-14 09:06:13.626749 [DEBUG] switch_core_state_machine.c:40 sofia/default/48798517722@46.19.210.14 Standard INIT
  6256. 2021-09-14 09:06:13.626749 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48798517722@46.19.210.14) State Change CS_INIT -> CS_ROUTING
  6257. 2021-09-14 09:06:13.626749 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT going to sleep
  6258. 2021-09-14 09:06:13.626749 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_ROUTING (Cur 9 Tot 248026)
  6259. 2021-09-14 09:06:13.626749 [DEBUG] switch_channel.c:2249 (sofia/default/48798517722@46.19.210.14) Callstate Change DOWN -> RINGING
  6260. 2021-09-14 09:06:13.626749 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING
  6261. 2021-09-14 09:06:13.626749 [DEBUG] mod_sofia.c:143 sofia/default/48798517722@46.19.210.14 SOFIA ROUTING
  6262. 2021-09-14 09:06:13.626749 [DEBUG] switch_core_state_machine.c:236 sofia/default/48798517722@46.19.210.14 Standard ROUTING
  6263. 2021-09-14 09:06:13.626749 [INFO] mod_dialplan_xml.c:637 Processing 48798517722 <48798517722>->48732081792 in context default
  6264. 2021-09-14 09:06:13.626749 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected.
  6265. 2021-09-14 09:06:13.626749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  6266. 2021-09-14 09:06:13.626749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  6267. 2021-09-14 09:06:13.626749 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params:
  6268. 'Event-Name: REQUEST_PARAMS
  6269. Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0
  6270. FreeSWITCH-Hostname: astpp1.local
  6271. FreeSWITCH-Switchname: astpp1.local
  6272. FreeSWITCH-IPv4: 89.46.223.193
  6273. FreeSWITCH-IPv6: %3A%3A1
  6274. Event-Date-Local: 2021-09-14%2009%3A06%3A13
  6275. Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A06%3A13%20GMT
  6276. Event-Date-Timestamp: 1631624773626749
  6277. Event-Calling-File: mod_dialplan_xml.c
  6278. Event-Calling-Function: dialplan_xml_locate
  6279. Event-Calling-Line-Number: 608
  6280. Event-Sequence: 7528415
  6281. Channel-State: CS_ROUTING
  6282. Channel-Call-State: RINGING
  6283. Channel-State-Number: 2
  6284. Channel-Name: sofia/default/48798517722%4046.19.210.14
  6285. Unique-ID: 89e72e24-155c-11ec-9ee7-7dfb9f6e00f0
  6286. Call-Direction: inbound
  6287. Presence-Call-Direction: inbound
  6288. Channel-HIT-Dialplan: true
  6289. Channel-Presence-ID: 48798517722%4046.19.210.14
  6290. Channel-Call-UUID: 89e72e24-155c-11ec-9ee7-7dfb9f6e00f0
  6291. Answer-State: ringing
  6292. Channel-Read-Codec-Name: PCMU
  6293. Channel-Read-Codec-Rate: 8000
  6294. Channel-Read-Codec-Bit-Rate: 64000
  6295. Channel-Write-Codec-Name: PCMU
  6296. Channel-Write-Codec-Rate: 8000
  6297. Channel-Write-Codec-Bit-Rate: 64000
  6298. Caller-Direction: inbound
  6299. Caller-Logical-Direction: inbound
  6300. Caller-Username: 48798517722
  6301. Caller-Dialplan: XML
  6302. Caller-Caller-ID-Name: 48798517722
  6303. Caller-Caller-ID-Number: 48798517722
  6304. Caller-Orig-Caller-ID-Name: 48798517722
  6305. Caller-Orig-Caller-ID-Number: 48798517722
  6306. Caller-Network-Addr: 136.243.196.198
  6307. Caller-ANI: 48798517722
  6308. Caller-Destination-Number: 48732081792
  6309. Caller-Unique-ID: 89e72e24-155c-11ec-9ee7-7dfb9f6e00f0
  6310. Caller-Source: mod_sofia
  6311. Caller-Context: default
  6312. Caller-Channel-Name: sofia/default/48798517722%4046.19.210.14
  6313. Caller-Profile-Index: 1
  6314. Caller-Profile-Created-Time: 1631624773626749
  6315. Caller-Channel-Created-Time: 1631624773626749
  6316. Caller-Channel-Answered-Time: 0
  6317. Caller-Channel-Progress-Time: 0
  6318. Caller-Channel-Progress-Media-Time: 0
  6319. Caller-Channel-Hangup-Time: 0
  6320. Caller-Channel-Transfer-Time: 0
  6321. Caller-Channel-Resurrect-Time: 0
  6322. Caller-Channel-Bridged-Time: 0
  6323. Caller-Channel-Last-Hold: 0
  6324. Caller-Channel-Hold-Accum: 0
  6325. Caller-Screen-Bit: true
  6326. Caller-Privacy-Hide-Name: false
  6327. Caller-Privacy-Hide-Number: false
  6328. variable_direction: inbound
  6329. variable_uuid: 89e72e24-155c-11ec-9ee7-7dfb9f6e00f0
  6330. variable_session_id: 248026
  6331. variable_sip_from_user: 48798517722
  6332. variable_sip_from_uri: 48798517722%4046.19.210.14
  6333. variable_sip_from_host: 46.19.210.14
  6334. variable_video_media_flow: sendrecv
  6335. variable_channel_name: sofia/default/48798517722%4046.19.210.14
  6336. variable_sip_call_id: 13-13-49A32613-61409E450009460C-B6FAE700
  6337. variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b
  6338. variable_sip_local_network_addr: 89.46.223.193
  6339. variable_sip_network_ip: 136.243.196.198
  6340. variable_sip_network_port: 5060
  6341. variable_sip_invite_stamp: 1631624773626749
  6342. variable_sip_received_ip: 136.243.196.198
  6343. variable_sip_received_port: 5060
  6344. variable_sip_via_protocol: udp
  6345. variable_sip_authorized: true
  6346. variable_sip_acl_authed_by: default
  6347. variable_sip_from_user_stripped: 48798517722
  6348. variable_sip_from_tag: 13-2E6DD820-61409E4500094521-B6FAE700
  6349. variable_sofia_profile_name: default
  6350. variable_recovery_profile_name: default
  6351. variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D2af.fb9a2bb3%3E
  6352. variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D2af.fb9a2bb3%3E
  6353. variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bK0c69.04e6efd4.0,SIP/2.0/UDP%2046.19.210.14%3Breceived%3D46.19.210.14%3Bbranch%3Dz9hG4bK26R02a1V%3Brport%3D5060
  6354. variable_sip_from_display: 48798517722
  6355. variable_sip_full_from: %2248798517722%22%20%3Csip%3A48798517722%4046.19.210.14%3E%3Btag%3D13-2E6DD820-61409E4500094521-B6FAE700
  6356. variable_sip_full_to: %3Csip%3A48732081792%40newsip.israelnumber.com%3A5060%3E
  6357. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20UPDATE
  6358. variable_sip_req_user: 48732081792
  6359. variable_sip_req_port: 5060
  6360. variable_sip_req_uri: 48732081792%40newsip.israelnumber.com%3A5060
  6361. variable_sip_req_host: newsip.israelnumber.com
  6362. variable_sip_to_user: 48732081792
  6363. variable_sip_to_port: 5060
  6364. variable_sip_to_uri: 48732081792%40newsip.israelnumber.com%3A5060
  6365. variable_sip_to_host: newsip.israelnumber.com
  6366. variable_sip_contact_params: transport%3Dudp
  6367. variable_sip_contact_user: nobody
  6368. variable_sip_contact_port: 5060
  6369. variable_sip_contact_uri: nobody%4046.19.210.14%3A5060
  6370. variable_sip_contact_host: 46.19.210.14
  6371. variable_sip_user_agent: DIDWW%20SBC%20node
  6372. variable_sip_via_host: 136.243.196.198
  6373. variable_sip_via_port: 5060
  6374. variable_max_forwards: 30
  6375. variable_presence_id: 48798517722%4046.19.210.14
  6376. variable_sip_h_X-AUTH-IP: 46.19.210.14
  6377. variable_sip_h_P-Accountcode: 714761424818
  6378. variable_sip_h_P-effective_caller_id_name: 48798517722
  6379. variable_sip_h_P-effective_caller_id_number: 48798517722
  6380. variable_switch_r_sdp: v%3D0%0D%0Ao%3Ddidww-sbc%203069840352%2032538%20IN%20IP4%2046.19.210.22%0D%0As%3Ddidww-sbc%0D%0At%3D0%200%0D%0Am%3Daudio%2041090%20RTP/AVP%200%208%2018%204%20101%0D%0Ac%3DIN%20IP4%2046.19.210.22%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A4%20G723/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dptime%3A20%0D%0A
  6381. variable_rtp_use_codec_string: PCMA,PCMU,G729
  6382. variable_audio_media_flow: sendrecv
  6383. variable_remote_media_ip: 46.19.210.22
  6384. variable_remote_media_port: 41090
  6385. variable_rtp_audio_recv_pt: 0
  6386. variable_rtp_use_codec_name: PCMU
  6387. variable_rtp_use_codec_rate: 8000
  6388. variable_rtp_use_codec_ptime: 20
  6389. variable_rtp_use_codec_channels: 1
  6390. variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c
  6391. variable_read_codec: PCMU
  6392. variable_original_read_codec: PCMU
  6393. variable_read_rate: 8000
  6394. variable_original_read_rate: 8000
  6395. variable_write_codec: PCMU
  6396. variable_write_rate: 8000
  6397. variable_dtmf_type: rfc2833
  6398. variable_endpoint_disposition: RECEIVED
  6399. variable_call_uuid: 89e72e24-155c-11ec-9ee7-7dfb9f6e00f0
  6400. Hunt-Direction: inbound
  6401. Hunt-Logical-Direction: inbound
  6402. Hunt-Username: 48798517722
  6403. Hunt-Dialplan: XML
  6404. Hunt-Caller-ID-Name: 48798517722
  6405. Hunt-Caller-ID-Number: 48798517722
  6406. Hunt-Orig-Caller-ID-Name: 48798517722
  6407. Hunt-Orig-Caller-ID-Number: 48798517722
  6408. Hunt-Network-Addr: 136.243.196.198
  6409. Hunt-ANI: 48798517722
  6410. Hunt-Destination-Number: 48732081792
  6411. Hunt-Unique-ID: 89e72e24-155c-11ec-9ee7-7dfb9f6e00f0
  6412. Hunt-Source: mod_sofia
  6413. Hunt-Context: default
  6414. Hunt-Channel-Name: sofia/default/48798517722%4046.19.210.14
  6415. Hunt-Profile-Index: 1
  6416. Hunt-Profile-Created-Time: 1631624773626749
  6417. Hunt-Channel-Created-Time: 1631624773626749
  6418. Hunt-Channel-Answered-Time: 0
  6419. Hunt-Channel-Progress-Time: 0
  6420. Hunt-Channel-Progress-Media-Time: 0
  6421. Hunt-Channel-Hangup-Time: 0
  6422. Hunt-Channel-Transfer-Time: 0
  6423. Hunt-Channel-Resurrect-Time: 0
  6424. Hunt-Channel-Bridged-Time: 0
  6425. Hunt-Channel-Last-Hold: 0
  6426. Hunt-Channel-Hold-Accum: 0
  6427. Hunt-Screen-Bit: true
  6428. Hunt-Privacy-Hide-Name: false
  6429. Hunt-Privacy-Hide-Number: false
  6430.  
  6431. '
  6432. 2021-09-14 09:06:13.626749 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name:
  6433. 2021-09-14 09:06:13.626749 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value:
  6434. 2021-09-14 09:06:13.626749 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name:
  6435. 2021-09-14 09:06:13.626749 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan
  6436. 2021-09-14 09:06:13.626749 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  6437. 2021-09-14 09:06:13.626749 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 48732081792
  6438. 2021-09-14 09:06:13.626749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '48732081792' limit 1
  6439. 2021-09-14 09:06:13.626749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '48732081792' AND status=0 limit 1
  6440. 2021-09-14 09:06:13.626749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '46.19.210.14' limit 1
  6441. 2021-09-14 09:06:13.626749 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  6442. 2021-09-14 09:06:13.626749 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 48798517722 / 48798517722
  6443. 2021-09-14 09:06:13.626749 [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 ="48732081792" LIMIT 1
  6444. 2021-09-14 09:06:13.626749 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
  6445. 2021-09-14 09:06:13.626749 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 714761424818]
  6446. 2021-09-14 09:06:13.626749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "714761424818" OR number = "714761424818" AND deleted = 0 limit 1
  6447. 2021-09-14 09:06:13.626749 [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 ="48732081792" AND A.accountid = '863' limit 1
  6448. 2021-09-14 09:06:13.626749 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 48732081792
  6449. 2021-09-14 09:06:13.626749 [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 ="48732081792" LIMIT 1
  6450. 2021-09-14 09:06:13.626749 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound
  6451. 2021-09-14 09:06:13.626749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="48732081792" AND (accountid = 0 OR status = 1) LIMIT 1
  6452. 2021-09-14 09:06:13.626749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  6453. 2021-09-14 09:06:13.626749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851
  6454. 2021-09-14 09:06:13.626749 [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 = '^48732081792.*' OR patterns = '^4873208179.*' OR patterns = '^487320817.*' OR patterns = '^48732081.*' OR patterns = '^4873208.*' OR patterns = '^487320.*' OR patterns = '^48732.*' OR patterns = '^4873.*' OR patterns = '^487.*' OR patterns = '^48.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC
  6455. 2021-09-14 09:06:13.666746 [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 = '48732081792' OR number = '4873208179' OR number = '487320817' OR number = '48732081' OR number = '4873208' OR number = '487320' OR number = '48732' OR number = '4873' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48732081792*' OR number = '4873208179*' OR number = '487320817*' OR number = '48732081*' OR number = '4873208*' OR number = '487320*' OR number = '48732*' OR number = '4873*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--') OR (number = '48798517722' OR number = '4879851772' OR number = '487985177' OR number = '48798517' OR number = '4879851' OR number = '487985' OR number = '48798' OR number = '4879' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48798517722*' OR number = '4879851772*' OR number = '487985177*' OR number = '48798517*' OR number = '4879851*' OR number = '487985*' OR number = '48798*' OR number = '4879*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  6456. 2021-09-14 09:06:13.666746 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  6457. 2021-09-14 09:06:13.666746 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '48732081792' OR routing_prefix = '4873208179' OR routing_prefix = '487320817' OR routing_prefix = '48732081' OR routing_prefix = '4873208' OR routing_prefix = '487320' OR routing_prefix = '48732' OR routing_prefix = '4873' OR routing_prefix = '487' OR routing_prefix = '48' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  6458. 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  6459. 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 863
  6460. 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 714761424818
  6461. 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000
  6462. 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  6463. 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1
  6464. 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  6465. 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  6466. 2021-09-14 09:06:13.666746 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  6467. 2021-09-14 09:06:13.666746 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  6468. 2021-09-14 09:06:13.666746 [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 ="48732081792" LIMIT 1
  6469. 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound
  6470. 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  6471. 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 8057
  6472. 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  6473. 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  6474. 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  6475. 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Mobile Voice
  6476. 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 153
  6477. 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 863
  6478. 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  6479. 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 863 !!!
  6480. 2021-09-14 09:06:13.666746 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180
  6481. 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
  6482. 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  6483. 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  6484. 2021-09-14 09:06:13.666746 [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 = 863 AND status=0 LIMIT 1
  6485. 2021-09-14 09:06:13.666746 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" OR number = "851" AND deleted = 0 limit 1
  6486. 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:863
  6487. 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:863
  6488. 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 863
  6489. 2021-09-14 09:06:13.666746 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  6490. 2021-09-14 09:06:13.666746 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  6491. 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
  6492. 2021-09-14 09:06:13.666746 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  6493. 2021-09-14 09:06:13.666746 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  6494. 2021-09-14 09:06:13.666746 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2
  6495. 2021-09-14 09:06:13.666746 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  6496. <document type="freeswitch/xml">
  6497. <section name="dialplan" description="ASTPP Dialplan">
  6498. <context name="default">
  6499. <extension name="48732081792">
  6500. <condition field="destination_number" expression="48732081792">
  6501. <action application="set" data="effective_destination_number=48732081792"/>
  6502. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  6503. <action application="set" data="bridge_pre_execute_bleg_data=+10800 normal_clearing"/>
  6504. <action application="set" data="callstart=2021-09-14 13:06:13"/>
  6505. <action application="set" data="hangup_after_bridge=true"/>
  6506. <action application="set" data="continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602"/>
  6507. <action application="set" data="account_id=863"/>
  6508. <action application="set" data="parent_id=0"/>
  6509. <action application="set" data="entity_id=3"/>
  6510. <action application="set" data="call_processed=internal"/>
  6511. <action application="set" data="call_direction=inbound"/>
  6512. <action application="set" data="accountname=default"/>
  6513. <action application="set" data="filename1=astpp.pbx.lua"/>
  6514. <action application="set" data="origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851"/>
  6515. <action application="set" data="origination_rates=0"/>
  6516. <action application="set" data="original_caller_id_name=48798517722"/>
  6517. <action application="set" data="original_caller_id_number=48798517722"/>
  6518. <action application="set" data="effective_caller_id_name=48798517722"/>
  6519. <action application="set" data="effective_caller_id_number=48798517722"/>
  6520. <action application="set" data="receiver_accid=851"/>
  6521. <action application="export" data="domain_name=Voicespin802.newsip.israelnumber.com"/>
  6522. <action application="export" data="sip_to_host=Voicespin802.newsip.israelnumber.com"/>
  6523. <action application="limit" data="db 48732081792 did_48732081792 2 !SWITCH_CONGESTION"/>
  6524. <action application="export" data="presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14"/>
  6525. <action application="export" data="call_type=2"/>
  6526. <action application="set" data="calltype=DIRECT-IP"/>
  6527. <action application="bridge" data="[leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118"/>
  6528. </condition>
  6529. </extension>
  6530. </context>
  6531. </section>
  6532. </document>
  6533. 2021-09-14 09:06:13.666746 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released.
  6534. Dialplan: sofia/default/48798517722@46.19.210.14 parsing [default->48732081792] continue=false
  6535. Dialplan: sofia/default/48798517722@46.19.210.14 Regex (PASS) [48732081792] destination_number(48732081792) =~ /48732081792/ break=on-false
  6536. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_destination_number=48732081792)
  6537. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  6538. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  6539. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(callstart=2021-09-14 13:06:13)
  6540. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(hangup_after_bridge=true)
  6541. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  6542. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(account_id=863)
  6543. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(parent_id=0)
  6544. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(entity_id=3)
  6545. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_processed=internal)
  6546. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_direction=inbound)
  6547. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(accountname=default)
  6548. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(filename1=astpp.pbx.lua)
  6549. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851)
  6550. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates=0)
  6551. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_name=48798517722)
  6552. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_number=48798517722)
  6553. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_name=48798517722)
  6554. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_number=48798517722)
  6555. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(receiver_accid=851)
  6556. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(domain_name=Voicespin802.newsip.israelnumber.com)
  6557. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  6558. Dialplan: sofia/default/48798517722@46.19.210.14 Action limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION)
  6559. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14)
  6560. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(call_type=2)
  6561. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(calltype=DIRECT-IP)
  6562. Dialplan: sofia/default/48798517722@46.19.210.14 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118)
  6563. 2021-09-14 09:06:13.666746 [DEBUG] switch_core_state_machine.c:286 (sofia/default/48798517722@46.19.210.14) State Change CS_ROUTING -> CS_EXECUTE
  6564. 2021-09-14 09:06:13.666746 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING going to sleep
  6565. 2021-09-14 09:06:13.666746 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_EXECUTE (Cur 9 Tot 248026)
  6566. 2021-09-14 09:06:13.666746 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE
  6567. 2021-09-14 09:06:13.666746 [DEBUG] mod_sofia.c:198 sofia/default/48798517722@46.19.210.14 SOFIA EXECUTE
  6568. 2021-09-14 09:06:13.666746 [DEBUG] switch_core_state_machine.c:328 sofia/default/48798517722@46.19.210.14 Standard EXECUTE
  6569. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_destination_number=48732081792)
  6570. 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_destination_number]=[48732081792]
  6571. EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_app=sched_hangup)
  6572. 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_app]=[sched_hangup]
  6573. EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  6574. 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing]
  6575. EXECUTE sofia/default/48798517722@46.19.210.14 set(callstart=2021-09-14 13:06:13)
  6576. 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [callstart]=[2021-09-14 13:06:13]
  6577. EXECUTE sofia/default/48798517722@46.19.210.14 set(hangup_after_bridge=true)
  6578. 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [hangup_after_bridge]=[true]
  6579. EXECUTE sofia/default/48798517722@46.19.210.14 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  6580. 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]
  6581. EXECUTE sofia/default/48798517722@46.19.210.14 set(account_id=863)
  6582. 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [account_id]=[863]
  6583. EXECUTE sofia/default/48798517722@46.19.210.14 set(parent_id=0)
  6584. 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [parent_id]=[0]
  6585. EXECUTE sofia/default/48798517722@46.19.210.14 set(entity_id=3)
  6586. 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [entity_id]=[3]
  6587. EXECUTE sofia/default/48798517722@46.19.210.14 set(call_processed=internal)
  6588. 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_processed]=[internal]
  6589. EXECUTE sofia/default/48798517722@46.19.210.14 set(call_direction=inbound)
  6590. 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_direction]=[inbound]
  6591. EXECUTE sofia/default/48798517722@46.19.210.14 set(accountname=default)
  6592. 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [accountname]=[default]
  6593. EXECUTE sofia/default/48798517722@46.19.210.14 set(filename1=astpp.pbx.lua)
  6594. 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [filename1]=[astpp.pbx.lua]
  6595. EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851)
  6596. 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates_did]=[ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851]
  6597. EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates=0)
  6598. 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates]=[0]
  6599. EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_name=48798517722)
  6600. 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_name]=[48798517722]
  6601. EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_number=48798517722)
  6602. 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_number]=[48798517722]
  6603. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_name=48798517722)
  6604. 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_name]=[48798517722]
  6605. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_number=48798517722)
  6606. 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_number]=[48798517722]
  6607. EXECUTE sofia/default/48798517722@46.19.210.14 set(receiver_accid=851)
  6608. 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [receiver_accid]=[851]
  6609. EXECUTE sofia/default/48798517722@46.19.210.14 export(domain_name=Voicespin802.newsip.israelnumber.com)
  6610. 2021-09-14 09:06:13.666746 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com]
  6611. EXECUTE sofia/default/48798517722@46.19.210.14 export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  6612. 2021-09-14 09:06:13.666746 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com]
  6613. EXECUTE sofia/default/48798517722@46.19.210.14 limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION)
  6614. 2021-09-14 09:06:13.666746 [DEBUG] switch_limit.c:126 incr called: 48732081792_did_48732081792 max:2, interval:0
  6615. 2021-09-14 09:06:13.666746 [DEBUG] mod_db.c:194 Usage for 48732081792_did_48732081792 is now 1/2
  6616. EXECUTE sofia/default/48798517722@46.19.210.14 export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14)
  6617. 2021-09-14 09:06:13.666746 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14]
  6618. EXECUTE sofia/default/48798517722@46.19.210.14 export(call_type=2)
  6619. 2021-09-14 09:06:13.666746 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2]
  6620. EXECUTE sofia/default/48798517722@46.19.210.14 set(calltype=DIRECT-IP)
  6621. 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [calltype]=[DIRECT-IP]
  6622. EXECUTE sofia/default/48798517722@46.19.210.14 bridge([leg_timeout=30]sofia/default/48732081792@35.205.116.118)
  6623. 2021-09-14 09:06:13.666746 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event
  6624. 2021-09-14 09:06:13.666746 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event
  6625. 2021-09-14 09:06:13.666746 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] to event
  6626. 2021-09-14 09:06:13.666746 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [call_type]=[2] to event
  6627. 2021-09-14 09:06:13.666746 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  6628. 2021-09-14 09:06:13.666746 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  6629. 2021-09-14 09:06:13.666746 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48732081792@35.205.116.118 [89ed3c92-155c-11ec-9f07-7dfb9f6e00f0]
  6630. 2021-09-14 09:06:13.666746 [DEBUG] mod_sofia.c:4819 (sofia/default/48732081792@35.205.116.118) State Change CS_NEW -> CS_INIT
  6631. 2021-09-14 09:06:13.666746 [DEBUG] switch_ivr_originate.c:2963 sofia/default/48732081792@35.205.116.118 Setting leg timeout to 30
  6632. 2021-09-14 09:06:13.666746 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_INIT (Cur 10 Tot 248027)
  6633. 2021-09-14 09:06:13.666746 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT
  6634. 2021-09-14 09:06:13.666746 [DEBUG] mod_sofia.c:90 sofia/default/48732081792@35.205.116.118 SOFIA INIT
  6635. 2021-09-14 09:06:13.666746 [DEBUG] sofia_glue.c:1295 sofia/default/48732081792@35.205.116.118 sending invite version: 1.6.20  64bit
  6636. Local SDP:
  6637. v=0
  6638. o=FreeSWITCH 1631601909 1631601910 IN IP4 89.46.223.193
  6639. s=FreeSWITCH
  6640. c=IN IP4 89.46.223.193
  6641. t=0 0
  6642. m=audio 22864 RTP/AVP 0 101
  6643. a=rtpmap:0 PCMU/8000
  6644. a=rtpmap:101 telephone-event/8000
  6645. a=fmtp:101 0-16
  6646. a=ptime:20
  6647. a=sendrecv
  6648.  
  6649. 2021-09-14 09:06:13.666746 [DEBUG] switch_core_state_machine.c:40 sofia/default/48732081792@35.205.116.118 Standard INIT
  6650. 2021-09-14 09:06:13.666746 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48732081792@35.205.116.118) State Change CS_INIT -> CS_ROUTING
  6651. 2021-09-14 09:06:13.666746 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT going to sleep
  6652. 2021-09-14 09:06:13.666746 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_ROUTING (Cur 10 Tot 248027)
  6653. 2021-09-14 09:06:13.666746 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING
  6654. 2021-09-14 09:06:13.666746 [DEBUG] mod_sofia.c:143 sofia/default/48732081792@35.205.116.118 SOFIA ROUTING
  6655. 2021-09-14 09:06:13.666746 [DEBUG] switch_ivr_originate.c:67 (sofia/default/48732081792@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  6656. 2021-09-14 09:06:13.666746 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING going to sleep
  6657. 2021-09-14 09:06:13.666746 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 10 Tot 248027)
  6658. 2021-09-14 09:06:13.666746 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA
  6659. 2021-09-14 09:06:13.666746 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA going to sleep
  6660. 2021-09-14 09:06:13.666746 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [calling][0]
  6661. 2021-09-14 09:06:14.046671 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [terminated][500]
  6662. 2021-09-14 09:06:14.046671 [NOTICE] sofia.c:8273 Hangup sofia/default/48732081792@35.205.116.118 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
  6663. 2021-09-14 09:06:14.046671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_HANGUP (Cur 10 Tot 248027)
  6664. 2021-09-14 09:06:14.046671 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48732081792@35.205.116.118) Callstate Change DOWN -> HANGUP
  6665. 2021-09-14 09:06:14.046671 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP
  6666. 2021-09-14 09:06:14.046671 [DEBUG] mod_sofia.c:438 Channel sofia/default/48732081792@35.205.116.118 hanging up, cause: NORMAL_TEMPORARY_FAILURE
  6667. 2021-09-14 09:06:14.046671 [DEBUG] switch_core_state_machine.c:60 sofia/default/48732081792@35.205.116.118 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
  6668. 2021-09-14 09:06:14.046671 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP going to sleep
  6669. 2021-09-14 09:06:14.046671 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48732081792@35.205.116.118) State Change CS_HANGUP -> CS_REPORTING
  6670. 2021-09-14 09:06:14.046671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_REPORTING (Cur 10 Tot 248027)
  6671. 2021-09-14 09:06:14.046671 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING
  6672. 2021-09-14 09:06:14.046671 [INFO] mod_json_cdr.c:271 Process [89ed3c92-155c-11ec-9f07-7dfb9f6e00f0.cdr.json]
  6673. 2021-09-14 09:06:14.046671 [DEBUG] switch_core_state_machine.c:174 sofia/default/48732081792@35.205.116.118 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
  6674. 2021-09-14 09:06:14.046671 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING going to sleep
  6675. 2021-09-14 09:06:14.046671 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48732081792@35.205.116.118) State Change CS_REPORTING -> CS_DESTROY
  6676. 2021-09-14 09:06:14.046671 [DEBUG] switch_core_session.c:1665 Session 248027 (sofia/default/48732081792@35.205.116.118) Locked, Waiting on external entities
  6677. 2021-09-14 09:06:14.066674 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
  6678. 2021-09-14 09:06:14.066674 [NOTICE] switch_core_session.c:1683 Session 248027 (sofia/default/48732081792@35.205.116.118) Ended
  6679. 2021-09-14 09:06:14.066674 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48732081792@35.205.116.118 [CS_DESTROY]
  6680. 2021-09-14 09:06:14.066674 [INFO] mod_dptools.c:3436 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
  6681. 2021-09-14 09:06:14.066674 [DEBUG] switch_channel.c:4775 Continue on fail [1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]:  Cause: NORMAL_TEMPORARY_FAILURE
  6682. 2021-09-14 09:06:14.066674 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48732081792@35.205.116.118) Running State Change CS_DESTROY (Cur 9 Tot 248027)
  6683. 2021-09-14 09:06:14.066674 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY
  6684. 2021-09-14 09:06:14.066674 [NOTICE] switch_core_state_machine.c:385 sofia/default/48798517722@46.19.210.14 has executed the last dialplan instruction, hanging up.
  6685. 2021-09-14 09:06:14.066674 [DEBUG] mod_sofia.c:343 sofia/default/48732081792@35.205.116.118 SOFIA DESTROY
  6686. 2021-09-14 09:06:14.066674 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/48798517722@46.19.210.14 [CS_EXECUTE] [NORMAL_CLEARING]
  6687. 2021-09-14 09:06:14.066674 [DEBUG] switch_core_state_machine.c:181 sofia/default/48732081792@35.205.116.118 Standard DESTROY
  6688. 2021-09-14 09:06:14.066674 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY going to sleep
  6689. 2021-09-14 09:06:14.066674 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE going to sleep
  6690. 2021-09-14 09:06:14.066674 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_HANGUP (Cur 9 Tot 248027)
  6691. 2021-09-14 09:06:14.066674 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48798517722@46.19.210.14) Callstate Change RINGING -> HANGUP
  6692. 2021-09-14 09:06:14.066674 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP
  6693. 2021-09-14 09:06:14.066674 [DEBUG] mod_sofia.c:432 sofia/default/48798517722@46.19.210.14 Overriding SIP cause 480 with 500 from the other leg
  6694. 2021-09-14 09:06:14.066674 [DEBUG] mod_sofia.c:438 Channel sofia/default/48798517722@46.19.210.14 hanging up, cause: NORMAL_CLEARING
  6695. 2021-09-14 09:06:14.066674 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 500
  6696. 2021-09-14 09:06:14.066674 [DEBUG] switch_core_state_machine.c:60 sofia/default/48798517722@46.19.210.14 Standard HANGUP, cause: NORMAL_CLEARING
  6697. 2021-09-14 09:06:14.066674 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP going to sleep
  6698. 2021-09-14 09:06:14.066674 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48798517722@46.19.210.14) State Change CS_HANGUP -> CS_REPORTING
  6699. 2021-09-14 09:06:14.066674 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_REPORTING (Cur 9 Tot 248027)
  6700. 2021-09-14 09:06:14.066674 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING
  6701. 2021-09-14 09:06:14.066674 [INFO] mod_json_cdr.c:271 Process [89e72e24-155c-11ec-9ee7-7dfb9f6e00f0.cdr.json]
  6702. 2021-09-14 09:06:14.126668 [DEBUG] switch_core_state_machine.c:174 sofia/default/48798517722@46.19.210.14 Standard REPORTING, cause: NORMAL_CLEARING
  6703. 2021-09-14 09:06:14.126668 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING going to sleep
  6704. 2021-09-14 09:06:14.126668 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48798517722@46.19.210.14) State Change CS_REPORTING -> CS_DESTROY
  6705. 2021-09-14 09:06:14.126668 [DEBUG] switch_core_session.c:1665 Session 248026 (sofia/default/48798517722@46.19.210.14) Locked, Waiting on external entities
  6706. 2021-09-14 09:06:14.126668 [NOTICE] switch_core_session.c:1683 Session 248026 (sofia/default/48798517722@46.19.210.14) Ended
  6707. 2021-09-14 09:06:14.126668 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48798517722@46.19.210.14 [CS_DESTROY]
  6708. 2021-09-14 09:06:14.126668 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48798517722@46.19.210.14) Running State Change CS_DESTROY (Cur 8 Tot 248027)
  6709. 2021-09-14 09:06:14.126668 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY
  6710. 2021-09-14 09:06:14.126668 [DEBUG] mod_sofia.c:343 sofia/default/48798517722@46.19.210.14 SOFIA DESTROY
  6711. 2021-09-14 09:06:14.126668 [DEBUG] switch_core_state_machine.c:181 sofia/default/48798517722@46.19.210.14 Standard DESTROY
  6712. 2021-09-14 09:06:14.126668 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY going to sleep
  6713. 2021-09-14 09:06:20.566793 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48798517722@46.19.210.14 [8e076abe-155c-11ec-9f0b-7dfb9f6e00f0]
  6714. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_NEW (Cur 9 Tot 248028)
  6715. 2021-09-14 09:06:20.566793 [DEBUG] sofia.c:9873 sofia/default/48798517722@46.19.210.14 receiving invite from 136.243.196.198:5060 version: 1.6.20  64bit
  6716. 2021-09-14 09:06:20.566793 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
  6717. 2021-09-14 09:06:20.566793 [DEBUG] sofia.c:7084 Channel sofia/default/48798517722@46.19.210.14 entering state [received][100]
  6718. 2021-09-14 09:06:20.566793 [DEBUG] sofia.c:7094 Remote SDP:
  6719. v=0
  6720. o=didww-sbc 1902201824 32762 IN IP4 46.19.210.23
  6721. s=didww-sbc
  6722. t=0 0
  6723. m=audio 46976 RTP/AVP 0 8 18 4 101
  6724. c=IN IP4 46.19.210.23
  6725. a=rtpmap:0 PCMU/8000
  6726. a=rtpmap:8 PCMA/8000
  6727. a=rtpmap:18 G729/8000
  6728. a=fmtp:18 annexb=no
  6729. a=rtpmap:4 G723/8000
  6730. a=rtpmap:101 telephone-event/8000
  6731. a=ptime:20
  6732.  
  6733. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  6734. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  6735. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  6736. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  6737. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  6738. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  6739. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  6740. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  6741. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  6742. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  6743. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  6744. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  6745. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1]
  6746. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1]
  6747. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:20:8000:1]
  6748. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  6749. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/48798517722@46.19.210.14 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  6750. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_codec.c:111 sofia/default/48798517722@46.19.210.14 Original read codec set to PCMU:0
  6751. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  6752. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:4767 sofia/default/48798517722@46.19.210.14 Set 2833 dtmf send payload to 101 recv payload to 101
  6753. 2021-09-14 09:06:20.566793 [DEBUG] sofia.c:7507 (sofia/default/48798517722@46.19.210.14) State Change CS_NEW -> CS_INIT
  6754. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:603 (sofia/default/48798517722@46.19.210.14) State NEW
  6755. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_INIT (Cur 9 Tot 248028)
  6756. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT
  6757. 2021-09-14 09:06:20.566793 [DEBUG] mod_sofia.c:90 sofia/default/48798517722@46.19.210.14 SOFIA INIT
  6758. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:40 sofia/default/48798517722@46.19.210.14 Standard INIT
  6759. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48798517722@46.19.210.14) State Change CS_INIT -> CS_ROUTING
  6760. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT going to sleep
  6761. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_ROUTING (Cur 9 Tot 248028)
  6762. 2021-09-14 09:06:20.566793 [DEBUG] switch_channel.c:2249 (sofia/default/48798517722@46.19.210.14) Callstate Change DOWN -> RINGING
  6763. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING
  6764. 2021-09-14 09:06:20.566793 [DEBUG] mod_sofia.c:143 sofia/default/48798517722@46.19.210.14 SOFIA ROUTING
  6765. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:236 sofia/default/48798517722@46.19.210.14 Standard ROUTING
  6766. 2021-09-14 09:06:20.566793 [INFO] mod_dialplan_xml.c:637 Processing 48798517722 <48798517722>->48732081792 in context default
  6767. 2021-09-14 09:06:20.566793 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected.
  6768. 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  6769. 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  6770. 2021-09-14 09:06:20.566793 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params:
  6771. 'Event-Name: REQUEST_PARAMS
  6772. Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0
  6773. FreeSWITCH-Hostname: astpp1.local
  6774. FreeSWITCH-Switchname: astpp1.local
  6775. FreeSWITCH-IPv4: 89.46.223.193
  6776. FreeSWITCH-IPv6: %3A%3A1
  6777. Event-Date-Local: 2021-09-14%2009%3A06%3A20
  6778. Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A06%3A20%20GMT
  6779. Event-Date-Timestamp: 1631624780566793
  6780. Event-Calling-File: mod_dialplan_xml.c
  6781. Event-Calling-Function: dialplan_xml_locate
  6782. Event-Calling-Line-Number: 608
  6783. Event-Sequence: 7528501
  6784. Channel-State: CS_ROUTING
  6785. Channel-Call-State: RINGING
  6786. Channel-State-Number: 2
  6787. Channel-Name: sofia/default/48798517722%4046.19.210.14
  6788. Unique-ID: 8e076abe-155c-11ec-9f0b-7dfb9f6e00f0
  6789. Call-Direction: inbound
  6790. Presence-Call-Direction: inbound
  6791. Channel-HIT-Dialplan: true
  6792. Channel-Presence-ID: 48798517722%4046.19.210.14
  6793. Channel-Call-UUID: 8e076abe-155c-11ec-9f0b-7dfb9f6e00f0
  6794. Answer-State: ringing
  6795. Channel-Read-Codec-Name: PCMU
  6796. Channel-Read-Codec-Rate: 8000
  6797. Channel-Read-Codec-Bit-Rate: 64000
  6798. Channel-Write-Codec-Name: PCMU
  6799. Channel-Write-Codec-Rate: 8000
  6800. Channel-Write-Codec-Bit-Rate: 64000
  6801. Caller-Direction: inbound
  6802. Caller-Logical-Direction: inbound
  6803. Caller-Username: 48798517722
  6804. Caller-Dialplan: XML
  6805. Caller-Caller-ID-Name: 48798517722
  6806. Caller-Caller-ID-Number: 48798517722
  6807. Caller-Orig-Caller-ID-Name: 48798517722
  6808. Caller-Orig-Caller-ID-Number: 48798517722
  6809. Caller-Network-Addr: 136.243.196.198
  6810. Caller-ANI: 48798517722
  6811. Caller-Destination-Number: 48732081792
  6812. Caller-Unique-ID: 8e076abe-155c-11ec-9f0b-7dfb9f6e00f0
  6813. Caller-Source: mod_sofia
  6814. Caller-Context: default
  6815. Caller-Channel-Name: sofia/default/48798517722%4046.19.210.14
  6816. Caller-Profile-Index: 1
  6817. Caller-Profile-Created-Time: 1631624780566793
  6818. Caller-Channel-Created-Time: 1631624780566793
  6819. Caller-Channel-Answered-Time: 0
  6820. Caller-Channel-Progress-Time: 0
  6821. Caller-Channel-Progress-Media-Time: 0
  6822. Caller-Channel-Hangup-Time: 0
  6823. Caller-Channel-Transfer-Time: 0
  6824. Caller-Channel-Resurrect-Time: 0
  6825. Caller-Channel-Bridged-Time: 0
  6826. Caller-Channel-Last-Hold: 0
  6827. Caller-Channel-Hold-Accum: 0
  6828. Caller-Screen-Bit: true
  6829. Caller-Privacy-Hide-Name: false
  6830. Caller-Privacy-Hide-Number: false
  6831. variable_direction: inbound
  6832. variable_uuid: 8e076abe-155c-11ec-9f0b-7dfb9f6e00f0
  6833. variable_session_id: 248028
  6834. variable_sip_from_user: 48798517722
  6835. variable_sip_from_uri: 48798517722%4046.19.210.14
  6836. variable_sip_from_host: 46.19.210.14
  6837. variable_video_media_flow: sendrecv
  6838. variable_channel_name: sofia/default/48798517722%4046.19.210.14
  6839. variable_sip_call_id: 14-14-287E5FCE-61409E4C00081732-71622700
  6840. variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b
  6841. variable_sip_local_network_addr: 89.46.223.193
  6842. variable_sip_network_ip: 136.243.196.198
  6843. variable_sip_network_port: 5060
  6844. variable_sip_invite_stamp: 1631624780566793
  6845. variable_sip_received_ip: 136.243.196.198
  6846. variable_sip_received_port: 5060
  6847. variable_sip_via_protocol: udp
  6848. variable_sip_authorized: true
  6849. variable_sip_acl_authed_by: default
  6850. variable_sip_from_user_stripped: 48798517722
  6851. variable_sip_from_tag: 14-2B13DB5A-61409E4C0008167C-71622700
  6852. variable_sofia_profile_name: default
  6853. variable_recovery_profile_name: default
  6854. variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D0f4.b54e116%3E
  6855. variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D0f4.b54e116%3E
  6856. variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bKf0c8.73d49fe.0,SIP/2.0/UDP%2046.19.210.14%3Breceived%3D46.19.210.14%3Bbranch%3Dz9hG4bKrWMwgam1%3Brport%3D5060
  6857. variable_sip_from_display: 48798517722
  6858. variable_sip_full_from: %2248798517722%22%20%3Csip%3A48798517722%4046.19.210.14%3E%3Btag%3D14-2B13DB5A-61409E4C0008167C-71622700
  6859. variable_sip_full_to: %3Csip%3A48732081792%40newsip.israelnumber.com%3A5060%3E
  6860. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20UPDATE
  6861. variable_sip_req_user: 48732081792
  6862. variable_sip_req_port: 5060
  6863. variable_sip_req_uri: 48732081792%40newsip.israelnumber.com%3A5060
  6864. variable_sip_req_host: newsip.israelnumber.com
  6865. variable_sip_to_user: 48732081792
  6866. variable_sip_to_port: 5060
  6867. variable_sip_to_uri: 48732081792%40newsip.israelnumber.com%3A5060
  6868. variable_sip_to_host: newsip.israelnumber.com
  6869. variable_sip_contact_params: transport%3Dudp
  6870. variable_sip_contact_user: nobody
  6871. variable_sip_contact_port: 5060
  6872. variable_sip_contact_uri: nobody%4046.19.210.14%3A5060
  6873. variable_sip_contact_host: 46.19.210.14
  6874. variable_sip_user_agent: DIDWW%20SBC%20node
  6875. variable_sip_via_host: 136.243.196.198
  6876. variable_sip_via_port: 5060
  6877. variable_max_forwards: 30
  6878. variable_presence_id: 48798517722%4046.19.210.14
  6879. variable_sip_h_X-AUTH-IP: 46.19.210.14
  6880. variable_sip_h_P-Accountcode: 714761424818
  6881. variable_sip_h_P-effective_caller_id_name: 48798517722
  6882. variable_sip_h_P-effective_caller_id_number: 48798517722
  6883. variable_switch_r_sdp: v%3D0%0D%0Ao%3Ddidww-sbc%201902201824%2032762%20IN%20IP4%2046.19.210.23%0D%0As%3Ddidww-sbc%0D%0At%3D0%200%0D%0Am%3Daudio%2046976%20RTP/AVP%200%208%2018%204%20101%0D%0Ac%3DIN%20IP4%2046.19.210.23%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A4%20G723/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dptime%3A20%0D%0A
  6884. variable_rtp_use_codec_string: PCMA,PCMU,G729
  6885. variable_audio_media_flow: sendrecv
  6886. variable_remote_media_ip: 46.19.210.23
  6887. variable_remote_media_port: 46976
  6888. variable_rtp_audio_recv_pt: 0
  6889. variable_rtp_use_codec_name: PCMU
  6890. variable_rtp_use_codec_rate: 8000
  6891. variable_rtp_use_codec_ptime: 20
  6892. variable_rtp_use_codec_channels: 1
  6893. variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c
  6894. variable_read_codec: PCMU
  6895. variable_original_read_codec: PCMU
  6896. variable_read_rate: 8000
  6897. variable_original_read_rate: 8000
  6898. variable_write_codec: PCMU
  6899. variable_write_rate: 8000
  6900. variable_dtmf_type: rfc2833
  6901. variable_endpoint_disposition: RECEIVED
  6902. variable_call_uuid: 8e076abe-155c-11ec-9f0b-7dfb9f6e00f0
  6903. Hunt-Direction: inbound
  6904. Hunt-Logical-Direction: inbound
  6905. Hunt-Username: 48798517722
  6906. Hunt-Dialplan: XML
  6907. Hunt-Caller-ID-Name: 48798517722
  6908. Hunt-Caller-ID-Number: 48798517722
  6909. Hunt-Orig-Caller-ID-Name: 48798517722
  6910. Hunt-Orig-Caller-ID-Number: 48798517722
  6911. Hunt-Network-Addr: 136.243.196.198
  6912. Hunt-ANI: 48798517722
  6913. Hunt-Destination-Number: 48732081792
  6914. Hunt-Unique-ID: 8e076abe-155c-11ec-9f0b-7dfb9f6e00f0
  6915. Hunt-Source: mod_sofia
  6916. Hunt-Context: default
  6917. Hunt-Channel-Name: sofia/default/48798517722%4046.19.210.14
  6918. Hunt-Profile-Index: 1
  6919. Hunt-Profile-Created-Time: 1631624780566793
  6920. Hunt-Channel-Created-Time: 1631624780566793
  6921. Hunt-Channel-Answered-Time: 0
  6922. Hunt-Channel-Progress-Time: 0
  6923. Hunt-Channel-Progress-Media-Time: 0
  6924. Hunt-Channel-Hangup-Time: 0
  6925. Hunt-Channel-Transfer-Time: 0
  6926. Hunt-Channel-Resurrect-Time: 0
  6927. Hunt-Channel-Bridged-Time: 0
  6928. Hunt-Channel-Last-Hold: 0
  6929. Hunt-Channel-Hold-Accum: 0
  6930. Hunt-Screen-Bit: true
  6931. Hunt-Privacy-Hide-Name: false
  6932. Hunt-Privacy-Hide-Number: false
  6933.  
  6934. '
  6935. 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name:
  6936. 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value:
  6937. 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name:
  6938. 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan
  6939. 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  6940. 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 48732081792
  6941. 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '48732081792' limit 1
  6942. 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '48732081792' AND status=0 limit 1
  6943. 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '46.19.210.14' limit 1
  6944. 2021-09-14 09:06:20.566793 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  6945. 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 48798517722 / 48798517722
  6946. 2021-09-14 09:06:20.566793 [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 ="48732081792" LIMIT 1
  6947. 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
  6948. 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 714761424818]
  6949. 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "714761424818" OR number = "714761424818" AND deleted = 0 limit 1
  6950. 2021-09-14 09:06:20.566793 [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 ="48732081792" AND A.accountid = '863' limit 1
  6951. 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 48732081792
  6952. 2021-09-14 09:06:20.566793 [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 ="48732081792" LIMIT 1
  6953. 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound
  6954. 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="48732081792" AND (accountid = 0 OR status = 1) LIMIT 1
  6955. 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  6956. 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851
  6957. 2021-09-14 09:06:20.566793 [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 = '^48732081792.*' OR patterns = '^4873208179.*' OR patterns = '^487320817.*' OR patterns = '^48732081.*' OR patterns = '^4873208.*' OR patterns = '^487320.*' OR patterns = '^48732.*' OR patterns = '^4873.*' OR patterns = '^487.*' OR patterns = '^48.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC
  6958. 2021-09-14 09:06:20.566793 [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 = '48732081792' OR number = '4873208179' OR number = '487320817' OR number = '48732081' OR number = '4873208' OR number = '487320' OR number = '48732' OR number = '4873' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48732081792*' OR number = '4873208179*' OR number = '487320817*' OR number = '48732081*' OR number = '4873208*' OR number = '487320*' OR number = '48732*' OR number = '4873*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--') OR (number = '48798517722' OR number = '4879851772' OR number = '487985177' OR number = '48798517' OR number = '4879851' OR number = '487985' OR number = '48798' OR number = '4879' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48798517722*' OR number = '4879851772*' OR number = '487985177*' OR number = '48798517*' OR number = '4879851*' OR number = '487985*' OR number = '48798*' OR number = '4879*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  6959. 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  6960. 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '48732081792' OR routing_prefix = '4873208179' OR routing_prefix = '487320817' OR routing_prefix = '48732081' OR routing_prefix = '4873208' OR routing_prefix = '487320' OR routing_prefix = '48732' OR routing_prefix = '4873' OR routing_prefix = '487' OR routing_prefix = '48' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  6961. 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  6962. 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 863
  6963. 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 714761424818
  6964. 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000
  6965. 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  6966. 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1
  6967. 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  6968. 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  6969. 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  6970. 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  6971. 2021-09-14 09:06:20.566793 [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 ="48732081792" LIMIT 1
  6972. 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound
  6973. 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  6974. 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 8057
  6975. 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  6976. 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  6977. 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  6978. 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Mobile Voice
  6979. 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 153
  6980. 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 863
  6981. 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  6982. 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 863 !!!
  6983. 2021-09-14 09:06:20.566793 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180
  6984. 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
  6985. 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  6986. 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  6987. 2021-09-14 09:06:20.566793 [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 = 863 AND status=0 LIMIT 1
  6988. 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" OR number = "851" AND deleted = 0 limit 1
  6989. 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:863
  6990. 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:863
  6991. 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 863
  6992. 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  6993. 2021-09-14 09:06:20.566793 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  6994. 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
  6995. 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  6996. 2021-09-14 09:06:20.566793 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  6997. 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2
  6998. 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  6999. <document type="freeswitch/xml">
  7000. <section name="dialplan" description="ASTPP Dialplan">
  7001. <context name="default">
  7002. <extension name="48732081792">
  7003. <condition field="destination_number" expression="48732081792">
  7004. <action application="set" data="effective_destination_number=48732081792"/>
  7005. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  7006. <action application="set" data="bridge_pre_execute_bleg_data=+10800 normal_clearing"/>
  7007. <action application="set" data="callstart=2021-09-14 13:06:20"/>
  7008. <action application="set" data="hangup_after_bridge=true"/>
  7009. <action application="set" data="continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602"/>
  7010. <action application="set" data="account_id=863"/>
  7011. <action application="set" data="parent_id=0"/>
  7012. <action application="set" data="entity_id=3"/>
  7013. <action application="set" data="call_processed=internal"/>
  7014. <action application="set" data="call_direction=inbound"/>
  7015. <action application="set" data="accountname=default"/>
  7016. <action application="set" data="filename1=astpp.pbx.lua"/>
  7017. <action application="set" data="origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851"/>
  7018. <action application="set" data="origination_rates=0"/>
  7019. <action application="set" data="original_caller_id_name=48798517722"/>
  7020. <action application="set" data="original_caller_id_number=48798517722"/>
  7021. <action application="set" data="effective_caller_id_name=48798517722"/>
  7022. <action application="set" data="effective_caller_id_number=48798517722"/>
  7023. <action application="set" data="receiver_accid=851"/>
  7024. <action application="export" data="domain_name=Voicespin802.newsip.israelnumber.com"/>
  7025. <action application="export" data="sip_to_host=Voicespin802.newsip.israelnumber.com"/>
  7026. <action application="limit" data="db 48732081792 did_48732081792 2 !SWITCH_CONGESTION"/>
  7027. <action application="export" data="presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14"/>
  7028. <action application="export" data="call_type=2"/>
  7029. <action application="set" data="calltype=DIRECT-IP"/>
  7030. <action application="bridge" data="[leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118"/>
  7031. </condition>
  7032. </extension>
  7033. </context>
  7034. </section>
  7035. </document>
  7036. 2021-09-14 09:06:20.566793 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released.
  7037. Dialplan: sofia/default/48798517722@46.19.210.14 parsing [default->48732081792] continue=false
  7038. Dialplan: sofia/default/48798517722@46.19.210.14 Regex (PASS) [48732081792] destination_number(48732081792) =~ /48732081792/ break=on-false
  7039. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_destination_number=48732081792)
  7040. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  7041. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  7042. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(callstart=2021-09-14 13:06:20)
  7043. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(hangup_after_bridge=true)
  7044. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  7045. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(account_id=863)
  7046. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(parent_id=0)
  7047. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(entity_id=3)
  7048. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_processed=internal)
  7049. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_direction=inbound)
  7050. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(accountname=default)
  7051. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(filename1=astpp.pbx.lua)
  7052. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851)
  7053. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates=0)
  7054. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_name=48798517722)
  7055. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_number=48798517722)
  7056. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_name=48798517722)
  7057. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_number=48798517722)
  7058. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(receiver_accid=851)
  7059. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(domain_name=Voicespin802.newsip.israelnumber.com)
  7060. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  7061. Dialplan: sofia/default/48798517722@46.19.210.14 Action limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION)
  7062. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14)
  7063. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(call_type=2)
  7064. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(calltype=DIRECT-IP)
  7065. Dialplan: sofia/default/48798517722@46.19.210.14 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118)
  7066. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:286 (sofia/default/48798517722@46.19.210.14) State Change CS_ROUTING -> CS_EXECUTE
  7067. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING going to sleep
  7068. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_EXECUTE (Cur 9 Tot 248028)
  7069. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE
  7070. 2021-09-14 09:06:20.566793 [DEBUG] mod_sofia.c:198 sofia/default/48798517722@46.19.210.14 SOFIA EXECUTE
  7071. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:328 sofia/default/48798517722@46.19.210.14 Standard EXECUTE
  7072. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_destination_number=48732081792)
  7073. 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_destination_number]=[48732081792]
  7074. EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_app=sched_hangup)
  7075. 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_app]=[sched_hangup]
  7076. EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  7077. 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing]
  7078. EXECUTE sofia/default/48798517722@46.19.210.14 set(callstart=2021-09-14 13:06:20)
  7079. 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [callstart]=[2021-09-14 13:06:20]
  7080. EXECUTE sofia/default/48798517722@46.19.210.14 set(hangup_after_bridge=true)
  7081. 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [hangup_after_bridge]=[true]
  7082. EXECUTE sofia/default/48798517722@46.19.210.14 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  7083. 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]
  7084. EXECUTE sofia/default/48798517722@46.19.210.14 set(account_id=863)
  7085. 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [account_id]=[863]
  7086. EXECUTE sofia/default/48798517722@46.19.210.14 set(parent_id=0)
  7087. 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [parent_id]=[0]
  7088. EXECUTE sofia/default/48798517722@46.19.210.14 set(entity_id=3)
  7089. 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [entity_id]=[3]
  7090. EXECUTE sofia/default/48798517722@46.19.210.14 set(call_processed=internal)
  7091. 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_processed]=[internal]
  7092. EXECUTE sofia/default/48798517722@46.19.210.14 set(call_direction=inbound)
  7093. 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_direction]=[inbound]
  7094. EXECUTE sofia/default/48798517722@46.19.210.14 set(accountname=default)
  7095. 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [accountname]=[default]
  7096. EXECUTE sofia/default/48798517722@46.19.210.14 set(filename1=astpp.pbx.lua)
  7097. 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [filename1]=[astpp.pbx.lua]
  7098. EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851)
  7099. 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates_did]=[ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851]
  7100. EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates=0)
  7101. 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates]=[0]
  7102. EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_name=48798517722)
  7103. 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_name]=[48798517722]
  7104. EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_number=48798517722)
  7105. 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_number]=[48798517722]
  7106. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_name=48798517722)
  7107. 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_name]=[48798517722]
  7108. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_number=48798517722)
  7109. 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_number]=[48798517722]
  7110. EXECUTE sofia/default/48798517722@46.19.210.14 set(receiver_accid=851)
  7111. 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [receiver_accid]=[851]
  7112. EXECUTE sofia/default/48798517722@46.19.210.14 export(domain_name=Voicespin802.newsip.israelnumber.com)
  7113. 2021-09-14 09:06:20.566793 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com]
  7114. EXECUTE sofia/default/48798517722@46.19.210.14 export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  7115. 2021-09-14 09:06:20.566793 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com]
  7116. EXECUTE sofia/default/48798517722@46.19.210.14 limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION)
  7117. 2021-09-14 09:06:20.566793 [DEBUG] switch_limit.c:126 incr called: 48732081792_did_48732081792 max:2, interval:0
  7118. 2021-09-14 09:06:20.566793 [DEBUG] mod_db.c:194 Usage for 48732081792_did_48732081792 is now 1/2
  7119. EXECUTE sofia/default/48798517722@46.19.210.14 export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14)
  7120. 2021-09-14 09:06:20.566793 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14]
  7121. EXECUTE sofia/default/48798517722@46.19.210.14 export(call_type=2)
  7122. 2021-09-14 09:06:20.566793 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2]
  7123. EXECUTE sofia/default/48798517722@46.19.210.14 set(calltype=DIRECT-IP)
  7124. 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [calltype]=[DIRECT-IP]
  7125. EXECUTE sofia/default/48798517722@46.19.210.14 bridge([leg_timeout=30]sofia/default/48732081792@35.205.116.118)
  7126. 2021-09-14 09:06:20.566793 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event
  7127. 2021-09-14 09:06:20.566793 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event
  7128. 2021-09-14 09:06:20.566793 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] to event
  7129. 2021-09-14 09:06:20.566793 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [call_type]=[2] to event
  7130. 2021-09-14 09:06:20.566793 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  7131. 2021-09-14 09:06:20.566793 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  7132. 2021-09-14 09:06:20.566793 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48732081792@35.205.116.118 [8e0caa24-155c-11ec-9f2b-7dfb9f6e00f0]
  7133. 2021-09-14 09:06:20.566793 [DEBUG] mod_sofia.c:4819 (sofia/default/48732081792@35.205.116.118) State Change CS_NEW -> CS_INIT
  7134. 2021-09-14 09:06:20.566793 [DEBUG] switch_ivr_originate.c:2963 sofia/default/48732081792@35.205.116.118 Setting leg timeout to 30
  7135. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_INIT (Cur 10 Tot 248029)
  7136. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT
  7137. 2021-09-14 09:06:20.566793 [DEBUG] mod_sofia.c:90 sofia/default/48732081792@35.205.116.118 SOFIA INIT
  7138. 2021-09-14 09:06:20.566793 [DEBUG] sofia_glue.c:1295 sofia/default/48732081792@35.205.116.118 sending invite version: 1.6.20  64bit
  7139. Local SDP:
  7140. v=0
  7141. o=FreeSWITCH 1631597274 1631597275 IN IP4 89.46.223.193
  7142. s=FreeSWITCH
  7143. c=IN IP4 89.46.223.193
  7144. t=0 0
  7145. m=audio 27506 RTP/AVP 0 101
  7146. a=rtpmap:0 PCMU/8000
  7147. a=rtpmap:101 telephone-event/8000
  7148. a=fmtp:101 0-16
  7149. a=ptime:20
  7150. a=sendrecv
  7151.  
  7152. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:40 sofia/default/48732081792@35.205.116.118 Standard INIT
  7153. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48732081792@35.205.116.118) State Change CS_INIT -> CS_ROUTING
  7154. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT going to sleep
  7155. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_ROUTING (Cur 10 Tot 248029)
  7156. 2021-09-14 09:06:20.566793 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [calling][0]
  7157. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING
  7158. 2021-09-14 09:06:20.566793 [DEBUG] mod_sofia.c:143 sofia/default/48732081792@35.205.116.118 SOFIA ROUTING
  7159. 2021-09-14 09:06:20.566793 [DEBUG] switch_ivr_originate.c:67 (sofia/default/48732081792@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  7160. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING going to sleep
  7161. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 10 Tot 248029)
  7162. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA
  7163. 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA going to sleep
  7164. 2021-09-14 09:06:20.826721 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [terminated][500]
  7165. 2021-09-14 09:06:20.826721 [NOTICE] sofia.c:8273 Hangup sofia/default/48732081792@35.205.116.118 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
  7166. 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_HANGUP (Cur 10 Tot 248029)
  7167. 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48732081792@35.205.116.118) Callstate Change DOWN -> HANGUP
  7168. 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP
  7169. 2021-09-14 09:06:20.826721 [DEBUG] mod_sofia.c:438 Channel sofia/default/48732081792@35.205.116.118 hanging up, cause: NORMAL_TEMPORARY_FAILURE
  7170. 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:60 sofia/default/48732081792@35.205.116.118 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
  7171. 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP going to sleep
  7172. 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48732081792@35.205.116.118) State Change CS_HANGUP -> CS_REPORTING
  7173. 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_REPORTING (Cur 10 Tot 248029)
  7174. 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING
  7175. 2021-09-14 09:06:20.826721 [INFO] mod_json_cdr.c:271 Process [8e0caa24-155c-11ec-9f2b-7dfb9f6e00f0.cdr.json]
  7176. 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:174 sofia/default/48732081792@35.205.116.118 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
  7177. 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING going to sleep
  7178. 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48732081792@35.205.116.118) State Change CS_REPORTING -> CS_DESTROY
  7179. 2021-09-14 09:06:20.826721 [DEBUG] switch_core_session.c:1665 Session 248029 (sofia/default/48732081792@35.205.116.118) Locked, Waiting on external entities
  7180. 2021-09-14 09:06:20.826721 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
  7181. 2021-09-14 09:06:20.826721 [NOTICE] switch_core_session.c:1683 Session 248029 (sofia/default/48732081792@35.205.116.118) Ended
  7182. 2021-09-14 09:06:20.826721 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48732081792@35.205.116.118 [CS_DESTROY]
  7183. 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48732081792@35.205.116.118) Running State Change CS_DESTROY (Cur 9 Tot 248029)
  7184. 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY
  7185. 2021-09-14 09:06:20.826721 [DEBUG] mod_sofia.c:343 sofia/default/48732081792@35.205.116.118 SOFIA DESTROY
  7186. 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:181 sofia/default/48732081792@35.205.116.118 Standard DESTROY
  7187. 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY going to sleep
  7188. 2021-09-14 09:06:20.826721 [INFO] mod_dptools.c:3436 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
  7189. 2021-09-14 09:06:20.826721 [DEBUG] switch_channel.c:4775 Continue on fail [1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]:  Cause: NORMAL_TEMPORARY_FAILURE
  7190. 2021-09-14 09:06:20.826721 [NOTICE] switch_core_state_machine.c:385 sofia/default/48798517722@46.19.210.14 has executed the last dialplan instruction, hanging up.
  7191. 2021-09-14 09:06:20.826721 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/48798517722@46.19.210.14 [CS_EXECUTE] [NORMAL_CLEARING]
  7192. 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE going to sleep
  7193. 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_HANGUP (Cur 9 Tot 248029)
  7194. 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48798517722@46.19.210.14) Callstate Change RINGING -> HANGUP
  7195. 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP
  7196. 2021-09-14 09:06:20.826721 [DEBUG] mod_sofia.c:432 sofia/default/48798517722@46.19.210.14 Overriding SIP cause 480 with 500 from the other leg
  7197. 2021-09-14 09:06:20.826721 [DEBUG] mod_sofia.c:438 Channel sofia/default/48798517722@46.19.210.14 hanging up, cause: NORMAL_CLEARING
  7198. 2021-09-14 09:06:20.846677 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 500
  7199. 2021-09-14 09:06:20.846677 [DEBUG] switch_core_state_machine.c:60 sofia/default/48798517722@46.19.210.14 Standard HANGUP, cause: NORMAL_CLEARING
  7200. 2021-09-14 09:06:20.846677 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP going to sleep
  7201. 2021-09-14 09:06:20.846677 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48798517722@46.19.210.14) State Change CS_HANGUP -> CS_REPORTING
  7202. 2021-09-14 09:06:20.846677 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_REPORTING (Cur 9 Tot 248029)
  7203. 2021-09-14 09:06:20.846677 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING
  7204. 2021-09-14 09:06:20.846677 [INFO] mod_json_cdr.c:271 Process [8e076abe-155c-11ec-9f0b-7dfb9f6e00f0.cdr.json]
  7205. 2021-09-14 09:06:20.846677 [DEBUG] switch_core_state_machine.c:174 sofia/default/48798517722@46.19.210.14 Standard REPORTING, cause: NORMAL_CLEARING
  7206. 2021-09-14 09:06:20.846677 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING going to sleep
  7207. 2021-09-14 09:06:20.846677 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48798517722@46.19.210.14) State Change CS_REPORTING -> CS_DESTROY
  7208. 2021-09-14 09:06:20.846677 [DEBUG] switch_core_session.c:1665 Session 248028 (sofia/default/48798517722@46.19.210.14) Locked, Waiting on external entities
  7209. 2021-09-14 09:06:20.846677 [NOTICE] switch_core_session.c:1683 Session 248028 (sofia/default/48798517722@46.19.210.14) Ended
  7210. 2021-09-14 09:06:20.846677 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48798517722@46.19.210.14 [CS_DESTROY]
  7211. 2021-09-14 09:06:20.846677 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48798517722@46.19.210.14) Running State Change CS_DESTROY (Cur 8 Tot 248029)
  7212. 2021-09-14 09:06:20.846677 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY
  7213. 2021-09-14 09:06:20.846677 [DEBUG] mod_sofia.c:343 sofia/default/48798517722@46.19.210.14 SOFIA DESTROY
  7214. 2021-09-14 09:06:20.846677 [DEBUG] switch_core_state_machine.c:181 sofia/default/48798517722@46.19.210.14 Standard DESTROY
  7215. 2021-09-14 09:06:20.846677 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY going to sleep
  7216. 2021-09-14 09:06:23.486754 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48798517722@46.19.210.14 [8fc620fc-155c-11ec-9f2f-7dfb9f6e00f0]
  7217. 2021-09-14 09:06:23.486754 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_NEW (Cur 9 Tot 248030)
  7218. 2021-09-14 09:06:23.486754 [DEBUG] sofia.c:9873 sofia/default/48798517722@46.19.210.14 receiving invite from 136.243.196.198:5060 version: 1.6.20  64bit
  7219. 2021-09-14 09:06:23.486754 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
  7220. 2021-09-14 09:06:23.486754 [DEBUG] sofia.c:7084 Channel sofia/default/48798517722@46.19.210.14 entering state [received][100]
  7221. 2021-09-14 09:06:23.486754 [DEBUG] sofia.c:7094 Remote SDP:
  7222. v=0
  7223. o=didww-sbc 3677244384 32695 IN IP4 46.19.210.39
  7224. s=didww-sbc
  7225. t=0 0
  7226. m=audio 59328 RTP/AVP 0 8 18 4 101
  7227. c=IN IP4 46.19.210.39
  7228. a=rtpmap:0 PCMU/8000
  7229. a=rtpmap:8 PCMA/8000
  7230. a=rtpmap:18 G729/8000
  7231. a=fmtp:18 annexb=no
  7232. a=rtpmap:4 G723/8000
  7233. a=rtpmap:101 telephone-event/8000
  7234. a=ptime:20
  7235.  
  7236. 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  7237. 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  7238. 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  7239. 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  7240. 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  7241. 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  7242. 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  7243. 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  7244. 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  7245. 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  7246. 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  7247. 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  7248. 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1]
  7249. 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1]
  7250. 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:20:8000:1]
  7251. 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  7252. 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/48798517722@46.19.210.14 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  7253. 2021-09-14 09:06:23.486754 [DEBUG] switch_core_codec.c:111 sofia/default/48798517722@46.19.210.14 Original read codec set to PCMU:0
  7254. 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  7255. 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:4767 sofia/default/48798517722@46.19.210.14 Set 2833 dtmf send payload to 101 recv payload to 101
  7256. 2021-09-14 09:06:23.486754 [DEBUG] sofia.c:7507 (sofia/default/48798517722@46.19.210.14) State Change CS_NEW -> CS_INIT
  7257. 2021-09-14 09:06:23.486754 [DEBUG] switch_core_state_machine.c:603 (sofia/default/48798517722@46.19.210.14) State NEW
  7258. 2021-09-14 09:06:23.486754 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_INIT (Cur 9 Tot 248030)
  7259. 2021-09-14 09:06:23.486754 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT
  7260. 2021-09-14 09:06:23.486754 [DEBUG] mod_sofia.c:90 sofia/default/48798517722@46.19.210.14 SOFIA INIT
  7261. 2021-09-14 09:06:23.486754 [DEBUG] switch_core_state_machine.c:40 sofia/default/48798517722@46.19.210.14 Standard INIT
  7262. 2021-09-14 09:06:23.486754 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48798517722@46.19.210.14) State Change CS_INIT -> CS_ROUTING
  7263. 2021-09-14 09:06:23.486754 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT going to sleep
  7264. 2021-09-14 09:06:23.486754 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_ROUTING (Cur 9 Tot 248030)
  7265. 2021-09-14 09:06:23.486754 [DEBUG] switch_channel.c:2249 (sofia/default/48798517722@46.19.210.14) Callstate Change DOWN -> RINGING
  7266. 2021-09-14 09:06:23.486754 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING
  7267. 2021-09-14 09:06:23.486754 [DEBUG] mod_sofia.c:143 sofia/default/48798517722@46.19.210.14 SOFIA ROUTING
  7268. 2021-09-14 09:06:23.486754 [DEBUG] switch_core_state_machine.c:236 sofia/default/48798517722@46.19.210.14 Standard ROUTING
  7269. 2021-09-14 09:06:23.486754 [INFO] mod_dialplan_xml.c:637 Processing 48798517722 <48798517722>->48732081792 in context default
  7270. 2021-09-14 09:06:23.486754 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected.
  7271. 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  7272. 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  7273. 2021-09-14 09:06:23.486754 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params:
  7274. 'Event-Name: REQUEST_PARAMS
  7275. Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0
  7276. FreeSWITCH-Hostname: astpp1.local
  7277. FreeSWITCH-Switchname: astpp1.local
  7278. FreeSWITCH-IPv4: 89.46.223.193
  7279. FreeSWITCH-IPv6: %3A%3A1
  7280. Event-Date-Local: 2021-09-14%2009%3A06%3A23
  7281. Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A06%3A23%20GMT
  7282. Event-Date-Timestamp: 1631624783486754
  7283. Event-Calling-File: mod_dialplan_xml.c
  7284. Event-Calling-Function: dialplan_xml_locate
  7285. Event-Calling-Line-Number: 608
  7286. Event-Sequence: 7528589
  7287. Channel-State: CS_ROUTING
  7288. Channel-Call-State: RINGING
  7289. Channel-State-Number: 2
  7290. Channel-Name: sofia/default/48798517722%4046.19.210.14
  7291. Unique-ID: 8fc620fc-155c-11ec-9f2f-7dfb9f6e00f0
  7292. Call-Direction: inbound
  7293. Presence-Call-Direction: inbound
  7294. Channel-HIT-Dialplan: true
  7295. Channel-Presence-ID: 48798517722%4046.19.210.14
  7296. Channel-Call-UUID: 8fc620fc-155c-11ec-9f2f-7dfb9f6e00f0
  7297. Answer-State: ringing
  7298. Channel-Read-Codec-Name: PCMU
  7299. Channel-Read-Codec-Rate: 8000
  7300. Channel-Read-Codec-Bit-Rate: 64000
  7301. Channel-Write-Codec-Name: PCMU
  7302. Channel-Write-Codec-Rate: 8000
  7303. Channel-Write-Codec-Bit-Rate: 64000
  7304. Caller-Direction: inbound
  7305. Caller-Logical-Direction: inbound
  7306. Caller-Username: 48798517722
  7307. Caller-Dialplan: XML
  7308. Caller-Caller-ID-Name: 48798517722
  7309. Caller-Caller-ID-Number: 48798517722
  7310. Caller-Orig-Caller-ID-Name: 48798517722
  7311. Caller-Orig-Caller-ID-Number: 48798517722
  7312. Caller-Network-Addr: 136.243.196.198
  7313. Caller-ANI: 48798517722
  7314. Caller-Destination-Number: 48732081792
  7315. Caller-Unique-ID: 8fc620fc-155c-11ec-9f2f-7dfb9f6e00f0
  7316. Caller-Source: mod_sofia
  7317. Caller-Context: default
  7318. Caller-Channel-Name: sofia/default/48798517722%4046.19.210.14
  7319. Caller-Profile-Index: 1
  7320. Caller-Profile-Created-Time: 1631624783486754
  7321. Caller-Channel-Created-Time: 1631624783486754
  7322. Caller-Channel-Answered-Time: 0
  7323. Caller-Channel-Progress-Time: 0
  7324. Caller-Channel-Progress-Media-Time: 0
  7325. Caller-Channel-Hangup-Time: 0
  7326. Caller-Channel-Transfer-Time: 0
  7327. Caller-Channel-Resurrect-Time: 0
  7328. Caller-Channel-Bridged-Time: 0
  7329. Caller-Channel-Last-Hold: 0
  7330. Caller-Channel-Hold-Accum: 0
  7331. Caller-Screen-Bit: true
  7332. Caller-Privacy-Hide-Name: false
  7333. Caller-Privacy-Hide-Number: false
  7334. variable_direction: inbound
  7335. variable_uuid: 8fc620fc-155c-11ec-9f2f-7dfb9f6e00f0
  7336. variable_session_id: 248030
  7337. variable_sip_from_user: 48798517722
  7338. variable_sip_from_uri: 48798517722%4046.19.210.14
  7339. variable_sip_from_host: 46.19.210.14
  7340. variable_video_media_flow: sendrecv
  7341. variable_channel_name: sofia/default/48798517722%4046.19.210.14
  7342. variable_sip_call_id: 11-11-1B5207C2-61409E4F0006F9E8-DB2F2700
  7343. variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b
  7344. variable_sip_local_network_addr: 89.46.223.193
  7345. variable_sip_network_ip: 136.243.196.198
  7346. variable_sip_network_port: 5060
  7347. variable_sip_invite_stamp: 1631624783486754
  7348. variable_sip_received_ip: 136.243.196.198
  7349. variable_sip_received_port: 5060
  7350. variable_sip_via_protocol: udp
  7351. variable_sip_authorized: true
  7352. variable_sip_acl_authed_by: default
  7353. variable_sip_from_user_stripped: 48798517722
  7354. variable_sip_from_tag: 11-7496366A-61409E4F0006F93F-DB2F2700
  7355. variable_sofia_profile_name: default
  7356. variable_recovery_profile_name: default
  7357. variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D2fc.730933c7%3E
  7358. variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D2fc.730933c7%3E
  7359. variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bK1148.ca1a2465.0,SIP/2.0/UDP%2046.19.210.14%3Breceived%3D46.19.210.14%3Bbranch%3Dz9hG4bKGfyohaAL%3Brport%3D5060
  7360. variable_sip_from_display: 48798517722
  7361. variable_sip_full_from: %2248798517722%22%20%3Csip%3A48798517722%4046.19.210.14%3E%3Btag%3D11-7496366A-61409E4F0006F93F-DB2F2700
  7362. variable_sip_full_to: %3Csip%3A48732081792%40newsip.israelnumber.com%3A5060%3E
  7363. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20UPDATE
  7364. variable_sip_req_user: 48732081792
  7365. variable_sip_req_port: 5060
  7366. variable_sip_req_uri: 48732081792%40newsip.israelnumber.com%3A5060
  7367. variable_sip_req_host: newsip.israelnumber.com
  7368. variable_sip_to_user: 48732081792
  7369. variable_sip_to_port: 5060
  7370. variable_sip_to_uri: 48732081792%40newsip.israelnumber.com%3A5060
  7371. variable_sip_to_host: newsip.israelnumber.com
  7372. variable_sip_contact_params: transport%3Dudp
  7373. variable_sip_contact_user: nobody
  7374. variable_sip_contact_port: 5060
  7375. variable_sip_contact_uri: nobody%4046.19.210.14%3A5060
  7376. variable_sip_contact_host: 46.19.210.14
  7377. variable_sip_user_agent: DIDWW%20SBC%20node
  7378. variable_sip_via_host: 136.243.196.198
  7379. variable_sip_via_port: 5060
  7380. variable_max_forwards: 30
  7381. variable_presence_id: 48798517722%4046.19.210.14
  7382. variable_sip_h_X-AUTH-IP: 46.19.210.14
  7383. variable_sip_h_P-Accountcode: 714761424818
  7384. variable_sip_h_P-effective_caller_id_name: 48798517722
  7385. variable_sip_h_P-effective_caller_id_number: 48798517722
  7386. variable_switch_r_sdp: v%3D0%0D%0Ao%3Ddidww-sbc%203677244384%2032695%20IN%20IP4%2046.19.210.39%0D%0As%3Ddidww-sbc%0D%0At%3D0%200%0D%0Am%3Daudio%2059328%20RTP/AVP%200%208%2018%204%20101%0D%0Ac%3DIN%20IP4%2046.19.210.39%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A4%20G723/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dptime%3A20%0D%0A
  7387. variable_rtp_use_codec_string: PCMA,PCMU,G729
  7388. variable_audio_media_flow: sendrecv
  7389. variable_remote_media_ip: 46.19.210.39
  7390. variable_remote_media_port: 59328
  7391. variable_rtp_audio_recv_pt: 0
  7392. variable_rtp_use_codec_name: PCMU
  7393. variable_rtp_use_codec_rate: 8000
  7394. variable_rtp_use_codec_ptime: 20
  7395. variable_rtp_use_codec_channels: 1
  7396. variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c
  7397. variable_read_codec: PCMU
  7398. variable_original_read_codec: PCMU
  7399. variable_read_rate: 8000
  7400. variable_original_read_rate: 8000
  7401. variable_write_codec: PCMU
  7402. variable_write_rate: 8000
  7403. variable_dtmf_type: rfc2833
  7404. variable_endpoint_disposition: RECEIVED
  7405. variable_call_uuid: 8fc620fc-155c-11ec-9f2f-7dfb9f6e00f0
  7406. Hunt-Direction: inbound
  7407. Hunt-Logical-Direction: inbound
  7408. Hunt-Username: 48798517722
  7409. Hunt-Dialplan: XML
  7410. Hunt-Caller-ID-Name: 48798517722
  7411. Hunt-Caller-ID-Number: 48798517722
  7412. Hunt-Orig-Caller-ID-Name: 48798517722
  7413. Hunt-Orig-Caller-ID-Number: 48798517722
  7414. Hunt-Network-Addr: 136.243.196.198
  7415. Hunt-ANI: 48798517722
  7416. Hunt-Destination-Number: 48732081792
  7417. Hunt-Unique-ID: 8fc620fc-155c-11ec-9f2f-7dfb9f6e00f0
  7418. Hunt-Source: mod_sofia
  7419. Hunt-Context: default
  7420. Hunt-Channel-Name: sofia/default/48798517722%4046.19.210.14
  7421. Hunt-Profile-Index: 1
  7422. Hunt-Profile-Created-Time: 1631624783486754
  7423. Hunt-Channel-Created-Time: 1631624783486754
  7424. Hunt-Channel-Answered-Time: 0
  7425. Hunt-Channel-Progress-Time: 0
  7426. Hunt-Channel-Progress-Media-Time: 0
  7427. Hunt-Channel-Hangup-Time: 0
  7428. Hunt-Channel-Transfer-Time: 0
  7429. Hunt-Channel-Resurrect-Time: 0
  7430. Hunt-Channel-Bridged-Time: 0
  7431. Hunt-Channel-Last-Hold: 0
  7432. Hunt-Channel-Hold-Accum: 0
  7433. Hunt-Screen-Bit: true
  7434. Hunt-Privacy-Hide-Name: false
  7435. Hunt-Privacy-Hide-Number: false
  7436.  
  7437. '
  7438. 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name:
  7439. 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value:
  7440. 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name:
  7441. 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan
  7442. 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  7443. 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 48732081792
  7444. 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '48732081792' limit 1
  7445. 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '48732081792' AND status=0 limit 1
  7446. 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '46.19.210.14' limit 1
  7447. 2021-09-14 09:06:23.486754 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  7448. 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 48798517722 / 48798517722
  7449. 2021-09-14 09:06:23.486754 [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 ="48732081792" LIMIT 1
  7450. 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
  7451. 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 714761424818]
  7452. 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "714761424818" OR number = "714761424818" AND deleted = 0 limit 1
  7453. 2021-09-14 09:06:23.486754 [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 ="48732081792" AND A.accountid = '863' limit 1
  7454. 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 48732081792
  7455. 2021-09-14 09:06:23.486754 [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 ="48732081792" LIMIT 1
  7456. 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound
  7457. 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="48732081792" AND (accountid = 0 OR status = 1) LIMIT 1
  7458. 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  7459. 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851
  7460. 2021-09-14 09:06:23.486754 [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 = '^48732081792.*' OR patterns = '^4873208179.*' OR patterns = '^487320817.*' OR patterns = '^48732081.*' OR patterns = '^4873208.*' OR patterns = '^487320.*' OR patterns = '^48732.*' OR patterns = '^4873.*' OR patterns = '^487.*' OR patterns = '^48.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC
  7461. 2021-09-14 09:06:23.486754 [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 = '48732081792' OR number = '4873208179' OR number = '487320817' OR number = '48732081' OR number = '4873208' OR number = '487320' OR number = '48732' OR number = '4873' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48732081792*' OR number = '4873208179*' OR number = '487320817*' OR number = '48732081*' OR number = '4873208*' OR number = '487320*' OR number = '48732*' OR number = '4873*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--') OR (number = '48798517722' OR number = '4879851772' OR number = '487985177' OR number = '48798517' OR number = '4879851' OR number = '487985' OR number = '48798' OR number = '4879' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48798517722*' OR number = '4879851772*' OR number = '487985177*' OR number = '48798517*' OR number = '4879851*' OR number = '487985*' OR number = '48798*' OR number = '4879*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  7462. 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  7463. 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '48732081792' OR routing_prefix = '4873208179' OR routing_prefix = '487320817' OR routing_prefix = '48732081' OR routing_prefix = '4873208' OR routing_prefix = '487320' OR routing_prefix = '48732' OR routing_prefix = '4873' OR routing_prefix = '487' OR routing_prefix = '48' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  7464. 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  7465. 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 863
  7466. 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 714761424818
  7467. 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000
  7468. 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  7469. 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1
  7470. 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  7471. 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  7472. 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  7473. 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  7474. 2021-09-14 09:06:23.486754 [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 ="48732081792" LIMIT 1
  7475. 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound
  7476. 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  7477. 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 8057
  7478. 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  7479. 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  7480. 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  7481. 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Mobile Voice
  7482. 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 153
  7483. 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 863
  7484. 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  7485. 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 863 !!!
  7486. 2021-09-14 09:06:23.486754 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180
  7487. 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
  7488. 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  7489. 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  7490. 2021-09-14 09:06:23.486754 [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 = 863 AND status=0 LIMIT 1
  7491. 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" OR number = "851" AND deleted = 0 limit 1
  7492. 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:863
  7493. 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:863
  7494. 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 863
  7495. 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  7496. 2021-09-14 09:06:23.486754 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  7497. 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
  7498. 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  7499. 2021-09-14 09:06:23.486754 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  7500. 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2
  7501. 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  7502. <document type="freeswitch/xml">
  7503. <section name="dialplan" description="ASTPP Dialplan">
  7504. <context name="default">
  7505. <extension name="48732081792">
  7506. <condition field="destination_number" expression="48732081792">
  7507. <action application="set" data="effective_destination_number=48732081792"/>
  7508. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  7509. <action application="set" data="bridge_pre_execute_bleg_data=+10800 normal_clearing"/>
  7510. <action application="set" data="callstart=2021-09-14 13:06:23"/>
  7511. <action application="set" data="hangup_after_bridge=true"/>
  7512. <action application="set" data="continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602"/>
  7513. <action application="set" data="account_id=863"/>
  7514. <action application="set" data="parent_id=0"/>
  7515. <action application="set" data="entity_id=3"/>
  7516. <action application="set" data="call_processed=internal"/>
  7517. <action application="set" data="call_direction=inbound"/>
  7518. <action application="set" data="accountname=default"/>
  7519. <action application="set" data="filename1=astpp.pbx.lua"/>
  7520. <action application="set" data="origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851"/>
  7521. <action application="set" data="origination_rates=0"/>
  7522. <action application="set" data="original_caller_id_name=48798517722"/>
  7523. <action application="set" data="original_caller_id_number=48798517722"/>
  7524. <action application="set" data="effective_caller_id_name=48798517722"/>
  7525. <action application="set" data="effective_caller_id_number=48798517722"/>
  7526. <action application="set" data="receiver_accid=851"/>
  7527. <action application="export" data="domain_name=Voicespin802.newsip.israelnumber.com"/>
  7528. <action application="export" data="sip_to_host=Voicespin802.newsip.israelnumber.com"/>
  7529. <action application="limit" data="db 48732081792 did_48732081792 2 !SWITCH_CONGESTION"/>
  7530. <action application="export" data="presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14"/>
  7531. <action application="export" data="call_type=2"/>
  7532. <action application="set" data="calltype=DIRECT-IP"/>
  7533. <action application="bridge" data="[leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118"/>
  7534. </condition>
  7535. </extension>
  7536. </context>
  7537. </section>
  7538. </document>
  7539. 2021-09-14 09:06:23.486754 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released.
  7540. Dialplan: sofia/default/48798517722@46.19.210.14 parsing [default->48732081792] continue=false
  7541. Dialplan: sofia/default/48798517722@46.19.210.14 Regex (PASS) [48732081792] destination_number(48732081792) =~ /48732081792/ break=on-false
  7542. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_destination_number=48732081792)
  7543. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  7544. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  7545. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(callstart=2021-09-14 13:06:23)
  7546. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(hangup_after_bridge=true)
  7547. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  7548. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(account_id=863)
  7549. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(parent_id=0)
  7550. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(entity_id=3)
  7551. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_processed=internal)
  7552. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_direction=inbound)
  7553. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(accountname=default)
  7554. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(filename1=astpp.pbx.lua)
  7555. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851)
  7556. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates=0)
  7557. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_name=48798517722)
  7558. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_number=48798517722)
  7559. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_name=48798517722)
  7560. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_number=48798517722)
  7561. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(receiver_accid=851)
  7562. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(domain_name=Voicespin802.newsip.israelnumber.com)
  7563. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  7564. Dialplan: sofia/default/48798517722@46.19.210.14 Action limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION)
  7565. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14)
  7566. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(call_type=2)
  7567. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(calltype=DIRECT-IP)
  7568. Dialplan: sofia/default/48798517722@46.19.210.14 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118)
  7569. 2021-09-14 09:06:23.486754 [DEBUG] switch_core_state_machine.c:286 (sofia/default/48798517722@46.19.210.14) State Change CS_ROUTING -> CS_EXECUTE
  7570. 2021-09-14 09:06:23.486754 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING going to sleep
  7571. 2021-09-14 09:06:23.486754 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_EXECUTE (Cur 9 Tot 248030)
  7572. 2021-09-14 09:06:23.486754 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE
  7573. 2021-09-14 09:06:23.486754 [DEBUG] mod_sofia.c:198 sofia/default/48798517722@46.19.210.14 SOFIA EXECUTE
  7574. 2021-09-14 09:06:23.486754 [DEBUG] switch_core_state_machine.c:328 sofia/default/48798517722@46.19.210.14 Standard EXECUTE
  7575. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_destination_number=48732081792)
  7576. 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_destination_number]=[48732081792]
  7577. EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_app=sched_hangup)
  7578. 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_app]=[sched_hangup]
  7579. EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  7580. 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing]
  7581. EXECUTE sofia/default/48798517722@46.19.210.14 set(callstart=2021-09-14 13:06:23)
  7582. 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [callstart]=[2021-09-14 13:06:23]
  7583. EXECUTE sofia/default/48798517722@46.19.210.14 set(hangup_after_bridge=true)
  7584. 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [hangup_after_bridge]=[true]
  7585. EXECUTE sofia/default/48798517722@46.19.210.14 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  7586. 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]
  7587. EXECUTE sofia/default/48798517722@46.19.210.14 set(account_id=863)
  7588. 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [account_id]=[863]
  7589. EXECUTE sofia/default/48798517722@46.19.210.14 set(parent_id=0)
  7590. 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [parent_id]=[0]
  7591. EXECUTE sofia/default/48798517722@46.19.210.14 set(entity_id=3)
  7592. 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [entity_id]=[3]
  7593. EXECUTE sofia/default/48798517722@46.19.210.14 set(call_processed=internal)
  7594. 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_processed]=[internal]
  7595. EXECUTE sofia/default/48798517722@46.19.210.14 set(call_direction=inbound)
  7596. 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_direction]=[inbound]
  7597. EXECUTE sofia/default/48798517722@46.19.210.14 set(accountname=default)
  7598. 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [accountname]=[default]
  7599. EXECUTE sofia/default/48798517722@46.19.210.14 set(filename1=astpp.pbx.lua)
  7600. 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [filename1]=[astpp.pbx.lua]
  7601. EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851)
  7602. 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates_did]=[ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851]
  7603. EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates=0)
  7604. 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates]=[0]
  7605. EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_name=48798517722)
  7606. 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_name]=[48798517722]
  7607. EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_number=48798517722)
  7608. 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_number]=[48798517722]
  7609. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_name=48798517722)
  7610. 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_name]=[48798517722]
  7611. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_number=48798517722)
  7612. 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_number]=[48798517722]
  7613. EXECUTE sofia/default/48798517722@46.19.210.14 set(receiver_accid=851)
  7614. 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [receiver_accid]=[851]
  7615. EXECUTE sofia/default/48798517722@46.19.210.14 export(domain_name=Voicespin802.newsip.israelnumber.com)
  7616. 2021-09-14 09:06:23.486754 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com]
  7617. EXECUTE sofia/default/48798517722@46.19.210.14 export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  7618. 2021-09-14 09:06:23.486754 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com]
  7619. EXECUTE sofia/default/48798517722@46.19.210.14 limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION)
  7620. 2021-09-14 09:06:23.486754 [DEBUG] switch_limit.c:126 incr called: 48732081792_did_48732081792 max:2, interval:0
  7621. 2021-09-14 09:06:23.526671 [DEBUG] mod_db.c:194 Usage for 48732081792_did_48732081792 is now 1/2
  7622. EXECUTE sofia/default/48798517722@46.19.210.14 export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14)
  7623. 2021-09-14 09:06:23.526671 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14]
  7624. EXECUTE sofia/default/48798517722@46.19.210.14 export(call_type=2)
  7625. 2021-09-14 09:06:23.526671 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2]
  7626. EXECUTE sofia/default/48798517722@46.19.210.14 set(calltype=DIRECT-IP)
  7627. 2021-09-14 09:06:23.526671 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [calltype]=[DIRECT-IP]
  7628. EXECUTE sofia/default/48798517722@46.19.210.14 bridge([leg_timeout=30]sofia/default/48732081792@35.205.116.118)
  7629. 2021-09-14 09:06:23.526671 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event
  7630. 2021-09-14 09:06:23.526671 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event
  7631. 2021-09-14 09:06:23.526671 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] to event
  7632. 2021-09-14 09:06:23.526671 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [call_type]=[2] to event
  7633. 2021-09-14 09:06:23.526671 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  7634. 2021-09-14 09:06:23.526671 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  7635. 2021-09-14 09:06:23.526671 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48732081792@35.205.116.118 [8fcb8588-155c-11ec-9f4f-7dfb9f6e00f0]
  7636. 2021-09-14 09:06:23.526671 [DEBUG] mod_sofia.c:4819 (sofia/default/48732081792@35.205.116.118) State Change CS_NEW -> CS_INIT
  7637. 2021-09-14 09:06:23.526671 [DEBUG] switch_ivr_originate.c:2963 sofia/default/48732081792@35.205.116.118 Setting leg timeout to 30
  7638. 2021-09-14 09:06:23.526671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_INIT (Cur 10 Tot 248031)
  7639. 2021-09-14 09:06:23.526671 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT
  7640. 2021-09-14 09:06:23.526671 [DEBUG] mod_sofia.c:90 sofia/default/48732081792@35.205.116.118 SOFIA INIT
  7641. 2021-09-14 09:06:23.526671 [DEBUG] sofia_glue.c:1295 sofia/default/48732081792@35.205.116.118 sending invite version: 1.6.20  64bit
  7642. Local SDP:
  7643. v=0
  7644. o=FreeSWITCH 1631602573 1631602574 IN IP4 89.46.223.193
  7645. s=FreeSWITCH
  7646. c=IN IP4 89.46.223.193
  7647. t=0 0
  7648. m=audio 22210 RTP/AVP 0 101
  7649. a=rtpmap:0 PCMU/8000
  7650. a=rtpmap:101 telephone-event/8000
  7651. a=fmtp:101 0-16
  7652. a=ptime:20
  7653. a=sendrecv
  7654.  
  7655. 2021-09-14 09:06:23.526671 [DEBUG] switch_core_state_machine.c:40 sofia/default/48732081792@35.205.116.118 Standard INIT
  7656. 2021-09-14 09:06:23.526671 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48732081792@35.205.116.118) State Change CS_INIT -> CS_ROUTING
  7657. 2021-09-14 09:06:23.526671 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT going to sleep
  7658. 2021-09-14 09:06:23.526671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_ROUTING (Cur 10 Tot 248031)
  7659. 2021-09-14 09:06:23.526671 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING
  7660. 2021-09-14 09:06:23.526671 [DEBUG] mod_sofia.c:143 sofia/default/48732081792@35.205.116.118 SOFIA ROUTING
  7661. 2021-09-14 09:06:23.526671 [DEBUG] switch_ivr_originate.c:67 (sofia/default/48732081792@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  7662. 2021-09-14 09:06:23.526671 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING going to sleep
  7663. 2021-09-14 09:06:23.526671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 10 Tot 248031)
  7664. 2021-09-14 09:06:23.526671 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [calling][0]
  7665. 2021-09-14 09:06:23.526671 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA
  7666. 2021-09-14 09:06:23.526671 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA going to sleep
  7667. 2021-09-14 09:06:23.706673 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [terminated][500]
  7668. 2021-09-14 09:06:23.706673 [NOTICE] sofia.c:8273 Hangup sofia/default/48732081792@35.205.116.118 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
  7669. 2021-09-14 09:06:23.706673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_HANGUP (Cur 10 Tot 248031)
  7670. 2021-09-14 09:06:23.706673 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48732081792@35.205.116.118) Callstate Change DOWN -> HANGUP
  7671. 2021-09-14 09:06:23.706673 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP
  7672. 2021-09-14 09:06:23.706673 [DEBUG] mod_sofia.c:438 Channel sofia/default/48732081792@35.205.116.118 hanging up, cause: NORMAL_TEMPORARY_FAILURE
  7673. 2021-09-14 09:06:23.706673 [DEBUG] switch_core_state_machine.c:60 sofia/default/48732081792@35.205.116.118 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
  7674. 2021-09-14 09:06:23.706673 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP going to sleep
  7675. 2021-09-14 09:06:23.706673 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48732081792@35.205.116.118) State Change CS_HANGUP -> CS_REPORTING
  7676. 2021-09-14 09:06:23.706673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_REPORTING (Cur 10 Tot 248031)
  7677. 2021-09-14 09:06:23.706673 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING
  7678. 2021-09-14 09:06:23.706673 [INFO] mod_json_cdr.c:271 Process [8fcb8588-155c-11ec-9f4f-7dfb9f6e00f0.cdr.json]
  7679. 2021-09-14 09:06:23.706673 [DEBUG] switch_core_state_machine.c:174 sofia/default/48732081792@35.205.116.118 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
  7680. 2021-09-14 09:06:23.706673 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING going to sleep
  7681. 2021-09-14 09:06:23.706673 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48732081792@35.205.116.118) State Change CS_REPORTING -> CS_DESTROY
  7682. 2021-09-14 09:06:23.706673 [DEBUG] switch_core_session.c:1665 Session 248031 (sofia/default/48732081792@35.205.116.118) Locked, Waiting on external entities
  7683. 2021-09-14 09:06:23.726668 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
  7684. 2021-09-14 09:06:23.726668 [NOTICE] switch_core_session.c:1683 Session 248031 (sofia/default/48732081792@35.205.116.118) Ended
  7685. 2021-09-14 09:06:23.726668 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48732081792@35.205.116.118 [CS_DESTROY]
  7686. 2021-09-14 09:06:23.726668 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48732081792@35.205.116.118) Running State Change CS_DESTROY (Cur 9 Tot 248031)
  7687. 2021-09-14 09:06:23.726668 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY
  7688. 2021-09-14 09:06:23.726668 [INFO] mod_dptools.c:3436 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
  7689. 2021-09-14 09:06:23.726668 [DEBUG] mod_sofia.c:343 sofia/default/48732081792@35.205.116.118 SOFIA DESTROY
  7690. 2021-09-14 09:06:23.726668 [DEBUG] switch_channel.c:4775 Continue on fail [1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]:  Cause: NORMAL_TEMPORARY_FAILURE
  7691. 2021-09-14 09:06:23.726668 [DEBUG] switch_core_state_machine.c:181 sofia/default/48732081792@35.205.116.118 Standard DESTROY
  7692. 2021-09-14 09:06:23.726668 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY going to sleep
  7693. 2021-09-14 09:06:23.726668 [NOTICE] switch_core_state_machine.c:385 sofia/default/48798517722@46.19.210.14 has executed the last dialplan instruction, hanging up.
  7694. 2021-09-14 09:06:23.726668 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/48798517722@46.19.210.14 [CS_EXECUTE] [NORMAL_CLEARING]
  7695. 2021-09-14 09:06:23.726668 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE going to sleep
  7696. 2021-09-14 09:06:23.726668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_HANGUP (Cur 9 Tot 248031)
  7697. 2021-09-14 09:06:23.726668 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48798517722@46.19.210.14) Callstate Change RINGING -> HANGUP
  7698. 2021-09-14 09:06:23.726668 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP
  7699. 2021-09-14 09:06:23.726668 [DEBUG] mod_sofia.c:432 sofia/default/48798517722@46.19.210.14 Overriding SIP cause 480 with 500 from the other leg
  7700. 2021-09-14 09:06:23.726668 [DEBUG] mod_sofia.c:438 Channel sofia/default/48798517722@46.19.210.14 hanging up, cause: NORMAL_CLEARING
  7701. 2021-09-14 09:06:23.726668 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 500
  7702. 2021-09-14 09:06:23.726668 [DEBUG] switch_core_state_machine.c:60 sofia/default/48798517722@46.19.210.14 Standard HANGUP, cause: NORMAL_CLEARING
  7703. 2021-09-14 09:06:23.726668 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP going to sleep
  7704. 2021-09-14 09:06:23.726668 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48798517722@46.19.210.14) State Change CS_HANGUP -> CS_REPORTING
  7705. 2021-09-14 09:06:23.726668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_REPORTING (Cur 9 Tot 248031)
  7706. 2021-09-14 09:06:23.726668 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING
  7707. 2021-09-14 09:06:23.726668 [INFO] mod_json_cdr.c:271 Process [8fc620fc-155c-11ec-9f2f-7dfb9f6e00f0.cdr.json]
  7708. 2021-09-14 09:06:23.746700 [DEBUG] switch_core_state_machine.c:174 sofia/default/48798517722@46.19.210.14 Standard REPORTING, cause: NORMAL_CLEARING
  7709. 2021-09-14 09:06:23.746700 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING going to sleep
  7710. 2021-09-14 09:06:23.746700 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48798517722@46.19.210.14) State Change CS_REPORTING -> CS_DESTROY
  7711. 2021-09-14 09:06:23.746700 [DEBUG] switch_core_session.c:1665 Session 248030 (sofia/default/48798517722@46.19.210.14) Locked, Waiting on external entities
  7712. 2021-09-14 09:06:23.746700 [NOTICE] switch_core_session.c:1683 Session 248030 (sofia/default/48798517722@46.19.210.14) Ended
  7713. 2021-09-14 09:06:23.746700 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48798517722@46.19.210.14 [CS_DESTROY]
  7714. 2021-09-14 09:06:23.746700 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48798517722@46.19.210.14) Running State Change CS_DESTROY (Cur 8 Tot 248031)
  7715. 2021-09-14 09:06:23.746700 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY
  7716. 2021-09-14 09:06:23.746700 [DEBUG] mod_sofia.c:343 sofia/default/48798517722@46.19.210.14 SOFIA DESTROY
  7717. 2021-09-14 09:06:23.746700 [DEBUG] switch_core_state_machine.c:181 sofia/default/48798517722@46.19.210.14 Standard DESTROY
  7718. 2021-09-14 09:06:23.746700 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY going to sleep
  7719. 2021-09-14 09:06:25.406749 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48798517722@46.19.210.14 [90ed52ac-155c-11ec-9f53-7dfb9f6e00f0]
  7720. 2021-09-14 09:06:25.406749 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_NEW (Cur 9 Tot 248032)
  7721. 2021-09-14 09:06:25.406749 [DEBUG] sofia.c:9873 sofia/default/48798517722@46.19.210.14 receiving invite from 136.243.196.198:5060 version: 1.6.20  64bit
  7722. 2021-09-14 09:06:25.406749 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
  7723. 2021-09-14 09:06:25.406749 [DEBUG] sofia.c:7084 Channel sofia/default/48798517722@46.19.210.14 entering state [received][100]
  7724. 2021-09-14 09:06:25.406749 [DEBUG] sofia.c:7094 Remote SDP:
  7725. v=0
  7726. o=didww-sbc 3086683104 32538 IN IP4 46.19.210.22
  7727. s=didww-sbc
  7728. t=0 0
  7729. m=audio 44418 RTP/AVP 0 8 18 4 101
  7730. c=IN IP4 46.19.210.22
  7731. a=rtpmap:0 PCMU/8000
  7732. a=rtpmap:8 PCMA/8000
  7733. a=rtpmap:18 G729/8000
  7734. a=fmtp:18 annexb=no
  7735. a=rtpmap:4 G723/8000
  7736. a=rtpmap:101 telephone-event/8000
  7737. a=ptime:20
  7738.  
  7739. 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  7740. 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  7741. 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  7742. 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  7743. 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  7744. 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  7745. 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  7746. 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  7747. 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  7748. 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  7749. 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  7750. 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  7751. 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1]
  7752. 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1]
  7753. 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:20:8000:1]
  7754. 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  7755. 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/48798517722@46.19.210.14 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  7756. 2021-09-14 09:06:25.406749 [DEBUG] switch_core_codec.c:111 sofia/default/48798517722@46.19.210.14 Original read codec set to PCMU:0
  7757. 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  7758. 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:4767 sofia/default/48798517722@46.19.210.14 Set 2833 dtmf send payload to 101 recv payload to 101
  7759. 2021-09-14 09:06:25.406749 [DEBUG] sofia.c:7507 (sofia/default/48798517722@46.19.210.14) State Change CS_NEW -> CS_INIT
  7760. 2021-09-14 09:06:25.406749 [DEBUG] switch_core_state_machine.c:603 (sofia/default/48798517722@46.19.210.14) State NEW
  7761. 2021-09-14 09:06:25.406749 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_INIT (Cur 9 Tot 248032)
  7762. 2021-09-14 09:06:25.406749 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT
  7763. 2021-09-14 09:06:25.406749 [DEBUG] mod_sofia.c:90 sofia/default/48798517722@46.19.210.14 SOFIA INIT
  7764. 2021-09-14 09:06:25.406749 [DEBUG] switch_core_state_machine.c:40 sofia/default/48798517722@46.19.210.14 Standard INIT
  7765. 2021-09-14 09:06:25.406749 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48798517722@46.19.210.14) State Change CS_INIT -> CS_ROUTING
  7766. 2021-09-14 09:06:25.406749 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT going to sleep
  7767. 2021-09-14 09:06:25.406749 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_ROUTING (Cur 9 Tot 248032)
  7768. 2021-09-14 09:06:25.406749 [DEBUG] switch_channel.c:2249 (sofia/default/48798517722@46.19.210.14) Callstate Change DOWN -> RINGING
  7769. 2021-09-14 09:06:25.406749 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING
  7770. 2021-09-14 09:06:25.406749 [DEBUG] mod_sofia.c:143 sofia/default/48798517722@46.19.210.14 SOFIA ROUTING
  7771. 2021-09-14 09:06:25.406749 [DEBUG] switch_core_state_machine.c:236 sofia/default/48798517722@46.19.210.14 Standard ROUTING
  7772. 2021-09-14 09:06:25.406749 [INFO] mod_dialplan_xml.c:637 Processing 48798517722 <48798517722>->48732081792 in context default
  7773. 2021-09-14 09:06:25.406749 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected.
  7774. 2021-09-14 09:06:25.406749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  7775. 2021-09-14 09:06:25.406749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  7776. 2021-09-14 09:06:25.406749 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params:
  7777. 'Event-Name: REQUEST_PARAMS
  7778. Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0
  7779. FreeSWITCH-Hostname: astpp1.local
  7780. FreeSWITCH-Switchname: astpp1.local
  7781. FreeSWITCH-IPv4: 89.46.223.193
  7782. FreeSWITCH-IPv6: %3A%3A1
  7783. Event-Date-Local: 2021-09-14%2009%3A06%3A25
  7784. Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A06%3A25%20GMT
  7785. Event-Date-Timestamp: 1631624785406749
  7786. Event-Calling-File: mod_dialplan_xml.c
  7787. Event-Calling-Function: dialplan_xml_locate
  7788. Event-Calling-Line-Number: 608
  7789. Event-Sequence: 7528675
  7790. Channel-State: CS_ROUTING
  7791. Channel-Call-State: RINGING
  7792. Channel-State-Number: 2
  7793. Channel-Name: sofia/default/48798517722%4046.19.210.14
  7794. Unique-ID: 90ed52ac-155c-11ec-9f53-7dfb9f6e00f0
  7795. Call-Direction: inbound
  7796. Presence-Call-Direction: inbound
  7797. Channel-HIT-Dialplan: true
  7798. Channel-Presence-ID: 48798517722%4046.19.210.14
  7799. Channel-Call-UUID: 90ed52ac-155c-11ec-9f53-7dfb9f6e00f0
  7800. Answer-State: ringing
  7801. Channel-Read-Codec-Name: PCMU
  7802. Channel-Read-Codec-Rate: 8000
  7803. Channel-Read-Codec-Bit-Rate: 64000
  7804. Channel-Write-Codec-Name: PCMU
  7805. Channel-Write-Codec-Rate: 8000
  7806. Channel-Write-Codec-Bit-Rate: 64000
  7807. Caller-Direction: inbound
  7808. Caller-Logical-Direction: inbound
  7809. Caller-Username: 48798517722
  7810. Caller-Dialplan: XML
  7811. Caller-Caller-ID-Name: 48798517722
  7812. Caller-Caller-ID-Number: 48798517722
  7813. Caller-Orig-Caller-ID-Name: 48798517722
  7814. Caller-Orig-Caller-ID-Number: 48798517722
  7815. Caller-Network-Addr: 136.243.196.198
  7816. Caller-ANI: 48798517722
  7817. Caller-Destination-Number: 48732081792
  7818. Caller-Unique-ID: 90ed52ac-155c-11ec-9f53-7dfb9f6e00f0
  7819. Caller-Source: mod_sofia
  7820. Caller-Context: default
  7821. Caller-Channel-Name: sofia/default/48798517722%4046.19.210.14
  7822. Caller-Profile-Index: 1
  7823. Caller-Profile-Created-Time: 1631624785406749
  7824. Caller-Channel-Created-Time: 1631624785406749
  7825. Caller-Channel-Answered-Time: 0
  7826. Caller-Channel-Progress-Time: 0
  7827. Caller-Channel-Progress-Media-Time: 0
  7828. Caller-Channel-Hangup-Time: 0
  7829. Caller-Channel-Transfer-Time: 0
  7830. Caller-Channel-Resurrect-Time: 0
  7831. Caller-Channel-Bridged-Time: 0
  7832. Caller-Channel-Last-Hold: 0
  7833. Caller-Channel-Hold-Accum: 0
  7834. Caller-Screen-Bit: true
  7835. Caller-Privacy-Hide-Name: false
  7836. Caller-Privacy-Hide-Number: false
  7837. variable_direction: inbound
  7838. variable_uuid: 90ed52ac-155c-11ec-9f53-7dfb9f6e00f0
  7839. variable_session_id: 248032
  7840. variable_sip_from_user: 48798517722
  7841. variable_sip_from_uri: 48798517722%4046.19.210.14
  7842. variable_sip_from_host: 46.19.210.14
  7843. variable_video_media_flow: sendrecv
  7844. variable_channel_name: sofia/default/48798517722%4046.19.210.14
  7845. variable_sip_call_id: 13-13-23441B95-61409E510005FE74-B7FBE700
  7846. variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b
  7847. variable_sip_local_network_addr: 89.46.223.193
  7848. variable_sip_network_ip: 136.243.196.198
  7849. variable_sip_network_port: 5060
  7850. variable_sip_invite_stamp: 1631624785406749
  7851. variable_sip_received_ip: 136.243.196.198
  7852. variable_sip_received_port: 5060
  7853. variable_sip_via_protocol: udp
  7854. variable_sip_authorized: true
  7855. variable_sip_acl_authed_by: default
  7856. variable_sip_from_user_stripped: 48798517722
  7857. variable_sip_from_tag: 13-3DF17082-61409E510005FDA2-B7FBE700
  7858. variable_sofia_profile_name: default
  7859. variable_recovery_profile_name: default
  7860. variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D816.e4571383%3E
  7861. variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D816.e4571383%3E
  7862. variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bK73dc.49ccc072.0,SIP/2.0/UDP%2046.19.210.14%3Breceived%3D46.19.210.14%3Bbranch%3Dz9hG4bK.wuMAa5d%3Brport%3D5060
  7863. variable_sip_from_display: 48798517722
  7864. variable_sip_full_from: %2248798517722%22%20%3Csip%3A48798517722%4046.19.210.14%3E%3Btag%3D13-3DF17082-61409E510005FDA2-B7FBE700
  7865. variable_sip_full_to: %3Csip%3A48732081792%40newsip.israelnumber.com%3A5060%3E
  7866. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20UPDATE
  7867. variable_sip_req_user: 48732081792
  7868. variable_sip_req_port: 5060
  7869. variable_sip_req_uri: 48732081792%40newsip.israelnumber.com%3A5060
  7870. variable_sip_req_host: newsip.israelnumber.com
  7871. variable_sip_to_user: 48732081792
  7872. variable_sip_to_port: 5060
  7873. variable_sip_to_uri: 48732081792%40newsip.israelnumber.com%3A5060
  7874. variable_sip_to_host: newsip.israelnumber.com
  7875. variable_sip_contact_params: transport%3Dudp
  7876. variable_sip_contact_user: nobody
  7877. variable_sip_contact_port: 5060
  7878. variable_sip_contact_uri: nobody%4046.19.210.14%3A5060
  7879. variable_sip_contact_host: 46.19.210.14
  7880. variable_sip_user_agent: DIDWW%20SBC%20node
  7881. variable_sip_via_host: 136.243.196.198
  7882. variable_sip_via_port: 5060
  7883. variable_max_forwards: 30
  7884. variable_presence_id: 48798517722%4046.19.210.14
  7885. variable_sip_h_X-AUTH-IP: 46.19.210.14
  7886. variable_sip_h_P-Accountcode: 714761424818
  7887. variable_sip_h_P-effective_caller_id_name: 48798517722
  7888. variable_sip_h_P-effective_caller_id_number: 48798517722
  7889. variable_switch_r_sdp: v%3D0%0D%0Ao%3Ddidww-sbc%203086683104%2032538%20IN%20IP4%2046.19.210.22%0D%0As%3Ddidww-sbc%0D%0At%3D0%200%0D%0Am%3Daudio%2044418%20RTP/AVP%200%208%2018%204%20101%0D%0Ac%3DIN%20IP4%2046.19.210.22%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A4%20G723/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dptime%3A20%0D%0A
  7890. variable_rtp_use_codec_string: PCMA,PCMU,G729
  7891. variable_audio_media_flow: sendrecv
  7892. variable_remote_media_ip: 46.19.210.22
  7893. variable_remote_media_port: 44418
  7894. variable_rtp_audio_recv_pt: 0
  7895. variable_rtp_use_codec_name: PCMU
  7896. variable_rtp_use_codec_rate: 8000
  7897. variable_rtp_use_codec_ptime: 20
  7898. variable_rtp_use_codec_channels: 1
  7899. variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c
  7900. variable_read_codec: PCMU
  7901. variable_original_read_codec: PCMU
  7902. variable_read_rate: 8000
  7903. variable_original_read_rate: 8000
  7904. variable_write_codec: PCMU
  7905. variable_write_rate: 8000
  7906. variable_dtmf_type: rfc2833
  7907. variable_endpoint_disposition: RECEIVED
  7908. variable_call_uuid: 90ed52ac-155c-11ec-9f53-7dfb9f6e00f0
  7909. Hunt-Direction: inbound
  7910. Hunt-Logical-Direction: inbound
  7911. Hunt-Username: 48798517722
  7912. Hunt-Dialplan: XML
  7913. Hunt-Caller-ID-Name: 48798517722
  7914. Hunt-Caller-ID-Number: 48798517722
  7915. Hunt-Orig-Caller-ID-Name: 48798517722
  7916. Hunt-Orig-Caller-ID-Number: 48798517722
  7917. Hunt-Network-Addr: 136.243.196.198
  7918. Hunt-ANI: 48798517722
  7919. Hunt-Destination-Number: 48732081792
  7920. Hunt-Unique-ID: 90ed52ac-155c-11ec-9f53-7dfb9f6e00f0
  7921. Hunt-Source: mod_sofia
  7922. Hunt-Context: default
  7923. Hunt-Channel-Name: sofia/default/48798517722%4046.19.210.14
  7924. Hunt-Profile-Index: 1
  7925. Hunt-Profile-Created-Time: 1631624785406749
  7926. Hunt-Channel-Created-Time: 1631624785406749
  7927. Hunt-Channel-Answered-Time: 0
  7928. Hunt-Channel-Progress-Time: 0
  7929. Hunt-Channel-Progress-Media-Time: 0
  7930. Hunt-Channel-Hangup-Time: 0
  7931. Hunt-Channel-Transfer-Time: 0
  7932. Hunt-Channel-Resurrect-Time: 0
  7933. Hunt-Channel-Bridged-Time: 0
  7934. Hunt-Channel-Last-Hold: 0
  7935. Hunt-Channel-Hold-Accum: 0
  7936. Hunt-Screen-Bit: true
  7937. Hunt-Privacy-Hide-Name: false
  7938. Hunt-Privacy-Hide-Number: false
  7939.  
  7940. '
  7941. 2021-09-14 09:06:25.406749 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name:
  7942. 2021-09-14 09:06:25.406749 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value:
  7943. 2021-09-14 09:06:25.406749 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name:
  7944. 2021-09-14 09:06:25.406749 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan
  7945. 2021-09-14 09:06:25.406749 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  7946. 2021-09-14 09:06:25.406749 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 48732081792
  7947. 2021-09-14 09:06:25.406749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '48732081792' limit 1
  7948. 2021-09-14 09:06:25.406749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '48732081792' AND status=0 limit 1
  7949. 2021-09-14 09:06:25.406749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '46.19.210.14' limit 1
  7950. 2021-09-14 09:06:25.406749 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  7951. 2021-09-14 09:06:25.406749 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 48798517722 / 48798517722
  7952. 2021-09-14 09:06:25.406749 [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 ="48732081792" LIMIT 1
  7953. 2021-09-14 09:06:25.406749 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
  7954. 2021-09-14 09:06:25.406749 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 714761424818]
  7955. 2021-09-14 09:06:25.406749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "714761424818" OR number = "714761424818" AND deleted = 0 limit 1
  7956. 2021-09-14 09:06:25.406749 [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 ="48732081792" AND A.accountid = '863' limit 1
  7957. 2021-09-14 09:06:25.406749 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 48732081792
  7958. 2021-09-14 09:06:25.406749 [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 ="48732081792" LIMIT 1
  7959. 2021-09-14 09:06:25.406749 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound
  7960. 2021-09-14 09:06:25.406749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="48732081792" AND (accountid = 0 OR status = 1) LIMIT 1
  7961. 2021-09-14 09:06:25.406749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  7962. 2021-09-14 09:06:25.406749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851
  7963. 2021-09-14 09:06:25.406749 [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 = '^48732081792.*' OR patterns = '^4873208179.*' OR patterns = '^487320817.*' OR patterns = '^48732081.*' OR patterns = '^4873208.*' OR patterns = '^487320.*' OR patterns = '^48732.*' OR patterns = '^4873.*' OR patterns = '^487.*' OR patterns = '^48.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC
  7964. 2021-09-14 09:06:25.446661 [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 = '48732081792' OR number = '4873208179' OR number = '487320817' OR number = '48732081' OR number = '4873208' OR number = '487320' OR number = '48732' OR number = '4873' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48732081792*' OR number = '4873208179*' OR number = '487320817*' OR number = '48732081*' OR number = '4873208*' OR number = '487320*' OR number = '48732*' OR number = '4873*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--') OR (number = '48798517722' OR number = '4879851772' OR number = '487985177' OR number = '48798517' OR number = '4879851' OR number = '487985' OR number = '48798' OR number = '4879' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48798517722*' OR number = '4879851772*' OR number = '487985177*' OR number = '48798517*' OR number = '4879851*' OR number = '487985*' OR number = '48798*' OR number = '4879*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  7965. 2021-09-14 09:06:25.446661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  7966. 2021-09-14 09:06:25.446661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '48732081792' OR routing_prefix = '4873208179' OR routing_prefix = '487320817' OR routing_prefix = '48732081' OR routing_prefix = '4873208' OR routing_prefix = '487320' OR routing_prefix = '48732' OR routing_prefix = '4873' OR routing_prefix = '487' OR routing_prefix = '48' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  7967. 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  7968. 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 863
  7969. 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 714761424818
  7970. 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000
  7971. 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  7972. 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1
  7973. 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  7974. 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  7975. 2021-09-14 09:06:25.446661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  7976. 2021-09-14 09:06:25.446661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  7977. 2021-09-14 09:06:25.446661 [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 ="48732081792" LIMIT 1
  7978. 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound
  7979. 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  7980. 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 8057
  7981. 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  7982. 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  7983. 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  7984. 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Mobile Voice
  7985. 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 153
  7986. 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 863
  7987. 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  7988. 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 863 !!!
  7989. 2021-09-14 09:06:25.446661 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180
  7990. 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
  7991. 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  7992. 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  7993. 2021-09-14 09:06:25.446661 [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 = 863 AND status=0 LIMIT 1
  7994. 2021-09-14 09:06:25.446661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" OR number = "851" AND deleted = 0 limit 1
  7995. 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:863
  7996. 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:863
  7997. 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 863
  7998. 2021-09-14 09:06:25.446661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  7999. 2021-09-14 09:06:25.446661 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  8000. 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
  8001. 2021-09-14 09:06:25.446661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  8002. 2021-09-14 09:06:25.446661 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  8003. 2021-09-14 09:06:25.446661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2
  8004. 2021-09-14 09:06:25.446661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  8005. <document type="freeswitch/xml">
  8006. <section name="dialplan" description="ASTPP Dialplan">
  8007. <context name="default">
  8008. <extension name="48732081792">
  8009. <condition field="destination_number" expression="48732081792">
  8010. <action application="set" data="effective_destination_number=48732081792"/>
  8011. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  8012. <action application="set" data="bridge_pre_execute_bleg_data=+10800 normal_clearing"/>
  8013. <action application="set" data="callstart=2021-09-14 13:06:25"/>
  8014. <action application="set" data="hangup_after_bridge=true"/>
  8015. <action application="set" data="continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602"/>
  8016. <action application="set" data="account_id=863"/>
  8017. <action application="set" data="parent_id=0"/>
  8018. <action application="set" data="entity_id=3"/>
  8019. <action application="set" data="call_processed=internal"/>
  8020. <action application="set" data="call_direction=inbound"/>
  8021. <action application="set" data="accountname=default"/>
  8022. <action application="set" data="filename1=astpp.pbx.lua"/>
  8023. <action application="set" data="origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851"/>
  8024. <action application="set" data="origination_rates=0"/>
  8025. <action application="set" data="original_caller_id_name=48798517722"/>
  8026. <action application="set" data="original_caller_id_number=48798517722"/>
  8027. <action application="set" data="effective_caller_id_name=48798517722"/>
  8028. <action application="set" data="effective_caller_id_number=48798517722"/>
  8029. <action application="set" data="receiver_accid=851"/>
  8030. <action application="export" data="domain_name=Voicespin802.newsip.israelnumber.com"/>
  8031. <action application="export" data="sip_to_host=Voicespin802.newsip.israelnumber.com"/>
  8032. <action application="limit" data="db 48732081792 did_48732081792 2 !SWITCH_CONGESTION"/>
  8033. <action application="export" data="presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14"/>
  8034. <action application="export" data="call_type=2"/>
  8035. <action application="set" data="calltype=DIRECT-IP"/>
  8036. <action application="bridge" data="[leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118"/>
  8037. </condition>
  8038. </extension>
  8039. </context>
  8040. </section>
  8041. </document>
  8042. 2021-09-14 09:06:25.446661 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released.
  8043. Dialplan: sofia/default/48798517722@46.19.210.14 parsing [default->48732081792] continue=false
  8044. Dialplan: sofia/default/48798517722@46.19.210.14 Regex (PASS) [48732081792] destination_number(48732081792) =~ /48732081792/ break=on-false
  8045. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_destination_number=48732081792)
  8046. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  8047. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  8048. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(callstart=2021-09-14 13:06:25)
  8049. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(hangup_after_bridge=true)
  8050. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  8051. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(account_id=863)
  8052. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(parent_id=0)
  8053. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(entity_id=3)
  8054. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_processed=internal)
  8055. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_direction=inbound)
  8056. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(accountname=default)
  8057. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(filename1=astpp.pbx.lua)
  8058. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851)
  8059. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates=0)
  8060. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_name=48798517722)
  8061. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_number=48798517722)
  8062. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_name=48798517722)
  8063. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_number=48798517722)
  8064. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(receiver_accid=851)
  8065. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(domain_name=Voicespin802.newsip.israelnumber.com)
  8066. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  8067. Dialplan: sofia/default/48798517722@46.19.210.14 Action limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION)
  8068. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14)
  8069. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(call_type=2)
  8070. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(calltype=DIRECT-IP)
  8071. Dialplan: sofia/default/48798517722@46.19.210.14 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118)
  8072. 2021-09-14 09:06:25.446661 [DEBUG] switch_core_state_machine.c:286 (sofia/default/48798517722@46.19.210.14) State Change CS_ROUTING -> CS_EXECUTE
  8073. 2021-09-14 09:06:25.446661 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING going to sleep
  8074. 2021-09-14 09:06:25.446661 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_EXECUTE (Cur 9 Tot 248032)
  8075. 2021-09-14 09:06:25.446661 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE
  8076. 2021-09-14 09:06:25.446661 [DEBUG] mod_sofia.c:198 sofia/default/48798517722@46.19.210.14 SOFIA EXECUTE
  8077. 2021-09-14 09:06:25.446661 [DEBUG] switch_core_state_machine.c:328 sofia/default/48798517722@46.19.210.14 Standard EXECUTE
  8078. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_destination_number=48732081792)
  8079. 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_destination_number]=[48732081792]
  8080. EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_app=sched_hangup)
  8081. 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_app]=[sched_hangup]
  8082. EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  8083. 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing]
  8084. EXECUTE sofia/default/48798517722@46.19.210.14 set(callstart=2021-09-14 13:06:25)
  8085. 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [callstart]=[2021-09-14 13:06:25]
  8086. EXECUTE sofia/default/48798517722@46.19.210.14 set(hangup_after_bridge=true)
  8087. 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [hangup_after_bridge]=[true]
  8088. EXECUTE sofia/default/48798517722@46.19.210.14 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  8089. 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]
  8090. EXECUTE sofia/default/48798517722@46.19.210.14 set(account_id=863)
  8091. 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [account_id]=[863]
  8092. EXECUTE sofia/default/48798517722@46.19.210.14 set(parent_id=0)
  8093. 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [parent_id]=[0]
  8094. EXECUTE sofia/default/48798517722@46.19.210.14 set(entity_id=3)
  8095. 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [entity_id]=[3]
  8096. EXECUTE sofia/default/48798517722@46.19.210.14 set(call_processed=internal)
  8097. 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_processed]=[internal]
  8098. EXECUTE sofia/default/48798517722@46.19.210.14 set(call_direction=inbound)
  8099. 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_direction]=[inbound]
  8100. EXECUTE sofia/default/48798517722@46.19.210.14 set(accountname=default)
  8101. 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [accountname]=[default]
  8102. EXECUTE sofia/default/48798517722@46.19.210.14 set(filename1=astpp.pbx.lua)
  8103. 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [filename1]=[astpp.pbx.lua]
  8104. EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851)
  8105. 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates_did]=[ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851]
  8106. EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates=0)
  8107. 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates]=[0]
  8108. EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_name=48798517722)
  8109. 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_name]=[48798517722]
  8110. EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_number=48798517722)
  8111. 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_number]=[48798517722]
  8112. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_name=48798517722)
  8113. 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_name]=[48798517722]
  8114. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_number=48798517722)
  8115. 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_number]=[48798517722]
  8116. EXECUTE sofia/default/48798517722@46.19.210.14 set(receiver_accid=851)
  8117. 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [receiver_accid]=[851]
  8118. EXECUTE sofia/default/48798517722@46.19.210.14 export(domain_name=Voicespin802.newsip.israelnumber.com)
  8119. 2021-09-14 09:06:25.446661 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com]
  8120. EXECUTE sofia/default/48798517722@46.19.210.14 export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  8121. 2021-09-14 09:06:25.446661 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com]
  8122. EXECUTE sofia/default/48798517722@46.19.210.14 limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION)
  8123. 2021-09-14 09:06:25.446661 [DEBUG] switch_limit.c:126 incr called: 48732081792_did_48732081792 max:2, interval:0
  8124. 2021-09-14 09:06:25.446661 [DEBUG] mod_db.c:194 Usage for 48732081792_did_48732081792 is now 1/2
  8125. EXECUTE sofia/default/48798517722@46.19.210.14 export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14)
  8126. 2021-09-14 09:06:25.446661 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14]
  8127. EXECUTE sofia/default/48798517722@46.19.210.14 export(call_type=2)
  8128. 2021-09-14 09:06:25.446661 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2]
  8129. EXECUTE sofia/default/48798517722@46.19.210.14 set(calltype=DIRECT-IP)
  8130. 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [calltype]=[DIRECT-IP]
  8131. EXECUTE sofia/default/48798517722@46.19.210.14 bridge([leg_timeout=30]sofia/default/48732081792@35.205.116.118)
  8132. 2021-09-14 09:06:25.446661 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event
  8133. 2021-09-14 09:06:25.446661 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event
  8134. 2021-09-14 09:06:25.446661 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] to event
  8135. 2021-09-14 09:06:25.446661 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [call_type]=[2] to event
  8136. 2021-09-14 09:06:25.446661 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  8137. 2021-09-14 09:06:25.446661 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  8138. 2021-09-14 09:06:25.446661 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48732081792@35.205.116.118 [90f2da10-155c-11ec-9f73-7dfb9f6e00f0]
  8139. 2021-09-14 09:06:25.446661 [DEBUG] mod_sofia.c:4819 (sofia/default/48732081792@35.205.116.118) State Change CS_NEW -> CS_INIT
  8140. 2021-09-14 09:06:25.446661 [DEBUG] switch_ivr_originate.c:2963 sofia/default/48732081792@35.205.116.118 Setting leg timeout to 30
  8141. 2021-09-14 09:06:25.446661 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_INIT (Cur 10 Tot 248033)
  8142. 2021-09-14 09:06:25.446661 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT
  8143. 2021-09-14 09:06:25.446661 [DEBUG] mod_sofia.c:90 sofia/default/48732081792@35.205.116.118 SOFIA INIT
  8144. 2021-09-14 09:06:25.446661 [DEBUG] sofia_glue.c:1295 sofia/default/48732081792@35.205.116.118 sending invite version: 1.6.20  64bit
  8145. Local SDP:
  8146. v=0
  8147. o=FreeSWITCH 1631602409 1631602410 IN IP4 89.46.223.193
  8148. s=FreeSWITCH
  8149. c=IN IP4 89.46.223.193
  8150. t=0 0
  8151. m=audio 22376 RTP/AVP 0 101
  8152. a=rtpmap:0 PCMU/8000
  8153. a=rtpmap:101 telephone-event/8000
  8154. a=fmtp:101 0-16
  8155. a=ptime:20
  8156. a=sendrecv
  8157.  
  8158. 2021-09-14 09:06:25.446661 [DEBUG] switch_core_state_machine.c:40 sofia/default/48732081792@35.205.116.118 Standard INIT
  8159. 2021-09-14 09:06:25.446661 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48732081792@35.205.116.118) State Change CS_INIT -> CS_ROUTING
  8160. 2021-09-14 09:06:25.446661 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT going to sleep
  8161. 2021-09-14 09:06:25.446661 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_ROUTING (Cur 10 Tot 248033)
  8162. 2021-09-14 09:06:25.446661 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING
  8163. 2021-09-14 09:06:25.446661 [DEBUG] mod_sofia.c:143 sofia/default/48732081792@35.205.116.118 SOFIA ROUTING
  8164. 2021-09-14 09:06:25.446661 [DEBUG] switch_ivr_originate.c:67 (sofia/default/48732081792@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  8165. 2021-09-14 09:06:25.446661 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING going to sleep
  8166. 2021-09-14 09:06:25.446661 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 10 Tot 248033)
  8167. 2021-09-14 09:06:25.446661 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA
  8168. 2021-09-14 09:06:25.446661 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA going to sleep
  8169. 2021-09-14 09:06:25.446661 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [calling][0]
  8170. 2021-09-14 09:06:25.806813 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [terminated][500]
  8171. 2021-09-14 09:06:25.806813 [NOTICE] sofia.c:8273 Hangup sofia/default/48732081792@35.205.116.118 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
  8172. 2021-09-14 09:06:25.806813 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_HANGUP (Cur 10 Tot 248033)
  8173. 2021-09-14 09:06:25.806813 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48732081792@35.205.116.118) Callstate Change DOWN -> HANGUP
  8174. 2021-09-14 09:06:25.806813 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP
  8175. 2021-09-14 09:06:25.806813 [DEBUG] mod_sofia.c:438 Channel sofia/default/48732081792@35.205.116.118 hanging up, cause: NORMAL_TEMPORARY_FAILURE
  8176. 2021-09-14 09:06:25.806813 [DEBUG] switch_core_state_machine.c:60 sofia/default/48732081792@35.205.116.118 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
  8177. 2021-09-14 09:06:25.806813 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP going to sleep
  8178. 2021-09-14 09:06:25.806813 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48732081792@35.205.116.118) State Change CS_HANGUP -> CS_REPORTING
  8179. 2021-09-14 09:06:25.806813 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_REPORTING (Cur 10 Tot 248033)
  8180. 2021-09-14 09:06:25.806813 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING
  8181. 2021-09-14 09:06:25.806813 [INFO] mod_json_cdr.c:271 Process [90f2da10-155c-11ec-9f73-7dfb9f6e00f0.cdr.json]
  8182. 2021-09-14 09:06:25.846680 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
  8183. 2021-09-14 09:06:25.846680 [INFO] mod_dptools.c:3436 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
  8184. 2021-09-14 09:06:25.846680 [DEBUG] switch_channel.c:4775 Continue on fail [1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]:  Cause: NORMAL_TEMPORARY_FAILURE
  8185. 2021-09-14 09:06:25.846680 [NOTICE] switch_core_state_machine.c:385 sofia/default/48798517722@46.19.210.14 has executed the last dialplan instruction, hanging up.
  8186. 2021-09-14 09:06:25.846680 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/48798517722@46.19.210.14 [CS_EXECUTE] [NORMAL_CLEARING]
  8187. 2021-09-14 09:06:25.846680 [DEBUG] switch_core_state_machine.c:174 sofia/default/48732081792@35.205.116.118 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
  8188. 2021-09-14 09:06:25.846680 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING going to sleep
  8189. 2021-09-14 09:06:25.846680 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48732081792@35.205.116.118) State Change CS_REPORTING -> CS_DESTROY
  8190. 2021-09-14 09:06:25.846680 [DEBUG] switch_core_session.c:1665 Session 248033 (sofia/default/48732081792@35.205.116.118) Locked, Waiting on external entities
  8191. 2021-09-14 09:06:25.846680 [NOTICE] switch_core_session.c:1683 Session 248033 (sofia/default/48732081792@35.205.116.118) Ended
  8192. 2021-09-14 09:06:25.846680 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48732081792@35.205.116.118 [CS_DESTROY]
  8193. 2021-09-14 09:06:25.846680 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48732081792@35.205.116.118) Running State Change CS_DESTROY (Cur 9 Tot 248033)
  8194. 2021-09-14 09:06:25.846680 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY
  8195. 2021-09-14 09:06:25.846680 [DEBUG] mod_sofia.c:343 sofia/default/48732081792@35.205.116.118 SOFIA DESTROY
  8196. 2021-09-14 09:06:25.846680 [DEBUG] switch_core_state_machine.c:181 sofia/default/48732081792@35.205.116.118 Standard DESTROY
  8197. 2021-09-14 09:06:25.846680 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY going to sleep
  8198. 2021-09-14 09:06:25.846680 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE going to sleep
  8199. 2021-09-14 09:06:25.846680 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_HANGUP (Cur 9 Tot 248033)
  8200. 2021-09-14 09:06:25.846680 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48798517722@46.19.210.14) Callstate Change RINGING -> HANGUP
  8201. 2021-09-14 09:06:25.846680 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP
  8202. 2021-09-14 09:06:25.846680 [DEBUG] mod_sofia.c:432 sofia/default/48798517722@46.19.210.14 Overriding SIP cause 480 with 500 from the other leg
  8203. 2021-09-14 09:06:25.846680 [DEBUG] mod_sofia.c:438 Channel sofia/default/48798517722@46.19.210.14 hanging up, cause: NORMAL_CLEARING
  8204. 2021-09-14 09:06:25.846680 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 500
  8205. 2021-09-14 09:06:25.846680 [DEBUG] switch_core_state_machine.c:60 sofia/default/48798517722@46.19.210.14 Standard HANGUP, cause: NORMAL_CLEARING
  8206. 2021-09-14 09:06:25.846680 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP going to sleep
  8207. 2021-09-14 09:06:25.846680 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48798517722@46.19.210.14) State Change CS_HANGUP -> CS_REPORTING
  8208. 2021-09-14 09:06:25.846680 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_REPORTING (Cur 9 Tot 248033)
  8209. 2021-09-14 09:06:25.846680 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING
  8210. 2021-09-14 09:06:25.846680 [INFO] mod_json_cdr.c:271 Process [90ed52ac-155c-11ec-9f53-7dfb9f6e00f0.cdr.json]
  8211. 2021-09-14 09:06:25.866676 [DEBUG] switch_core_state_machine.c:174 sofia/default/48798517722@46.19.210.14 Standard REPORTING, cause: NORMAL_CLEARING
  8212. 2021-09-14 09:06:25.866676 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING going to sleep
  8213. 2021-09-14 09:06:25.866676 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48798517722@46.19.210.14) State Change CS_REPORTING -> CS_DESTROY
  8214. 2021-09-14 09:06:25.866676 [DEBUG] switch_core_session.c:1665 Session 248032 (sofia/default/48798517722@46.19.210.14) Locked, Waiting on external entities
  8215. 2021-09-14 09:06:25.866676 [NOTICE] switch_core_session.c:1683 Session 248032 (sofia/default/48798517722@46.19.210.14) Ended
  8216. 2021-09-14 09:06:25.866676 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48798517722@46.19.210.14 [CS_DESTROY]
  8217. 2021-09-14 09:06:25.866676 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48798517722@46.19.210.14) Running State Change CS_DESTROY (Cur 8 Tot 248033)
  8218. 2021-09-14 09:06:25.866676 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY
  8219. 2021-09-14 09:06:25.866676 [DEBUG] mod_sofia.c:343 sofia/default/48798517722@46.19.210.14 SOFIA DESTROY
  8220. 2021-09-14 09:06:25.866676 [DEBUG] switch_core_state_machine.c:181 sofia/default/48798517722@46.19.210.14 Standard DESTROY
  8221. 2021-09-14 09:06:25.866676 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY going to sleep
  8222. 2021-09-14 09:06:27.006680 [NOTICE] sofia.c:1012 Hangup sofia/default/390399686667@88.99.5.200 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  8223. 2021-09-14 09:06:27.006680 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/390399686667@88.99.5.200]
  8224. 2021-09-14 09:06:27.006680 [DEBUG] switch_core_state_machine.c:653 (sofia/default/390399686667@88.99.5.200) State EXCHANGE_MEDIA going to sleep
  8225. 2021-09-14 09:06:27.006680 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399686667@88.99.5.200) Running State Change CS_HANGUP (Cur 8 Tot 248033)
  8226. 2021-09-14 09:06:27.006680 [DEBUG] switch_core_state_machine.c:850 (sofia/default/390399686667@88.99.5.200) Callstate Change ACTIVE -> HANGUP
  8227. 2021-09-14 09:06:27.006680 [DEBUG] switch_core_state_machine.c:852 (sofia/default/390399686667@88.99.5.200) State HANGUP
  8228. 2021-09-14 09:06:27.006680 [DEBUG] mod_sofia.c:438 Channel sofia/default/390399686667@88.99.5.200 hanging up, cause: NORMAL_CLEARING
  8229. 2021-09-14 09:06:27.006680 [DEBUG] switch_core_state_machine.c:60 sofia/default/390399686667@88.99.5.200 Standard HANGUP, cause: NORMAL_CLEARING
  8230. 2021-09-14 09:06:27.006680 [DEBUG] switch_core_state_machine.c:852 (sofia/default/390399686667@88.99.5.200) State HANGUP going to sleep
  8231. 2021-09-14 09:06:27.006680 [DEBUG] switch_core_state_machine.c:619 (sofia/default/390399686667@88.99.5.200) State Change CS_HANGUP -> CS_REPORTING
  8232. 2021-09-14 09:06:27.006680 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399686667@88.99.5.200) Running State Change CS_REPORTING (Cur 8 Tot 248033)
  8233. 2021-09-14 09:06:27.006680 [DEBUG] switch_core_state_machine.c:938 (sofia/default/390399686667@88.99.5.200) State REPORTING
  8234. 2021-09-14 09:06:27.006680 [INFO] mod_json_cdr.c:271 Process [500878d4-155c-11ec-9e35-7dfb9f6e00f0.cdr.json]
  8235. 2021-09-14 09:06:27.006680 [DEBUG] switch_core_state_machine.c:174 sofia/default/390399686667@88.99.5.200 Standard REPORTING, cause: NORMAL_CLEARING
  8236. 2021-09-14 09:06:27.006680 [DEBUG] switch_core_state_machine.c:938 (sofia/default/390399686667@88.99.5.200) State REPORTING going to sleep
  8237. 2021-09-14 09:06:27.006680 [DEBUG] switch_core_state_machine.c:610 (sofia/default/390399686667@88.99.5.200) State Change CS_REPORTING -> CS_DESTROY
  8238. 2021-09-14 09:06:27.006680 [DEBUG] switch_core_session.c:1665 Session 248017 (sofia/default/390399686667@88.99.5.200) Locked, Waiting on external entities
  8239. 2021-09-14 09:06:27.026667 [DEBUG] switch_ivr_bridge.c:706 sofia/default/390399686667@88.99.5.200 ending bridge by request from write function
  8240. 2021-09-14 09:06:27.026667 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/390541614514@173.203.86.119]
  8241. 2021-09-14 09:06:27.026667 [NOTICE] switch_ivr_bridge.c:1764 Hangup sofia/default/390541614514@173.203.86.119 [CS_EXECUTE] [NORMAL_CLEARING]
  8242. 2021-09-14 09:06:27.026667 [NOTICE] switch_core_session.c:1683 Session 248017 (sofia/default/390399686667@88.99.5.200) Ended
  8243. 2021-09-14 09:06:27.026667 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/390399686667@88.99.5.200 [CS_DESTROY]
  8244. 2021-09-14 09:06:27.026667 [DEBUG] switch_core_session.c:2815 sofia/default/390541614514@173.203.86.119 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  8245. 2021-09-14 09:06:27.026667 [DEBUG] switch_core_state_machine.c:650 (sofia/default/390541614514@173.203.86.119) State EXECUTE going to sleep
  8246. 2021-09-14 09:06:27.026667 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390541614514@173.203.86.119) Running State Change CS_HANGUP (Cur 7 Tot 248033)
  8247. 2021-09-14 09:06:27.026667 [DEBUG] switch_core_state_machine.c:741 (sofia/default/390399686667@88.99.5.200) Running State Change CS_DESTROY (Cur 7 Tot 248033)
  8248. 2021-09-14 09:06:27.026667 [DEBUG] switch_core_state_machine.c:850 (sofia/default/390541614514@173.203.86.119) Callstate Change ACTIVE -> HANGUP
  8249. 2021-09-14 09:06:27.026667 [DEBUG] switch_core_state_machine.c:751 (sofia/default/390399686667@88.99.5.200) State DESTROY
  8250. 2021-09-14 09:06:27.026667 [DEBUG] mod_sofia.c:343 sofia/default/390399686667@88.99.5.200 SOFIA DESTROY
  8251. 2021-09-14 09:06:27.026667 [DEBUG] switch_core_state_machine.c:181 sofia/default/390399686667@88.99.5.200 Standard DESTROY
  8252. 2021-09-14 09:06:27.026667 [DEBUG] switch_core_state_machine.c:751 (sofia/default/390399686667@88.99.5.200) State DESTROY going to sleep
  8253. 2021-09-14 09:06:27.026667 [DEBUG] switch_core_state_machine.c:852 (sofia/default/390541614514@173.203.86.119) State HANGUP
  8254. 2021-09-14 09:06:27.026667 [DEBUG] mod_sofia.c:432 sofia/default/390541614514@173.203.86.119 Overriding SIP cause 480 with 200 from the other leg
  8255. 2021-09-14 09:06:27.026667 [DEBUG] mod_sofia.c:438 Channel sofia/default/390541614514@173.203.86.119 hanging up, cause: NORMAL_CLEARING
  8256. 2021-09-14 09:06:27.026667 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/390541614514@173.203.86.119
  8257. 2021-09-14 09:06:27.026667 [DEBUG] switch_core_state_machine.c:60 sofia/default/390541614514@173.203.86.119 Standard HANGUP, cause: NORMAL_CLEARING
  8258. 2021-09-14 09:06:27.026667 [DEBUG] switch_core_state_machine.c:852 (sofia/default/390541614514@173.203.86.119) State HANGUP going to sleep
  8259. 2021-09-14 09:06:27.026667 [DEBUG] switch_core_state_machine.c:619 (sofia/default/390541614514@173.203.86.119) State Change CS_HANGUP -> CS_REPORTING
  8260. 2021-09-14 09:06:27.026667 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390541614514@173.203.86.119) Running State Change CS_REPORTING (Cur 7 Tot 248033)
  8261. 2021-09-14 09:06:27.026667 [DEBUG] switch_core_state_machine.c:938 (sofia/default/390541614514@173.203.86.119) State REPORTING
  8262. 2021-09-14 09:06:27.026667 [INFO] mod_json_cdr.c:271 Process [5003368a-155c-11ec-9e15-7dfb9f6e00f0.cdr.json]
  8263. 2021-09-14 09:06:27.046682 [DEBUG] switch_core_state_machine.c:174 sofia/default/390541614514@173.203.86.119 Standard REPORTING, cause: NORMAL_CLEARING
  8264. 2021-09-14 09:06:27.046682 [DEBUG] switch_core_state_machine.c:938 (sofia/default/390541614514@173.203.86.119) State REPORTING going to sleep
  8265. 2021-09-14 09:06:27.046682 [DEBUG] switch_core_state_machine.c:610 (sofia/default/390541614514@173.203.86.119) State Change CS_REPORTING -> CS_DESTROY
  8266. 2021-09-14 09:06:27.046682 [DEBUG] switch_core_session.c:1665 Session 248016 (sofia/default/390541614514@173.203.86.119) Locked, Waiting on external entities
  8267. 2021-09-14 09:06:27.046682 [NOTICE] switch_core_session.c:1683 Session 248016 (sofia/default/390541614514@173.203.86.119) Ended
  8268. 2021-09-14 09:06:27.046682 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/390541614514@173.203.86.119 [CS_DESTROY]
  8269. 2021-09-14 09:06:27.046682 [DEBUG] switch_core_state_machine.c:741 (sofia/default/390541614514@173.203.86.119) Running State Change CS_DESTROY (Cur 6 Tot 248033)
  8270. 2021-09-14 09:06:27.046682 [DEBUG] switch_core_state_machine.c:751 (sofia/default/390541614514@173.203.86.119) State DESTROY
  8271. 2021-09-14 09:06:27.046682 [DEBUG] mod_sofia.c:343 sofia/default/390541614514@173.203.86.119 SOFIA DESTROY
  8272. 2021-09-14 09:06:27.046682 [DEBUG] switch_core_state_machine.c:181 sofia/default/390541614514@173.203.86.119 Standard DESTROY
  8273. 2021-09-14 09:06:27.046682 [DEBUG] switch_core_state_machine.c:751 (sofia/default/390541614514@173.203.86.119) State DESTROY going to sleep
  8274. 2021-09-14 09:06:27.226668 [DEBUG] switch_scheduler.c:144 Deleting task 31131 switch_ivr_schedule_hangup (500878d4-155c-11ec-9e35-7dfb9f6e00f0)
  8275. 2021-09-14 09:06:38.306673 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48798517722@46.19.210.14 [989bfff8-155c-11ec-9f77-7dfb9f6e00f0]
  8276. 2021-09-14 09:06:38.306673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_NEW (Cur 7 Tot 248034)
  8277. 2021-09-14 09:06:38.306673 [DEBUG] sofia.c:9873 sofia/default/48798517722@46.19.210.14 receiving invite from 136.243.196.198:5060 version: 1.6.20  64bit
  8278. 2021-09-14 09:06:38.306673 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
  8279. 2021-09-14 09:06:38.306673 [DEBUG] sofia.c:7084 Channel sofia/default/48798517722@46.19.210.14 entering state [received][100]
  8280. 2021-09-14 09:06:38.306673 [DEBUG] sofia.c:7094 Remote SDP:
  8281. v=0
  8282. o=didww-sbc 1908517856 32762 IN IP4 46.19.210.23
  8283. s=didww-sbc
  8284. t=0 0
  8285. m=audio 50304 RTP/AVP 0 8 18 4 101
  8286. c=IN IP4 46.19.210.23
  8287. a=rtpmap:0 PCMU/8000
  8288. a=rtpmap:8 PCMA/8000
  8289. a=rtpmap:18 G729/8000
  8290. a=fmtp:18 annexb=no
  8291. a=rtpmap:4 G723/8000
  8292. a=rtpmap:101 telephone-event/8000
  8293. a=ptime:20
  8294.  
  8295. 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  8296. 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  8297. 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  8298. 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  8299. 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  8300. 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  8301. 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  8302. 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  8303. 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  8304. 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  8305. 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  8306. 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  8307. 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1]
  8308. 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1]
  8309. 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:20:8000:1]
  8310. 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  8311. 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/48798517722@46.19.210.14 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  8312. 2021-09-14 09:06:38.306673 [DEBUG] switch_core_codec.c:111 sofia/default/48798517722@46.19.210.14 Original read codec set to PCMU:0
  8313. 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  8314. 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:4767 sofia/default/48798517722@46.19.210.14 Set 2833 dtmf send payload to 101 recv payload to 101
  8315. 2021-09-14 09:06:38.306673 [DEBUG] sofia.c:7507 (sofia/default/48798517722@46.19.210.14) State Change CS_NEW -> CS_INIT
  8316. 2021-09-14 09:06:38.306673 [DEBUG] switch_core_state_machine.c:603 (sofia/default/48798517722@46.19.210.14) State NEW
  8317. 2021-09-14 09:06:38.306673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_INIT (Cur 7 Tot 248034)
  8318. 2021-09-14 09:06:38.306673 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT
  8319. 2021-09-14 09:06:38.306673 [DEBUG] mod_sofia.c:90 sofia/default/48798517722@46.19.210.14 SOFIA INIT
  8320. 2021-09-14 09:06:38.306673 [DEBUG] switch_core_state_machine.c:40 sofia/default/48798517722@46.19.210.14 Standard INIT
  8321. 2021-09-14 09:06:38.306673 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48798517722@46.19.210.14) State Change CS_INIT -> CS_ROUTING
  8322. 2021-09-14 09:06:38.306673 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT going to sleep
  8323. 2021-09-14 09:06:38.306673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_ROUTING (Cur 7 Tot 248034)
  8324. 2021-09-14 09:06:38.306673 [DEBUG] switch_channel.c:2249 (sofia/default/48798517722@46.19.210.14) Callstate Change DOWN -> RINGING
  8325. 2021-09-14 09:06:38.306673 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING
  8326. 2021-09-14 09:06:38.306673 [DEBUG] mod_sofia.c:143 sofia/default/48798517722@46.19.210.14 SOFIA ROUTING
  8327. 2021-09-14 09:06:38.306673 [DEBUG] switch_core_state_machine.c:236 sofia/default/48798517722@46.19.210.14 Standard ROUTING
  8328. 2021-09-14 09:06:38.306673 [INFO] mod_dialplan_xml.c:637 Processing 48798517722 <48798517722>->48732081792 in context default
  8329. 2021-09-14 09:06:38.306673 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected.
  8330. 2021-09-14 09:06:38.306673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  8331. 2021-09-14 09:06:38.306673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  8332. 2021-09-14 09:06:38.306673 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params:
  8333. 'Event-Name: REQUEST_PARAMS
  8334. Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0
  8335. FreeSWITCH-Hostname: astpp1.local
  8336. FreeSWITCH-Switchname: astpp1.local
  8337. FreeSWITCH-IPv4: 89.46.223.193
  8338. FreeSWITCH-IPv6: %3A%3A1
  8339. Event-Date-Local: 2021-09-14%2009%3A06%3A38
  8340. Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A06%3A38%20GMT
  8341. Event-Date-Timestamp: 1631624798306673
  8342. Event-Calling-File: mod_dialplan_xml.c
  8343. Event-Calling-Function: dialplan_xml_locate
  8344. Event-Calling-Line-Number: 608
  8345. Event-Sequence: 7528779
  8346. Channel-State: CS_ROUTING
  8347. Channel-Call-State: RINGING
  8348. Channel-State-Number: 2
  8349. Channel-Name: sofia/default/48798517722%4046.19.210.14
  8350. Unique-ID: 989bfff8-155c-11ec-9f77-7dfb9f6e00f0
  8351. Call-Direction: inbound
  8352. Presence-Call-Direction: inbound
  8353. Channel-HIT-Dialplan: true
  8354. Channel-Presence-ID: 48798517722%4046.19.210.14
  8355. Channel-Call-UUID: 989bfff8-155c-11ec-9f77-7dfb9f6e00f0
  8356. Answer-State: ringing
  8357. Channel-Read-Codec-Name: PCMU
  8358. Channel-Read-Codec-Rate: 8000
  8359. Channel-Read-Codec-Bit-Rate: 64000
  8360. Channel-Write-Codec-Name: PCMU
  8361. Channel-Write-Codec-Rate: 8000
  8362. Channel-Write-Codec-Bit-Rate: 64000
  8363. Caller-Direction: inbound
  8364. Caller-Logical-Direction: inbound
  8365. Caller-Username: 48798517722
  8366. Caller-Dialplan: XML
  8367. Caller-Caller-ID-Name: 48798517722
  8368. Caller-Caller-ID-Number: 48798517722
  8369. Caller-Orig-Caller-ID-Name: 48798517722
  8370. Caller-Orig-Caller-ID-Number: 48798517722
  8371. Caller-Network-Addr: 136.243.196.198
  8372. Caller-ANI: 48798517722
  8373. Caller-Destination-Number: 48732081792
  8374. Caller-Unique-ID: 989bfff8-155c-11ec-9f77-7dfb9f6e00f0
  8375. Caller-Source: mod_sofia
  8376. Caller-Context: default
  8377. Caller-Channel-Name: sofia/default/48798517722%4046.19.210.14
  8378. Caller-Profile-Index: 1
  8379. Caller-Profile-Created-Time: 1631624798306673
  8380. Caller-Channel-Created-Time: 1631624798306673
  8381. Caller-Channel-Answered-Time: 0
  8382. Caller-Channel-Progress-Time: 0
  8383. Caller-Channel-Progress-Media-Time: 0
  8384. Caller-Channel-Hangup-Time: 0
  8385. Caller-Channel-Transfer-Time: 0
  8386. Caller-Channel-Resurrect-Time: 0
  8387. Caller-Channel-Bridged-Time: 0
  8388. Caller-Channel-Last-Hold: 0
  8389. Caller-Channel-Hold-Accum: 0
  8390. Caller-Screen-Bit: true
  8391. Caller-Privacy-Hide-Name: false
  8392. Caller-Privacy-Hide-Number: false
  8393. variable_direction: inbound
  8394. variable_uuid: 989bfff8-155c-11ec-9f77-7dfb9f6e00f0
  8395. variable_session_id: 248034
  8396. variable_sip_from_user: 48798517722
  8397. variable_sip_from_uri: 48798517722%4046.19.210.14
  8398. variable_sip_from_host: 46.19.210.14
  8399. variable_video_media_flow: sendrecv
  8400. variable_channel_name: sofia/default/48798517722%4046.19.210.14
  8401. variable_sip_call_id: 14-14-34C03D61-61409E5E00044E53-71C28700
  8402. variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b
  8403. variable_sip_local_network_addr: 89.46.223.193
  8404. variable_sip_network_ip: 136.243.196.198
  8405. variable_sip_network_port: 5060
  8406. variable_sip_invite_stamp: 1631624798306673
  8407. variable_sip_received_ip: 136.243.196.198
  8408. variable_sip_received_port: 5060
  8409. variable_sip_via_protocol: udp
  8410. variable_sip_authorized: true
  8411. variable_sip_acl_authed_by: default
  8412. variable_sip_from_user_stripped: 48798517722
  8413. variable_sip_from_tag: 14-76BFCE03-61409E5E00044D24-71C28700
  8414. variable_sofia_profile_name: default
  8415. variable_recovery_profile_name: default
  8416. variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D216.84bdf07%3E
  8417. variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D216.84bdf07%3E
  8418. variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bK13d4.49d8fd87.0,SIP/2.0/UDP%2046.19.210.14%3Breceived%3D46.19.210.14%3Bbranch%3Dz9hG4bKBln1qa.a%3Brport%3D5060
  8419. variable_sip_from_display: 48798517722
  8420. variable_sip_full_from: %2248798517722%22%20%3Csip%3A48798517722%4046.19.210.14%3E%3Btag%3D14-76BFCE03-61409E5E00044D24-71C28700
  8421. variable_sip_full_to: %3Csip%3A48732081792%40newsip.israelnumber.com%3A5060%3E
  8422. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20UPDATE
  8423. variable_sip_req_user: 48732081792
  8424. variable_sip_req_port: 5060
  8425. variable_sip_req_uri: 48732081792%40newsip.israelnumber.com%3A5060
  8426. variable_sip_req_host: newsip.israelnumber.com
  8427. variable_sip_to_user: 48732081792
  8428. variable_sip_to_port: 5060
  8429. variable_sip_to_uri: 48732081792%40newsip.israelnumber.com%3A5060
  8430. variable_sip_to_host: newsip.israelnumber.com
  8431. variable_sip_contact_params: transport%3Dudp
  8432. variable_sip_contact_user: nobody
  8433. variable_sip_contact_port: 5060
  8434. variable_sip_contact_uri: nobody%4046.19.210.14%3A5060
  8435. variable_sip_contact_host: 46.19.210.14
  8436. variable_sip_user_agent: DIDWW%20SBC%20node
  8437. variable_sip_via_host: 136.243.196.198
  8438. variable_sip_via_port: 5060
  8439. variable_max_forwards: 30
  8440. variable_presence_id: 48798517722%4046.19.210.14
  8441. variable_sip_h_X-AUTH-IP: 46.19.210.14
  8442. variable_sip_h_P-Accountcode: 714761424818
  8443. variable_sip_h_P-effective_caller_id_name: 48798517722
  8444. variable_sip_h_P-effective_caller_id_number: 48798517722
  8445. variable_switch_r_sdp: v%3D0%0D%0Ao%3Ddidww-sbc%201908517856%2032762%20IN%20IP4%2046.19.210.23%0D%0As%3Ddidww-sbc%0D%0At%3D0%200%0D%0Am%3Daudio%2050304%20RTP/AVP%200%208%2018%204%20101%0D%0Ac%3DIN%20IP4%2046.19.210.23%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A4%20G723/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dptime%3A20%0D%0A
  8446. variable_rtp_use_codec_string: PCMA,PCMU,G729
  8447. variable_audio_media_flow: sendrecv
  8448. variable_remote_media_ip: 46.19.210.23
  8449. variable_remote_media_port: 50304
  8450. variable_rtp_audio_recv_pt: 0
  8451. variable_rtp_use_codec_name: PCMU
  8452. variable_rtp_use_codec_rate: 8000
  8453. variable_rtp_use_codec_ptime: 20
  8454. variable_rtp_use_codec_channels: 1
  8455. variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c
  8456. variable_read_codec: PCMU
  8457. variable_original_read_codec: PCMU
  8458. variable_read_rate: 8000
  8459. variable_original_read_rate: 8000
  8460. variable_write_codec: PCMU
  8461. variable_write_rate: 8000
  8462. variable_dtmf_type: rfc2833
  8463. variable_endpoint_disposition: RECEIVED
  8464. variable_call_uuid: 989bfff8-155c-11ec-9f77-7dfb9f6e00f0
  8465. Hunt-Direction: inbound
  8466. Hunt-Logical-Direction: inbound
  8467. Hunt-Username: 48798517722
  8468. Hunt-Dialplan: XML
  8469. Hunt-Caller-ID-Name: 48798517722
  8470. Hunt-Caller-ID-Number: 48798517722
  8471. Hunt-Orig-Caller-ID-Name: 48798517722
  8472. Hunt-Orig-Caller-ID-Number: 48798517722
  8473. Hunt-Network-Addr: 136.243.196.198
  8474. Hunt-ANI: 48798517722
  8475. Hunt-Destination-Number: 48732081792
  8476. Hunt-Unique-ID: 989bfff8-155c-11ec-9f77-7dfb9f6e00f0
  8477. Hunt-Source: mod_sofia
  8478. Hunt-Context: default
  8479. Hunt-Channel-Name: sofia/default/48798517722%4046.19.210.14
  8480. Hunt-Profile-Index: 1
  8481. Hunt-Profile-Created-Time: 1631624798306673
  8482. Hunt-Channel-Created-Time: 1631624798306673
  8483. Hunt-Channel-Answered-Time: 0
  8484. Hunt-Channel-Progress-Time: 0
  8485. Hunt-Channel-Progress-Media-Time: 0
  8486. Hunt-Channel-Hangup-Time: 0
  8487. Hunt-Channel-Transfer-Time: 0
  8488. Hunt-Channel-Resurrect-Time: 0
  8489. Hunt-Channel-Bridged-Time: 0
  8490. Hunt-Channel-Last-Hold: 0
  8491. Hunt-Channel-Hold-Accum: 0
  8492. Hunt-Screen-Bit: true
  8493. Hunt-Privacy-Hide-Name: false
  8494. Hunt-Privacy-Hide-Number: false
  8495.  
  8496. '
  8497. 2021-09-14 09:06:38.306673 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name:
  8498. 2021-09-14 09:06:38.306673 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value:
  8499. 2021-09-14 09:06:38.306673 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name:
  8500. 2021-09-14 09:06:38.306673 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan
  8501. 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  8502. 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 48732081792
  8503. 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '48732081792' limit 1
  8504. 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '48732081792' AND status=0 limit 1
  8505. 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '46.19.210.14' limit 1
  8506. 2021-09-14 09:06:38.326756 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  8507. 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 48798517722 / 48798517722
  8508. 2021-09-14 09:06:38.326756 [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 ="48732081792" LIMIT 1
  8509. 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
  8510. 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 714761424818]
  8511. 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "714761424818" OR number = "714761424818" AND deleted = 0 limit 1
  8512. 2021-09-14 09:06:38.326756 [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 ="48732081792" AND A.accountid = '863' limit 1
  8513. 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 48732081792
  8514. 2021-09-14 09:06:38.326756 [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 ="48732081792" LIMIT 1
  8515. 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound
  8516. 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="48732081792" AND (accountid = 0 OR status = 1) LIMIT 1
  8517. 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  8518. 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851
  8519. 2021-09-14 09:06:38.326756 [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 = '^48732081792.*' OR patterns = '^4873208179.*' OR patterns = '^487320817.*' OR patterns = '^48732081.*' OR patterns = '^4873208.*' OR patterns = '^487320.*' OR patterns = '^48732.*' OR patterns = '^4873.*' OR patterns = '^487.*' OR patterns = '^48.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC
  8520. 2021-09-14 09:06:38.326756 [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 = '48732081792' OR number = '4873208179' OR number = '487320817' OR number = '48732081' OR number = '4873208' OR number = '487320' OR number = '48732' OR number = '4873' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48732081792*' OR number = '4873208179*' OR number = '487320817*' OR number = '48732081*' OR number = '4873208*' OR number = '487320*' OR number = '48732*' OR number = '4873*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--') OR (number = '48798517722' OR number = '4879851772' OR number = '487985177' OR number = '48798517' OR number = '4879851' OR number = '487985' OR number = '48798' OR number = '4879' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48798517722*' OR number = '4879851772*' OR number = '487985177*' OR number = '48798517*' OR number = '4879851*' OR number = '487985*' OR number = '48798*' OR number = '4879*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  8521. 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  8522. 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '48732081792' OR routing_prefix = '4873208179' OR routing_prefix = '487320817' OR routing_prefix = '48732081' OR routing_prefix = '4873208' OR routing_prefix = '487320' OR routing_prefix = '48732' OR routing_prefix = '4873' OR routing_prefix = '487' OR routing_prefix = '48' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  8523. 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  8524. 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 863
  8525. 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 714761424818
  8526. 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000
  8527. 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  8528. 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1
  8529. 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  8530. 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  8531. 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  8532. 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  8533. 2021-09-14 09:06:38.326756 [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 ="48732081792" LIMIT 1
  8534. 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound
  8535. 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  8536. 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 8057
  8537. 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  8538. 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  8539. 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  8540. 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Mobile Voice
  8541. 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 153
  8542. 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 863
  8543. 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  8544. 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 863 !!!
  8545. 2021-09-14 09:06:38.326756 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180
  8546. 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
  8547. 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  8548. 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  8549. 2021-09-14 09:06:38.326756 [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 = 863 AND status=0 LIMIT 1
  8550. 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" OR number = "851" AND deleted = 0 limit 1
  8551. 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:863
  8552. 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:863
  8553. 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 863
  8554. 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  8555. 2021-09-14 09:06:38.326756 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  8556. 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
  8557. 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  8558. 2021-09-14 09:06:38.326756 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  8559. 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2
  8560. 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  8561. <document type="freeswitch/xml">
  8562. <section name="dialplan" description="ASTPP Dialplan">
  8563. <context name="default">
  8564. <extension name="48732081792">
  8565. <condition field="destination_number" expression="48732081792">
  8566. <action application="set" data="effective_destination_number=48732081792"/>
  8567. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  8568. <action application="set" data="bridge_pre_execute_bleg_data=+10800 normal_clearing"/>
  8569. <action application="set" data="callstart=2021-09-14 13:06:38"/>
  8570. <action application="set" data="hangup_after_bridge=true"/>
  8571. <action application="set" data="continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602"/>
  8572. <action application="set" data="account_id=863"/>
  8573. <action application="set" data="parent_id=0"/>
  8574. <action application="set" data="entity_id=3"/>
  8575. <action application="set" data="call_processed=internal"/>
  8576. <action application="set" data="call_direction=inbound"/>
  8577. <action application="set" data="accountname=default"/>
  8578. <action application="set" data="filename1=astpp.pbx.lua"/>
  8579. <action application="set" data="origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851"/>
  8580. <action application="set" data="origination_rates=0"/>
  8581. <action application="set" data="original_caller_id_name=48798517722"/>
  8582. <action application="set" data="original_caller_id_number=48798517722"/>
  8583. <action application="set" data="effective_caller_id_name=48798517722"/>
  8584. <action application="set" data="effective_caller_id_number=48798517722"/>
  8585. <action application="set" data="receiver_accid=851"/>
  8586. <action application="export" data="domain_name=Voicespin802.newsip.israelnumber.com"/>
  8587. <action application="export" data="sip_to_host=Voicespin802.newsip.israelnumber.com"/>
  8588. <action application="limit" data="db 48732081792 did_48732081792 2 !SWITCH_CONGESTION"/>
  8589. <action application="export" data="presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14"/>
  8590. <action application="export" data="call_type=2"/>
  8591. <action application="set" data="calltype=DIRECT-IP"/>
  8592. <action application="bridge" data="[leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118"/>
  8593. </condition>
  8594. </extension>
  8595. </context>
  8596. </section>
  8597. </document>
  8598. 2021-09-14 09:06:38.326756 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released.
  8599. Dialplan: sofia/default/48798517722@46.19.210.14 parsing [default->48732081792] continue=false
  8600. Dialplan: sofia/default/48798517722@46.19.210.14 Regex (PASS) [48732081792] destination_number(48732081792) =~ /48732081792/ break=on-false
  8601. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_destination_number=48732081792)
  8602. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  8603. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  8604. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(callstart=2021-09-14 13:06:38)
  8605. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(hangup_after_bridge=true)
  8606. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  8607. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(account_id=863)
  8608. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(parent_id=0)
  8609. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(entity_id=3)
  8610. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_processed=internal)
  8611. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_direction=inbound)
  8612. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(accountname=default)
  8613. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(filename1=astpp.pbx.lua)
  8614. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851)
  8615. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates=0)
  8616. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_name=48798517722)
  8617. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_number=48798517722)
  8618. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_name=48798517722)
  8619. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_number=48798517722)
  8620. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(receiver_accid=851)
  8621. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(domain_name=Voicespin802.newsip.israelnumber.com)
  8622. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  8623. Dialplan: sofia/default/48798517722@46.19.210.14 Action limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION)
  8624. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14)
  8625. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(call_type=2)
  8626. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(calltype=DIRECT-IP)
  8627. Dialplan: sofia/default/48798517722@46.19.210.14 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118)
  8628. 2021-09-14 09:06:38.326756 [DEBUG] switch_core_state_machine.c:286 (sofia/default/48798517722@46.19.210.14) State Change CS_ROUTING -> CS_EXECUTE
  8629. 2021-09-14 09:06:38.326756 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING going to sleep
  8630. 2021-09-14 09:06:38.326756 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_EXECUTE (Cur 7 Tot 248034)
  8631. 2021-09-14 09:06:38.326756 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE
  8632. 2021-09-14 09:06:38.326756 [DEBUG] mod_sofia.c:198 sofia/default/48798517722@46.19.210.14 SOFIA EXECUTE
  8633. 2021-09-14 09:06:38.326756 [DEBUG] switch_core_state_machine.c:328 sofia/default/48798517722@46.19.210.14 Standard EXECUTE
  8634. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_destination_number=48732081792)
  8635. 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_destination_number]=[48732081792]
  8636. EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_app=sched_hangup)
  8637. 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_app]=[sched_hangup]
  8638. EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  8639. 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing]
  8640. EXECUTE sofia/default/48798517722@46.19.210.14 set(callstart=2021-09-14 13:06:38)
  8641. 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [callstart]=[2021-09-14 13:06:38]
  8642. EXECUTE sofia/default/48798517722@46.19.210.14 set(hangup_after_bridge=true)
  8643. 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [hangup_after_bridge]=[true]
  8644. EXECUTE sofia/default/48798517722@46.19.210.14 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  8645. 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]
  8646. EXECUTE sofia/default/48798517722@46.19.210.14 set(account_id=863)
  8647. 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [account_id]=[863]
  8648. EXECUTE sofia/default/48798517722@46.19.210.14 set(parent_id=0)
  8649. 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [parent_id]=[0]
  8650. EXECUTE sofia/default/48798517722@46.19.210.14 set(entity_id=3)
  8651. 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [entity_id]=[3]
  8652. EXECUTE sofia/default/48798517722@46.19.210.14 set(call_processed=internal)
  8653. 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_processed]=[internal]
  8654. EXECUTE sofia/default/48798517722@46.19.210.14 set(call_direction=inbound)
  8655. 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_direction]=[inbound]
  8656. EXECUTE sofia/default/48798517722@46.19.210.14 set(accountname=default)
  8657. 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [accountname]=[default]
  8658. EXECUTE sofia/default/48798517722@46.19.210.14 set(filename1=astpp.pbx.lua)
  8659. 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [filename1]=[astpp.pbx.lua]
  8660. EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851)
  8661. 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates_did]=[ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851]
  8662. EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates=0)
  8663. 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates]=[0]
  8664. EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_name=48798517722)
  8665. 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_name]=[48798517722]
  8666. EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_number=48798517722)
  8667. 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_number]=[48798517722]
  8668. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_name=48798517722)
  8669. 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_name]=[48798517722]
  8670. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_number=48798517722)
  8671. 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_number]=[48798517722]
  8672. EXECUTE sofia/default/48798517722@46.19.210.14 set(receiver_accid=851)
  8673. 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [receiver_accid]=[851]
  8674. EXECUTE sofia/default/48798517722@46.19.210.14 export(domain_name=Voicespin802.newsip.israelnumber.com)
  8675. 2021-09-14 09:06:38.326756 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com]
  8676. EXECUTE sofia/default/48798517722@46.19.210.14 export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  8677. 2021-09-14 09:06:38.326756 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com]
  8678. EXECUTE sofia/default/48798517722@46.19.210.14 limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION)
  8679. 2021-09-14 09:06:38.326756 [DEBUG] switch_limit.c:126 incr called: 48732081792_did_48732081792 max:2, interval:0
  8680. 2021-09-14 09:06:38.326756 [DEBUG] mod_db.c:194 Usage for 48732081792_did_48732081792 is now 1/2
  8681. EXECUTE sofia/default/48798517722@46.19.210.14 export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14)
  8682. 2021-09-14 09:06:38.326756 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14]
  8683. EXECUTE sofia/default/48798517722@46.19.210.14 export(call_type=2)
  8684. 2021-09-14 09:06:38.326756 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2]
  8685. EXECUTE sofia/default/48798517722@46.19.210.14 set(calltype=DIRECT-IP)
  8686. 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [calltype]=[DIRECT-IP]
  8687. EXECUTE sofia/default/48798517722@46.19.210.14 bridge([leg_timeout=30]sofia/default/48732081792@35.205.116.118)
  8688. 2021-09-14 09:06:38.326756 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event
  8689. 2021-09-14 09:06:38.326756 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event
  8690. 2021-09-14 09:06:38.326756 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] to event
  8691. 2021-09-14 09:06:38.326756 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [call_type]=[2] to event
  8692. 2021-09-14 09:06:38.326756 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  8693. 2021-09-14 09:06:38.326756 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  8694. 2021-09-14 09:06:38.326756 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48732081792@35.205.116.118 [98a19404-155c-11ec-9f97-7dfb9f6e00f0]
  8695. 2021-09-14 09:06:38.326756 [DEBUG] mod_sofia.c:4819 (sofia/default/48732081792@35.205.116.118) State Change CS_NEW -> CS_INIT
  8696. 2021-09-14 09:06:38.326756 [DEBUG] switch_ivr_originate.c:2963 sofia/default/48732081792@35.205.116.118 Setting leg timeout to 30
  8697. 2021-09-14 09:06:38.326756 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_INIT (Cur 8 Tot 248035)
  8698. 2021-09-14 09:06:38.326756 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT
  8699. 2021-09-14 09:06:38.326756 [DEBUG] mod_sofia.c:90 sofia/default/48732081792@35.205.116.118 SOFIA INIT
  8700. 2021-09-14 09:06:38.326756 [DEBUG] sofia_glue.c:1295 sofia/default/48732081792@35.205.116.118 sending invite version: 1.6.20  64bit
  8701. Local SDP:
  8702. v=0
  8703. o=FreeSWITCH 1631606324 1631606325 IN IP4 89.46.223.193
  8704. s=FreeSWITCH
  8705. c=IN IP4 89.46.223.193
  8706. t=0 0
  8707. m=audio 18474 RTP/AVP 0 101
  8708. a=rtpmap:0 PCMU/8000
  8709. a=rtpmap:101 telephone-event/8000
  8710. a=fmtp:101 0-16
  8711. a=ptime:20
  8712. a=sendrecv
  8713.  
  8714. 2021-09-14 09:06:38.326756 [DEBUG] switch_core_state_machine.c:40 sofia/default/48732081792@35.205.116.118 Standard INIT
  8715. 2021-09-14 09:06:38.326756 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48732081792@35.205.116.118) State Change CS_INIT -> CS_ROUTING
  8716. 2021-09-14 09:06:38.326756 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT going to sleep
  8717. 2021-09-14 09:06:38.326756 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_ROUTING (Cur 8 Tot 248035)
  8718. 2021-09-14 09:06:38.326756 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING
  8719. 2021-09-14 09:06:38.326756 [DEBUG] mod_sofia.c:143 sofia/default/48732081792@35.205.116.118 SOFIA ROUTING
  8720. 2021-09-14 09:06:38.326756 [DEBUG] switch_ivr_originate.c:67 (sofia/default/48732081792@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  8721. 2021-09-14 09:06:38.326756 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING going to sleep
  8722. 2021-09-14 09:06:38.326756 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 248035)
  8723. 2021-09-14 09:06:38.326756 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA
  8724. 2021-09-14 09:06:38.326756 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA going to sleep
  8725. 2021-09-14 09:06:38.326756 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [calling][0]
  8726. 2021-09-14 09:06:38.546671 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [terminated][500]
  8727. 2021-09-14 09:06:38.546671 [NOTICE] sofia.c:8273 Hangup sofia/default/48732081792@35.205.116.118 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
  8728. 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_HANGUP (Cur 8 Tot 248035)
  8729. 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48732081792@35.205.116.118) Callstate Change DOWN -> HANGUP
  8730. 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP
  8731. 2021-09-14 09:06:38.546671 [DEBUG] mod_sofia.c:438 Channel sofia/default/48732081792@35.205.116.118 hanging up, cause: NORMAL_TEMPORARY_FAILURE
  8732. 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:60 sofia/default/48732081792@35.205.116.118 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
  8733. 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP going to sleep
  8734. 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48732081792@35.205.116.118) State Change CS_HANGUP -> CS_REPORTING
  8735. 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_REPORTING (Cur 8 Tot 248035)
  8736. 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING
  8737. 2021-09-14 09:06:38.546671 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
  8738. 2021-09-14 09:06:38.546671 [INFO] mod_json_cdr.c:271 Process [98a19404-155c-11ec-9f97-7dfb9f6e00f0.cdr.json]
  8739. 2021-09-14 09:06:38.546671 [INFO] mod_dptools.c:3436 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
  8740. 2021-09-14 09:06:38.546671 [DEBUG] switch_channel.c:4775 Continue on fail [1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]:  Cause: NORMAL_TEMPORARY_FAILURE
  8741. 2021-09-14 09:06:38.546671 [NOTICE] switch_core_state_machine.c:385 sofia/default/48798517722@46.19.210.14 has executed the last dialplan instruction, hanging up.
  8742. 2021-09-14 09:06:38.546671 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/48798517722@46.19.210.14 [CS_EXECUTE] [NORMAL_CLEARING]
  8743. 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE going to sleep
  8744. 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_HANGUP (Cur 8 Tot 248035)
  8745. 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48798517722@46.19.210.14) Callstate Change RINGING -> HANGUP
  8746. 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP
  8747. 2021-09-14 09:06:38.546671 [DEBUG] mod_sofia.c:432 sofia/default/48798517722@46.19.210.14 Overriding SIP cause 480 with 500 from the other leg
  8748. 2021-09-14 09:06:38.546671 [DEBUG] mod_sofia.c:438 Channel sofia/default/48798517722@46.19.210.14 hanging up, cause: NORMAL_CLEARING
  8749. 2021-09-14 09:06:38.546671 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 500
  8750. 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:60 sofia/default/48798517722@46.19.210.14 Standard HANGUP, cause: NORMAL_CLEARING
  8751. 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP going to sleep
  8752. 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48798517722@46.19.210.14) State Change CS_HANGUP -> CS_REPORTING
  8753. 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_REPORTING (Cur 8 Tot 248035)
  8754. 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING
  8755. 2021-09-14 09:06:38.546671 [INFO] mod_json_cdr.c:271 Process [989bfff8-155c-11ec-9f77-7dfb9f6e00f0.cdr.json]
  8756. 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:174 sofia/default/48732081792@35.205.116.118 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
  8757. 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING going to sleep
  8758. 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48732081792@35.205.116.118) State Change CS_REPORTING -> CS_DESTROY
  8759. 2021-09-14 09:06:38.546671 [DEBUG] switch_core_session.c:1665 Session 248035 (sofia/default/48732081792@35.205.116.118) Locked, Waiting on external entities
  8760. 2021-09-14 09:06:38.546671 [NOTICE] switch_core_session.c:1683 Session 248035 (sofia/default/48732081792@35.205.116.118) Ended
  8761. 2021-09-14 09:06:38.546671 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48732081792@35.205.116.118 [CS_DESTROY]
  8762. 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48732081792@35.205.116.118) Running State Change CS_DESTROY (Cur 7 Tot 248035)
  8763. 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY
  8764. 2021-09-14 09:06:38.546671 [DEBUG] mod_sofia.c:343 sofia/default/48732081792@35.205.116.118 SOFIA DESTROY
  8765. 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:181 sofia/default/48732081792@35.205.116.118 Standard DESTROY
  8766. 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY going to sleep
  8767. 2021-09-14 09:06:38.566663 [DEBUG] switch_core_state_machine.c:174 sofia/default/48798517722@46.19.210.14 Standard REPORTING, cause: NORMAL_CLEARING
  8768. 2021-09-14 09:06:38.566663 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING going to sleep
  8769. 2021-09-14 09:06:38.566663 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48798517722@46.19.210.14) State Change CS_REPORTING -> CS_DESTROY
  8770. 2021-09-14 09:06:38.566663 [DEBUG] switch_core_session.c:1665 Session 248034 (sofia/default/48798517722@46.19.210.14) Locked, Waiting on external entities
  8771. 2021-09-14 09:06:38.566663 [NOTICE] switch_core_session.c:1683 Session 248034 (sofia/default/48798517722@46.19.210.14) Ended
  8772. 2021-09-14 09:06:38.566663 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48798517722@46.19.210.14 [CS_DESTROY]
  8773. 2021-09-14 09:06:38.566663 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48798517722@46.19.210.14) Running State Change CS_DESTROY (Cur 6 Tot 248035)
  8774. 2021-09-14 09:06:38.566663 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY
  8775. 2021-09-14 09:06:38.566663 [DEBUG] mod_sofia.c:343 sofia/default/48798517722@46.19.210.14 SOFIA DESTROY
  8776. 2021-09-14 09:06:38.566663 [DEBUG] switch_core_state_machine.c:181 sofia/default/48798517722@46.19.210.14 Standard DESTROY
  8777. 2021-09-14 09:06:38.566663 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY going to sleep
  8778. 2021-09-14 09:06:40.146757 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48798517722@46.19.210.14 [99b667ac-155c-11ec-9f9b-7dfb9f6e00f0]
  8779. 2021-09-14 09:06:40.146757 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_NEW (Cur 7 Tot 248036)
  8780. 2021-09-14 09:06:40.146757 [DEBUG] sofia.c:9873 sofia/default/48798517722@46.19.210.14 receiving invite from 136.243.196.198:5060 version: 1.6.20  64bit
  8781. 2021-09-14 09:06:40.146757 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
  8782. 2021-09-14 09:06:40.146757 [DEBUG] sofia.c:7084 Channel sofia/default/48798517722@46.19.210.14 entering state [received][100]
  8783. 2021-09-14 09:06:40.146757 [DEBUG] sofia.c:7094 Remote SDP:
  8784. v=0
  8785. o=didww-sbc 3072998368 32538 IN IP4 46.19.210.22
  8786. s=didww-sbc
  8787. t=0 0
  8788. m=audio 48258 RTP/AVP 0 8 18 4 101
  8789. c=IN IP4 46.19.210.22
  8790. a=rtpmap:0 PCMU/8000
  8791. a=rtpmap:8 PCMA/8000
  8792. a=rtpmap:18 G729/8000
  8793. a=fmtp:18 annexb=no
  8794. a=rtpmap:4 G723/8000
  8795. a=rtpmap:101 telephone-event/8000
  8796. a=ptime:20
  8797.  
  8798. 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  8799. 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  8800. 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  8801. 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  8802. 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  8803. 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  8804. 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  8805. 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  8806. 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  8807. 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  8808. 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  8809. 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  8810. 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1]
  8811. 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1]
  8812. 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:20:8000:1]
  8813. 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  8814. 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/48798517722@46.19.210.14 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  8815. 2021-09-14 09:06:40.146757 [DEBUG] switch_core_codec.c:111 sofia/default/48798517722@46.19.210.14 Original read codec set to PCMU:0
  8816. 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  8817. 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:4767 sofia/default/48798517722@46.19.210.14 Set 2833 dtmf send payload to 101 recv payload to 101
  8818. 2021-09-14 09:06:40.146757 [DEBUG] sofia.c:7507 (sofia/default/48798517722@46.19.210.14) State Change CS_NEW -> CS_INIT
  8819. 2021-09-14 09:06:40.146757 [DEBUG] switch_core_state_machine.c:603 (sofia/default/48798517722@46.19.210.14) State NEW
  8820. 2021-09-14 09:06:40.146757 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_INIT (Cur 7 Tot 248036)
  8821. 2021-09-14 09:06:40.146757 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT
  8822. 2021-09-14 09:06:40.146757 [DEBUG] mod_sofia.c:90 sofia/default/48798517722@46.19.210.14 SOFIA INIT
  8823. 2021-09-14 09:06:40.146757 [DEBUG] switch_core_state_machine.c:40 sofia/default/48798517722@46.19.210.14 Standard INIT
  8824. 2021-09-14 09:06:40.146757 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48798517722@46.19.210.14) State Change CS_INIT -> CS_ROUTING
  8825. 2021-09-14 09:06:40.146757 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT going to sleep
  8826. 2021-09-14 09:06:40.146757 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_ROUTING (Cur 7 Tot 248036)
  8827. 2021-09-14 09:06:40.146757 [DEBUG] switch_channel.c:2249 (sofia/default/48798517722@46.19.210.14) Callstate Change DOWN -> RINGING
  8828. 2021-09-14 09:06:40.146757 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING
  8829. 2021-09-14 09:06:40.146757 [DEBUG] mod_sofia.c:143 sofia/default/48798517722@46.19.210.14 SOFIA ROUTING
  8830. 2021-09-14 09:06:40.146757 [DEBUG] switch_core_state_machine.c:236 sofia/default/48798517722@46.19.210.14 Standard ROUTING
  8831. 2021-09-14 09:06:40.146757 [INFO] mod_dialplan_xml.c:637 Processing 48798517722 <48798517722>->48732081792 in context default
  8832. 2021-09-14 09:06:40.146757 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected.
  8833. 2021-09-14 09:06:40.146757 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  8834. 2021-09-14 09:06:40.146757 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  8835. 2021-09-14 09:06:40.146757 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params:
  8836. 'Event-Name: REQUEST_PARAMS
  8837. Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0
  8838. FreeSWITCH-Hostname: astpp1.local
  8839. FreeSWITCH-Switchname: astpp1.local
  8840. FreeSWITCH-IPv4: 89.46.223.193
  8841. FreeSWITCH-IPv6: %3A%3A1
  8842. Event-Date-Local: 2021-09-14%2009%3A06%3A40
  8843. Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A06%3A40%20GMT
  8844. Event-Date-Timestamp: 1631624800146757
  8845. Event-Calling-File: mod_dialplan_xml.c
  8846. Event-Calling-Function: dialplan_xml_locate
  8847. Event-Calling-Line-Number: 608
  8848. Event-Sequence: 7528865
  8849. Channel-State: CS_ROUTING
  8850. Channel-Call-State: RINGING
  8851. Channel-State-Number: 2
  8852. Channel-Name: sofia/default/48798517722%4046.19.210.14
  8853. Unique-ID: 99b667ac-155c-11ec-9f9b-7dfb9f6e00f0
  8854. Call-Direction: inbound
  8855. Presence-Call-Direction: inbound
  8856. Channel-HIT-Dialplan: true
  8857. Channel-Presence-ID: 48798517722%4046.19.210.14
  8858. Channel-Call-UUID: 99b667ac-155c-11ec-9f9b-7dfb9f6e00f0
  8859. Answer-State: ringing
  8860. Channel-Read-Codec-Name: PCMU
  8861. Channel-Read-Codec-Rate: 8000
  8862. Channel-Read-Codec-Bit-Rate: 64000
  8863. Channel-Write-Codec-Name: PCMU
  8864. Channel-Write-Codec-Rate: 8000
  8865. Channel-Write-Codec-Bit-Rate: 64000
  8866. Caller-Direction: inbound
  8867. Caller-Logical-Direction: inbound
  8868. Caller-Username: 48798517722
  8869. Caller-Dialplan: XML
  8870. Caller-Caller-ID-Name: 48798517722
  8871. Caller-Caller-ID-Number: 48798517722
  8872. Caller-Orig-Caller-ID-Name: 48798517722
  8873. Caller-Orig-Caller-ID-Number: 48798517722
  8874. Caller-Network-Addr: 136.243.196.198
  8875. Caller-ANI: 48798517722
  8876. Caller-Destination-Number: 48732081792
  8877. Caller-Unique-ID: 99b667ac-155c-11ec-9f9b-7dfb9f6e00f0
  8878. Caller-Source: mod_sofia
  8879. Caller-Context: default
  8880. Caller-Channel-Name: sofia/default/48798517722%4046.19.210.14
  8881. Caller-Profile-Index: 1
  8882. Caller-Profile-Created-Time: 1631624800146757
  8883. Caller-Channel-Created-Time: 1631624800146757
  8884. Caller-Channel-Answered-Time: 0
  8885. Caller-Channel-Progress-Time: 0
  8886. Caller-Channel-Progress-Media-Time: 0
  8887. Caller-Channel-Hangup-Time: 0
  8888. Caller-Channel-Transfer-Time: 0
  8889. Caller-Channel-Resurrect-Time: 0
  8890. Caller-Channel-Bridged-Time: 0
  8891. Caller-Channel-Last-Hold: 0
  8892. Caller-Channel-Hold-Accum: 0
  8893. Caller-Screen-Bit: true
  8894. Caller-Privacy-Hide-Name: false
  8895. Caller-Privacy-Hide-Number: false
  8896. variable_direction: inbound
  8897. variable_uuid: 99b667ac-155c-11ec-9f9b-7dfb9f6e00f0
  8898. variable_session_id: 248036
  8899. variable_sip_from_user: 48798517722
  8900. variable_sip_from_uri: 48798517722%4046.19.210.14
  8901. variable_sip_from_host: 46.19.210.14
  8902. variable_video_media_flow: sendrecv
  8903. variable_channel_name: sofia/default/48798517722%4046.19.210.14
  8904. variable_sip_call_id: 13-13-3D6F8B1B-61409E6000020744-B72B1700
  8905. variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b
  8906. variable_sip_local_network_addr: 89.46.223.193
  8907. variable_sip_network_ip: 136.243.196.198
  8908. variable_sip_network_port: 5060
  8909. variable_sip_invite_stamp: 1631624800146757
  8910. variable_sip_received_ip: 136.243.196.198
  8911. variable_sip_received_port: 5060
  8912. variable_sip_via_protocol: udp
  8913. variable_sip_authorized: true
  8914. variable_sip_acl_authed_by: default
  8915. variable_sip_from_user_stripped: 48798517722
  8916. variable_sip_from_tag: 13-5807C427-61409E6000020656-B72B1700
  8917. variable_sofia_profile_name: default
  8918. variable_recovery_profile_name: default
  8919. variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D029.6049fc41%3E
  8920. variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D029.6049fc41%3E
  8921. variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bKe302.ab9d1782.0,SIP/2.0/UDP%2046.19.210.14%3Breceived%3D46.19.210.14%3Bbranch%3Dz9hG4bKamGQDa61%3Brport%3D5060
  8922. variable_sip_from_display: 48798517722
  8923. variable_sip_full_from: %2248798517722%22%20%3Csip%3A48798517722%4046.19.210.14%3E%3Btag%3D13-5807C427-61409E6000020656-B72B1700
  8924. variable_sip_full_to: %3Csip%3A48732081792%40newsip.israelnumber.com%3A5060%3E
  8925. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20UPDATE
  8926. variable_sip_req_user: 48732081792
  8927. variable_sip_req_port: 5060
  8928. variable_sip_req_uri: 48732081792%40newsip.israelnumber.com%3A5060
  8929. variable_sip_req_host: newsip.israelnumber.com
  8930. variable_sip_to_user: 48732081792
  8931. variable_sip_to_port: 5060
  8932. variable_sip_to_uri: 48732081792%40newsip.israelnumber.com%3A5060
  8933. variable_sip_to_host: newsip.israelnumber.com
  8934. variable_sip_contact_params: transport%3Dudp
  8935. variable_sip_contact_user: nobody
  8936. variable_sip_contact_port: 5060
  8937. variable_sip_contact_uri: nobody%4046.19.210.14%3A5060
  8938. variable_sip_contact_host: 46.19.210.14
  8939. variable_sip_user_agent: DIDWW%20SBC%20node
  8940. variable_sip_via_host: 136.243.196.198
  8941. variable_sip_via_port: 5060
  8942. variable_max_forwards: 30
  8943. variable_presence_id: 48798517722%4046.19.210.14
  8944. variable_sip_h_X-AUTH-IP: 46.19.210.14
  8945. variable_sip_h_P-Accountcode: 714761424818
  8946. variable_sip_h_P-effective_caller_id_name: 48798517722
  8947. variable_sip_h_P-effective_caller_id_number: 48798517722
  8948. variable_switch_r_sdp: v%3D0%0D%0Ao%3Ddidww-sbc%203072998368%2032538%20IN%20IP4%2046.19.210.22%0D%0As%3Ddidww-sbc%0D%0At%3D0%200%0D%0Am%3Daudio%2048258%20RTP/AVP%200%208%2018%204%20101%0D%0Ac%3DIN%20IP4%2046.19.210.22%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A4%20G723/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dptime%3A20%0D%0A
  8949. variable_rtp_use_codec_string: PCMA,PCMU,G729
  8950. variable_audio_media_flow: sendrecv
  8951. variable_remote_media_ip: 46.19.210.22
  8952. variable_remote_media_port: 48258
  8953. variable_rtp_audio_recv_pt: 0
  8954. variable_rtp_use_codec_name: PCMU
  8955. variable_rtp_use_codec_rate: 8000
  8956. variable_rtp_use_codec_ptime: 20
  8957. variable_rtp_use_codec_channels: 1
  8958. variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c
  8959. variable_read_codec: PCMU
  8960. variable_original_read_codec: PCMU
  8961. variable_read_rate: 8000
  8962. variable_original_read_rate: 8000
  8963. variable_write_codec: PCMU
  8964. variable_write_rate: 8000
  8965. variable_dtmf_type: rfc2833
  8966. variable_endpoint_disposition: RECEIVED
  8967. variable_call_uuid: 99b667ac-155c-11ec-9f9b-7dfb9f6e00f0
  8968. Hunt-Direction: inbound
  8969. Hunt-Logical-Direction: inbound
  8970. Hunt-Username: 48798517722
  8971. Hunt-Dialplan: XML
  8972. Hunt-Caller-ID-Name: 48798517722
  8973. Hunt-Caller-ID-Number: 48798517722
  8974. Hunt-Orig-Caller-ID-Name: 48798517722
  8975. Hunt-Orig-Caller-ID-Number: 48798517722
  8976. Hunt-Network-Addr: 136.243.196.198
  8977. Hunt-ANI: 48798517722
  8978. Hunt-Destination-Number: 48732081792
  8979. Hunt-Unique-ID: 99b667ac-155c-11ec-9f9b-7dfb9f6e00f0
  8980. Hunt-Source: mod_sofia
  8981. Hunt-Context: default
  8982. Hunt-Channel-Name: sofia/default/48798517722%4046.19.210.14
  8983. Hunt-Profile-Index: 1
  8984. Hunt-Profile-Created-Time: 1631624800146757
  8985. Hunt-Channel-Created-Time: 1631624800146757
  8986. Hunt-Channel-Answered-Time: 0
  8987. Hunt-Channel-Progress-Time: 0
  8988. Hunt-Channel-Progress-Media-Time: 0
  8989. Hunt-Channel-Hangup-Time: 0
  8990. Hunt-Channel-Transfer-Time: 0
  8991. Hunt-Channel-Resurrect-Time: 0
  8992. Hunt-Channel-Bridged-Time: 0
  8993. Hunt-Channel-Last-Hold: 0
  8994. Hunt-Channel-Hold-Accum: 0
  8995. Hunt-Screen-Bit: true
  8996. Hunt-Privacy-Hide-Name: false
  8997. Hunt-Privacy-Hide-Number: false
  8998.  
  8999. '
  9000. 2021-09-14 09:06:40.146757 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name:
  9001. 2021-09-14 09:06:40.146757 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value:
  9002. 2021-09-14 09:06:40.146757 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name:
  9003. 2021-09-14 09:06:40.146757 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan
  9004. 2021-09-14 09:06:40.146757 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  9005. 2021-09-14 09:06:40.146757 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 48732081792
  9006. 2021-09-14 09:06:40.146757 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '48732081792' limit 1
  9007. 2021-09-14 09:06:40.146757 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '48732081792' AND status=0 limit 1
  9008. 2021-09-14 09:06:40.146757 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '46.19.210.14' limit 1
  9009. 2021-09-14 09:06:40.146757 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  9010. 2021-09-14 09:06:40.146757 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 48798517722 / 48798517722
  9011. 2021-09-14 09:06:40.146757 [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 ="48732081792" LIMIT 1
  9012. 2021-09-14 09:06:40.146757 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
  9013. 2021-09-14 09:06:40.146757 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 714761424818]
  9014. 2021-09-14 09:06:40.146757 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "714761424818" OR number = "714761424818" AND deleted = 0 limit 1
  9015. 2021-09-14 09:06:40.146757 [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 ="48732081792" AND A.accountid = '863' limit 1
  9016. 2021-09-14 09:06:40.146757 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 48732081792
  9017. 2021-09-14 09:06:40.146757 [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 ="48732081792" LIMIT 1
  9018. 2021-09-14 09:06:40.146757 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound
  9019. 2021-09-14 09:06:40.146757 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="48732081792" AND (accountid = 0 OR status = 1) LIMIT 1
  9020. 2021-09-14 09:06:40.146757 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  9021. 2021-09-14 09:06:40.146757 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851
  9022. 2021-09-14 09:06:40.146757 [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 = '^48732081792.*' OR patterns = '^4873208179.*' OR patterns = '^487320817.*' OR patterns = '^48732081.*' OR patterns = '^4873208.*' OR patterns = '^487320.*' OR patterns = '^48732.*' OR patterns = '^4873.*' OR patterns = '^487.*' OR patterns = '^48.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC
  9023. 2021-09-14 09:06:40.186660 [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 = '48732081792' OR number = '4873208179' OR number = '487320817' OR number = '48732081' OR number = '4873208' OR number = '487320' OR number = '48732' OR number = '4873' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48732081792*' OR number = '4873208179*' OR number = '487320817*' OR number = '48732081*' OR number = '4873208*' OR number = '487320*' OR number = '48732*' OR number = '4873*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--') OR (number = '48798517722' OR number = '4879851772' OR number = '487985177' OR number = '48798517' OR number = '4879851' OR number = '487985' OR number = '48798' OR number = '4879' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48798517722*' OR number = '4879851772*' OR number = '487985177*' OR number = '48798517*' OR number = '4879851*' OR number = '487985*' OR number = '48798*' OR number = '4879*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  9024. 2021-09-14 09:06:40.186660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  9025. 2021-09-14 09:06:40.186660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '48732081792' OR routing_prefix = '4873208179' OR routing_prefix = '487320817' OR routing_prefix = '48732081' OR routing_prefix = '4873208' OR routing_prefix = '487320' OR routing_prefix = '48732' OR routing_prefix = '4873' OR routing_prefix = '487' OR routing_prefix = '48' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  9026. 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  9027. 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 863
  9028. 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 714761424818
  9029. 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000
  9030. 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  9031. 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1
  9032. 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  9033. 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  9034. 2021-09-14 09:06:40.186660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  9035. 2021-09-14 09:06:40.186660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  9036. 2021-09-14 09:06:40.186660 [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 ="48732081792" LIMIT 1
  9037. 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound
  9038. 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  9039. 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 8057
  9040. 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  9041. 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  9042. 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  9043. 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Mobile Voice
  9044. 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 153
  9045. 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 863
  9046. 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  9047. 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 863 !!!
  9048. 2021-09-14 09:06:40.186660 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180
  9049. 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
  9050. 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  9051. 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  9052. 2021-09-14 09:06:40.186660 [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 = 863 AND status=0 LIMIT 1
  9053. 2021-09-14 09:06:40.186660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" OR number = "851" AND deleted = 0 limit 1
  9054. 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:863
  9055. 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:863
  9056. 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 863
  9057. 2021-09-14 09:06:40.186660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  9058. 2021-09-14 09:06:40.186660 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  9059. 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
  9060. 2021-09-14 09:06:40.186660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  9061. 2021-09-14 09:06:40.186660 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  9062. 2021-09-14 09:06:40.186660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2
  9063. 2021-09-14 09:06:40.186660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  9064. <document type="freeswitch/xml">
  9065. <section name="dialplan" description="ASTPP Dialplan">
  9066. <context name="default">
  9067. <extension name="48732081792">
  9068. <condition field="destination_number" expression="48732081792">
  9069. <action application="set" data="effective_destination_number=48732081792"/>
  9070. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  9071. <action application="set" data="bridge_pre_execute_bleg_data=+10800 normal_clearing"/>
  9072. <action application="set" data="callstart=2021-09-14 13:06:40"/>
  9073. <action application="set" data="hangup_after_bridge=true"/>
  9074. <action application="set" data="continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602"/>
  9075. <action application="set" data="account_id=863"/>
  9076. <action application="set" data="parent_id=0"/>
  9077. <action application="set" data="entity_id=3"/>
  9078. <action application="set" data="call_processed=internal"/>
  9079. <action application="set" data="call_direction=inbound"/>
  9080. <action application="set" data="accountname=default"/>
  9081. <action application="set" data="filename1=astpp.pbx.lua"/>
  9082. <action application="set" data="origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851"/>
  9083. <action application="set" data="origination_rates=0"/>
  9084. <action application="set" data="original_caller_id_name=48798517722"/>
  9085. <action application="set" data="original_caller_id_number=48798517722"/>
  9086. <action application="set" data="effective_caller_id_name=48798517722"/>
  9087. <action application="set" data="effective_caller_id_number=48798517722"/>
  9088. <action application="set" data="receiver_accid=851"/>
  9089. <action application="export" data="domain_name=Voicespin802.newsip.israelnumber.com"/>
  9090. <action application="export" data="sip_to_host=Voicespin802.newsip.israelnumber.com"/>
  9091. <action application="limit" data="db 48732081792 did_48732081792 2 !SWITCH_CONGESTION"/>
  9092. <action application="export" data="presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14"/>
  9093. <action application="export" data="call_type=2"/>
  9094. <action application="set" data="calltype=DIRECT-IP"/>
  9095. <action application="bridge" data="[leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118"/>
  9096. </condition>
  9097. </extension>
  9098. </context>
  9099. </section>
  9100. </document>
  9101. 2021-09-14 09:06:40.186660 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released.
  9102. Dialplan: sofia/default/48798517722@46.19.210.14 parsing [default->48732081792] continue=false
  9103. Dialplan: sofia/default/48798517722@46.19.210.14 Regex (PASS) [48732081792] destination_number(48732081792) =~ /48732081792/ break=on-false
  9104. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_destination_number=48732081792)
  9105. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  9106. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  9107. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(callstart=2021-09-14 13:06:40)
  9108. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(hangup_after_bridge=true)
  9109. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  9110. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(account_id=863)
  9111. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(parent_id=0)
  9112. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(entity_id=3)
  9113. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_processed=internal)
  9114. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_direction=inbound)
  9115. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(accountname=default)
  9116. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(filename1=astpp.pbx.lua)
  9117. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851)
  9118. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates=0)
  9119. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_name=48798517722)
  9120. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_number=48798517722)
  9121. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_name=48798517722)
  9122. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_number=48798517722)
  9123. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(receiver_accid=851)
  9124. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(domain_name=Voicespin802.newsip.israelnumber.com)
  9125. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  9126. Dialplan: sofia/default/48798517722@46.19.210.14 Action limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION)
  9127. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14)
  9128. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(call_type=2)
  9129. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(calltype=DIRECT-IP)
  9130. Dialplan: sofia/default/48798517722@46.19.210.14 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118)
  9131. 2021-09-14 09:06:40.186660 [DEBUG] switch_core_state_machine.c:286 (sofia/default/48798517722@46.19.210.14) State Change CS_ROUTING -> CS_EXECUTE
  9132. 2021-09-14 09:06:40.186660 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING going to sleep
  9133. 2021-09-14 09:06:40.186660 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_EXECUTE (Cur 7 Tot 248036)
  9134. 2021-09-14 09:06:40.186660 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE
  9135. 2021-09-14 09:06:40.186660 [DEBUG] mod_sofia.c:198 sofia/default/48798517722@46.19.210.14 SOFIA EXECUTE
  9136. 2021-09-14 09:06:40.186660 [DEBUG] switch_core_state_machine.c:328 sofia/default/48798517722@46.19.210.14 Standard EXECUTE
  9137. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_destination_number=48732081792)
  9138. 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_destination_number]=[48732081792]
  9139. EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_app=sched_hangup)
  9140. 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_app]=[sched_hangup]
  9141. EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  9142. 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing]
  9143. EXECUTE sofia/default/48798517722@46.19.210.14 set(callstart=2021-09-14 13:06:40)
  9144. 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [callstart]=[2021-09-14 13:06:40]
  9145. EXECUTE sofia/default/48798517722@46.19.210.14 set(hangup_after_bridge=true)
  9146. 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [hangup_after_bridge]=[true]
  9147. EXECUTE sofia/default/48798517722@46.19.210.14 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  9148. 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]
  9149. EXECUTE sofia/default/48798517722@46.19.210.14 set(account_id=863)
  9150. 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [account_id]=[863]
  9151. EXECUTE sofia/default/48798517722@46.19.210.14 set(parent_id=0)
  9152. 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [parent_id]=[0]
  9153. EXECUTE sofia/default/48798517722@46.19.210.14 set(entity_id=3)
  9154. 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [entity_id]=[3]
  9155. EXECUTE sofia/default/48798517722@46.19.210.14 set(call_processed=internal)
  9156. 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_processed]=[internal]
  9157. EXECUTE sofia/default/48798517722@46.19.210.14 set(call_direction=inbound)
  9158. 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_direction]=[inbound]
  9159. EXECUTE sofia/default/48798517722@46.19.210.14 set(accountname=default)
  9160. 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [accountname]=[default]
  9161. EXECUTE sofia/default/48798517722@46.19.210.14 set(filename1=astpp.pbx.lua)
  9162. 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [filename1]=[astpp.pbx.lua]
  9163. EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851)
  9164. 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates_did]=[ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851]
  9165. EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates=0)
  9166. 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates]=[0]
  9167. EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_name=48798517722)
  9168. 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_name]=[48798517722]
  9169. EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_number=48798517722)
  9170. 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_number]=[48798517722]
  9171. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_name=48798517722)
  9172. 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_name]=[48798517722]
  9173. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_number=48798517722)
  9174. 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_number]=[48798517722]
  9175. EXECUTE sofia/default/48798517722@46.19.210.14 set(receiver_accid=851)
  9176. 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [receiver_accid]=[851]
  9177. EXECUTE sofia/default/48798517722@46.19.210.14 export(domain_name=Voicespin802.newsip.israelnumber.com)
  9178. 2021-09-14 09:06:40.186660 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com]
  9179. EXECUTE sofia/default/48798517722@46.19.210.14 export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  9180. 2021-09-14 09:06:40.186660 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com]
  9181. EXECUTE sofia/default/48798517722@46.19.210.14 limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION)
  9182. 2021-09-14 09:06:40.186660 [DEBUG] switch_limit.c:126 incr called: 48732081792_did_48732081792 max:2, interval:0
  9183. 2021-09-14 09:06:40.186660 [DEBUG] mod_db.c:194 Usage for 48732081792_did_48732081792 is now 1/2
  9184. EXECUTE sofia/default/48798517722@46.19.210.14 export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14)
  9185. 2021-09-14 09:06:40.246709 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14]
  9186. EXECUTE sofia/default/48798517722@46.19.210.14 export(call_type=2)
  9187. 2021-09-14 09:06:40.246709 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2]
  9188. EXECUTE sofia/default/48798517722@46.19.210.14 set(calltype=DIRECT-IP)
  9189. 2021-09-14 09:06:40.246709 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [calltype]=[DIRECT-IP]
  9190. EXECUTE sofia/default/48798517722@46.19.210.14 bridge([leg_timeout=30]sofia/default/48732081792@35.205.116.118)
  9191. 2021-09-14 09:06:40.246709 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event
  9192. 2021-09-14 09:06:40.246709 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event
  9193. 2021-09-14 09:06:40.246709 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] to event
  9194. 2021-09-14 09:06:40.246709 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [call_type]=[2] to event
  9195. 2021-09-14 09:06:40.246709 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  9196. 2021-09-14 09:06:40.246709 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  9197. 2021-09-14 09:06:40.246709 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48732081792@35.205.116.118 [99c4770c-155c-11ec-9fbb-7dfb9f6e00f0]
  9198. 2021-09-14 09:06:40.246709 [DEBUG] mod_sofia.c:4819 (sofia/default/48732081792@35.205.116.118) State Change CS_NEW -> CS_INIT
  9199. 2021-09-14 09:06:40.246709 [DEBUG] switch_ivr_originate.c:2963 sofia/default/48732081792@35.205.116.118 Setting leg timeout to 30
  9200. 2021-09-14 09:06:40.246709 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_INIT (Cur 8 Tot 248037)
  9201. 2021-09-14 09:06:40.246709 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT
  9202. 2021-09-14 09:06:40.246709 [DEBUG] mod_sofia.c:90 sofia/default/48732081792@35.205.116.118 SOFIA INIT
  9203. 2021-09-14 09:06:40.246709 [DEBUG] sofia_glue.c:1295 sofia/default/48732081792@35.205.116.118 sending invite version: 1.6.20  64bit
  9204. Local SDP:
  9205. v=0
  9206. o=FreeSWITCH 1631598650 1631598651 IN IP4 89.46.223.193
  9207. s=FreeSWITCH
  9208. c=IN IP4 89.46.223.193
  9209. t=0 0
  9210. m=audio 26150 RTP/AVP 0 101
  9211. a=rtpmap:0 PCMU/8000
  9212. a=rtpmap:101 telephone-event/8000
  9213. a=fmtp:101 0-16
  9214. a=ptime:20
  9215. a=sendrecv
  9216.  
  9217. 2021-09-14 09:06:40.246709 [DEBUG] switch_core_state_machine.c:40 sofia/default/48732081792@35.205.116.118 Standard INIT
  9218. 2021-09-14 09:06:40.246709 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48732081792@35.205.116.118) State Change CS_INIT -> CS_ROUTING
  9219. 2021-09-14 09:06:40.246709 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT going to sleep
  9220. 2021-09-14 09:06:40.246709 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_ROUTING (Cur 8 Tot 248037)
  9221. 2021-09-14 09:06:40.246709 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING
  9222. 2021-09-14 09:06:40.246709 [DEBUG] mod_sofia.c:143 sofia/default/48732081792@35.205.116.118 SOFIA ROUTING
  9223. 2021-09-14 09:06:40.246709 [DEBUG] switch_ivr_originate.c:67 (sofia/default/48732081792@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  9224. 2021-09-14 09:06:40.246709 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING going to sleep
  9225. 2021-09-14 09:06:40.246709 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 248037)
  9226. 2021-09-14 09:06:40.246709 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [calling][0]
  9227. 2021-09-14 09:06:40.246709 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA
  9228. 2021-09-14 09:06:40.246709 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA going to sleep
  9229. 2021-09-14 09:06:40.466744 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [terminated][500]
  9230. 2021-09-14 09:06:40.466744 [NOTICE] sofia.c:8273 Hangup sofia/default/48732081792@35.205.116.118 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
  9231. 2021-09-14 09:06:40.466744 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_HANGUP (Cur 8 Tot 248037)
  9232. 2021-09-14 09:06:40.466744 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48732081792@35.205.116.118) Callstate Change DOWN -> HANGUP
  9233. 2021-09-14 09:06:40.466744 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP
  9234. 2021-09-14 09:06:40.466744 [DEBUG] mod_sofia.c:438 Channel sofia/default/48732081792@35.205.116.118 hanging up, cause: NORMAL_TEMPORARY_FAILURE
  9235. 2021-09-14 09:06:40.466744 [DEBUG] switch_core_state_machine.c:60 sofia/default/48732081792@35.205.116.118 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
  9236. 2021-09-14 09:06:40.466744 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP going to sleep
  9237. 2021-09-14 09:06:40.466744 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48732081792@35.205.116.118) State Change CS_HANGUP -> CS_REPORTING
  9238. 2021-09-14 09:06:40.466744 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_REPORTING (Cur 8 Tot 248037)
  9239. 2021-09-14 09:06:40.466744 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING
  9240. 2021-09-14 09:06:40.466744 [INFO] mod_json_cdr.c:271 Process [99c4770c-155c-11ec-9fbb-7dfb9f6e00f0.cdr.json]
  9241. 2021-09-14 09:06:40.466744 [DEBUG] switch_core_state_machine.c:174 sofia/default/48732081792@35.205.116.118 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
  9242. 2021-09-14 09:06:40.466744 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING going to sleep
  9243. 2021-09-14 09:06:40.466744 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48732081792@35.205.116.118) State Change CS_REPORTING -> CS_DESTROY
  9244. 2021-09-14 09:06:40.466744 [DEBUG] switch_core_session.c:1665 Session 248037 (sofia/default/48732081792@35.205.116.118) Locked, Waiting on external entities
  9245. 2021-09-14 09:06:40.466744 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
  9246. 2021-09-14 09:06:40.466744 [INFO] mod_dptools.c:3436 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
  9247. 2021-09-14 09:06:40.466744 [DEBUG] switch_channel.c:4775 Continue on fail [1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]:  Cause: NORMAL_TEMPORARY_FAILURE
  9248. 2021-09-14 09:06:40.466744 [NOTICE] switch_core_state_machine.c:385 sofia/default/48798517722@46.19.210.14 has executed the last dialplan instruction, hanging up.
  9249. 2021-09-14 09:06:40.466744 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/48798517722@46.19.210.14 [CS_EXECUTE] [NORMAL_CLEARING]
  9250. 2021-09-14 09:06:40.466744 [NOTICE] switch_core_session.c:1683 Session 248037 (sofia/default/48732081792@35.205.116.118) Ended
  9251. 2021-09-14 09:06:40.466744 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48732081792@35.205.116.118 [CS_DESTROY]
  9252. 2021-09-14 09:06:40.466744 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48732081792@35.205.116.118) Running State Change CS_DESTROY (Cur 7 Tot 248037)
  9253. 2021-09-14 09:06:40.466744 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY
  9254. 2021-09-14 09:06:40.466744 [DEBUG] mod_sofia.c:343 sofia/default/48732081792@35.205.116.118 SOFIA DESTROY
  9255. 2021-09-14 09:06:40.466744 [DEBUG] switch_core_state_machine.c:181 sofia/default/48732081792@35.205.116.118 Standard DESTROY
  9256. 2021-09-14 09:06:40.466744 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY going to sleep
  9257. 2021-09-14 09:06:40.506681 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE going to sleep
  9258. 2021-09-14 09:06:40.506681 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_HANGUP (Cur 7 Tot 248037)
  9259. 2021-09-14 09:06:40.506681 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48798517722@46.19.210.14) Callstate Change RINGING -> HANGUP
  9260. 2021-09-14 09:06:40.506681 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP
  9261. 2021-09-14 09:06:40.506681 [DEBUG] mod_sofia.c:432 sofia/default/48798517722@46.19.210.14 Overriding SIP cause 480 with 500 from the other leg
  9262. 2021-09-14 09:06:40.506681 [DEBUG] mod_sofia.c:438 Channel sofia/default/48798517722@46.19.210.14 hanging up, cause: NORMAL_CLEARING
  9263. 2021-09-14 09:06:40.506681 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 500
  9264. 2021-09-14 09:06:40.506681 [DEBUG] switch_core_state_machine.c:60 sofia/default/48798517722@46.19.210.14 Standard HANGUP, cause: NORMAL_CLEARING
  9265. 2021-09-14 09:06:40.506681 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP going to sleep
  9266. 2021-09-14 09:06:40.506681 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48798517722@46.19.210.14) State Change CS_HANGUP -> CS_REPORTING
  9267. 2021-09-14 09:06:40.506681 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_REPORTING (Cur 7 Tot 248037)
  9268. 2021-09-14 09:06:40.506681 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING
  9269. 2021-09-14 09:06:40.506681 [INFO] mod_json_cdr.c:271 Process [99b667ac-155c-11ec-9f9b-7dfb9f6e00f0.cdr.json]
  9270. 2021-09-14 09:06:40.506681 [DEBUG] switch_core_state_machine.c:174 sofia/default/48798517722@46.19.210.14 Standard REPORTING, cause: NORMAL_CLEARING
  9271. 2021-09-14 09:06:40.506681 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING going to sleep
  9272. 2021-09-14 09:06:40.506681 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48798517722@46.19.210.14) State Change CS_REPORTING -> CS_DESTROY
  9273. 2021-09-14 09:06:40.506681 [DEBUG] switch_core_session.c:1665 Session 248036 (sofia/default/48798517722@46.19.210.14) Locked, Waiting on external entities
  9274. 2021-09-14 09:06:40.506681 [NOTICE] switch_core_session.c:1683 Session 248036 (sofia/default/48798517722@46.19.210.14) Ended
  9275. 2021-09-14 09:06:40.506681 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48798517722@46.19.210.14 [CS_DESTROY]
  9276. 2021-09-14 09:06:40.506681 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48798517722@46.19.210.14) Running State Change CS_DESTROY (Cur 6 Tot 248037)
  9277. 2021-09-14 09:06:40.506681 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY
  9278. 2021-09-14 09:06:40.506681 [DEBUG] mod_sofia.c:343 sofia/default/48798517722@46.19.210.14 SOFIA DESTROY
  9279. 2021-09-14 09:06:40.506681 [DEBUG] switch_core_state_machine.c:181 sofia/default/48798517722@46.19.210.14 Standard DESTROY
  9280. 2021-09-14 09:06:40.506681 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY going to sleep
  9281. 2021-09-14 09:06:41.266675 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48798517722@46.19.210.14 [9a5ec082-155c-11ec-9fbf-7dfb9f6e00f0]
  9282. 2021-09-14 09:06:41.266675 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_NEW (Cur 7 Tot 248038)
  9283. 2021-09-14 09:06:41.266675 [DEBUG] sofia.c:9873 sofia/default/48798517722@46.19.210.14 receiving invite from 136.243.196.198:5060 version: 1.6.20  64bit
  9284. 2021-09-14 09:06:41.266675 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
  9285. 2021-09-14 09:06:41.266675 [DEBUG] sofia.c:7084 Channel sofia/default/48798517722@46.19.210.14 entering state [received][100]
  9286. 2021-09-14 09:06:41.266675 [DEBUG] sofia.c:7094 Remote SDP:
  9287. v=0
  9288. o=didww-sbc 3078261728 32538 IN IP4 46.19.210.22
  9289. s=didww-sbc
  9290. t=0 0
  9291. m=audio 48644 RTP/AVP 0 8 18 4 101
  9292. c=IN IP4 46.19.210.22
  9293. a=rtpmap:0 PCMU/8000
  9294. a=rtpmap:8 PCMA/8000
  9295. a=rtpmap:18 G729/8000
  9296. a=fmtp:18 annexb=no
  9297. a=rtpmap:4 G723/8000
  9298. a=rtpmap:101 telephone-event/8000
  9299. a=ptime:20
  9300.  
  9301. 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  9302. 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  9303. 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  9304. 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  9305. 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  9306. 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  9307. 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  9308. 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  9309. 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  9310. 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  9311. 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  9312. 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  9313. 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1]
  9314. 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1]
  9315. 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:20:8000:1]
  9316. 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  9317. 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/48798517722@46.19.210.14 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  9318. 2021-09-14 09:06:41.266675 [DEBUG] switch_core_codec.c:111 sofia/default/48798517722@46.19.210.14 Original read codec set to PCMU:0
  9319. 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  9320. 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:4767 sofia/default/48798517722@46.19.210.14 Set 2833 dtmf send payload to 101 recv payload to 101
  9321. 2021-09-14 09:06:41.266675 [DEBUG] sofia.c:7507 (sofia/default/48798517722@46.19.210.14) State Change CS_NEW -> CS_INIT
  9322. 2021-09-14 09:06:41.266675 [DEBUG] switch_core_state_machine.c:603 (sofia/default/48798517722@46.19.210.14) State NEW
  9323. 2021-09-14 09:06:41.266675 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_INIT (Cur 7 Tot 248038)
  9324. 2021-09-14 09:06:41.266675 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT
  9325. 2021-09-14 09:06:41.266675 [DEBUG] mod_sofia.c:90 sofia/default/48798517722@46.19.210.14 SOFIA INIT
  9326. 2021-09-14 09:06:41.266675 [DEBUG] switch_core_state_machine.c:40 sofia/default/48798517722@46.19.210.14 Standard INIT
  9327. 2021-09-14 09:06:41.266675 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48798517722@46.19.210.14) State Change CS_INIT -> CS_ROUTING
  9328. 2021-09-14 09:06:41.266675 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT going to sleep
  9329. 2021-09-14 09:06:41.266675 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_ROUTING (Cur 7 Tot 248038)
  9330. 2021-09-14 09:06:41.266675 [DEBUG] switch_channel.c:2249 (sofia/default/48798517722@46.19.210.14) Callstate Change DOWN -> RINGING
  9331. 2021-09-14 09:06:41.266675 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING
  9332. 2021-09-14 09:06:41.266675 [DEBUG] mod_sofia.c:143 sofia/default/48798517722@46.19.210.14 SOFIA ROUTING
  9333. 2021-09-14 09:06:41.266675 [DEBUG] switch_core_state_machine.c:236 sofia/default/48798517722@46.19.210.14 Standard ROUTING
  9334. 2021-09-14 09:06:41.266675 [INFO] mod_dialplan_xml.c:637 Processing 48798517722 <48798517722>->48732081792 in context default
  9335. 2021-09-14 09:06:41.266675 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected.
  9336. 2021-09-14 09:06:41.266675 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  9337. 2021-09-14 09:06:41.266675 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  9338. 2021-09-14 09:06:41.266675 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params:
  9339. 'Event-Name: REQUEST_PARAMS
  9340. Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0
  9341. FreeSWITCH-Hostname: astpp1.local
  9342. FreeSWITCH-Switchname: astpp1.local
  9343. FreeSWITCH-IPv4: 89.46.223.193
  9344. FreeSWITCH-IPv6: %3A%3A1
  9345. Event-Date-Local: 2021-09-14%2009%3A06%3A41
  9346. Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A06%3A41%20GMT
  9347. Event-Date-Timestamp: 1631624801266675
  9348. Event-Calling-File: mod_dialplan_xml.c
  9349. Event-Calling-Function: dialplan_xml_locate
  9350. Event-Calling-Line-Number: 608
  9351. Event-Sequence: 7528951
  9352. Channel-State: CS_ROUTING
  9353. Channel-Call-State: RINGING
  9354. Channel-State-Number: 2
  9355. Channel-Name: sofia/default/48798517722%4046.19.210.14
  9356. Unique-ID: 9a5ec082-155c-11ec-9fbf-7dfb9f6e00f0
  9357. Call-Direction: inbound
  9358. Presence-Call-Direction: inbound
  9359. Channel-HIT-Dialplan: true
  9360. Channel-Presence-ID: 48798517722%4046.19.210.14
  9361. Channel-Call-UUID: 9a5ec082-155c-11ec-9fbf-7dfb9f6e00f0
  9362. Answer-State: ringing
  9363. Channel-Read-Codec-Name: PCMU
  9364. Channel-Read-Codec-Rate: 8000
  9365. Channel-Read-Codec-Bit-Rate: 64000
  9366. Channel-Write-Codec-Name: PCMU
  9367. Channel-Write-Codec-Rate: 8000
  9368. Channel-Write-Codec-Bit-Rate: 64000
  9369. Caller-Direction: inbound
  9370. Caller-Logical-Direction: inbound
  9371. Caller-Username: 48798517722
  9372. Caller-Dialplan: XML
  9373. Caller-Caller-ID-Name: 48798517722
  9374. Caller-Caller-ID-Number: 48798517722
  9375. Caller-Orig-Caller-ID-Name: 48798517722
  9376. Caller-Orig-Caller-ID-Number: 48798517722
  9377. Caller-Network-Addr: 136.243.196.198
  9378. Caller-ANI: 48798517722
  9379. Caller-Destination-Number: 48732081792
  9380. Caller-Unique-ID: 9a5ec082-155c-11ec-9fbf-7dfb9f6e00f0
  9381. Caller-Source: mod_sofia
  9382. Caller-Context: default
  9383. Caller-Channel-Name: sofia/default/48798517722%4046.19.210.14
  9384. Caller-Profile-Index: 1
  9385. Caller-Profile-Created-Time: 1631624801266675
  9386. Caller-Channel-Created-Time: 1631624801266675
  9387. Caller-Channel-Answered-Time: 0
  9388. Caller-Channel-Progress-Time: 0
  9389. Caller-Channel-Progress-Media-Time: 0
  9390. Caller-Channel-Hangup-Time: 0
  9391. Caller-Channel-Transfer-Time: 0
  9392. Caller-Channel-Resurrect-Time: 0
  9393. Caller-Channel-Bridged-Time: 0
  9394. Caller-Channel-Last-Hold: 0
  9395. Caller-Channel-Hold-Accum: 0
  9396. Caller-Screen-Bit: true
  9397. Caller-Privacy-Hide-Name: false
  9398. Caller-Privacy-Hide-Number: false
  9399. variable_direction: inbound
  9400. variable_uuid: 9a5ec082-155c-11ec-9fbf-7dfb9f6e00f0
  9401. variable_session_id: 248038
  9402. variable_sip_from_user: 48798517722
  9403. variable_sip_from_uri: 48798517722%4046.19.210.14
  9404. variable_sip_from_host: 46.19.210.14
  9405. variable_video_media_flow: sendrecv
  9406. variable_channel_name: sofia/default/48798517722%4046.19.210.14
  9407. variable_sip_call_id: 13-13-05700947-61409E6100039ABD-B77B6700
  9408. variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b
  9409. variable_sip_local_network_addr: 89.46.223.193
  9410. variable_sip_network_ip: 136.243.196.198
  9411. variable_sip_network_port: 5060
  9412. variable_sip_invite_stamp: 1631624801266675
  9413. variable_sip_received_ip: 136.243.196.198
  9414. variable_sip_received_port: 5060
  9415. variable_sip_via_protocol: udp
  9416. variable_sip_authorized: true
  9417. variable_sip_acl_authed_by: default
  9418. variable_sip_from_user_stripped: 48798517722
  9419. variable_sip_from_tag: 13-6070F761-61409E61000399C7-B77B6700
  9420. variable_sofia_profile_name: default
  9421. variable_recovery_profile_name: default
  9422. variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3Dc8b.0f7a8d95%3E
  9423. variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3Dc8b.0f7a8d95%3E
  9424. variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bKba24.b80ffc77.0,SIP/2.0/UDP%2046.19.210.14%3Breceived%3D46.19.210.14%3Bbranch%3Dz9hG4bK34y0YaHJ%3Brport%3D5060
  9425. variable_sip_from_display: 48798517722
  9426. variable_sip_full_from: %2248798517722%22%20%3Csip%3A48798517722%4046.19.210.14%3E%3Btag%3D13-6070F761-61409E61000399C7-B77B6700
  9427. variable_sip_full_to: %3Csip%3A48732081792%40newsip.israelnumber.com%3A5060%3E
  9428. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20UPDATE
  9429. variable_sip_req_user: 48732081792
  9430. variable_sip_req_port: 5060
  9431. variable_sip_req_uri: 48732081792%40newsip.israelnumber.com%3A5060
  9432. variable_sip_req_host: newsip.israelnumber.com
  9433. variable_sip_to_user: 48732081792
  9434. variable_sip_to_port: 5060
  9435. variable_sip_to_uri: 48732081792%40newsip.israelnumber.com%3A5060
  9436. variable_sip_to_host: newsip.israelnumber.com
  9437. variable_sip_contact_params: transport%3Dudp
  9438. variable_sip_contact_user: nobody
  9439. variable_sip_contact_port: 5060
  9440. variable_sip_contact_uri: nobody%4046.19.210.14%3A5060
  9441. variable_sip_contact_host: 46.19.210.14
  9442. variable_sip_user_agent: DIDWW%20SBC%20node
  9443. variable_sip_via_host: 136.243.196.198
  9444. variable_sip_via_port: 5060
  9445. variable_max_forwards: 30
  9446. variable_presence_id: 48798517722%4046.19.210.14
  9447. variable_sip_h_X-AUTH-IP: 46.19.210.14
  9448. variable_sip_h_P-Accountcode: 714761424818
  9449. variable_sip_h_P-effective_caller_id_name: 48798517722
  9450. variable_sip_h_P-effective_caller_id_number: 48798517722
  9451. variable_switch_r_sdp: v%3D0%0D%0Ao%3Ddidww-sbc%203078261728%2032538%20IN%20IP4%2046.19.210.22%0D%0As%3Ddidww-sbc%0D%0At%3D0%200%0D%0Am%3Daudio%2048644%20RTP/AVP%200%208%2018%204%20101%0D%0Ac%3DIN%20IP4%2046.19.210.22%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A4%20G723/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dptime%3A20%0D%0A
  9452. variable_rtp_use_codec_string: PCMA,PCMU,G729
  9453. variable_audio_media_flow: sendrecv
  9454. variable_remote_media_ip: 46.19.210.22
  9455. variable_remote_media_port: 48644
  9456. variable_rtp_audio_recv_pt: 0
  9457. variable_rtp_use_codec_name: PCMU
  9458. variable_rtp_use_codec_rate: 8000
  9459. variable_rtp_use_codec_ptime: 20
  9460. variable_rtp_use_codec_channels: 1
  9461. variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c
  9462. variable_read_codec: PCMU
  9463. variable_original_read_codec: PCMU
  9464. variable_read_rate: 8000
  9465. variable_original_read_rate: 8000
  9466. variable_write_codec: PCMU
  9467. variable_write_rate: 8000
  9468. variable_dtmf_type: rfc2833
  9469. variable_endpoint_disposition: RECEIVED
  9470. variable_call_uuid: 9a5ec082-155c-11ec-9fbf-7dfb9f6e00f0
  9471. Hunt-Direction: inbound
  9472. Hunt-Logical-Direction: inbound
  9473. Hunt-Username: 48798517722
  9474. Hunt-Dialplan: XML
  9475. Hunt-Caller-ID-Name: 48798517722
  9476. Hunt-Caller-ID-Number: 48798517722
  9477. Hunt-Orig-Caller-ID-Name: 48798517722
  9478. Hunt-Orig-Caller-ID-Number: 48798517722
  9479. Hunt-Network-Addr: 136.243.196.198
  9480. Hunt-ANI: 48798517722
  9481. Hunt-Destination-Number: 48732081792
  9482. Hunt-Unique-ID: 9a5ec082-155c-11ec-9fbf-7dfb9f6e00f0
  9483. Hunt-Source: mod_sofia
  9484. Hunt-Context: default
  9485. Hunt-Channel-Name: sofia/default/48798517722%4046.19.210.14
  9486. Hunt-Profile-Index: 1
  9487. Hunt-Profile-Created-Time: 1631624801266675
  9488. Hunt-Channel-Created-Time: 1631624801266675
  9489. Hunt-Channel-Answered-Time: 0
  9490. Hunt-Channel-Progress-Time: 0
  9491. Hunt-Channel-Progress-Media-Time: 0
  9492. Hunt-Channel-Hangup-Time: 0
  9493. Hunt-Channel-Transfer-Time: 0
  9494. Hunt-Channel-Resurrect-Time: 0
  9495. Hunt-Channel-Bridged-Time: 0
  9496. Hunt-Channel-Last-Hold: 0
  9497. Hunt-Channel-Hold-Accum: 0
  9498. Hunt-Screen-Bit: true
  9499. Hunt-Privacy-Hide-Name: false
  9500. Hunt-Privacy-Hide-Number: false
  9501.  
  9502. '
  9503. 2021-09-14 09:06:41.266675 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name:
  9504. 2021-09-14 09:06:41.266675 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value:
  9505. 2021-09-14 09:06:41.266675 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name:
  9506. 2021-09-14 09:06:41.266675 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan
  9507. 2021-09-14 09:06:41.266675 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  9508. 2021-09-14 09:06:41.266675 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 48732081792
  9509. 2021-09-14 09:06:41.266675 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '48732081792' limit 1
  9510. 2021-09-14 09:06:41.266675 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '48732081792' AND status=0 limit 1
  9511. 2021-09-14 09:06:41.266675 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '46.19.210.14' limit 1
  9512. 2021-09-14 09:06:41.266675 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  9513. 2021-09-14 09:06:41.266675 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 48798517722 / 48798517722
  9514. 2021-09-14 09:06:41.266675 [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 ="48732081792" LIMIT 1
  9515. 2021-09-14 09:06:41.266675 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
  9516. 2021-09-14 09:06:41.266675 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 714761424818]
  9517. 2021-09-14 09:06:41.266675 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "714761424818" OR number = "714761424818" AND deleted = 0 limit 1
  9518. 2021-09-14 09:06:41.266675 [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 ="48732081792" AND A.accountid = '863' limit 1
  9519. 2021-09-14 09:06:41.266675 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 48732081792
  9520. 2021-09-14 09:06:41.266675 [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 ="48732081792" LIMIT 1
  9521. 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound
  9522. 2021-09-14 09:06:41.286686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="48732081792" AND (accountid = 0 OR status = 1) LIMIT 1
  9523. 2021-09-14 09:06:41.286686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  9524. 2021-09-14 09:06:41.286686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851
  9525. 2021-09-14 09:06:41.286686 [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 = '^48732081792.*' OR patterns = '^4873208179.*' OR patterns = '^487320817.*' OR patterns = '^48732081.*' OR patterns = '^4873208.*' OR patterns = '^487320.*' OR patterns = '^48732.*' OR patterns = '^4873.*' OR patterns = '^487.*' OR patterns = '^48.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC
  9526. 2021-09-14 09:06:41.286686 [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 = '48732081792' OR number = '4873208179' OR number = '487320817' OR number = '48732081' OR number = '4873208' OR number = '487320' OR number = '48732' OR number = '4873' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48732081792*' OR number = '4873208179*' OR number = '487320817*' OR number = '48732081*' OR number = '4873208*' OR number = '487320*' OR number = '48732*' OR number = '4873*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--') OR (number = '48798517722' OR number = '4879851772' OR number = '487985177' OR number = '48798517' OR number = '4879851' OR number = '487985' OR number = '48798' OR number = '4879' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48798517722*' OR number = '4879851772*' OR number = '487985177*' OR number = '48798517*' OR number = '4879851*' OR number = '487985*' OR number = '48798*' OR number = '4879*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  9527. 2021-09-14 09:06:41.286686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  9528. 2021-09-14 09:06:41.286686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '48732081792' OR routing_prefix = '4873208179' OR routing_prefix = '487320817' OR routing_prefix = '48732081' OR routing_prefix = '4873208' OR routing_prefix = '487320' OR routing_prefix = '48732' OR routing_prefix = '4873' OR routing_prefix = '487' OR routing_prefix = '48' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  9529. 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  9530. 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 863
  9531. 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 714761424818
  9532. 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000
  9533. 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  9534. 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1
  9535. 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  9536. 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  9537. 2021-09-14 09:06:41.286686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  9538. 2021-09-14 09:06:41.286686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  9539. 2021-09-14 09:06:41.286686 [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 ="48732081792" LIMIT 1
  9540. 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound
  9541. 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  9542. 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 8057
  9543. 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  9544. 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  9545. 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  9546. 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Mobile Voice
  9547. 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 153
  9548. 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 863
  9549. 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  9550. 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 863 !!!
  9551. 2021-09-14 09:06:41.286686 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180
  9552. 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
  9553. 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  9554. 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  9555. 2021-09-14 09:06:41.286686 [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 = 863 AND status=0 LIMIT 1
  9556. 2021-09-14 09:06:41.286686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" OR number = "851" AND deleted = 0 limit 1
  9557. 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:863
  9558. 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:863
  9559. 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 863
  9560. 2021-09-14 09:06:41.286686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  9561. 2021-09-14 09:06:41.286686 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  9562. 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
  9563. 2021-09-14 09:06:41.286686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  9564. 2021-09-14 09:06:41.286686 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  9565. 2021-09-14 09:06:41.286686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2
  9566. 2021-09-14 09:06:41.286686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  9567. <document type="freeswitch/xml">
  9568. <section name="dialplan" description="ASTPP Dialplan">
  9569. <context name="default">
  9570. <extension name="48732081792">
  9571. <condition field="destination_number" expression="48732081792">
  9572. <action application="set" data="effective_destination_number=48732081792"/>
  9573. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  9574. <action application="set" data="bridge_pre_execute_bleg_data=+10800 normal_clearing"/>
  9575. <action application="set" data="callstart=2021-09-14 13:06:41"/>
  9576. <action application="set" data="hangup_after_bridge=true"/>
  9577. <action application="set" data="continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602"/>
  9578. <action application="set" data="account_id=863"/>
  9579. <action application="set" data="parent_id=0"/>
  9580. <action application="set" data="entity_id=3"/>
  9581. <action application="set" data="call_processed=internal"/>
  9582. <action application="set" data="call_direction=inbound"/>
  9583. <action application="set" data="accountname=default"/>
  9584. <action application="set" data="filename1=astpp.pbx.lua"/>
  9585. <action application="set" data="origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851"/>
  9586. <action application="set" data="origination_rates=0"/>
  9587. <action application="set" data="original_caller_id_name=48798517722"/>
  9588. <action application="set" data="original_caller_id_number=48798517722"/>
  9589. <action application="set" data="effective_caller_id_name=48798517722"/>
  9590. <action application="set" data="effective_caller_id_number=48798517722"/>
  9591. <action application="set" data="receiver_accid=851"/>
  9592. <action application="export" data="domain_name=Voicespin802.newsip.israelnumber.com"/>
  9593. <action application="export" data="sip_to_host=Voicespin802.newsip.israelnumber.com"/>
  9594. <action application="limit" data="db 48732081792 did_48732081792 2 !SWITCH_CONGESTION"/>
  9595. <action application="export" data="presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14"/>
  9596. <action application="export" data="call_type=2"/>
  9597. <action application="set" data="calltype=DIRECT-IP"/>
  9598. <action application="bridge" data="[leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118"/>
  9599. </condition>
  9600. </extension>
  9601. </context>
  9602. </section>
  9603. </document>
  9604. 2021-09-14 09:06:41.286686 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released.
  9605. Dialplan: sofia/default/48798517722@46.19.210.14 parsing [default->48732081792] continue=false
  9606. Dialplan: sofia/default/48798517722@46.19.210.14 Regex (PASS) [48732081792] destination_number(48732081792) =~ /48732081792/ break=on-false
  9607. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_destination_number=48732081792)
  9608. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  9609. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  9610. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(callstart=2021-09-14 13:06:41)
  9611. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(hangup_after_bridge=true)
  9612. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  9613. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(account_id=863)
  9614. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(parent_id=0)
  9615. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(entity_id=3)
  9616. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_processed=internal)
  9617. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_direction=inbound)
  9618. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(accountname=default)
  9619. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(filename1=astpp.pbx.lua)
  9620. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851)
  9621. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates=0)
  9622. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_name=48798517722)
  9623. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_number=48798517722)
  9624. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_name=48798517722)
  9625. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_number=48798517722)
  9626. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(receiver_accid=851)
  9627. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(domain_name=Voicespin802.newsip.israelnumber.com)
  9628. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  9629. Dialplan: sofia/default/48798517722@46.19.210.14 Action limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION)
  9630. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14)
  9631. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(call_type=2)
  9632. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(calltype=DIRECT-IP)
  9633. Dialplan: sofia/default/48798517722@46.19.210.14 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118)
  9634. 2021-09-14 09:06:41.286686 [DEBUG] switch_core_state_machine.c:286 (sofia/default/48798517722@46.19.210.14) State Change CS_ROUTING -> CS_EXECUTE
  9635. 2021-09-14 09:06:41.286686 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING going to sleep
  9636. 2021-09-14 09:06:41.286686 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_EXECUTE (Cur 7 Tot 248038)
  9637. 2021-09-14 09:06:41.286686 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE
  9638. 2021-09-14 09:06:41.286686 [DEBUG] mod_sofia.c:198 sofia/default/48798517722@46.19.210.14 SOFIA EXECUTE
  9639. 2021-09-14 09:06:41.286686 [DEBUG] switch_core_state_machine.c:328 sofia/default/48798517722@46.19.210.14 Standard EXECUTE
  9640. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_destination_number=48732081792)
  9641. 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_destination_number]=[48732081792]
  9642. EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_app=sched_hangup)
  9643. 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_app]=[sched_hangup]
  9644. EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  9645. 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing]
  9646. EXECUTE sofia/default/48798517722@46.19.210.14 set(callstart=2021-09-14 13:06:41)
  9647. 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [callstart]=[2021-09-14 13:06:41]
  9648. EXECUTE sofia/default/48798517722@46.19.210.14 set(hangup_after_bridge=true)
  9649. 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [hangup_after_bridge]=[true]
  9650. EXECUTE sofia/default/48798517722@46.19.210.14 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  9651. 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]
  9652. EXECUTE sofia/default/48798517722@46.19.210.14 set(account_id=863)
  9653. 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [account_id]=[863]
  9654. EXECUTE sofia/default/48798517722@46.19.210.14 set(parent_id=0)
  9655. 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [parent_id]=[0]
  9656. EXECUTE sofia/default/48798517722@46.19.210.14 set(entity_id=3)
  9657. 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [entity_id]=[3]
  9658. EXECUTE sofia/default/48798517722@46.19.210.14 set(call_processed=internal)
  9659. 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_processed]=[internal]
  9660. EXECUTE sofia/default/48798517722@46.19.210.14 set(call_direction=inbound)
  9661. 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_direction]=[inbound]
  9662. EXECUTE sofia/default/48798517722@46.19.210.14 set(accountname=default)
  9663. 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [accountname]=[default]
  9664. EXECUTE sofia/default/48798517722@46.19.210.14 set(filename1=astpp.pbx.lua)
  9665. 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [filename1]=[astpp.pbx.lua]
  9666. EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851)
  9667. 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates_did]=[ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851]
  9668. EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates=0)
  9669. 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates]=[0]
  9670. EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_name=48798517722)
  9671. 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_name]=[48798517722]
  9672. EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_number=48798517722)
  9673. 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_number]=[48798517722]
  9674. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_name=48798517722)
  9675. 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_name]=[48798517722]
  9676. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_number=48798517722)
  9677. 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_number]=[48798517722]
  9678. EXECUTE sofia/default/48798517722@46.19.210.14 set(receiver_accid=851)
  9679. 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [receiver_accid]=[851]
  9680. EXECUTE sofia/default/48798517722@46.19.210.14 export(domain_name=Voicespin802.newsip.israelnumber.com)
  9681. 2021-09-14 09:06:41.286686 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com]
  9682. EXECUTE sofia/default/48798517722@46.19.210.14 export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  9683. 2021-09-14 09:06:41.286686 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com]
  9684. EXECUTE sofia/default/48798517722@46.19.210.14 limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION)
  9685. 2021-09-14 09:06:41.286686 [DEBUG] switch_limit.c:126 incr called: 48732081792_did_48732081792 max:2, interval:0
  9686. 2021-09-14 09:06:41.286686 [DEBUG] mod_db.c:194 Usage for 48732081792_did_48732081792 is now 1/2
  9687. EXECUTE sofia/default/48798517722@46.19.210.14 export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14)
  9688. 2021-09-14 09:06:41.286686 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14]
  9689. EXECUTE sofia/default/48798517722@46.19.210.14 export(call_type=2)
  9690. 2021-09-14 09:06:41.286686 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2]
  9691. EXECUTE sofia/default/48798517722@46.19.210.14 set(calltype=DIRECT-IP)
  9692. 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [calltype]=[DIRECT-IP]
  9693. EXECUTE sofia/default/48798517722@46.19.210.14 bridge([leg_timeout=30]sofia/default/48732081792@35.205.116.118)
  9694. 2021-09-14 09:06:41.306672 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event
  9695. 2021-09-14 09:06:41.306672 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event
  9696. 2021-09-14 09:06:41.306672 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] to event
  9697. 2021-09-14 09:06:41.306672 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [call_type]=[2] to event
  9698. 2021-09-14 09:06:41.306672 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  9699. 2021-09-14 09:06:41.306672 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  9700. 2021-09-14 09:06:41.306672 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48732081792@35.205.116.118 [9a642108-155c-11ec-9fdf-7dfb9f6e00f0]
  9701. 2021-09-14 09:06:41.306672 [DEBUG] mod_sofia.c:4819 (sofia/default/48732081792@35.205.116.118) State Change CS_NEW -> CS_INIT
  9702. 2021-09-14 09:06:41.306672 [DEBUG] switch_ivr_originate.c:2963 sofia/default/48732081792@35.205.116.118 Setting leg timeout to 30
  9703. 2021-09-14 09:06:41.306672 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_INIT (Cur 8 Tot 248039)
  9704. 2021-09-14 09:06:41.306672 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT
  9705. 2021-09-14 09:06:41.306672 [DEBUG] mod_sofia.c:90 sofia/default/48732081792@35.205.116.118 SOFIA INIT
  9706. 2021-09-14 09:06:41.306672 [DEBUG] sofia_glue.c:1295 sofia/default/48732081792@35.205.116.118 sending invite version: 1.6.20  64bit
  9707. Local SDP:
  9708. v=0
  9709. o=FreeSWITCH 1631594275 1631594276 IN IP4 89.46.223.193
  9710. s=FreeSWITCH
  9711. c=IN IP4 89.46.223.193
  9712. t=0 0
  9713. m=audio 30526 RTP/AVP 0 101
  9714. a=rtpmap:0 PCMU/8000
  9715. a=rtpmap:101 telephone-event/8000
  9716. a=fmtp:101 0-16
  9717. a=ptime:20
  9718. a=sendrecv
  9719.  
  9720. 2021-09-14 09:06:41.306672 [DEBUG] switch_core_state_machine.c:40 sofia/default/48732081792@35.205.116.118 Standard INIT
  9721. 2021-09-14 09:06:41.306672 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48732081792@35.205.116.118) State Change CS_INIT -> CS_ROUTING
  9722. 2021-09-14 09:06:41.306672 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT going to sleep
  9723. 2021-09-14 09:06:41.306672 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_ROUTING (Cur 8 Tot 248039)
  9724. 2021-09-14 09:06:41.306672 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING
  9725. 2021-09-14 09:06:41.306672 [DEBUG] mod_sofia.c:143 sofia/default/48732081792@35.205.116.118 SOFIA ROUTING
  9726. 2021-09-14 09:06:41.306672 [DEBUG] switch_ivr_originate.c:67 (sofia/default/48732081792@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  9727. 2021-09-14 09:06:41.306672 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING going to sleep
  9728. 2021-09-14 09:06:41.306672 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 248039)
  9729. 2021-09-14 09:06:41.306672 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA
  9730. 2021-09-14 09:06:41.306672 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA going to sleep
  9731. 2021-09-14 09:06:41.306672 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [calling][0]
  9732. 2021-09-14 09:06:41.526671 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [terminated][500]
  9733. 2021-09-14 09:06:41.526671 [NOTICE] sofia.c:8273 Hangup sofia/default/48732081792@35.205.116.118 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
  9734. 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_HANGUP (Cur 8 Tot 248039)
  9735. 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48732081792@35.205.116.118) Callstate Change DOWN -> HANGUP
  9736. 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP
  9737. 2021-09-14 09:06:41.526671 [DEBUG] mod_sofia.c:438 Channel sofia/default/48732081792@35.205.116.118 hanging up, cause: NORMAL_TEMPORARY_FAILURE
  9738. 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:60 sofia/default/48732081792@35.205.116.118 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
  9739. 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP going to sleep
  9740. 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48732081792@35.205.116.118) State Change CS_HANGUP -> CS_REPORTING
  9741. 2021-09-14 09:06:41.526671 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
  9742. 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_REPORTING (Cur 8 Tot 248039)
  9743. 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING
  9744. 2021-09-14 09:06:41.526671 [INFO] mod_json_cdr.c:271 Process [9a642108-155c-11ec-9fdf-7dfb9f6e00f0.cdr.json]
  9745. 2021-09-14 09:06:41.526671 [INFO] mod_dptools.c:3436 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
  9746. 2021-09-14 09:06:41.526671 [DEBUG] switch_channel.c:4775 Continue on fail [1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]:  Cause: NORMAL_TEMPORARY_FAILURE
  9747. 2021-09-14 09:06:41.526671 [NOTICE] switch_core_state_machine.c:385 sofia/default/48798517722@46.19.210.14 has executed the last dialplan instruction, hanging up.
  9748. 2021-09-14 09:06:41.526671 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/48798517722@46.19.210.14 [CS_EXECUTE] [NORMAL_CLEARING]
  9749. 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE going to sleep
  9750. 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_HANGUP (Cur 8 Tot 248039)
  9751. 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48798517722@46.19.210.14) Callstate Change RINGING -> HANGUP
  9752. 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP
  9753. 2021-09-14 09:06:41.526671 [DEBUG] mod_sofia.c:432 sofia/default/48798517722@46.19.210.14 Overriding SIP cause 480 with 500 from the other leg
  9754. 2021-09-14 09:06:41.526671 [DEBUG] mod_sofia.c:438 Channel sofia/default/48798517722@46.19.210.14 hanging up, cause: NORMAL_CLEARING
  9755. 2021-09-14 09:06:41.526671 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 500
  9756. 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:60 sofia/default/48798517722@46.19.210.14 Standard HANGUP, cause: NORMAL_CLEARING
  9757. 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP going to sleep
  9758. 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48798517722@46.19.210.14) State Change CS_HANGUP -> CS_REPORTING
  9759. 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_REPORTING (Cur 8 Tot 248039)
  9760. 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING
  9761. 2021-09-14 09:06:41.526671 [INFO] mod_json_cdr.c:271 Process [9a5ec082-155c-11ec-9fbf-7dfb9f6e00f0.cdr.json]
  9762. 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:174 sofia/default/48732081792@35.205.116.118 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
  9763. 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING going to sleep
  9764. 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48732081792@35.205.116.118) State Change CS_REPORTING -> CS_DESTROY
  9765. 2021-09-14 09:06:41.526671 [DEBUG] switch_core_session.c:1665 Session 248039 (sofia/default/48732081792@35.205.116.118) Locked, Waiting on external entities
  9766. 2021-09-14 09:06:41.526671 [NOTICE] switch_core_session.c:1683 Session 248039 (sofia/default/48732081792@35.205.116.118) Ended
  9767. 2021-09-14 09:06:41.526671 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48732081792@35.205.116.118 [CS_DESTROY]
  9768. 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48732081792@35.205.116.118) Running State Change CS_DESTROY (Cur 7 Tot 248039)
  9769. 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY
  9770. 2021-09-14 09:06:41.526671 [DEBUG] mod_sofia.c:343 sofia/default/48732081792@35.205.116.118 SOFIA DESTROY
  9771. 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:181 sofia/default/48732081792@35.205.116.118 Standard DESTROY
  9772. 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY going to sleep
  9773. 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:174 sofia/default/48798517722@46.19.210.14 Standard REPORTING, cause: NORMAL_CLEARING
  9774. 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING going to sleep
  9775. 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48798517722@46.19.210.14) State Change CS_REPORTING -> CS_DESTROY
  9776. 2021-09-14 09:06:41.526671 [DEBUG] switch_core_session.c:1665 Session 248038 (sofia/default/48798517722@46.19.210.14) Locked, Waiting on external entities
  9777. 2021-09-14 09:06:41.526671 [NOTICE] switch_core_session.c:1683 Session 248038 (sofia/default/48798517722@46.19.210.14) Ended
  9778. 2021-09-14 09:06:41.526671 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48798517722@46.19.210.14 [CS_DESTROY]
  9779. 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48798517722@46.19.210.14) Running State Change CS_DESTROY (Cur 6 Tot 248039)
  9780. 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY
  9781. 2021-09-14 09:06:41.526671 [DEBUG] mod_sofia.c:343 sofia/default/48798517722@46.19.210.14 SOFIA DESTROY
  9782. 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:181 sofia/default/48798517722@46.19.210.14 Standard DESTROY
  9783. 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY going to sleep
  9784. 2021-09-14 09:06:42.166707 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48798517722@46.19.210.14 [9ae85fea-155c-11ec-9fe3-7dfb9f6e00f0]
  9785. 2021-09-14 09:06:42.166707 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_NEW (Cur 7 Tot 248040)
  9786. 2021-09-14 09:06:42.166707 [DEBUG] sofia.c:9873 sofia/default/48798517722@46.19.210.14 receiving invite from 136.243.196.198:5060 version: 1.6.20  64bit
  9787. 2021-09-14 09:06:42.166707 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
  9788. 2021-09-14 09:06:42.166707 [DEBUG] sofia.c:7084 Channel sofia/default/48798517722@46.19.210.14 entering state [received][100]
  9789. 2021-09-14 09:06:42.166707 [DEBUG] sofia.c:7094 Remote SDP:
  9790. v=0
  9791. o=didww-sbc 3682507744 32695 IN IP4 46.19.210.39
  9792. s=didww-sbc
  9793. t=0 0
  9794. m=audio 33216 RTP/AVP 0 8 18 4 101
  9795. c=IN IP4 46.19.210.39
  9796. a=rtpmap:0 PCMU/8000
  9797. a=rtpmap:8 PCMA/8000
  9798. a=rtpmap:18 G729/8000
  9799. a=fmtp:18 annexb=no
  9800. a=rtpmap:4 G723/8000
  9801. a=rtpmap:101 telephone-event/8000
  9802. a=ptime:20
  9803.  
  9804. 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  9805. 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  9806. 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  9807. 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  9808. 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  9809. 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  9810. 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  9811. 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  9812. 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  9813. 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  9814. 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  9815. 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  9816. 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1]
  9817. 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1]
  9818. 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:20:8000:1]
  9819. 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  9820. 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/48798517722@46.19.210.14 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  9821. 2021-09-14 09:06:42.166707 [DEBUG] switch_core_codec.c:111 sofia/default/48798517722@46.19.210.14 Original read codec set to PCMU:0
  9822. 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  9823. 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:4767 sofia/default/48798517722@46.19.210.14 Set 2833 dtmf send payload to 101 recv payload to 101
  9824. 2021-09-14 09:06:42.166707 [DEBUG] sofia.c:7507 (sofia/default/48798517722@46.19.210.14) State Change CS_NEW -> CS_INIT
  9825. 2021-09-14 09:06:42.166707 [DEBUG] switch_core_state_machine.c:603 (sofia/default/48798517722@46.19.210.14) State NEW
  9826. 2021-09-14 09:06:42.166707 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_INIT (Cur 7 Tot 248040)
  9827. 2021-09-14 09:06:42.166707 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT
  9828. 2021-09-14 09:06:42.166707 [DEBUG] mod_sofia.c:90 sofia/default/48798517722@46.19.210.14 SOFIA INIT
  9829. 2021-09-14 09:06:42.166707 [DEBUG] switch_core_state_machine.c:40 sofia/default/48798517722@46.19.210.14 Standard INIT
  9830. 2021-09-14 09:06:42.166707 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48798517722@46.19.210.14) State Change CS_INIT -> CS_ROUTING
  9831. 2021-09-14 09:06:42.166707 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT going to sleep
  9832. 2021-09-14 09:06:42.166707 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_ROUTING (Cur 7 Tot 248040)
  9833. 2021-09-14 09:06:42.166707 [DEBUG] switch_channel.c:2249 (sofia/default/48798517722@46.19.210.14) Callstate Change DOWN -> RINGING
  9834. 2021-09-14 09:06:42.166707 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING
  9835. 2021-09-14 09:06:42.166707 [DEBUG] mod_sofia.c:143 sofia/default/48798517722@46.19.210.14 SOFIA ROUTING
  9836. 2021-09-14 09:06:42.166707 [DEBUG] switch_core_state_machine.c:236 sofia/default/48798517722@46.19.210.14 Standard ROUTING
  9837. 2021-09-14 09:06:42.166707 [INFO] mod_dialplan_xml.c:637 Processing 48798517722 <48798517722>->48732081792 in context default
  9838. 2021-09-14 09:06:42.166707 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected.
  9839. 2021-09-14 09:06:42.166707 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  9840. 2021-09-14 09:06:42.166707 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  9841. 2021-09-14 09:06:42.166707 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params:
  9842. 'Event-Name: REQUEST_PARAMS
  9843. Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0
  9844. FreeSWITCH-Hostname: astpp1.local
  9845. FreeSWITCH-Switchname: astpp1.local
  9846. FreeSWITCH-IPv4: 89.46.223.193
  9847. FreeSWITCH-IPv6: %3A%3A1
  9848. Event-Date-Local: 2021-09-14%2009%3A06%3A42
  9849. Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A06%3A42%20GMT
  9850. Event-Date-Timestamp: 1631624802166707
  9851. Event-Calling-File: mod_dialplan_xml.c
  9852. Event-Calling-Function: dialplan_xml_locate
  9853. Event-Calling-Line-Number: 608
  9854. Event-Sequence: 7529037
  9855. Channel-State: CS_ROUTING
  9856. Channel-Call-State: RINGING
  9857. Channel-State-Number: 2
  9858. Channel-Name: sofia/default/48798517722%4046.19.210.14
  9859. Unique-ID: 9ae85fea-155c-11ec-9fe3-7dfb9f6e00f0
  9860. Call-Direction: inbound
  9861. Presence-Call-Direction: inbound
  9862. Channel-HIT-Dialplan: true
  9863. Channel-Presence-ID: 48798517722%4046.19.210.14
  9864. Channel-Call-UUID: 9ae85fea-155c-11ec-9fe3-7dfb9f6e00f0
  9865. Answer-State: ringing
  9866. Channel-Read-Codec-Name: PCMU
  9867. Channel-Read-Codec-Rate: 8000
  9868. Channel-Read-Codec-Bit-Rate: 64000
  9869. Channel-Write-Codec-Name: PCMU
  9870. Channel-Write-Codec-Rate: 8000
  9871. Channel-Write-Codec-Bit-Rate: 64000
  9872. Caller-Direction: inbound
  9873. Caller-Logical-Direction: inbound
  9874. Caller-Username: 48798517722
  9875. Caller-Dialplan: XML
  9876. Caller-Caller-ID-Name: 48798517722
  9877. Caller-Caller-ID-Number: 48798517722
  9878. Caller-Orig-Caller-ID-Name: 48798517722
  9879. Caller-Orig-Caller-ID-Number: 48798517722
  9880. Caller-Network-Addr: 136.243.196.198
  9881. Caller-ANI: 48798517722
  9882. Caller-Destination-Number: 48732081792
  9883. Caller-Unique-ID: 9ae85fea-155c-11ec-9fe3-7dfb9f6e00f0
  9884. Caller-Source: mod_sofia
  9885. Caller-Context: default
  9886. Caller-Channel-Name: sofia/default/48798517722%4046.19.210.14
  9887. Caller-Profile-Index: 1
  9888. Caller-Profile-Created-Time: 1631624802166707
  9889. Caller-Channel-Created-Time: 1631624802166707
  9890. Caller-Channel-Answered-Time: 0
  9891. Caller-Channel-Progress-Time: 0
  9892. Caller-Channel-Progress-Media-Time: 0
  9893. Caller-Channel-Hangup-Time: 0
  9894. Caller-Channel-Transfer-Time: 0
  9895. Caller-Channel-Resurrect-Time: 0
  9896. Caller-Channel-Bridged-Time: 0
  9897. Caller-Channel-Last-Hold: 0
  9898. Caller-Channel-Hold-Accum: 0
  9899. Caller-Screen-Bit: true
  9900. Caller-Privacy-Hide-Name: false
  9901. Caller-Privacy-Hide-Number: false
  9902. variable_direction: inbound
  9903. variable_uuid: 9ae85fea-155c-11ec-9fe3-7dfb9f6e00f0
  9904. variable_session_id: 248040
  9905. variable_sip_from_user: 48798517722
  9906. variable_sip_from_uri: 48798517722%4046.19.210.14
  9907. variable_sip_from_host: 46.19.210.14
  9908. variable_video_media_flow: sendrecv
  9909. variable_channel_name: sofia/default/48798517722%4046.19.210.14
  9910. variable_sip_call_id: 11-11-794E7D2D-61409E6200021BB4-DB7F7700
  9911. variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b
  9912. variable_sip_local_network_addr: 89.46.223.193
  9913. variable_sip_network_ip: 136.243.196.198
  9914. variable_sip_network_port: 5060
  9915. variable_sip_invite_stamp: 1631624802166707
  9916. variable_sip_received_ip: 136.243.196.198
  9917. variable_sip_received_port: 5060
  9918. variable_sip_via_protocol: udp
  9919. variable_sip_authorized: true
  9920. variable_sip_acl_authed_by: default
  9921. variable_sip_from_user_stripped: 48798517722
  9922. variable_sip_from_tag: 11-769EE914-61409E6200021ADE-DB7F7700
  9923. variable_sofia_profile_name: default
  9924. variable_recovery_profile_name: default
  9925. variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D832.ae17cd36%3E
  9926. variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D832.ae17cd36%3E
  9927. variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bK7597.44d4a52.0,SIP/2.0/UDP%2046.19.210.14%3Breceived%3D46.19.210.14%3Bbranch%3Dz9hG4bKDcl1ya0j%3Brport%3D5060
  9928. variable_sip_from_display: 48798517722
  9929. variable_sip_full_from: %2248798517722%22%20%3Csip%3A48798517722%4046.19.210.14%3E%3Btag%3D11-769EE914-61409E6200021ADE-DB7F7700
  9930. variable_sip_full_to: %3Csip%3A48732081792%40newsip.israelnumber.com%3A5060%3E
  9931. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20UPDATE
  9932. variable_sip_req_user: 48732081792
  9933. variable_sip_req_port: 5060
  9934. variable_sip_req_uri: 48732081792%40newsip.israelnumber.com%3A5060
  9935. variable_sip_req_host: newsip.israelnumber.com
  9936. variable_sip_to_user: 48732081792
  9937. variable_sip_to_port: 5060
  9938. variable_sip_to_uri: 48732081792%40newsip.israelnumber.com%3A5060
  9939. variable_sip_to_host: newsip.israelnumber.com
  9940. variable_sip_contact_params: transport%3Dudp
  9941. variable_sip_contact_user: nobody
  9942. variable_sip_contact_port: 5060
  9943. variable_sip_contact_uri: nobody%4046.19.210.14%3A5060
  9944. variable_sip_contact_host: 46.19.210.14
  9945. variable_sip_user_agent: DIDWW%20SBC%20node
  9946. variable_sip_via_host: 136.243.196.198
  9947. variable_sip_via_port: 5060
  9948. variable_max_forwards: 30
  9949. variable_presence_id: 48798517722%4046.19.210.14
  9950. variable_sip_h_X-AUTH-IP: 46.19.210.14
  9951. variable_sip_h_P-Accountcode: 714761424818
  9952. variable_sip_h_P-effective_caller_id_name: 48798517722
  9953. variable_sip_h_P-effective_caller_id_number: 48798517722
  9954. variable_switch_r_sdp: v%3D0%0D%0Ao%3Ddidww-sbc%203682507744%2032695%20IN%20IP4%2046.19.210.39%0D%0As%3Ddidww-sbc%0D%0At%3D0%200%0D%0Am%3Daudio%2033216%20RTP/AVP%200%208%2018%204%20101%0D%0Ac%3DIN%20IP4%2046.19.210.39%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A4%20G723/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dptime%3A20%0D%0A
  9955. variable_rtp_use_codec_string: PCMA,PCMU,G729
  9956. variable_audio_media_flow: sendrecv
  9957. variable_remote_media_ip: 46.19.210.39
  9958. variable_remote_media_port: 33216
  9959. variable_rtp_audio_recv_pt: 0
  9960. variable_rtp_use_codec_name: PCMU
  9961. variable_rtp_use_codec_rate: 8000
  9962. variable_rtp_use_codec_ptime: 20
  9963. variable_rtp_use_codec_channels: 1
  9964. variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c
  9965. variable_read_codec: PCMU
  9966. variable_original_read_codec: PCMU
  9967. variable_read_rate: 8000
  9968. variable_original_read_rate: 8000
  9969. variable_write_codec: PCMU
  9970. variable_write_rate: 8000
  9971. variable_dtmf_type: rfc2833
  9972. variable_endpoint_disposition: RECEIVED
  9973. variable_call_uuid: 9ae85fea-155c-11ec-9fe3-7dfb9f6e00f0
  9974. Hunt-Direction: inbound
  9975. Hunt-Logical-Direction: inbound
  9976. Hunt-Username: 48798517722
  9977. Hunt-Dialplan: XML
  9978. Hunt-Caller-ID-Name: 48798517722
  9979. Hunt-Caller-ID-Number: 48798517722
  9980. Hunt-Orig-Caller-ID-Name: 48798517722
  9981. Hunt-Orig-Caller-ID-Number: 48798517722
  9982. Hunt-Network-Addr: 136.243.196.198
  9983. Hunt-ANI: 48798517722
  9984. Hunt-Destination-Number: 48732081792
  9985. Hunt-Unique-ID: 9ae85fea-155c-11ec-9fe3-7dfb9f6e00f0
  9986. Hunt-Source: mod_sofia
  9987. Hunt-Context: default
  9988. Hunt-Channel-Name: sofia/default/48798517722%4046.19.210.14
  9989. Hunt-Profile-Index: 1
  9990. Hunt-Profile-Created-Time: 1631624802166707
  9991. Hunt-Channel-Created-Time: 1631624802166707
  9992. Hunt-Channel-Answered-Time: 0
  9993. Hunt-Channel-Progress-Time: 0
  9994. Hunt-Channel-Progress-Media-Time: 0
  9995. Hunt-Channel-Hangup-Time: 0
  9996. Hunt-Channel-Transfer-Time: 0
  9997. Hunt-Channel-Resurrect-Time: 0
  9998. Hunt-Channel-Bridged-Time: 0
  9999. Hunt-Channel-Last-Hold: 0
  10000. Hunt-Channel-Hold-Accum: 0
  10001. Hunt-Screen-Bit: true
  10002. Hunt-Privacy-Hide-Name: false
  10003. Hunt-Privacy-Hide-Number: false
  10004.  
  10005. '
  10006. 2021-09-14 09:06:42.166707 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name:
  10007. 2021-09-14 09:06:42.166707 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value:
  10008. 2021-09-14 09:06:42.166707 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name:
  10009. 2021-09-14 09:06:42.166707 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan
  10010. 2021-09-14 09:06:42.166707 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  10011. 2021-09-14 09:06:42.166707 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 48732081792
  10012. 2021-09-14 09:06:42.166707 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '48732081792' limit 1
  10013. 2021-09-14 09:06:42.166707 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '48732081792' AND status=0 limit 1
  10014. 2021-09-14 09:06:42.186669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '46.19.210.14' limit 1
  10015. 2021-09-14 09:06:42.186669 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  10016. 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 48798517722 / 48798517722
  10017. 2021-09-14 09:06:42.186669 [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 ="48732081792" LIMIT 1
  10018. 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
  10019. 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 714761424818]
  10020. 2021-09-14 09:06:42.186669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "714761424818" OR number = "714761424818" AND deleted = 0 limit 1
  10021. 2021-09-14 09:06:42.186669 [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 ="48732081792" AND A.accountid = '863' limit 1
  10022. 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 48732081792
  10023. 2021-09-14 09:06:42.186669 [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 ="48732081792" LIMIT 1
  10024. 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound
  10025. 2021-09-14 09:06:42.186669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="48732081792" AND (accountid = 0 OR status = 1) LIMIT 1
  10026. 2021-09-14 09:06:42.186669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  10027. 2021-09-14 09:06:42.186669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851
  10028. 2021-09-14 09:06:42.186669 [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 = '^48732081792.*' OR patterns = '^4873208179.*' OR patterns = '^487320817.*' OR patterns = '^48732081.*' OR patterns = '^4873208.*' OR patterns = '^487320.*' OR patterns = '^48732.*' OR patterns = '^4873.*' OR patterns = '^487.*' OR patterns = '^48.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC
  10029. 2021-09-14 09:06:42.186669 [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 = '48732081792' OR number = '4873208179' OR number = '487320817' OR number = '48732081' OR number = '4873208' OR number = '487320' OR number = '48732' OR number = '4873' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48732081792*' OR number = '4873208179*' OR number = '487320817*' OR number = '48732081*' OR number = '4873208*' OR number = '487320*' OR number = '48732*' OR number = '4873*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--') OR (number = '48798517722' OR number = '4879851772' OR number = '487985177' OR number = '48798517' OR number = '4879851' OR number = '487985' OR number = '48798' OR number = '4879' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48798517722*' OR number = '4879851772*' OR number = '487985177*' OR number = '48798517*' OR number = '4879851*' OR number = '487985*' OR number = '48798*' OR number = '4879*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  10030. 2021-09-14 09:06:42.186669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  10031. 2021-09-14 09:06:42.186669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '48732081792' OR routing_prefix = '4873208179' OR routing_prefix = '487320817' OR routing_prefix = '48732081' OR routing_prefix = '4873208' OR routing_prefix = '487320' OR routing_prefix = '48732' OR routing_prefix = '4873' OR routing_prefix = '487' OR routing_prefix = '48' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  10032. 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  10033. 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 863
  10034. 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 714761424818
  10035. 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000
  10036. 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  10037. 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1
  10038. 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  10039. 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  10040. 2021-09-14 09:06:42.186669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  10041. 2021-09-14 09:06:42.186669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  10042. 2021-09-14 09:06:42.186669 [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 ="48732081792" LIMIT 1
  10043. 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound
  10044. 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  10045. 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 8057
  10046. 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  10047. 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  10048. 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  10049. 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Mobile Voice
  10050. 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 153
  10051. 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 863
  10052. 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  10053. 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 863 !!!
  10054. 2021-09-14 09:06:42.186669 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180
  10055. 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
  10056. 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  10057. 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  10058. 2021-09-14 09:06:42.186669 [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 = 863 AND status=0 LIMIT 1
  10059. 2021-09-14 09:06:42.186669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" OR number = "851" AND deleted = 0 limit 1
  10060. 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:863
  10061. 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:863
  10062. 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 863
  10063. 2021-09-14 09:06:42.186669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  10064. 2021-09-14 09:06:42.186669 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  10065. 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
  10066. 2021-09-14 09:06:42.186669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  10067. 2021-09-14 09:06:42.186669 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  10068. 2021-09-14 09:06:42.186669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2
  10069. 2021-09-14 09:06:42.186669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  10070. <document type="freeswitch/xml">
  10071. <section name="dialplan" description="ASTPP Dialplan">
  10072. <context name="default">
  10073. <extension name="48732081792">
  10074. <condition field="destination_number" expression="48732081792">
  10075. <action application="set" data="effective_destination_number=48732081792"/>
  10076. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  10077. <action application="set" data="bridge_pre_execute_bleg_data=+10800 normal_clearing"/>
  10078. <action application="set" data="callstart=2021-09-14 13:06:42"/>
  10079. <action application="set" data="hangup_after_bridge=true"/>
  10080. <action application="set" data="continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602"/>
  10081. <action application="set" data="account_id=863"/>
  10082. <action application="set" data="parent_id=0"/>
  10083. <action application="set" data="entity_id=3"/>
  10084. <action application="set" data="call_processed=internal"/>
  10085. <action application="set" data="call_direction=inbound"/>
  10086. <action application="set" data="accountname=default"/>
  10087. <action application="set" data="filename1=astpp.pbx.lua"/>
  10088. <action application="set" data="origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851"/>
  10089. <action application="set" data="origination_rates=0"/>
  10090. <action application="set" data="original_caller_id_name=48798517722"/>
  10091. <action application="set" data="original_caller_id_number=48798517722"/>
  10092. <action application="set" data="effective_caller_id_name=48798517722"/>
  10093. <action application="set" data="effective_caller_id_number=48798517722"/>
  10094. <action application="set" data="receiver_accid=851"/>
  10095. <action application="export" data="domain_name=Voicespin802.newsip.israelnumber.com"/>
  10096. <action application="export" data="sip_to_host=Voicespin802.newsip.israelnumber.com"/>
  10097. <action application="limit" data="db 48732081792 did_48732081792 2 !SWITCH_CONGESTION"/>
  10098. <action application="export" data="presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14"/>
  10099. <action application="export" data="call_type=2"/>
  10100. <action application="set" data="calltype=DIRECT-IP"/>
  10101. <action application="bridge" data="[leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118"/>
  10102. </condition>
  10103. </extension>
  10104. </context>
  10105. </section>
  10106. </document>
  10107. 2021-09-14 09:06:42.186669 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released.
  10108. Dialplan: sofia/default/48798517722@46.19.210.14 parsing [default->48732081792] continue=false
  10109. Dialplan: sofia/default/48798517722@46.19.210.14 Regex (PASS) [48732081792] destination_number(48732081792) =~ /48732081792/ break=on-false
  10110. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_destination_number=48732081792)
  10111. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  10112. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  10113. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(callstart=2021-09-14 13:06:42)
  10114. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(hangup_after_bridge=true)
  10115. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  10116. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(account_id=863)
  10117. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(parent_id=0)
  10118. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(entity_id=3)
  10119. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_processed=internal)
  10120. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_direction=inbound)
  10121. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(accountname=default)
  10122. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(filename1=astpp.pbx.lua)
  10123. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851)
  10124. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates=0)
  10125. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_name=48798517722)
  10126. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_number=48798517722)
  10127. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_name=48798517722)
  10128. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_number=48798517722)
  10129. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(receiver_accid=851)
  10130. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(domain_name=Voicespin802.newsip.israelnumber.com)
  10131. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  10132. Dialplan: sofia/default/48798517722@46.19.210.14 Action limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION)
  10133. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14)
  10134. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(call_type=2)
  10135. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(calltype=DIRECT-IP)
  10136. Dialplan: sofia/default/48798517722@46.19.210.14 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118)
  10137. 2021-09-14 09:06:42.186669 [DEBUG] switch_core_state_machine.c:286 (sofia/default/48798517722@46.19.210.14) State Change CS_ROUTING -> CS_EXECUTE
  10138. 2021-09-14 09:06:42.186669 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING going to sleep
  10139. 2021-09-14 09:06:42.186669 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_EXECUTE (Cur 7 Tot 248040)
  10140. 2021-09-14 09:06:42.186669 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE
  10141. 2021-09-14 09:06:42.186669 [DEBUG] mod_sofia.c:198 sofia/default/48798517722@46.19.210.14 SOFIA EXECUTE
  10142. 2021-09-14 09:06:42.186669 [DEBUG] switch_core_state_machine.c:328 sofia/default/48798517722@46.19.210.14 Standard EXECUTE
  10143. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_destination_number=48732081792)
  10144. 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_destination_number]=[48732081792]
  10145. EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_app=sched_hangup)
  10146. 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_app]=[sched_hangup]
  10147. EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  10148. 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing]
  10149. EXECUTE sofia/default/48798517722@46.19.210.14 set(callstart=2021-09-14 13:06:42)
  10150. 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [callstart]=[2021-09-14 13:06:42]
  10151. EXECUTE sofia/default/48798517722@46.19.210.14 set(hangup_after_bridge=true)
  10152. 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [hangup_after_bridge]=[true]
  10153. EXECUTE sofia/default/48798517722@46.19.210.14 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  10154. 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]
  10155. EXECUTE sofia/default/48798517722@46.19.210.14 set(account_id=863)
  10156. 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [account_id]=[863]
  10157. EXECUTE sofia/default/48798517722@46.19.210.14 set(parent_id=0)
  10158. 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [parent_id]=[0]
  10159. EXECUTE sofia/default/48798517722@46.19.210.14 set(entity_id=3)
  10160. 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [entity_id]=[3]
  10161. EXECUTE sofia/default/48798517722@46.19.210.14 set(call_processed=internal)
  10162. 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_processed]=[internal]
  10163. EXECUTE sofia/default/48798517722@46.19.210.14 set(call_direction=inbound)
  10164. 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_direction]=[inbound]
  10165. EXECUTE sofia/default/48798517722@46.19.210.14 set(accountname=default)
  10166. 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [accountname]=[default]
  10167. EXECUTE sofia/default/48798517722@46.19.210.14 set(filename1=astpp.pbx.lua)
  10168. 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [filename1]=[astpp.pbx.lua]
  10169. EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851)
  10170. 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates_did]=[ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851]
  10171. EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates=0)
  10172. 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates]=[0]
  10173. EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_name=48798517722)
  10174. 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_name]=[48798517722]
  10175. EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_number=48798517722)
  10176. 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_number]=[48798517722]
  10177. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_name=48798517722)
  10178. 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_name]=[48798517722]
  10179. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_number=48798517722)
  10180. 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_number]=[48798517722]
  10181. EXECUTE sofia/default/48798517722@46.19.210.14 set(receiver_accid=851)
  10182. 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [receiver_accid]=[851]
  10183. EXECUTE sofia/default/48798517722@46.19.210.14 export(domain_name=Voicespin802.newsip.israelnumber.com)
  10184. 2021-09-14 09:06:42.186669 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com]
  10185. EXECUTE sofia/default/48798517722@46.19.210.14 export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  10186. 2021-09-14 09:06:42.186669 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com]
  10187. EXECUTE sofia/default/48798517722@46.19.210.14 limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION)
  10188. 2021-09-14 09:06:42.186669 [DEBUG] switch_limit.c:126 incr called: 48732081792_did_48732081792 max:2, interval:0
  10189. 2021-09-14 09:06:42.186669 [DEBUG] mod_db.c:194 Usage for 48732081792_did_48732081792 is now 1/2
  10190. EXECUTE sofia/default/48798517722@46.19.210.14 export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14)
  10191. 2021-09-14 09:06:42.206674 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14]
  10192. EXECUTE sofia/default/48798517722@46.19.210.14 export(call_type=2)
  10193. 2021-09-14 09:06:42.206674 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2]
  10194. EXECUTE sofia/default/48798517722@46.19.210.14 set(calltype=DIRECT-IP)
  10195. 2021-09-14 09:06:42.206674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [calltype]=[DIRECT-IP]
  10196. EXECUTE sofia/default/48798517722@46.19.210.14 bridge([leg_timeout=30]sofia/default/48732081792@35.205.116.118)
  10197. 2021-09-14 09:06:42.206674 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event
  10198. 2021-09-14 09:06:42.206674 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event
  10199. 2021-09-14 09:06:42.206674 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] to event
  10200. 2021-09-14 09:06:42.206674 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [call_type]=[2] to event
  10201. 2021-09-14 09:06:42.206674 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  10202. 2021-09-14 09:06:42.206674 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  10203. 2021-09-14 09:06:42.206674 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48732081792@35.205.116.118 [9aee28b2-155c-11ec-a003-7dfb9f6e00f0]
  10204. 2021-09-14 09:06:42.206674 [DEBUG] mod_sofia.c:4819 (sofia/default/48732081792@35.205.116.118) State Change CS_NEW -> CS_INIT
  10205. 2021-09-14 09:06:42.206674 [DEBUG] switch_ivr_originate.c:2963 sofia/default/48732081792@35.205.116.118 Setting leg timeout to 30
  10206. 2021-09-14 09:06:42.206674 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_INIT (Cur 8 Tot 248041)
  10207. 2021-09-14 09:06:42.206674 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT
  10208. 2021-09-14 09:06:42.206674 [DEBUG] mod_sofia.c:90 sofia/default/48732081792@35.205.116.118 SOFIA INIT
  10209. 2021-09-14 09:06:42.206674 [DEBUG] sofia_glue.c:1295 sofia/default/48732081792@35.205.116.118 sending invite version: 1.6.20  64bit
  10210. Local SDP:
  10211. v=0
  10212. o=FreeSWITCH 1631600134 1631600135 IN IP4 89.46.223.193
  10213. s=FreeSWITCH
  10214. c=IN IP4 89.46.223.193
  10215. t=0 0
  10216. m=audio 24668 RTP/AVP 0 101
  10217. a=rtpmap:0 PCMU/8000
  10218. a=rtpmap:101 telephone-event/8000
  10219. a=fmtp:101 0-16
  10220. a=ptime:20
  10221. a=sendrecv
  10222.  
  10223. 2021-09-14 09:06:42.206674 [DEBUG] switch_core_state_machine.c:40 sofia/default/48732081792@35.205.116.118 Standard INIT
  10224. 2021-09-14 09:06:42.206674 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48732081792@35.205.116.118) State Change CS_INIT -> CS_ROUTING
  10225. 2021-09-14 09:06:42.206674 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT going to sleep
  10226. 2021-09-14 09:06:42.206674 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_ROUTING (Cur 8 Tot 248041)
  10227. 2021-09-14 09:06:42.206674 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [calling][0]
  10228. 2021-09-14 09:06:42.206674 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING
  10229. 2021-09-14 09:06:42.206674 [DEBUG] mod_sofia.c:143 sofia/default/48732081792@35.205.116.118 SOFIA ROUTING
  10230. 2021-09-14 09:06:42.206674 [DEBUG] switch_ivr_originate.c:67 (sofia/default/48732081792@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  10231. 2021-09-14 09:06:42.206674 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING going to sleep
  10232. 2021-09-14 09:06:42.206674 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 248041)
  10233. 2021-09-14 09:06:42.206674 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA
  10234. 2021-09-14 09:06:42.206674 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA going to sleep
  10235. 2021-09-14 09:06:42.446668 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [terminated][500]
  10236. 2021-09-14 09:06:42.446668 [NOTICE] sofia.c:8273 Hangup sofia/default/48732081792@35.205.116.118 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
  10237. 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_HANGUP (Cur 8 Tot 248041)
  10238. 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48732081792@35.205.116.118) Callstate Change DOWN -> HANGUP
  10239. 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP
  10240. 2021-09-14 09:06:42.446668 [DEBUG] mod_sofia.c:438 Channel sofia/default/48732081792@35.205.116.118 hanging up, cause: NORMAL_TEMPORARY_FAILURE
  10241. 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:60 sofia/default/48732081792@35.205.116.118 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
  10242. 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP going to sleep
  10243. 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48732081792@35.205.116.118) State Change CS_HANGUP -> CS_REPORTING
  10244. 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_REPORTING (Cur 8 Tot 248041)
  10245. 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING
  10246. 2021-09-14 09:06:42.446668 [INFO] mod_json_cdr.c:271 Process [9aee28b2-155c-11ec-a003-7dfb9f6e00f0.cdr.json]
  10247. 2021-09-14 09:06:42.446668 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
  10248. 2021-09-14 09:06:42.446668 [INFO] mod_dptools.c:3436 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
  10249. 2021-09-14 09:06:42.446668 [DEBUG] switch_channel.c:4775 Continue on fail [1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]:  Cause: NORMAL_TEMPORARY_FAILURE
  10250. 2021-09-14 09:06:42.446668 [NOTICE] switch_core_state_machine.c:385 sofia/default/48798517722@46.19.210.14 has executed the last dialplan instruction, hanging up.
  10251. 2021-09-14 09:06:42.446668 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/48798517722@46.19.210.14 [CS_EXECUTE] [NORMAL_CLEARING]
  10252. 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE going to sleep
  10253. 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_HANGUP (Cur 8 Tot 248041)
  10254. 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48798517722@46.19.210.14) Callstate Change RINGING -> HANGUP
  10255. 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP
  10256. 2021-09-14 09:06:42.446668 [DEBUG] mod_sofia.c:432 sofia/default/48798517722@46.19.210.14 Overriding SIP cause 480 with 500 from the other leg
  10257. 2021-09-14 09:06:42.446668 [DEBUG] mod_sofia.c:438 Channel sofia/default/48798517722@46.19.210.14 hanging up, cause: NORMAL_CLEARING
  10258. 2021-09-14 09:06:42.446668 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 500
  10259. 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:60 sofia/default/48798517722@46.19.210.14 Standard HANGUP, cause: NORMAL_CLEARING
  10260. 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP going to sleep
  10261. 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48798517722@46.19.210.14) State Change CS_HANGUP -> CS_REPORTING
  10262. 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_REPORTING (Cur 8 Tot 248041)
  10263. 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING
  10264. 2021-09-14 09:06:42.446668 [INFO] mod_json_cdr.c:271 Process [9ae85fea-155c-11ec-9fe3-7dfb9f6e00f0.cdr.json]
  10265. 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:174 sofia/default/48732081792@35.205.116.118 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
  10266. 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING going to sleep
  10267. 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48732081792@35.205.116.118) State Change CS_REPORTING -> CS_DESTROY
  10268. 2021-09-14 09:06:42.446668 [DEBUG] switch_core_session.c:1665 Session 248041 (sofia/default/48732081792@35.205.116.118) Locked, Waiting on external entities
  10269. 2021-09-14 09:06:42.446668 [NOTICE] switch_core_session.c:1683 Session 248041 (sofia/default/48732081792@35.205.116.118) Ended
  10270. 2021-09-14 09:06:42.446668 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48732081792@35.205.116.118 [CS_DESTROY]
  10271. 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48732081792@35.205.116.118) Running State Change CS_DESTROY (Cur 7 Tot 248041)
  10272. 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY
  10273. 2021-09-14 09:06:42.446668 [DEBUG] mod_sofia.c:343 sofia/default/48732081792@35.205.116.118 SOFIA DESTROY
  10274. 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:181 sofia/default/48732081792@35.205.116.118 Standard DESTROY
  10275. 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY going to sleep
  10276. 2021-09-14 09:06:42.466668 [DEBUG] switch_core_state_machine.c:174 sofia/default/48798517722@46.19.210.14 Standard REPORTING, cause: NORMAL_CLEARING
  10277. 2021-09-14 09:06:42.466668 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING going to sleep
  10278. 2021-09-14 09:06:42.466668 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48798517722@46.19.210.14) State Change CS_REPORTING -> CS_DESTROY
  10279. 2021-09-14 09:06:42.466668 [DEBUG] switch_core_session.c:1665 Session 248040 (sofia/default/48798517722@46.19.210.14) Locked, Waiting on external entities
  10280. 2021-09-14 09:06:42.466668 [NOTICE] switch_core_session.c:1683 Session 248040 (sofia/default/48798517722@46.19.210.14) Ended
  10281. 2021-09-14 09:06:42.466668 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48798517722@46.19.210.14 [CS_DESTROY]
  10282. 2021-09-14 09:06:42.466668 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48798517722@46.19.210.14) Running State Change CS_DESTROY (Cur 6 Tot 248041)
  10283. 2021-09-14 09:06:42.466668 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY
  10284. 2021-09-14 09:06:42.466668 [DEBUG] mod_sofia.c:343 sofia/default/48798517722@46.19.210.14 SOFIA DESTROY
  10285. 2021-09-14 09:06:42.466668 [DEBUG] switch_core_state_machine.c:181 sofia/default/48798517722@46.19.210.14 Standard DESTROY
  10286. 2021-09-14 09:06:42.466668 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY going to sleep
  10287. 2021-09-14 09:06:43.866672 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48798517722@46.19.210.14 [9bead008-155c-11ec-a007-7dfb9f6e00f0]
  10288. 2021-09-14 09:06:43.866672 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_NEW (Cur 7 Tot 248042)
  10289. 2021-09-14 09:06:43.866672 [DEBUG] sofia.c:9873 sofia/default/48798517722@46.19.210.14 receiving invite from 136.243.196.198:5060 version: 1.6.20  64bit
  10290. 2021-09-14 09:06:43.866672 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
  10291. 2021-09-14 09:06:43.866672 [DEBUG] sofia.c:7084 Channel sofia/default/48798517722@46.19.210.14 entering state [received][100]
  10292. 2021-09-14 09:06:43.866672 [DEBUG] sofia.c:7094 Remote SDP:
  10293. v=0
  10294. o=didww-sbc 3681455072 32695 IN IP4 46.19.210.39
  10295. s=didww-sbc
  10296. t=0 0
  10297. m=audio 33728 RTP/AVP 0 8 18 4 101
  10298. c=IN IP4 46.19.210.39
  10299. a=rtpmap:0 PCMU/8000
  10300. a=rtpmap:8 PCMA/8000
  10301. a=rtpmap:18 G729/8000
  10302. a=fmtp:18 annexb=no
  10303. a=rtpmap:4 G723/8000
  10304. a=rtpmap:101 telephone-event/8000
  10305. a=ptime:20
  10306.  
  10307. 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  10308. 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  10309. 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  10310. 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  10311. 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  10312. 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  10313. 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  10314. 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  10315. 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  10316. 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  10317. 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  10318. 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  10319. 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1]
  10320. 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1]
  10321. 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:20:8000:1]
  10322. 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  10323. 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/48798517722@46.19.210.14 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  10324. 2021-09-14 09:06:43.866672 [DEBUG] switch_core_codec.c:111 sofia/default/48798517722@46.19.210.14 Original read codec set to PCMU:0
  10325. 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  10326. 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:4767 sofia/default/48798517722@46.19.210.14 Set 2833 dtmf send payload to 101 recv payload to 101
  10327. 2021-09-14 09:06:43.866672 [DEBUG] sofia.c:7507 (sofia/default/48798517722@46.19.210.14) State Change CS_NEW -> CS_INIT
  10328. 2021-09-14 09:06:43.866672 [DEBUG] switch_core_state_machine.c:603 (sofia/default/48798517722@46.19.210.14) State NEW
  10329. 2021-09-14 09:06:43.866672 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_INIT (Cur 7 Tot 248042)
  10330. 2021-09-14 09:06:43.866672 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT
  10331. 2021-09-14 09:06:43.866672 [DEBUG] mod_sofia.c:90 sofia/default/48798517722@46.19.210.14 SOFIA INIT
  10332. 2021-09-14 09:06:43.866672 [DEBUG] switch_core_state_machine.c:40 sofia/default/48798517722@46.19.210.14 Standard INIT
  10333. 2021-09-14 09:06:43.866672 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48798517722@46.19.210.14) State Change CS_INIT -> CS_ROUTING
  10334. 2021-09-14 09:06:43.866672 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT going to sleep
  10335. 2021-09-14 09:06:43.866672 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_ROUTING (Cur 7 Tot 248042)
  10336. 2021-09-14 09:06:43.866672 [DEBUG] switch_channel.c:2249 (sofia/default/48798517722@46.19.210.14) Callstate Change DOWN -> RINGING
  10337. 2021-09-14 09:06:43.866672 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING
  10338. 2021-09-14 09:06:43.866672 [DEBUG] mod_sofia.c:143 sofia/default/48798517722@46.19.210.14 SOFIA ROUTING
  10339. 2021-09-14 09:06:43.866672 [DEBUG] switch_core_state_machine.c:236 sofia/default/48798517722@46.19.210.14 Standard ROUTING
  10340. 2021-09-14 09:06:43.866672 [INFO] mod_dialplan_xml.c:637 Processing 48798517722 <48798517722>->48732081792 in context default
  10341. 2021-09-14 09:06:43.866672 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected.
  10342. 2021-09-14 09:06:43.866672 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  10343. 2021-09-14 09:06:43.866672 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  10344. 2021-09-14 09:06:43.866672 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params:
  10345. 'Event-Name: REQUEST_PARAMS
  10346. Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0
  10347. FreeSWITCH-Hostname: astpp1.local
  10348. FreeSWITCH-Switchname: astpp1.local
  10349. FreeSWITCH-IPv4: 89.46.223.193
  10350. FreeSWITCH-IPv6: %3A%3A1
  10351. Event-Date-Local: 2021-09-14%2009%3A06%3A43
  10352. Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A06%3A43%20GMT
  10353. Event-Date-Timestamp: 1631624803866672
  10354. Event-Calling-File: mod_dialplan_xml.c
  10355. Event-Calling-Function: dialplan_xml_locate
  10356. Event-Calling-Line-Number: 608
  10357. Event-Sequence: 7529126
  10358. Channel-State: CS_ROUTING
  10359. Channel-Call-State: RINGING
  10360. Channel-State-Number: 2
  10361. Channel-Name: sofia/default/48798517722%4046.19.210.14
  10362. Unique-ID: 9bead008-155c-11ec-a007-7dfb9f6e00f0
  10363. Call-Direction: inbound
  10364. Presence-Call-Direction: inbound
  10365. Channel-HIT-Dialplan: true
  10366. Channel-Presence-ID: 48798517722%4046.19.210.14
  10367. Channel-Call-UUID: 9bead008-155c-11ec-a007-7dfb9f6e00f0
  10368. Answer-State: ringing
  10369. Channel-Read-Codec-Name: PCMU
  10370. Channel-Read-Codec-Rate: 8000
  10371. Channel-Read-Codec-Bit-Rate: 64000
  10372. Channel-Write-Codec-Name: PCMU
  10373. Channel-Write-Codec-Rate: 8000
  10374. Channel-Write-Codec-Bit-Rate: 64000
  10375. Caller-Direction: inbound
  10376. Caller-Logical-Direction: inbound
  10377. Caller-Username: 48798517722
  10378. Caller-Dialplan: XML
  10379. Caller-Caller-ID-Name: 48798517722
  10380. Caller-Caller-ID-Number: 48798517722
  10381. Caller-Orig-Caller-ID-Name: 48798517722
  10382. Caller-Orig-Caller-ID-Number: 48798517722
  10383. Caller-Network-Addr: 136.243.196.198
  10384. Caller-ANI: 48798517722
  10385. Caller-Destination-Number: 48732081792
  10386. Caller-Unique-ID: 9bead008-155c-11ec-a007-7dfb9f6e00f0
  10387. Caller-Source: mod_sofia
  10388. Caller-Context: default
  10389. Caller-Channel-Name: sofia/default/48798517722%4046.19.210.14
  10390. Caller-Profile-Index: 1
  10391. Caller-Profile-Created-Time: 1631624803866672
  10392. Caller-Channel-Created-Time: 1631624803866672
  10393. Caller-Channel-Answered-Time: 0
  10394. Caller-Channel-Progress-Time: 0
  10395. Caller-Channel-Progress-Media-Time: 0
  10396. Caller-Channel-Hangup-Time: 0
  10397. Caller-Channel-Transfer-Time: 0
  10398. Caller-Channel-Resurrect-Time: 0
  10399. Caller-Channel-Bridged-Time: 0
  10400. Caller-Channel-Last-Hold: 0
  10401. Caller-Channel-Hold-Accum: 0
  10402. Caller-Screen-Bit: true
  10403. Caller-Privacy-Hide-Name: false
  10404. Caller-Privacy-Hide-Number: false
  10405. variable_direction: inbound
  10406. variable_uuid: 9bead008-155c-11ec-a007-7dfb9f6e00f0
  10407. variable_session_id: 248042
  10408. variable_sip_from_user: 48798517722
  10409. variable_sip_from_uri: 48798517722%4046.19.210.14
  10410. variable_sip_from_host: 46.19.210.14
  10411. variable_video_media_flow: sendrecv
  10412. variable_channel_name: sofia/default/48798517722%4046.19.210.14
  10413. variable_sip_call_id: 11-11-773D115D-61409E63000CAFDB-DB6F6700
  10414. variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b
  10415. variable_sip_local_network_addr: 89.46.223.193
  10416. variable_sip_network_ip: 136.243.196.198
  10417. variable_sip_network_port: 5060
  10418. variable_sip_invite_stamp: 1631624803866672
  10419. variable_sip_received_ip: 136.243.196.198
  10420. variable_sip_received_port: 5060
  10421. variable_sip_via_protocol: udp
  10422. variable_sip_authorized: true
  10423. variable_sip_acl_authed_by: default
  10424. variable_sip_from_user_stripped: 48798517722
  10425. variable_sip_from_tag: 11-41BD3456-61409E63000CAEEC-DB6F6700
  10426. variable_sofia_profile_name: default
  10427. variable_recovery_profile_name: default
  10428. variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D411.d9f17144%3E
  10429. variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D411.d9f17144%3E
  10430. variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bK238f.dc348013.0,SIP/2.0/UDP%2046.19.210.14%3Breceived%3D46.19.210.14%3Bbranch%3Dz9hG4bKG~du4aOm%3Brport%3D5060
  10431. variable_sip_from_display: 48798517722
  10432. variable_sip_full_from: %2248798517722%22%20%3Csip%3A48798517722%4046.19.210.14%3E%3Btag%3D11-41BD3456-61409E63000CAEEC-DB6F6700
  10433. variable_sip_full_to: %3Csip%3A48732081792%40newsip.israelnumber.com%3A5060%3E
  10434. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20UPDATE
  10435. variable_sip_req_user: 48732081792
  10436. variable_sip_req_port: 5060
  10437. variable_sip_req_uri: 48732081792%40newsip.israelnumber.com%3A5060
  10438. variable_sip_req_host: newsip.israelnumber.com
  10439. variable_sip_to_user: 48732081792
  10440. variable_sip_to_port: 5060
  10441. variable_sip_to_uri: 48732081792%40newsip.israelnumber.com%3A5060
  10442. variable_sip_to_host: newsip.israelnumber.com
  10443. variable_sip_contact_params: transport%3Dudp
  10444. variable_sip_contact_user: nobody
  10445. variable_sip_contact_port: 5060
  10446. variable_sip_contact_uri: nobody%4046.19.210.14%3A5060
  10447. variable_sip_contact_host: 46.19.210.14
  10448. variable_sip_user_agent: DIDWW%20SBC%20node
  10449. variable_sip_via_host: 136.243.196.198
  10450. variable_sip_via_port: 5060
  10451. variable_max_forwards: 30
  10452. variable_presence_id: 48798517722%4046.19.210.14
  10453. variable_sip_h_X-AUTH-IP: 46.19.210.14
  10454. variable_sip_h_P-Accountcode: 714761424818
  10455. variable_sip_h_P-effective_caller_id_name: 48798517722
  10456. variable_sip_h_P-effective_caller_id_number: 48798517722
  10457. variable_switch_r_sdp: v%3D0%0D%0Ao%3Ddidww-sbc%203681455072%2032695%20IN%20IP4%2046.19.210.39%0D%0As%3Ddidww-sbc%0D%0At%3D0%200%0D%0Am%3Daudio%2033728%20RTP/AVP%200%208%2018%204%20101%0D%0Ac%3DIN%20IP4%2046.19.210.39%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A4%20G723/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dptime%3A20%0D%0A
  10458. variable_rtp_use_codec_string: PCMA,PCMU,G729
  10459. variable_audio_media_flow: sendrecv
  10460. variable_remote_media_ip: 46.19.210.39
  10461. variable_remote_media_port: 33728
  10462. variable_rtp_audio_recv_pt: 0
  10463. variable_rtp_use_codec_name: PCMU
  10464. variable_rtp_use_codec_rate: 8000
  10465. variable_rtp_use_codec_ptime: 20
  10466. variable_rtp_use_codec_channels: 1
  10467. variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c
  10468. variable_read_codec: PCMU
  10469. variable_original_read_codec: PCMU
  10470. variable_read_rate: 8000
  10471. variable_original_read_rate: 8000
  10472. variable_write_codec: PCMU
  10473. variable_write_rate: 8000
  10474. variable_dtmf_type: rfc2833
  10475. variable_endpoint_disposition: RECEIVED
  10476. variable_call_uuid: 9bead008-155c-11ec-a007-7dfb9f6e00f0
  10477. Hunt-Direction: inbound
  10478. Hunt-Logical-Direction: inbound
  10479. Hunt-Username: 48798517722
  10480. Hunt-Dialplan: XML
  10481. Hunt-Caller-ID-Name: 48798517722
  10482. Hunt-Caller-ID-Number: 48798517722
  10483. Hunt-Orig-Caller-ID-Name: 48798517722
  10484. Hunt-Orig-Caller-ID-Number: 48798517722
  10485. Hunt-Network-Addr: 136.243.196.198
  10486. Hunt-ANI: 48798517722
  10487. Hunt-Destination-Number: 48732081792
  10488. Hunt-Unique-ID: 9bead008-155c-11ec-a007-7dfb9f6e00f0
  10489. Hunt-Source: mod_sofia
  10490. Hunt-Context: default
  10491. Hunt-Channel-Name: sofia/default/48798517722%4046.19.210.14
  10492. Hunt-Profile-Index: 1
  10493. Hunt-Profile-Created-Time: 1631624803866672
  10494. Hunt-Channel-Created-Time: 1631624803866672
  10495. Hunt-Channel-Answered-Time: 0
  10496. Hunt-Channel-Progress-Time: 0
  10497. Hunt-Channel-Progress-Media-Time: 0
  10498. Hunt-Channel-Hangup-Time: 0
  10499. Hunt-Channel-Transfer-Time: 0
  10500. Hunt-Channel-Resurrect-Time: 0
  10501. Hunt-Channel-Bridged-Time: 0
  10502. Hunt-Channel-Last-Hold: 0
  10503. Hunt-Channel-Hold-Accum: 0
  10504. Hunt-Screen-Bit: true
  10505. Hunt-Privacy-Hide-Name: false
  10506. Hunt-Privacy-Hide-Number: false
  10507.  
  10508. '
  10509. 2021-09-14 09:06:43.866672 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name:
  10510. 2021-09-14 09:06:43.866672 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value:
  10511. 2021-09-14 09:06:43.866672 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name:
  10512. 2021-09-14 09:06:43.866672 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan
  10513. 2021-09-14 09:06:43.866672 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  10514. 2021-09-14 09:06:43.866672 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 48732081792
  10515. 2021-09-14 09:06:43.866672 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '48732081792' limit 1
  10516. 2021-09-14 09:06:43.866672 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '48732081792' AND status=0 limit 1
  10517. 2021-09-14 09:06:43.866672 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '46.19.210.14' limit 1
  10518. 2021-09-14 09:06:43.866672 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  10519. 2021-09-14 09:06:43.866672 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 48798517722 / 48798517722
  10520. 2021-09-14 09:06:43.866672 [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 ="48732081792" LIMIT 1
  10521. 2021-09-14 09:06:43.866672 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
  10522. 2021-09-14 09:06:43.866672 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 714761424818]
  10523. 2021-09-14 09:06:43.866672 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "714761424818" OR number = "714761424818" AND deleted = 0 limit 1
  10524. 2021-09-14 09:06:43.866672 [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 ="48732081792" AND A.accountid = '863' limit 1
  10525. 2021-09-14 09:06:43.866672 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 48732081792
  10526. 2021-09-14 09:06:43.866672 [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 ="48732081792" LIMIT 1
  10527. 2021-09-14 09:06:43.866672 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound
  10528. 2021-09-14 09:06:43.866672 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="48732081792" AND (accountid = 0 OR status = 1) LIMIT 1
  10529. 2021-09-14 09:06:43.866672 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  10530. 2021-09-14 09:06:43.866672 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851
  10531. 2021-09-14 09:06:43.866672 [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 = '^48732081792.*' OR patterns = '^4873208179.*' OR patterns = '^487320817.*' OR patterns = '^48732081.*' OR patterns = '^4873208.*' OR patterns = '^487320.*' OR patterns = '^48732.*' OR patterns = '^4873.*' OR patterns = '^487.*' OR patterns = '^48.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC
  10532. 2021-09-14 09:06:43.866672 [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 = '48732081792' OR number = '4873208179' OR number = '487320817' OR number = '48732081' OR number = '4873208' OR number = '487320' OR number = '48732' OR number = '4873' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48732081792*' OR number = '4873208179*' OR number = '487320817*' OR number = '48732081*' OR number = '4873208*' OR number = '487320*' OR number = '48732*' OR number = '4873*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--') OR (number = '48798517722' OR number = '4879851772' OR number = '487985177' OR number = '48798517' OR number = '4879851' OR number = '487985' OR number = '48798' OR number = '4879' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48798517722*' OR number = '4879851772*' OR number = '487985177*' OR number = '48798517*' OR number = '4879851*' OR number = '487985*' OR number = '48798*' OR number = '4879*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  10533. 2021-09-14 09:06:43.886669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  10534. 2021-09-14 09:06:43.886669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '48732081792' OR routing_prefix = '4873208179' OR routing_prefix = '487320817' OR routing_prefix = '48732081' OR routing_prefix = '4873208' OR routing_prefix = '487320' OR routing_prefix = '48732' OR routing_prefix = '4873' OR routing_prefix = '487' OR routing_prefix = '48' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  10535. 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  10536. 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 863
  10537. 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 714761424818
  10538. 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000
  10539. 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  10540. 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1
  10541. 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  10542. 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  10543. 2021-09-14 09:06:43.886669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  10544. 2021-09-14 09:06:43.886669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  10545. 2021-09-14 09:06:43.886669 [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 ="48732081792" LIMIT 1
  10546. 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound
  10547. 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  10548. 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 8057
  10549. 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  10550. 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  10551. 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  10552. 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Mobile Voice
  10553. 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 153
  10554. 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 863
  10555. 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  10556. 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 863 !!!
  10557. 2021-09-14 09:06:43.886669 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180
  10558. 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
  10559. 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  10560. 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  10561. 2021-09-14 09:06:43.886669 [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 = 863 AND status=0 LIMIT 1
  10562. 2021-09-14 09:06:43.886669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" OR number = "851" AND deleted = 0 limit 1
  10563. 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:863
  10564. 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:863
  10565. 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 863
  10566. 2021-09-14 09:06:43.886669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  10567. 2021-09-14 09:06:43.886669 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  10568. 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
  10569. 2021-09-14 09:06:43.886669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  10570. 2021-09-14 09:06:43.886669 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  10571. 2021-09-14 09:06:43.886669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2
  10572. 2021-09-14 09:06:43.886669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  10573. <document type="freeswitch/xml">
  10574. <section name="dialplan" description="ASTPP Dialplan">
  10575. <context name="default">
  10576. <extension name="48732081792">
  10577. <condition field="destination_number" expression="48732081792">
  10578. <action application="set" data="effective_destination_number=48732081792"/>
  10579. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  10580. <action application="set" data="bridge_pre_execute_bleg_data=+10800 normal_clearing"/>
  10581. <action application="set" data="callstart=2021-09-14 13:06:43"/>
  10582. <action application="set" data="hangup_after_bridge=true"/>
  10583. <action application="set" data="continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602"/>
  10584. <action application="set" data="account_id=863"/>
  10585. <action application="set" data="parent_id=0"/>
  10586. <action application="set" data="entity_id=3"/>
  10587. <action application="set" data="call_processed=internal"/>
  10588. <action application="set" data="call_direction=inbound"/>
  10589. <action application="set" data="accountname=default"/>
  10590. <action application="set" data="filename1=astpp.pbx.lua"/>
  10591. <action application="set" data="origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851"/>
  10592. <action application="set" data="origination_rates=0"/>
  10593. <action application="set" data="original_caller_id_name=48798517722"/>
  10594. <action application="set" data="original_caller_id_number=48798517722"/>
  10595. <action application="set" data="effective_caller_id_name=48798517722"/>
  10596. <action application="set" data="effective_caller_id_number=48798517722"/>
  10597. <action application="set" data="receiver_accid=851"/>
  10598. <action application="export" data="domain_name=Voicespin802.newsip.israelnumber.com"/>
  10599. <action application="export" data="sip_to_host=Voicespin802.newsip.israelnumber.com"/>
  10600. <action application="limit" data="db 48732081792 did_48732081792 2 !SWITCH_CONGESTION"/>
  10601. <action application="export" data="presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14"/>
  10602. <action application="export" data="call_type=2"/>
  10603. <action application="set" data="calltype=DIRECT-IP"/>
  10604. <action application="bridge" data="[leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118"/>
  10605. </condition>
  10606. </extension>
  10607. </context>
  10608. </section>
  10609. </document>
  10610. 2021-09-14 09:06:43.886669 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released.
  10611. Dialplan: sofia/default/48798517722@46.19.210.14 parsing [default->48732081792] continue=false
  10612. Dialplan: sofia/default/48798517722@46.19.210.14 Regex (PASS) [48732081792] destination_number(48732081792) =~ /48732081792/ break=on-false
  10613. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_destination_number=48732081792)
  10614. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  10615. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  10616. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(callstart=2021-09-14 13:06:43)
  10617. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(hangup_after_bridge=true)
  10618. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  10619. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(account_id=863)
  10620. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(parent_id=0)
  10621. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(entity_id=3)
  10622. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_processed=internal)
  10623. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_direction=inbound)
  10624. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(accountname=default)
  10625. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(filename1=astpp.pbx.lua)
  10626. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851)
  10627. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates=0)
  10628. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_name=48798517722)
  10629. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_number=48798517722)
  10630. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_name=48798517722)
  10631. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_number=48798517722)
  10632. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(receiver_accid=851)
  10633. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(domain_name=Voicespin802.newsip.israelnumber.com)
  10634. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  10635. Dialplan: sofia/default/48798517722@46.19.210.14 Action limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION)
  10636. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14)
  10637. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(call_type=2)
  10638. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(calltype=DIRECT-IP)
  10639. Dialplan: sofia/default/48798517722@46.19.210.14 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118)
  10640. 2021-09-14 09:06:43.886669 [DEBUG] switch_core_state_machine.c:286 (sofia/default/48798517722@46.19.210.14) State Change CS_ROUTING -> CS_EXECUTE
  10641. 2021-09-14 09:06:43.886669 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING going to sleep
  10642. 2021-09-14 09:06:43.886669 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_EXECUTE (Cur 7 Tot 248042)
  10643. 2021-09-14 09:06:43.886669 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE
  10644. 2021-09-14 09:06:43.886669 [DEBUG] mod_sofia.c:198 sofia/default/48798517722@46.19.210.14 SOFIA EXECUTE
  10645. 2021-09-14 09:06:43.886669 [DEBUG] switch_core_state_machine.c:328 sofia/default/48798517722@46.19.210.14 Standard EXECUTE
  10646. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_destination_number=48732081792)
  10647. 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_destination_number]=[48732081792]
  10648. EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_app=sched_hangup)
  10649. 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_app]=[sched_hangup]
  10650. EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  10651. 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing]
  10652. EXECUTE sofia/default/48798517722@46.19.210.14 set(callstart=2021-09-14 13:06:43)
  10653. 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [callstart]=[2021-09-14 13:06:43]
  10654. EXECUTE sofia/default/48798517722@46.19.210.14 set(hangup_after_bridge=true)
  10655. 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [hangup_after_bridge]=[true]
  10656. EXECUTE sofia/default/48798517722@46.19.210.14 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  10657. 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]
  10658. EXECUTE sofia/default/48798517722@46.19.210.14 set(account_id=863)
  10659. 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [account_id]=[863]
  10660. EXECUTE sofia/default/48798517722@46.19.210.14 set(parent_id=0)
  10661. 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [parent_id]=[0]
  10662. EXECUTE sofia/default/48798517722@46.19.210.14 set(entity_id=3)
  10663. 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [entity_id]=[3]
  10664. EXECUTE sofia/default/48798517722@46.19.210.14 set(call_processed=internal)
  10665. 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_processed]=[internal]
  10666. EXECUTE sofia/default/48798517722@46.19.210.14 set(call_direction=inbound)
  10667. 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_direction]=[inbound]
  10668. EXECUTE sofia/default/48798517722@46.19.210.14 set(accountname=default)
  10669. 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [accountname]=[default]
  10670. EXECUTE sofia/default/48798517722@46.19.210.14 set(filename1=astpp.pbx.lua)
  10671. 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [filename1]=[astpp.pbx.lua]
  10672. EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851)
  10673. 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates_did]=[ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851]
  10674. EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates=0)
  10675. 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates]=[0]
  10676. EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_name=48798517722)
  10677. 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_name]=[48798517722]
  10678. EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_number=48798517722)
  10679. 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_number]=[48798517722]
  10680. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_name=48798517722)
  10681. 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_name]=[48798517722]
  10682. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_number=48798517722)
  10683. 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_number]=[48798517722]
  10684. EXECUTE sofia/default/48798517722@46.19.210.14 set(receiver_accid=851)
  10685. 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [receiver_accid]=[851]
  10686. EXECUTE sofia/default/48798517722@46.19.210.14 export(domain_name=Voicespin802.newsip.israelnumber.com)
  10687. 2021-09-14 09:06:43.886669 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com]
  10688. EXECUTE sofia/default/48798517722@46.19.210.14 export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  10689. 2021-09-14 09:06:43.886669 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com]
  10690. EXECUTE sofia/default/48798517722@46.19.210.14 limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION)
  10691. 2021-09-14 09:06:43.886669 [DEBUG] switch_limit.c:126 incr called: 48732081792_did_48732081792 max:2, interval:0
  10692. 2021-09-14 09:06:43.886669 [DEBUG] mod_db.c:194 Usage for 48732081792_did_48732081792 is now 1/2
  10693. EXECUTE sofia/default/48798517722@46.19.210.14 export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14)
  10694. 2021-09-14 09:06:43.886669 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14]
  10695. EXECUTE sofia/default/48798517722@46.19.210.14 export(call_type=2)
  10696. 2021-09-14 09:06:43.886669 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2]
  10697. EXECUTE sofia/default/48798517722@46.19.210.14 set(calltype=DIRECT-IP)
  10698. 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [calltype]=[DIRECT-IP]
  10699. EXECUTE sofia/default/48798517722@46.19.210.14 bridge([leg_timeout=30]sofia/default/48732081792@35.205.116.118)
  10700. 2021-09-14 09:06:43.886669 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event
  10701. 2021-09-14 09:06:43.886669 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event
  10702. 2021-09-14 09:06:43.886669 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] to event
  10703. 2021-09-14 09:06:43.886669 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [call_type]=[2] to event
  10704. 2021-09-14 09:06:43.886669 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  10705. 2021-09-14 09:06:43.886669 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  10706. 2021-09-14 09:06:43.886669 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48732081792@35.205.116.118 [9bf02508-155c-11ec-a027-7dfb9f6e00f0]
  10707. 2021-09-14 09:06:43.886669 [DEBUG] mod_sofia.c:4819 (sofia/default/48732081792@35.205.116.118) State Change CS_NEW -> CS_INIT
  10708. 2021-09-14 09:06:43.886669 [DEBUG] switch_ivr_originate.c:2963 sofia/default/48732081792@35.205.116.118 Setting leg timeout to 30
  10709. 2021-09-14 09:06:43.886669 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_INIT (Cur 8 Tot 248043)
  10710. 2021-09-14 09:06:43.886669 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT
  10711. 2021-09-14 09:06:43.886669 [DEBUG] mod_sofia.c:90 sofia/default/48732081792@35.205.116.118 SOFIA INIT
  10712. 2021-09-14 09:06:43.886669 [DEBUG] sofia_glue.c:1295 sofia/default/48732081792@35.205.116.118 sending invite version: 1.6.20  64bit
  10713. Local SDP:
  10714. v=0
  10715. o=FreeSWITCH 1631601409 1631601410 IN IP4 89.46.223.193
  10716. s=FreeSWITCH
  10717. c=IN IP4 89.46.223.193
  10718. t=0 0
  10719. m=audio 23394 RTP/AVP 0 101
  10720. a=rtpmap:0 PCMU/8000
  10721. a=rtpmap:101 telephone-event/8000
  10722. a=fmtp:101 0-16
  10723. a=ptime:20
  10724. a=sendrecv
  10725.  
  10726. 2021-09-14 09:06:43.886669 [DEBUG] switch_core_state_machine.c:40 sofia/default/48732081792@35.205.116.118 Standard INIT
  10727. 2021-09-14 09:06:43.886669 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48732081792@35.205.116.118) State Change CS_INIT -> CS_ROUTING
  10728. 2021-09-14 09:06:43.886669 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT going to sleep
  10729. 2021-09-14 09:06:43.886669 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_ROUTING (Cur 8 Tot 248043)
  10730. 2021-09-14 09:06:43.886669 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING
  10731. 2021-09-14 09:06:43.886669 [DEBUG] mod_sofia.c:143 sofia/default/48732081792@35.205.116.118 SOFIA ROUTING
  10732. 2021-09-14 09:06:43.886669 [DEBUG] switch_ivr_originate.c:67 (sofia/default/48732081792@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  10733. 2021-09-14 09:06:43.886669 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING going to sleep
  10734. 2021-09-14 09:06:43.886669 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 248043)
  10735. 2021-09-14 09:06:43.886669 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA
  10736. 2021-09-14 09:06:43.886669 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA going to sleep
  10737. 2021-09-14 09:06:43.886669 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [calling][0]
  10738. 2021-09-14 09:06:44.127096 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [terminated][500]
  10739. 2021-09-14 09:06:44.127096 [NOTICE] sofia.c:8273 Hangup sofia/default/48732081792@35.205.116.118 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
  10740. 2021-09-14 09:06:44.127096 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_HANGUP (Cur 8 Tot 248043)
  10741. 2021-09-14 09:06:44.127096 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48732081792@35.205.116.118) Callstate Change DOWN -> HANGUP
  10742. 2021-09-14 09:06:44.127096 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP
  10743. 2021-09-14 09:06:44.127096 [DEBUG] mod_sofia.c:438 Channel sofia/default/48732081792@35.205.116.118 hanging up, cause: NORMAL_TEMPORARY_FAILURE
  10744. 2021-09-14 09:06:44.127096 [DEBUG] switch_core_state_machine.c:60 sofia/default/48732081792@35.205.116.118 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
  10745. 2021-09-14 09:06:44.127096 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP going to sleep
  10746. 2021-09-14 09:06:44.127096 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48732081792@35.205.116.118) State Change CS_HANGUP -> CS_REPORTING
  10747. 2021-09-14 09:06:44.127096 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_REPORTING (Cur 8 Tot 248043)
  10748. 2021-09-14 09:06:44.127096 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING
  10749. 2021-09-14 09:06:44.127096 [INFO] mod_json_cdr.c:271 Process [9bf02508-155c-11ec-a027-7dfb9f6e00f0.cdr.json]
  10750. 2021-09-14 09:06:44.127096 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
  10751. 2021-09-14 09:06:44.127096 [INFO] mod_dptools.c:3436 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
  10752. 2021-09-14 09:06:44.127096 [DEBUG] switch_channel.c:4775 Continue on fail [1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]:  Cause: NORMAL_TEMPORARY_FAILURE
  10753. 2021-09-14 09:06:44.127096 [NOTICE] switch_core_state_machine.c:385 sofia/default/48798517722@46.19.210.14 has executed the last dialplan instruction, hanging up.
  10754. 2021-09-14 09:06:44.127096 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/48798517722@46.19.210.14 [CS_EXECUTE] [NORMAL_CLEARING]
  10755. 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE going to sleep
  10756. 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_HANGUP (Cur 8 Tot 248043)
  10757. 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48798517722@46.19.210.14) Callstate Change RINGING -> HANGUP
  10758. 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP
  10759. 2021-09-14 09:06:44.166672 [DEBUG] mod_sofia.c:432 sofia/default/48798517722@46.19.210.14 Overriding SIP cause 480 with 500 from the other leg
  10760. 2021-09-14 09:06:44.166672 [DEBUG] mod_sofia.c:438 Channel sofia/default/48798517722@46.19.210.14 hanging up, cause: NORMAL_CLEARING
  10761. 2021-09-14 09:06:44.166672 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 500
  10762. 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:60 sofia/default/48798517722@46.19.210.14 Standard HANGUP, cause: NORMAL_CLEARING
  10763. 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP going to sleep
  10764. 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48798517722@46.19.210.14) State Change CS_HANGUP -> CS_REPORTING
  10765. 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_REPORTING (Cur 8 Tot 248043)
  10766. 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING
  10767. 2021-09-14 09:06:44.166672 [INFO] mod_json_cdr.c:271 Process [9bead008-155c-11ec-a007-7dfb9f6e00f0.cdr.json]
  10768. 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:174 sofia/default/48732081792@35.205.116.118 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
  10769. 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING going to sleep
  10770. 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48732081792@35.205.116.118) State Change CS_REPORTING -> CS_DESTROY
  10771. 2021-09-14 09:06:44.166672 [DEBUG] switch_core_session.c:1665 Session 248043 (sofia/default/48732081792@35.205.116.118) Locked, Waiting on external entities
  10772. 2021-09-14 09:06:44.166672 [NOTICE] switch_core_session.c:1683 Session 248043 (sofia/default/48732081792@35.205.116.118) Ended
  10773. 2021-09-14 09:06:44.166672 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48732081792@35.205.116.118 [CS_DESTROY]
  10774. 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48732081792@35.205.116.118) Running State Change CS_DESTROY (Cur 7 Tot 248043)
  10775. 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY
  10776. 2021-09-14 09:06:44.166672 [DEBUG] mod_sofia.c:343 sofia/default/48732081792@35.205.116.118 SOFIA DESTROY
  10777. 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:181 sofia/default/48732081792@35.205.116.118 Standard DESTROY
  10778. 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY going to sleep
  10779. 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:174 sofia/default/48798517722@46.19.210.14 Standard REPORTING, cause: NORMAL_CLEARING
  10780. 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING going to sleep
  10781. 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48798517722@46.19.210.14) State Change CS_REPORTING -> CS_DESTROY
  10782. 2021-09-14 09:06:44.166672 [DEBUG] switch_core_session.c:1665 Session 248042 (sofia/default/48798517722@46.19.210.14) Locked, Waiting on external entities
  10783. 2021-09-14 09:06:44.166672 [NOTICE] switch_core_session.c:1683 Session 248042 (sofia/default/48798517722@46.19.210.14) Ended
  10784. 2021-09-14 09:06:44.166672 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48798517722@46.19.210.14 [CS_DESTROY]
  10785. 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48798517722@46.19.210.14) Running State Change CS_DESTROY (Cur 6 Tot 248043)
  10786. 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY
  10787. 2021-09-14 09:06:44.166672 [DEBUG] mod_sofia.c:343 sofia/default/48798517722@46.19.210.14 SOFIA DESTROY
  10788. 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:181 sofia/default/48798517722@46.19.210.14 Standard DESTROY
  10789. 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY going to sleep
  10790. 2021-09-14 09:06:44.846670 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48798517722@46.19.210.14 [9c81c03a-155c-11ec-a02b-7dfb9f6e00f0]
  10791. 2021-09-14 09:06:44.846670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_NEW (Cur 7 Tot 248044)
  10792. 2021-09-14 09:06:44.846670 [DEBUG] sofia.c:9873 sofia/default/48798517722@46.19.210.14 receiving invite from 136.243.196.198:5060 version: 1.6.20  64bit
  10793. 2021-09-14 09:06:44.846670 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
  10794. 2021-09-14 09:06:44.846670 [DEBUG] sofia.c:7084 Channel sofia/default/48798517722@46.19.210.14 entering state [received][100]
  10795. 2021-09-14 09:06:44.846670 [DEBUG] sofia.c:7094 Remote SDP:
  10796. v=0
  10797. o=didww-sbc 3760184288 32695 IN IP4 46.19.210.39
  10798. s=didww-sbc
  10799. t=0 0
  10800. m=audio 33984 RTP/AVP 0 8 18 4 101
  10801. c=IN IP4 46.19.210.39
  10802. a=rtpmap:0 PCMU/8000
  10803. a=rtpmap:8 PCMA/8000
  10804. a=rtpmap:18 G729/8000
  10805. a=fmtp:18 annexb=no
  10806. a=rtpmap:4 G723/8000
  10807. a=rtpmap:101 telephone-event/8000
  10808. a=ptime:20
  10809.  
  10810. 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  10811. 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  10812. 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  10813. 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  10814. 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  10815. 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  10816. 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  10817. 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  10818. 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  10819. 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  10820. 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  10821. 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  10822. 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1]
  10823. 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1]
  10824. 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:20:8000:1]
  10825. 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  10826. 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/48798517722@46.19.210.14 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  10827. 2021-09-14 09:06:44.846670 [DEBUG] switch_core_codec.c:111 sofia/default/48798517722@46.19.210.14 Original read codec set to PCMU:0
  10828. 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  10829. 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:4767 sofia/default/48798517722@46.19.210.14 Set 2833 dtmf send payload to 101 recv payload to 101
  10830. 2021-09-14 09:06:44.846670 [DEBUG] sofia.c:7507 (sofia/default/48798517722@46.19.210.14) State Change CS_NEW -> CS_INIT
  10831. 2021-09-14 09:06:44.846670 [DEBUG] switch_core_state_machine.c:603 (sofia/default/48798517722@46.19.210.14) State NEW
  10832. 2021-09-14 09:06:44.846670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_INIT (Cur 7 Tot 248044)
  10833. 2021-09-14 09:06:44.846670 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT
  10834. 2021-09-14 09:06:44.846670 [DEBUG] mod_sofia.c:90 sofia/default/48798517722@46.19.210.14 SOFIA INIT
  10835. 2021-09-14 09:06:44.846670 [DEBUG] switch_core_state_machine.c:40 sofia/default/48798517722@46.19.210.14 Standard INIT
  10836. 2021-09-14 09:06:44.846670 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48798517722@46.19.210.14) State Change CS_INIT -> CS_ROUTING
  10837. 2021-09-14 09:06:44.846670 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT going to sleep
  10838. 2021-09-14 09:06:44.846670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_ROUTING (Cur 7 Tot 248044)
  10839. 2021-09-14 09:06:44.846670 [DEBUG] switch_channel.c:2249 (sofia/default/48798517722@46.19.210.14) Callstate Change DOWN -> RINGING
  10840. 2021-09-14 09:06:44.846670 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING
  10841. 2021-09-14 09:06:44.846670 [DEBUG] mod_sofia.c:143 sofia/default/48798517722@46.19.210.14 SOFIA ROUTING
  10842. 2021-09-14 09:06:44.846670 [DEBUG] switch_core_state_machine.c:236 sofia/default/48798517722@46.19.210.14 Standard ROUTING
  10843. 2021-09-14 09:06:44.846670 [INFO] mod_dialplan_xml.c:637 Processing 48798517722 <48798517722>->48732081792 in context default
  10844. 2021-09-14 09:06:44.846670 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected.
  10845. 2021-09-14 09:06:44.846670 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  10846. 2021-09-14 09:06:44.846670 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  10847. 2021-09-14 09:06:44.846670 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params:
  10848. 'Event-Name: REQUEST_PARAMS
  10849. Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0
  10850. FreeSWITCH-Hostname: astpp1.local
  10851. FreeSWITCH-Switchname: astpp1.local
  10852. FreeSWITCH-IPv4: 89.46.223.193
  10853. FreeSWITCH-IPv6: %3A%3A1
  10854. Event-Date-Local: 2021-09-14%2009%3A06%3A44
  10855. Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A06%3A44%20GMT
  10856. Event-Date-Timestamp: 1631624804846670
  10857. Event-Calling-File: mod_dialplan_xml.c
  10858. Event-Calling-Function: dialplan_xml_locate
  10859. Event-Calling-Line-Number: 608
  10860. Event-Sequence: 7529212
  10861. Channel-State: CS_ROUTING
  10862. Channel-Call-State: RINGING
  10863. Channel-State-Number: 2
  10864. Channel-Name: sofia/default/48798517722%4046.19.210.14
  10865. Unique-ID: 9c81c03a-155c-11ec-a02b-7dfb9f6e00f0
  10866. Call-Direction: inbound
  10867. Presence-Call-Direction: inbound
  10868. Channel-HIT-Dialplan: true
  10869. Channel-Presence-ID: 48798517722%4046.19.210.14
  10870. Channel-Call-UUID: 9c81c03a-155c-11ec-a02b-7dfb9f6e00f0
  10871. Answer-State: ringing
  10872. Channel-Read-Codec-Name: PCMU
  10873. Channel-Read-Codec-Rate: 8000
  10874. Channel-Read-Codec-Bit-Rate: 64000
  10875. Channel-Write-Codec-Name: PCMU
  10876. Channel-Write-Codec-Rate: 8000
  10877. Channel-Write-Codec-Bit-Rate: 64000
  10878. Caller-Direction: inbound
  10879. Caller-Logical-Direction: inbound
  10880. Caller-Username: 48798517722
  10881. Caller-Dialplan: XML
  10882. Caller-Caller-ID-Name: 48798517722
  10883. Caller-Caller-ID-Number: 48798517722
  10884. Caller-Orig-Caller-ID-Name: 48798517722
  10885. Caller-Orig-Caller-ID-Number: 48798517722
  10886. Caller-Network-Addr: 136.243.196.198
  10887. Caller-ANI: 48798517722
  10888. Caller-Destination-Number: 48732081792
  10889. Caller-Unique-ID: 9c81c03a-155c-11ec-a02b-7dfb9f6e00f0
  10890. Caller-Source: mod_sofia
  10891. Caller-Context: default
  10892. Caller-Channel-Name: sofia/default/48798517722%4046.19.210.14
  10893. Caller-Profile-Index: 1
  10894. Caller-Profile-Created-Time: 1631624804846670
  10895. Caller-Channel-Created-Time: 1631624804846670
  10896. Caller-Channel-Answered-Time: 0
  10897. Caller-Channel-Progress-Time: 0
  10898. Caller-Channel-Progress-Media-Time: 0
  10899. Caller-Channel-Hangup-Time: 0
  10900. Caller-Channel-Transfer-Time: 0
  10901. Caller-Channel-Resurrect-Time: 0
  10902. Caller-Channel-Bridged-Time: 0
  10903. Caller-Channel-Last-Hold: 0
  10904. Caller-Channel-Hold-Accum: 0
  10905. Caller-Screen-Bit: true
  10906. Caller-Privacy-Hide-Name: false
  10907. Caller-Privacy-Hide-Number: false
  10908. variable_direction: inbound
  10909. variable_uuid: 9c81c03a-155c-11ec-a02b-7dfb9f6e00f0
  10910. variable_session_id: 248044
  10911. variable_sip_from_user: 48798517722
  10912. variable_sip_from_uri: 48798517722%4046.19.210.14
  10913. variable_sip_from_host: 46.19.210.14
  10914. variable_video_media_flow: sendrecv
  10915. variable_channel_name: sofia/default/48798517722%4046.19.210.14
  10916. variable_sip_call_id: 11-11-77D3E089-61409E64000C8621-E020B700
  10917. variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b
  10918. variable_sip_local_network_addr: 89.46.223.193
  10919. variable_sip_network_ip: 136.243.196.198
  10920. variable_sip_network_port: 5060
  10921. variable_sip_invite_stamp: 1631624804846670
  10922. variable_sip_received_ip: 136.243.196.198
  10923. variable_sip_received_port: 5060
  10924. variable_sip_via_protocol: udp
  10925. variable_sip_authorized: true
  10926. variable_sip_acl_authed_by: default
  10927. variable_sip_from_user_stripped: 48798517722
  10928. variable_sip_from_tag: 11-2B9901FC-61409E64000C852C-E020B700
  10929. variable_sofia_profile_name: default
  10930. variable_recovery_profile_name: default
  10931. variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D204.50a1e98%3E
  10932. variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D204.50a1e98%3E
  10933. variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bK02b2.6bdd9a07.0,SIP/2.0/UDP%2046.19.210.14%3Breceived%3D46.19.210.14%3Bbranch%3Dz9hG4bKAotgWavP%3Brport%3D5060
  10934. variable_sip_from_display: 48798517722
  10935. variable_sip_full_from: %2248798517722%22%20%3Csip%3A48798517722%4046.19.210.14%3E%3Btag%3D11-2B9901FC-61409E64000C852C-E020B700
  10936. variable_sip_full_to: %3Csip%3A48732081792%40newsip.israelnumber.com%3A5060%3E
  10937. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20UPDATE
  10938. variable_sip_req_user: 48732081792
  10939. variable_sip_req_port: 5060
  10940. variable_sip_req_uri: 48732081792%40newsip.israelnumber.com%3A5060
  10941. variable_sip_req_host: newsip.israelnumber.com
  10942. variable_sip_to_user: 48732081792
  10943. variable_sip_to_port: 5060
  10944. variable_sip_to_uri: 48732081792%40newsip.israelnumber.com%3A5060
  10945. variable_sip_to_host: newsip.israelnumber.com
  10946. variable_sip_contact_params: transport%3Dudp
  10947. variable_sip_contact_user: nobody
  10948. variable_sip_contact_port: 5060
  10949. variable_sip_contact_uri: nobody%4046.19.210.14%3A5060
  10950. variable_sip_contact_host: 46.19.210.14
  10951. variable_sip_user_agent: DIDWW%20SBC%20node
  10952. variable_sip_via_host: 136.243.196.198
  10953. variable_sip_via_port: 5060
  10954. variable_max_forwards: 30
  10955. variable_presence_id: 48798517722%4046.19.210.14
  10956. variable_sip_h_X-AUTH-IP: 46.19.210.14
  10957. variable_sip_h_P-Accountcode: 714761424818
  10958. variable_sip_h_P-effective_caller_id_name: 48798517722
  10959. variable_sip_h_P-effective_caller_id_number: 48798517722
  10960. variable_switch_r_sdp: v%3D0%0D%0Ao%3Ddidww-sbc%203760184288%2032695%20IN%20IP4%2046.19.210.39%0D%0As%3Ddidww-sbc%0D%0At%3D0%200%0D%0Am%3Daudio%2033984%20RTP/AVP%200%208%2018%204%20101%0D%0Ac%3DIN%20IP4%2046.19.210.39%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A4%20G723/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dptime%3A20%0D%0A
  10961. variable_rtp_use_codec_string: PCMA,PCMU,G729
  10962. variable_audio_media_flow: sendrecv
  10963. variable_remote_media_ip: 46.19.210.39
  10964. variable_remote_media_port: 33984
  10965. variable_rtp_audio_recv_pt: 0
  10966. variable_rtp_use_codec_name: PCMU
  10967. variable_rtp_use_codec_rate: 8000
  10968. variable_rtp_use_codec_ptime: 20
  10969. variable_rtp_use_codec_channels: 1
  10970. variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c
  10971. variable_read_codec: PCMU
  10972. variable_original_read_codec: PCMU
  10973. variable_read_rate: 8000
  10974. variable_original_read_rate: 8000
  10975. variable_write_codec: PCMU
  10976. variable_write_rate: 8000
  10977. variable_dtmf_type: rfc2833
  10978. variable_endpoint_disposition: RECEIVED
  10979. variable_call_uuid: 9c81c03a-155c-11ec-a02b-7dfb9f6e00f0
  10980. Hunt-Direction: inbound
  10981. Hunt-Logical-Direction: inbound
  10982. Hunt-Username: 48798517722
  10983. Hunt-Dialplan: XML
  10984. Hunt-Caller-ID-Name: 48798517722
  10985. Hunt-Caller-ID-Number: 48798517722
  10986. Hunt-Orig-Caller-ID-Name: 48798517722
  10987. Hunt-Orig-Caller-ID-Number: 48798517722
  10988. Hunt-Network-Addr: 136.243.196.198
  10989. Hunt-ANI: 48798517722
  10990. Hunt-Destination-Number: 48732081792
  10991. Hunt-Unique-ID: 9c81c03a-155c-11ec-a02b-7dfb9f6e00f0
  10992. Hunt-Source: mod_sofia
  10993. Hunt-Context: default
  10994. Hunt-Channel-Name: sofia/default/48798517722%4046.19.210.14
  10995. Hunt-Profile-Index: 1
  10996. Hunt-Profile-Created-Time: 1631624804846670
  10997. Hunt-Channel-Created-Time: 1631624804846670
  10998. Hunt-Channel-Answered-Time: 0
  10999. Hunt-Channel-Progress-Time: 0
  11000. Hunt-Channel-Progress-Media-Time: 0
  11001. Hunt-Channel-Hangup-Time: 0
  11002. Hunt-Channel-Transfer-Time: 0
  11003. Hunt-Channel-Resurrect-Time: 0
  11004. Hunt-Channel-Bridged-Time: 0
  11005. Hunt-Channel-Last-Hold: 0
  11006. Hunt-Channel-Hold-Accum: 0
  11007. Hunt-Screen-Bit: true
  11008. Hunt-Privacy-Hide-Name: false
  11009. Hunt-Privacy-Hide-Number: false
  11010.  
  11011. '
  11012. 2021-09-14 09:06:44.846670 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name:
  11013. 2021-09-14 09:06:44.846670 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value:
  11014. 2021-09-14 09:06:44.846670 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name:
  11015. 2021-09-14 09:06:44.846670 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan
  11016. 2021-09-14 09:06:44.846670 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  11017. 2021-09-14 09:06:44.846670 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 48732081792
  11018. 2021-09-14 09:06:44.846670 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '48732081792' limit 1
  11019. 2021-09-14 09:06:44.866673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '48732081792' AND status=0 limit 1
  11020. 2021-09-14 09:06:44.866673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '46.19.210.14' limit 1
  11021. 2021-09-14 09:06:44.866673 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  11022. 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 48798517722 / 48798517722
  11023. 2021-09-14 09:06:44.866673 [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 ="48732081792" LIMIT 1
  11024. 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
  11025. 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 714761424818]
  11026. 2021-09-14 09:06:44.866673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "714761424818" OR number = "714761424818" AND deleted = 0 limit 1
  11027. 2021-09-14 09:06:44.866673 [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 ="48732081792" AND A.accountid = '863' limit 1
  11028. 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 48732081792
  11029. 2021-09-14 09:06:44.866673 [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 ="48732081792" LIMIT 1
  11030. 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound
  11031. 2021-09-14 09:06:44.866673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="48732081792" AND (accountid = 0 OR status = 1) LIMIT 1
  11032. 2021-09-14 09:06:44.866673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  11033. 2021-09-14 09:06:44.866673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851
  11034. 2021-09-14 09:06:44.866673 [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 = '^48732081792.*' OR patterns = '^4873208179.*' OR patterns = '^487320817.*' OR patterns = '^48732081.*' OR patterns = '^4873208.*' OR patterns = '^487320.*' OR patterns = '^48732.*' OR patterns = '^4873.*' OR patterns = '^487.*' OR patterns = '^48.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC
  11035. 2021-09-14 09:06:44.866673 [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 = '48732081792' OR number = '4873208179' OR number = '487320817' OR number = '48732081' OR number = '4873208' OR number = '487320' OR number = '48732' OR number = '4873' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48732081792*' OR number = '4873208179*' OR number = '487320817*' OR number = '48732081*' OR number = '4873208*' OR number = '487320*' OR number = '48732*' OR number = '4873*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--') OR (number = '48798517722' OR number = '4879851772' OR number = '487985177' OR number = '48798517' OR number = '4879851' OR number = '487985' OR number = '48798' OR number = '4879' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48798517722*' OR number = '4879851772*' OR number = '487985177*' OR number = '48798517*' OR number = '4879851*' OR number = '487985*' OR number = '48798*' OR number = '4879*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  11036. 2021-09-14 09:06:44.866673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  11037. 2021-09-14 09:06:44.866673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '48732081792' OR routing_prefix = '4873208179' OR routing_prefix = '487320817' OR routing_prefix = '48732081' OR routing_prefix = '4873208' OR routing_prefix = '487320' OR routing_prefix = '48732' OR routing_prefix = '4873' OR routing_prefix = '487' OR routing_prefix = '48' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  11038. 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  11039. 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 863
  11040. 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 714761424818
  11041. 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000
  11042. 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  11043. 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1
  11044. 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  11045. 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  11046. 2021-09-14 09:06:44.866673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  11047. 2021-09-14 09:06:44.866673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  11048. 2021-09-14 09:06:44.866673 [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 ="48732081792" LIMIT 1
  11049. 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound
  11050. 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  11051. 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 8057
  11052. 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  11053. 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  11054. 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  11055. 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Mobile Voice
  11056. 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 153
  11057. 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 863
  11058. 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  11059. 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 863 !!!
  11060. 2021-09-14 09:06:44.866673 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180
  11061. 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
  11062. 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  11063. 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  11064. 2021-09-14 09:06:44.866673 [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 = 863 AND status=0 LIMIT 1
  11065. 2021-09-14 09:06:44.866673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" OR number = "851" AND deleted = 0 limit 1
  11066. 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:863
  11067. 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:863
  11068. 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 863
  11069. 2021-09-14 09:06:44.866673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  11070. 2021-09-14 09:06:44.866673 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  11071. 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
  11072. 2021-09-14 09:06:44.866673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  11073. 2021-09-14 09:06:44.886670 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  11074. 2021-09-14 09:06:44.886670 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2
  11075. 2021-09-14 09:06:44.886670 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  11076. <document type="freeswitch/xml">
  11077. <section name="dialplan" description="ASTPP Dialplan">
  11078. <context name="default">
  11079. <extension name="48732081792">
  11080. <condition field="destination_number" expression="48732081792">
  11081. <action application="set" data="effective_destination_number=48732081792"/>
  11082. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  11083. <action application="set" data="bridge_pre_execute_bleg_data=+10800 normal_clearing"/>
  11084. <action application="set" data="callstart=2021-09-14 13:06:44"/>
  11085. <action application="set" data="hangup_after_bridge=true"/>
  11086. <action application="set" data="continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602"/>
  11087. <action application="set" data="account_id=863"/>
  11088. <action application="set" data="parent_id=0"/>
  11089. <action application="set" data="entity_id=3"/>
  11090. <action application="set" data="call_processed=internal"/>
  11091. <action application="set" data="call_direction=inbound"/>
  11092. <action application="set" data="accountname=default"/>
  11093. <action application="set" data="filename1=astpp.pbx.lua"/>
  11094. <action application="set" data="origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851"/>
  11095. <action application="set" data="origination_rates=0"/>
  11096. <action application="set" data="original_caller_id_name=48798517722"/>
  11097. <action application="set" data="original_caller_id_number=48798517722"/>
  11098. <action application="set" data="effective_caller_id_name=48798517722"/>
  11099. <action application="set" data="effective_caller_id_number=48798517722"/>
  11100. <action application="set" data="receiver_accid=851"/>
  11101. <action application="export" data="domain_name=Voicespin802.newsip.israelnumber.com"/>
  11102. <action application="export" data="sip_to_host=Voicespin802.newsip.israelnumber.com"/>
  11103. <action application="limit" data="db 48732081792 did_48732081792 2 !SWITCH_CONGESTION"/>
  11104. <action application="export" data="presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14"/>
  11105. <action application="export" data="call_type=2"/>
  11106. <action application="set" data="calltype=DIRECT-IP"/>
  11107. <action application="bridge" data="[leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118"/>
  11108. </condition>
  11109. </extension>
  11110. </context>
  11111. </section>
  11112. </document>
  11113. 2021-09-14 09:06:44.886670 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released.
  11114. Dialplan: sofia/default/48798517722@46.19.210.14 parsing [default->48732081792] continue=false
  11115. Dialplan: sofia/default/48798517722@46.19.210.14 Regex (PASS) [48732081792] destination_number(48732081792) =~ /48732081792/ break=on-false
  11116. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_destination_number=48732081792)
  11117. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  11118. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  11119. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(callstart=2021-09-14 13:06:44)
  11120. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(hangup_after_bridge=true)
  11121. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  11122. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(account_id=863)
  11123. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(parent_id=0)
  11124. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(entity_id=3)
  11125. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_processed=internal)
  11126. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_direction=inbound)
  11127. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(accountname=default)
  11128. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(filename1=astpp.pbx.lua)
  11129. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851)
  11130. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates=0)
  11131. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_name=48798517722)
  11132. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_number=48798517722)
  11133. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_name=48798517722)
  11134. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_number=48798517722)
  11135. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(receiver_accid=851)
  11136. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(domain_name=Voicespin802.newsip.israelnumber.com)
  11137. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  11138. Dialplan: sofia/default/48798517722@46.19.210.14 Action limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION)
  11139. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14)
  11140. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(call_type=2)
  11141. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(calltype=DIRECT-IP)
  11142. Dialplan: sofia/default/48798517722@46.19.210.14 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118)
  11143. 2021-09-14 09:06:44.886670 [DEBUG] switch_core_state_machine.c:286 (sofia/default/48798517722@46.19.210.14) State Change CS_ROUTING -> CS_EXECUTE
  11144. 2021-09-14 09:06:44.886670 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING going to sleep
  11145. 2021-09-14 09:06:44.886670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_EXECUTE (Cur 7 Tot 248044)
  11146. 2021-09-14 09:06:44.886670 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE
  11147. 2021-09-14 09:06:44.886670 [DEBUG] mod_sofia.c:198 sofia/default/48798517722@46.19.210.14 SOFIA EXECUTE
  11148. 2021-09-14 09:06:44.886670 [DEBUG] switch_core_state_machine.c:328 sofia/default/48798517722@46.19.210.14 Standard EXECUTE
  11149. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_destination_number=48732081792)
  11150. 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_destination_number]=[48732081792]
  11151. EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_app=sched_hangup)
  11152. 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_app]=[sched_hangup]
  11153. EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  11154. 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing]
  11155. EXECUTE sofia/default/48798517722@46.19.210.14 set(callstart=2021-09-14 13:06:44)
  11156. 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [callstart]=[2021-09-14 13:06:44]
  11157. EXECUTE sofia/default/48798517722@46.19.210.14 set(hangup_after_bridge=true)
  11158. 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [hangup_after_bridge]=[true]
  11159. EXECUTE sofia/default/48798517722@46.19.210.14 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  11160. 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]
  11161. EXECUTE sofia/default/48798517722@46.19.210.14 set(account_id=863)
  11162. 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [account_id]=[863]
  11163. EXECUTE sofia/default/48798517722@46.19.210.14 set(parent_id=0)
  11164. 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [parent_id]=[0]
  11165. EXECUTE sofia/default/48798517722@46.19.210.14 set(entity_id=3)
  11166. 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [entity_id]=[3]
  11167. EXECUTE sofia/default/48798517722@46.19.210.14 set(call_processed=internal)
  11168. 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_processed]=[internal]
  11169. EXECUTE sofia/default/48798517722@46.19.210.14 set(call_direction=inbound)
  11170. 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_direction]=[inbound]
  11171. EXECUTE sofia/default/48798517722@46.19.210.14 set(accountname=default)
  11172. 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [accountname]=[default]
  11173. EXECUTE sofia/default/48798517722@46.19.210.14 set(filename1=astpp.pbx.lua)
  11174. 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [filename1]=[astpp.pbx.lua]
  11175. EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851)
  11176. 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates_did]=[ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851]
  11177. EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates=0)
  11178. 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates]=[0]
  11179. EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_name=48798517722)
  11180. 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_name]=[48798517722]
  11181. EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_number=48798517722)
  11182. 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_number]=[48798517722]
  11183. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_name=48798517722)
  11184. 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_name]=[48798517722]
  11185. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_number=48798517722)
  11186. 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_number]=[48798517722]
  11187. EXECUTE sofia/default/48798517722@46.19.210.14 set(receiver_accid=851)
  11188. 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [receiver_accid]=[851]
  11189. EXECUTE sofia/default/48798517722@46.19.210.14 export(domain_name=Voicespin802.newsip.israelnumber.com)
  11190. 2021-09-14 09:06:44.886670 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com]
  11191. EXECUTE sofia/default/48798517722@46.19.210.14 export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  11192. 2021-09-14 09:06:44.886670 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com]
  11193. EXECUTE sofia/default/48798517722@46.19.210.14 limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION)
  11194. 2021-09-14 09:06:44.886670 [DEBUG] switch_limit.c:126 incr called: 48732081792_did_48732081792 max:2, interval:0
  11195. 2021-09-14 09:06:44.886670 [DEBUG] mod_db.c:194 Usage for 48732081792_did_48732081792 is now 1/2
  11196. EXECUTE sofia/default/48798517722@46.19.210.14 export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14)
  11197. 2021-09-14 09:06:44.886670 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14]
  11198. EXECUTE sofia/default/48798517722@46.19.210.14 export(call_type=2)
  11199. 2021-09-14 09:06:44.886670 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2]
  11200. EXECUTE sofia/default/48798517722@46.19.210.14 set(calltype=DIRECT-IP)
  11201. 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [calltype]=[DIRECT-IP]
  11202. EXECUTE sofia/default/48798517722@46.19.210.14 bridge([leg_timeout=30]sofia/default/48732081792@35.205.116.118)
  11203. 2021-09-14 09:06:44.886670 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event
  11204. 2021-09-14 09:06:44.886670 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event
  11205. 2021-09-14 09:06:44.886670 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] to event
  11206. 2021-09-14 09:06:44.886670 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [call_type]=[2] to event
  11207. 2021-09-14 09:06:44.886670 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  11208. 2021-09-14 09:06:44.886670 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  11209. 2021-09-14 09:06:44.886670 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48732081792@35.205.116.118 [9c881e58-155c-11ec-a04b-7dfb9f6e00f0]
  11210. 2021-09-14 09:06:44.886670 [DEBUG] mod_sofia.c:4819 (sofia/default/48732081792@35.205.116.118) State Change CS_NEW -> CS_INIT
  11211. 2021-09-14 09:06:44.886670 [DEBUG] switch_ivr_originate.c:2963 sofia/default/48732081792@35.205.116.118 Setting leg timeout to 30
  11212. 2021-09-14 09:06:44.886670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_INIT (Cur 8 Tot 248045)
  11213. 2021-09-14 09:06:44.886670 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT
  11214. 2021-09-14 09:06:44.886670 [DEBUG] mod_sofia.c:90 sofia/default/48732081792@35.205.116.118 SOFIA INIT
  11215. 2021-09-14 09:06:44.886670 [DEBUG] sofia_glue.c:1295 sofia/default/48732081792@35.205.116.118 sending invite version: 1.6.20  64bit
  11216. Local SDP:
  11217. v=0
  11218. o=FreeSWITCH 1631606354 1631606355 IN IP4 89.46.223.193
  11219. s=FreeSWITCH
  11220. c=IN IP4 89.46.223.193
  11221. t=0 0
  11222. m=audio 18450 RTP/AVP 0 101
  11223. a=rtpmap:0 PCMU/8000
  11224. a=rtpmap:101 telephone-event/8000
  11225. a=fmtp:101 0-16
  11226. a=ptime:20
  11227. a=sendrecv
  11228.  
  11229. 2021-09-14 09:06:44.886670 [DEBUG] switch_core_state_machine.c:40 sofia/default/48732081792@35.205.116.118 Standard INIT
  11230. 2021-09-14 09:06:44.886670 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48732081792@35.205.116.118) State Change CS_INIT -> CS_ROUTING
  11231. 2021-09-14 09:06:44.886670 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT going to sleep
  11232. 2021-09-14 09:06:44.886670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_ROUTING (Cur 8 Tot 248045)
  11233. 2021-09-14 09:06:44.886670 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING
  11234. 2021-09-14 09:06:44.886670 [DEBUG] mod_sofia.c:143 sofia/default/48732081792@35.205.116.118 SOFIA ROUTING
  11235. 2021-09-14 09:06:44.886670 [DEBUG] switch_ivr_originate.c:67 (sofia/default/48732081792@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  11236. 2021-09-14 09:06:44.886670 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING going to sleep
  11237. 2021-09-14 09:06:44.886670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 248045)
  11238. 2021-09-14 09:06:44.886670 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA
  11239. 2021-09-14 09:06:44.886670 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA going to sleep
  11240. 2021-09-14 09:06:44.886670 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [calling][0]
  11241. 2021-09-14 09:06:45.306761 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [terminated][500]
  11242. 2021-09-14 09:06:45.306761 [NOTICE] sofia.c:8273 Hangup sofia/default/48732081792@35.205.116.118 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
  11243. 2021-09-14 09:06:45.306761 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_HANGUP (Cur 8 Tot 248045)
  11244. 2021-09-14 09:06:45.306761 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48732081792@35.205.116.118) Callstate Change DOWN -> HANGUP
  11245. 2021-09-14 09:06:45.306761 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP
  11246. 2021-09-14 09:06:45.306761 [DEBUG] mod_sofia.c:438 Channel sofia/default/48732081792@35.205.116.118 hanging up, cause: NORMAL_TEMPORARY_FAILURE
  11247. 2021-09-14 09:06:45.306761 [DEBUG] switch_core_state_machine.c:60 sofia/default/48732081792@35.205.116.118 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
  11248. 2021-09-14 09:06:45.306761 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP going to sleep
  11249. 2021-09-14 09:06:45.306761 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48732081792@35.205.116.118) State Change CS_HANGUP -> CS_REPORTING
  11250. 2021-09-14 09:06:45.306761 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_REPORTING (Cur 8 Tot 248045)
  11251. 2021-09-14 09:06:45.306761 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING
  11252. 2021-09-14 09:06:45.306761 [INFO] mod_json_cdr.c:271 Process [9c881e58-155c-11ec-a04b-7dfb9f6e00f0.cdr.json]
  11253. 2021-09-14 09:06:45.346668 [DEBUG] switch_core_state_machine.c:174 sofia/default/48732081792@35.205.116.118 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
  11254. 2021-09-14 09:06:45.346668 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING going to sleep
  11255. 2021-09-14 09:06:45.346668 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48732081792@35.205.116.118) State Change CS_REPORTING -> CS_DESTROY
  11256. 2021-09-14 09:06:45.346668 [DEBUG] switch_core_session.c:1665 Session 248045 (sofia/default/48732081792@35.205.116.118) Locked, Waiting on external entities
  11257. 2021-09-14 09:06:45.346668 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
  11258. 2021-09-14 09:06:45.346668 [NOTICE] switch_core_session.c:1683 Session 248045 (sofia/default/48732081792@35.205.116.118) Ended
  11259. 2021-09-14 09:06:45.346668 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48732081792@35.205.116.118 [CS_DESTROY]
  11260. 2021-09-14 09:06:45.346668 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48732081792@35.205.116.118) Running State Change CS_DESTROY (Cur 7 Tot 248045)
  11261. 2021-09-14 09:06:45.346668 [INFO] mod_dptools.c:3436 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
  11262. 2021-09-14 09:06:45.346668 [DEBUG] switch_channel.c:4775 Continue on fail [1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]:  Cause: NORMAL_TEMPORARY_FAILURE
  11263. 2021-09-14 09:06:45.346668 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY
  11264. 2021-09-14 09:06:45.346668 [DEBUG] mod_sofia.c:343 sofia/default/48732081792@35.205.116.118 SOFIA DESTROY
  11265. 2021-09-14 09:06:45.346668 [DEBUG] switch_core_state_machine.c:181 sofia/default/48732081792@35.205.116.118 Standard DESTROY
  11266. 2021-09-14 09:06:45.346668 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY going to sleep
  11267. 2021-09-14 09:06:45.346668 [NOTICE] switch_core_state_machine.c:385 sofia/default/48798517722@46.19.210.14 has executed the last dialplan instruction, hanging up.
  11268. 2021-09-14 09:06:45.346668 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/48798517722@46.19.210.14 [CS_EXECUTE] [NORMAL_CLEARING]
  11269. 2021-09-14 09:06:45.346668 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE going to sleep
  11270. 2021-09-14 09:06:45.346668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_HANGUP (Cur 7 Tot 248045)
  11271. 2021-09-14 09:06:45.346668 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48798517722@46.19.210.14) Callstate Change RINGING -> HANGUP
  11272. 2021-09-14 09:06:45.346668 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP
  11273. 2021-09-14 09:06:45.346668 [DEBUG] mod_sofia.c:432 sofia/default/48798517722@46.19.210.14 Overriding SIP cause 480 with 500 from the other leg
  11274. 2021-09-14 09:06:45.346668 [DEBUG] mod_sofia.c:438 Channel sofia/default/48798517722@46.19.210.14 hanging up, cause: NORMAL_CLEARING
  11275. 2021-09-14 09:06:45.346668 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 500
  11276. 2021-09-14 09:06:45.366951 [DEBUG] switch_core_state_machine.c:60 sofia/default/48798517722@46.19.210.14 Standard HANGUP, cause: NORMAL_CLEARING
  11277. 2021-09-14 09:06:45.366951 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP going to sleep
  11278. 2021-09-14 09:06:45.366951 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48798517722@46.19.210.14) State Change CS_HANGUP -> CS_REPORTING
  11279. 2021-09-14 09:06:45.366951 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_REPORTING (Cur 7 Tot 248045)
  11280. 2021-09-14 09:06:45.366951 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING
  11281. 2021-09-14 09:06:45.366951 [INFO] mod_json_cdr.c:271 Process [9c81c03a-155c-11ec-a02b-7dfb9f6e00f0.cdr.json]
  11282. 2021-09-14 09:06:45.366951 [DEBUG] switch_core_state_machine.c:174 sofia/default/48798517722@46.19.210.14 Standard REPORTING, cause: NORMAL_CLEARING
  11283. 2021-09-14 09:06:45.366951 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING going to sleep
  11284. 2021-09-14 09:06:45.366951 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48798517722@46.19.210.14) State Change CS_REPORTING -> CS_DESTROY
  11285. 2021-09-14 09:06:45.366951 [DEBUG] switch_core_session.c:1665 Session 248044 (sofia/default/48798517722@46.19.210.14) Locked, Waiting on external entities
  11286. 2021-09-14 09:06:45.366951 [NOTICE] switch_core_session.c:1683 Session 248044 (sofia/default/48798517722@46.19.210.14) Ended
  11287. 2021-09-14 09:06:45.366951 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48798517722@46.19.210.14 [CS_DESTROY]
  11288. 2021-09-14 09:06:45.366951 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48798517722@46.19.210.14) Running State Change CS_DESTROY (Cur 6 Tot 248045)
  11289. 2021-09-14 09:06:45.366951 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY
  11290. 2021-09-14 09:06:45.366951 [DEBUG] mod_sofia.c:343 sofia/default/48798517722@46.19.210.14 SOFIA DESTROY
  11291. 2021-09-14 09:06:45.366951 [DEBUG] switch_core_state_machine.c:181 sofia/default/48798517722@46.19.210.14 Standard DESTROY
  11292. 2021-09-14 09:06:45.366951 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY going to sleep
  11293. 2021-09-14 09:06:46.586668 [NOTICE] switch_channel.c:1104 New Channel sofia/default/+448456021111@199.244.96.39 [9d8a0a8c-155c-11ec-a04f-7dfb9f6e00f0]
  11294. 2021-09-14 09:06:46.586668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+448456021111@199.244.96.39) Running State Change CS_NEW (Cur 7 Tot 248046)
  11295. 2021-09-14 09:06:46.586668 [DEBUG] sofia.c:9873 sofia/default/+448456021111@199.244.96.39 receiving invite from 136.243.196.198:5060 version: 1.6.20  64bit
  11296. 2021-09-14 09:06:46.586668 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
  11297. 2021-09-14 09:06:46.586668 [DEBUG] sofia.c:7084 Channel sofia/default/+448456021111@199.244.96.39 entering state [received][100]
  11298. 2021-09-14 09:06:46.586668 [DEBUG] sofia.c:7094 Remote SDP:
  11299. v=0
  11300. o=PortaSIP 4582507995624046089 1 IN IP4 199.244.96.47
  11301. s=sip call
  11302. t=0 0
  11303. m=audio 55278 RTP/AVP 8 18 0 101
  11304. c=IN IP4 199.244.96.47
  11305. a=rtpmap:8 PCMA/8000
  11306. a=rtpmap:18 G729/8000
  11307. a=fmtp:18 annexb=no
  11308. a=rtpmap:0 PCMU/8000
  11309. a=rtpmap:101 telephone-event/8000
  11310. a=fmtp:101 0-15
  11311. a=silenceSupp:off - - - -
  11312. a=ptime:20
  11313.  
  11314. 2021-09-14 09:06:46.586668 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  11315. 2021-09-14 09:06:46.586668 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  11316. 2021-09-14 09:06:46.586668 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  11317. 2021-09-14 09:06:46.586668 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  11318. 2021-09-14 09:06:46.586668 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  11319. 2021-09-14 09:06:46.586668 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  11320. 2021-09-14 09:06:46.586668 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  11321. 2021-09-14 09:06:46.586668 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  11322. 2021-09-14 09:06:46.586668 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  11323. 2021-09-14 09:06:46.586668 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  11324. 2021-09-14 09:06:46.586668 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  11325. 2021-09-14 09:06:46.586668 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  11326. 2021-09-14 09:06:46.586668 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  11327. 2021-09-14 09:06:46.586668 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/+448456021111@199.244.96.39 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  11328. 2021-09-14 09:06:46.586668 [DEBUG] switch_core_codec.c:111 sofia/default/+448456021111@199.244.96.39 Original read codec set to PCMA:8
  11329. 2021-09-14 09:06:46.586668 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  11330. 2021-09-14 09:06:46.586668 [DEBUG] switch_core_media.c:4767 sofia/default/+448456021111@199.244.96.39 Set 2833 dtmf send payload to 101 recv payload to 101
  11331. 2021-09-14 09:06:46.586668 [DEBUG] sofia.c:7507 (sofia/default/+448456021111@199.244.96.39) State Change CS_NEW -> CS_INIT
  11332. 2021-09-14 09:06:46.586668 [DEBUG] switch_core_state_machine.c:603 (sofia/default/+448456021111@199.244.96.39) State NEW
  11333. 2021-09-14 09:06:46.586668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+448456021111@199.244.96.39) Running State Change CS_INIT (Cur 7 Tot 248046)
  11334. 2021-09-14 09:06:46.586668 [DEBUG] switch_core_state_machine.c:627 (sofia/default/+448456021111@199.244.96.39) State INIT
  11335. 2021-09-14 09:06:46.586668 [DEBUG] mod_sofia.c:90 sofia/default/+448456021111@199.244.96.39 SOFIA INIT
  11336. 2021-09-14 09:06:46.586668 [DEBUG] switch_core_state_machine.c:40 sofia/default/+448456021111@199.244.96.39 Standard INIT
  11337. 2021-09-14 09:06:46.586668 [DEBUG] switch_core_state_machine.c:48 (sofia/default/+448456021111@199.244.96.39) State Change CS_INIT -> CS_ROUTING
  11338. 2021-09-14 09:06:46.586668 [DEBUG] switch_core_state_machine.c:627 (sofia/default/+448456021111@199.244.96.39) State INIT going to sleep
  11339. 2021-09-14 09:06:46.586668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+448456021111@199.244.96.39) Running State Change CS_ROUTING (Cur 7 Tot 248046)
  11340. 2021-09-14 09:06:46.586668 [DEBUG] switch_channel.c:2249 (sofia/default/+448456021111@199.244.96.39) Callstate Change DOWN -> RINGING
  11341. 2021-09-14 09:06:46.586668 [DEBUG] switch_core_state_machine.c:643 (sofia/default/+448456021111@199.244.96.39) State ROUTING
  11342. 2021-09-14 09:06:46.586668 [DEBUG] mod_sofia.c:143 sofia/default/+448456021111@199.244.96.39 SOFIA ROUTING
  11343. 2021-09-14 09:06:46.586668 [DEBUG] switch_core_state_machine.c:236 sofia/default/+448456021111@199.244.96.39 Standard ROUTING
  11344. 2021-09-14 09:06:46.586668 [INFO] mod_dialplan_xml.c:637 Processing +448456021111 <+448456021111>->442039877620 in context default
  11345. 2021-09-14 09:06:46.586668 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected.
  11346. 2021-09-14 09:06:46.586668 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  11347. 2021-09-14 09:06:46.586668 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  11348. 2021-09-14 09:06:46.586668 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params:
  11349. 'Event-Name: REQUEST_PARAMS
  11350. Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0
  11351. FreeSWITCH-Hostname: astpp1.local
  11352. FreeSWITCH-Switchname: astpp1.local
  11353. FreeSWITCH-IPv4: 89.46.223.193
  11354. FreeSWITCH-IPv6: %3A%3A1
  11355. Event-Date-Local: 2021-09-14%2009%3A06%3A46
  11356. Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A06%3A46%20GMT
  11357. Event-Date-Timestamp: 1631624806586668
  11358. Event-Calling-File: mod_dialplan_xml.c
  11359. Event-Calling-Function: dialplan_xml_locate
  11360. Event-Calling-Line-Number: 608
  11361. Event-Sequence: 7529298
  11362. Channel-State: CS_ROUTING
  11363. Channel-Call-State: RINGING
  11364. Channel-State-Number: 2
  11365. Channel-Name: sofia/default/%2B448456021111%40199.244.96.39
  11366. Unique-ID: 9d8a0a8c-155c-11ec-a04f-7dfb9f6e00f0
  11367. Call-Direction: inbound
  11368. Presence-Call-Direction: inbound
  11369. Channel-HIT-Dialplan: true
  11370. Channel-Presence-ID: %2B448456021111%40199.244.96.39
  11371. Channel-Call-UUID: 9d8a0a8c-155c-11ec-a04f-7dfb9f6e00f0
  11372. Answer-State: ringing
  11373. Channel-Read-Codec-Name: PCMA
  11374. Channel-Read-Codec-Rate: 8000
  11375. Channel-Read-Codec-Bit-Rate: 64000
  11376. Channel-Write-Codec-Name: PCMA
  11377. Channel-Write-Codec-Rate: 8000
  11378. Channel-Write-Codec-Bit-Rate: 64000
  11379. Caller-Direction: inbound
  11380. Caller-Logical-Direction: inbound
  11381. Caller-Username: %2B448456021111
  11382. Caller-Dialplan: XML
  11383. Caller-Caller-ID-Name: %2B448456021111
  11384. Caller-Caller-ID-Number: %2B448456021111
  11385. Caller-Orig-Caller-ID-Name: %2B448456021111
  11386. Caller-Orig-Caller-ID-Number: %2B448456021111
  11387. Caller-Network-Addr: 136.243.196.198
  11388. Caller-ANI: %2B448456021111
  11389. Caller-Destination-Number: 442039877620
  11390. Caller-Unique-ID: 9d8a0a8c-155c-11ec-a04f-7dfb9f6e00f0
  11391. Caller-Source: mod_sofia
  11392. Caller-Context: default
  11393. Caller-Channel-Name: sofia/default/%2B448456021111%40199.244.96.39
  11394. Caller-Profile-Index: 1
  11395. Caller-Profile-Created-Time: 1631624806586668
  11396. Caller-Channel-Created-Time: 1631624806586668
  11397. Caller-Channel-Answered-Time: 0
  11398. Caller-Channel-Progress-Time: 0
  11399. Caller-Channel-Progress-Media-Time: 0
  11400. Caller-Channel-Hangup-Time: 0
  11401. Caller-Channel-Transfer-Time: 0
  11402. Caller-Channel-Resurrect-Time: 0
  11403. Caller-Channel-Bridged-Time: 0
  11404. Caller-Channel-Last-Hold: 0
  11405. Caller-Channel-Hold-Accum: 0
  11406. Caller-Screen-Bit: true
  11407. Caller-Privacy-Hide-Name: false
  11408. Caller-Privacy-Hide-Number: false
  11409. variable_direction: inbound
  11410. variable_uuid: 9d8a0a8c-155c-11ec-a04f-7dfb9f6e00f0
  11411. variable_session_id: 248046
  11412. variable_sip_from_user: %2B448456021111
  11413. variable_sip_from_uri: %2B448456021111%40199.244.96.39
  11414. variable_sip_from_host: 199.244.96.39
  11415. variable_video_media_flow: sendrecv
  11416. variable_channel_name: sofia/default/%2B448456021111%40199.244.96.39
  11417. variable_sip_call_id: 148227040-3840613606-1843055404%40MSX9.gammatelecom.com~1o
  11418. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b
  11419. variable_sip_local_network_addr: 89.46.223.193
  11420. variable_sip_network_ip: 136.243.196.198
  11421. variable_sip_network_port: 5060
  11422. variable_sip_invite_stamp: 1631624806586668
  11423. variable_sip_received_ip: 136.243.196.198
  11424. variable_sip_received_port: 5060
  11425. variable_sip_via_protocol: udp
  11426. variable_sip_authorized: true
  11427. variable_sip_acl_authed_by: default
  11428. variable_sip_from_user_stripped: 448456021111
  11429. variable_sip_from_tag: 7ubvwzgc27rigi4i.o
  11430. variable_sofia_profile_name: default
  11431. variable_recovery_profile_name: default
  11432. variable_sip_Remote-Party-ID: %3Csip%3A%2B448456021111%40199.244.96.39%3E%3Bparty%3Dcalling
  11433. variable_sip_P-Asserted-Identity: %2B448456021111
  11434. variable_sip_cid_type: pid
  11435. variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3Dcf3.86bc9fe1%3E,%3Csip%3A199.244.96.39%3Blr%3Bep%3E
  11436. variable_sip_invite_record_route: %3Csip%3A199.244.96.39%3Blr%3Bep%3E,%3Csip%3A136.243.196.198%3Blr%3Bdid%3Dcf3.86bc9fe1%3E
  11437. variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bK2e3e.3f8a05f7.0,SIP/2.0/UDP%20199.244.96.39%3A5060%3Breceived%3D199.244.96.39%3Bbranch%3Dz9hG4bK-524287-1---ff5e2623a9d55bf1eb005d9b64de1c45%3Brport%3D5060,SIP/2.0/UDP%20199.244.96.47%3A5070%3Brport%3D5070%3Bbranch%3Dz9hG4bK-7g3udtqaplvx4pir
  11438. variable_sip_full_from: %3Csip%3A%2B448456021111%40199.244.96.39%3E%3Btag%3D7ubvwzgc27rigi4i.o
  11439. variable_sip_full_to: %3Csip%3A442039877620%40newsip.israelnumber.com%3E
  11440. variable_sip_allow: INVITE,%20ACK,%20BYE,%20CANCEL,%20INFO,%20SUBSCRIBE,%20NOTIFY,%20REFER,%20MESSAGE,%20OPTIONS,%20UPDATE
  11441. variable_sip_req_user: 442039877620
  11442. variable_sip_req_uri: 442039877620%40newsip.israelnumber.com
  11443. variable_sip_req_host: newsip.israelnumber.com
  11444. variable_sip_to_user: 442039877620
  11445. variable_sip_to_uri: 442039877620%40newsip.israelnumber.com
  11446. variable_sip_to_host: newsip.israelnumber.com
  11447. variable_sip_contact_user: %2B448456021111
  11448. variable_sip_contact_port: 5070
  11449. variable_sip_contact_uri: %2B448456021111%40199.244.96.47%3A5070
  11450. variable_sip_contact_host: 199.244.96.47
  11451. variable_sip_user_agent: PortaSIP
  11452. variable_sip_via_host: 136.243.196.198
  11453. variable_sip_via_port: 5060
  11454. variable_max_forwards: 30
  11455. variable_presence_id: %2B448456021111%40199.244.96.39
  11456. variable_sip_h_X-AUTH-IP: 199.244.96.39
  11457. variable_sip_h_P-Accountcode: 594905904039
  11458. variable_sip_h_P-effective_caller_id_name: %2B448456021111
  11459. variable_sip_h_P-effective_caller_id_number: %2B448456021111
  11460. variable_switch_r_sdp: v%3D0%0D%0Ao%3DPortaSIP%204582507995624046089%201%20IN%20IP4%20199.244.96.47%0D%0As%3Dsip%20call%0D%0At%3D0%200%0D%0Am%3Daudio%2055278%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
  11461. variable_rtp_use_codec_string: PCMA,PCMU,G729
  11462. variable_audio_media_flow: sendrecv
  11463. variable_remote_media_ip: 199.244.96.47
  11464. variable_remote_media_port: 55278
  11465. variable_rtp_audio_recv_pt: 8
  11466. variable_rtp_use_codec_name: PCMA
  11467. variable_rtp_use_codec_rate: 8000
  11468. variable_rtp_use_codec_ptime: 20
  11469. variable_rtp_use_codec_channels: 1
  11470. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  11471. variable_read_codec: PCMA
  11472. variable_original_read_codec: PCMA
  11473. variable_read_rate: 8000
  11474. variable_original_read_rate: 8000
  11475. variable_write_codec: PCMA
  11476. variable_write_rate: 8000
  11477. variable_dtmf_type: rfc2833
  11478. variable_endpoint_disposition: RECEIVED
  11479. variable_call_uuid: 9d8a0a8c-155c-11ec-a04f-7dfb9f6e00f0
  11480. Hunt-Direction: inbound
  11481. Hunt-Logical-Direction: inbound
  11482. Hunt-Username: %2B448456021111
  11483. Hunt-Dialplan: XML
  11484. Hunt-Caller-ID-Name: %2B448456021111
  11485. Hunt-Caller-ID-Number: %2B448456021111
  11486. Hunt-Orig-Caller-ID-Name: %2B448456021111
  11487. Hunt-Orig-Caller-ID-Number: %2B448456021111
  11488. Hunt-Network-Addr: 136.243.196.198
  11489. Hunt-ANI: %2B448456021111
  11490. Hunt-Destination-Number: 442039877620
  11491. Hunt-Unique-ID: 9d8a0a8c-155c-11ec-a04f-7dfb9f6e00f0
  11492. Hunt-Source: mod_sofia
  11493. Hunt-Context: default
  11494. Hunt-Channel-Name: sofia/default/%2B448456021111%40199.244.96.39
  11495. Hunt-Profile-Index: 1
  11496. Hunt-Profile-Created-Time: 1631624806586668
  11497. Hunt-Channel-Created-Time: 1631624806586668
  11498. Hunt-Channel-Answered-Time: 0
  11499. Hunt-Channel-Progress-Time: 0
  11500. Hunt-Channel-Progress-Media-Time: 0
  11501. Hunt-Channel-Hangup-Time: 0
  11502. Hunt-Channel-Transfer-Time: 0
  11503. Hunt-Channel-Resurrect-Time: 0
  11504. Hunt-Channel-Bridged-Time: 0
  11505. Hunt-Channel-Last-Hold: 0
  11506. Hunt-Channel-Hold-Accum: 0
  11507. Hunt-Screen-Bit: true
  11508. Hunt-Privacy-Hide-Name: false
  11509. Hunt-Privacy-Hide-Number: false
  11510.  
  11511. '
  11512. 2021-09-14 09:06:46.586668 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name:
  11513. 2021-09-14 09:06:46.586668 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value:
  11514. 2021-09-14 09:06:46.586668 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name:
  11515. 2021-09-14 09:06:46.586668 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan
  11516. 2021-09-14 09:06:46.586668 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  11517. 2021-09-14 09:06:46.586668 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 442039877620
  11518. 2021-09-14 09:06:46.586668 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '442039877620' limit 1
  11519. 2021-09-14 09:06:46.586668 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '442039877620' AND status=0 limit 1
  11520. 2021-09-14 09:06:46.586668 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '199.244.96.39' limit 1
  11521. 2021-09-14 09:06:46.586668 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  11522. 2021-09-14 09:06:46.586668 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : +448456021111 / +448456021111
  11523. 2021-09-14 09:06:46.586668 [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 ="442039877620" LIMIT 1
  11524. 2021-09-14 09:06:46.586668 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
  11525. 2021-09-14 09:06:46.586668 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 594905904039]
  11526. 2021-09-14 09:06:46.586668 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "594905904039" OR number = "594905904039" AND deleted = 0 limit 1
  11527. 2021-09-14 09:06:46.606671 [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 ="442039877620" AND A.accountid = '855' limit 1
  11528. 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 442039877620
  11529. 2021-09-14 09:06:46.606671 [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 ="442039877620" LIMIT 1
  11530. 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound
  11531. 2021-09-14 09:06:46.606671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="442039877620" AND (accountid = 0 OR status = 1) LIMIT 1
  11532. 2021-09-14 09:06:46.606671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  11533. 2021-09-14 09:06:46.606671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851
  11534. 2021-09-14 09:06:46.606671 [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 = '^442039877620.*' OR patterns = '^44203987762.*' OR patterns = '^4420398776.*' OR patterns = '^442039877.*' OR patterns = '^44203987.*' OR patterns = '^4420398.*' OR patterns = '^442039.*' OR patterns = '^44203.*' OR patterns = '^4420.*' OR patterns = '^442.*' OR patterns = '^44.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC
  11535. 2021-09-14 09:06:46.606671 [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 = '442039877620' OR number = '44203987762' OR number = '4420398776' OR number = '442039877' OR number = '44203987' OR number = '4420398' OR number = '442039' OR number = '44203' OR number = '4420' OR number = '442' OR number = '44' OR number = '4' OR number ='--') OR (number = '442039877620*' OR number = '44203987762*' OR number = '4420398776*' OR number = '442039877*' OR number = '44203987*' OR number = '4420398*' OR number = '442039*' OR number = '44203*' OR number = '4420*' OR number = '442*' OR number = '44*' OR number = '4*' OR number ='--') OR (number = '+448456021111' OR number = '+44845602111' OR number = '+4484560211' OR number = '+448456021' OR number = '+44845602' OR number = '+4484560' OR number = '+448456' OR number = '+44845' OR number = '+4484' OR number = '+448' OR number = '+44' OR number = '+4' OR number = '+' OR number ='--') OR (number = '+448456021111*' OR number = '+44845602111*' OR number = '+4484560211*' OR number = '+448456021*' OR number = '+44845602*' OR number = '+4484560*' OR number = '+448456*' OR number = '+44845*' OR number = '+4484*' OR number = '+448*' OR number = '+44*' OR number = '+4*' OR number = '+*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  11536. 2021-09-14 09:06:46.606671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  11537. 2021-09-14 09:06:46.606671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '442039877620' OR routing_prefix = '44203987762' OR routing_prefix = '4420398776' OR routing_prefix = '442039877' OR routing_prefix = '44203987' OR routing_prefix = '4420398' OR routing_prefix = '442039' OR routing_prefix = '44203' OR routing_prefix = '4420' OR routing_prefix = '442' OR routing_prefix = '44' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  11538. 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  11539. 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 855
  11540. 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 594905904039
  11541. 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000
  11542. 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  11543. 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1
  11544. 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  11545. 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  11546. 2021-09-14 09:06:46.606671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  11547. 2021-09-14 09:06:46.606671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  11548. 2021-09-14 09:06:46.606671 [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 ="442039877620" LIMIT 1
  11549. 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound
  11550. 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  11551. 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 9123
  11552. 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  11553. 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  11554. 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  11555. 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : London Landline
  11556. 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 200
  11557. 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 855
  11558. 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  11559. 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 855 !!!
  11560. 2021-09-14 09:06:46.606671 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180
  11561. 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
  11562. 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  11563. 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  11564. 2021-09-14 09:06:46.606671 [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
  11565. 2021-09-14 09:06:46.606671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" OR number = "851" AND deleted = 0 limit 1
  11566. 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:855
  11567. 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:855
  11568. 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 855
  11569. 2021-09-14 09:06:46.606671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  11570. 2021-09-14 09:06:46.606671 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  11571. 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
  11572. 2021-09-14 09:06:46.606671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  11573. 2021-09-14 09:06:46.606671 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  11574. 2021-09-14 09:06:46.606671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2
  11575. 2021-09-14 09:06:46.606671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  11576. <document type="freeswitch/xml">
  11577. <section name="dialplan" description="ASTPP Dialplan">
  11578. <context name="default">
  11579. <extension name="442039877620">
  11580. <condition field="destination_number" expression="442039877620">
  11581. <action application="set" data="effective_destination_number=442039877620"/>
  11582. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  11583. <action application="set" data="bridge_pre_execute_bleg_data=+10800 normal_clearing"/>
  11584. <action application="set" data="callstart=2021-09-14 13:06:46"/>
  11585. <action application="set" data="hangup_after_bridge=true"/>
  11586. <action application="set" data="continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602"/>
  11587. <action application="set" data="account_id=855"/>
  11588. <action application="set" data="parent_id=0"/>
  11589. <action application="set" data="entity_id=3"/>
  11590. <action application="set" data="call_processed=internal"/>
  11591. <action application="set" data="call_direction=inbound"/>
  11592. <action application="set" data="accountname=default"/>
  11593. <action application="set" data="filename1=astpp.pbx.lua"/>
  11594. <action application="set" data="origination_rates_did=ID:9123|CODE:^442039877620.*|DESTINATION:London Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:200|ACCID:851"/>
  11595. <action application="set" data="origination_rates=0"/>
  11596. <action application="set" data="original_caller_id_name=+448456021111"/>
  11597. <action application="set" data="original_caller_id_number=+448456021111"/>
  11598. <action application="set" data="effective_caller_id_name=+448456021111"/>
  11599. <action application="set" data="effective_caller_id_number=+448456021111"/>
  11600. <action application="set" data="receiver_accid=851"/>
  11601. <action application="export" data="domain_name=Voicespin802.newsip.israelnumber.com"/>
  11602. <action application="export" data="sip_to_host=Voicespin802.newsip.israelnumber.com"/>
  11603. <action application="limit" data="db 442039877620 did_442039877620 2 !SWITCH_CONGESTION"/>
  11604. <action application="export" data="presence_data=x|||AvoxiIn1(594905904039)|||^442039877620.* // London Landline // 0.00000||||||DID|||199.244.96.39"/>
  11605. <action application="export" data="call_type=2"/>
  11606. <action application="set" data="calltype=DIRECT-IP"/>
  11607. <action application="bridge" data="[leg_timeout=30]sofia/${sofia_profile_name}/442039877620@35.205.116.118"/>
  11608. </condition>
  11609. </extension>
  11610. </context>
  11611. </section>
  11612. </document>
  11613. 2021-09-14 09:06:46.606671 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released.
  11614. Dialplan: sofia/default/+448456021111@199.244.96.39 parsing [default->442039877620] continue=false
  11615. Dialplan: sofia/default/+448456021111@199.244.96.39 Regex (PASS) [442039877620] destination_number(442039877620) =~ /442039877620/ break=on-false
  11616. Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(effective_destination_number=442039877620)
  11617. Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  11618. Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  11619. Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(callstart=2021-09-14 13:06:46)
  11620. Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(hangup_after_bridge=true)
  11621. Dialplan: sofia/default/+448456021111@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)
  11622. Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(account_id=855)
  11623. Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(parent_id=0)
  11624. Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(entity_id=3)
  11625. Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(call_processed=internal)
  11626. Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(call_direction=inbound)
  11627. Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(accountname=default)
  11628. Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(filename1=astpp.pbx.lua)
  11629. Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(origination_rates_did=ID:9123|CODE:^442039877620.*|DESTINATION:London Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:200|ACCID:851)
  11630. Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(origination_rates=0)
  11631. Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(original_caller_id_name=+448456021111)
  11632. Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(original_caller_id_number=+448456021111)
  11633. Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(effective_caller_id_name=+448456021111)
  11634. Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(effective_caller_id_number=+448456021111)
  11635. Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(receiver_accid=851)
  11636. Dialplan: sofia/default/+448456021111@199.244.96.39 Action export(domain_name=Voicespin802.newsip.israelnumber.com)
  11637. Dialplan: sofia/default/+448456021111@199.244.96.39 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  11638. Dialplan: sofia/default/+448456021111@199.244.96.39 Action limit(db 442039877620 did_442039877620 2 !SWITCH_CONGESTION)
  11639. Dialplan: sofia/default/+448456021111@199.244.96.39 Action export(presence_data=x|||AvoxiIn1(594905904039)|||^442039877620.* // London Landline // 0.00000||||||DID|||199.244.96.39)
  11640. Dialplan: sofia/default/+448456021111@199.244.96.39 Action export(call_type=2)
  11641. Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(calltype=DIRECT-IP)
  11642. Dialplan: sofia/default/+448456021111@199.244.96.39 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/442039877620@35.205.116.118)
  11643. 2021-09-14 09:06:46.606671 [DEBUG] switch_core_state_machine.c:286 (sofia/default/+448456021111@199.244.96.39) State Change CS_ROUTING -> CS_EXECUTE
  11644. 2021-09-14 09:06:46.606671 [DEBUG] switch_core_state_machine.c:643 (sofia/default/+448456021111@199.244.96.39) State ROUTING going to sleep
  11645. 2021-09-14 09:06:46.606671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+448456021111@199.244.96.39) Running State Change CS_EXECUTE (Cur 7 Tot 248046)
  11646. 2021-09-14 09:06:46.606671 [DEBUG] switch_core_state_machine.c:650 (sofia/default/+448456021111@199.244.96.39) State EXECUTE
  11647. 2021-09-14 09:06:46.606671 [DEBUG] mod_sofia.c:198 sofia/default/+448456021111@199.244.96.39 SOFIA EXECUTE
  11648. 2021-09-14 09:06:46.606671 [DEBUG] switch_core_state_machine.c:328 sofia/default/+448456021111@199.244.96.39 Standard EXECUTE
  11649. EXECUTE sofia/default/+448456021111@199.244.96.39 set(effective_destination_number=442039877620)
  11650. 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [effective_destination_number]=[442039877620]
  11651. EXECUTE sofia/default/+448456021111@199.244.96.39 set(bridge_pre_execute_bleg_app=sched_hangup)
  11652. 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [bridge_pre_execute_bleg_app]=[sched_hangup]
  11653. EXECUTE sofia/default/+448456021111@199.244.96.39 set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  11654. 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing]
  11655. EXECUTE sofia/default/+448456021111@199.244.96.39 set(callstart=2021-09-14 13:06:46)
  11656. 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [callstart]=[2021-09-14 13:06:46]
  11657. EXECUTE sofia/default/+448456021111@199.244.96.39 set(hangup_after_bridge=true)
  11658. 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [hangup_after_bridge]=[true]
  11659. EXECUTE sofia/default/+448456021111@199.244.96.39 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  11660. 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]
  11661. EXECUTE sofia/default/+448456021111@199.244.96.39 set(account_id=855)
  11662. 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [account_id]=[855]
  11663. EXECUTE sofia/default/+448456021111@199.244.96.39 set(parent_id=0)
  11664. 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [parent_id]=[0]
  11665. EXECUTE sofia/default/+448456021111@199.244.96.39 set(entity_id=3)
  11666. 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [entity_id]=[3]
  11667. EXECUTE sofia/default/+448456021111@199.244.96.39 set(call_processed=internal)
  11668. 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [call_processed]=[internal]
  11669. EXECUTE sofia/default/+448456021111@199.244.96.39 set(call_direction=inbound)
  11670. 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [call_direction]=[inbound]
  11671. EXECUTE sofia/default/+448456021111@199.244.96.39 set(accountname=default)
  11672. 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [accountname]=[default]
  11673. EXECUTE sofia/default/+448456021111@199.244.96.39 set(filename1=astpp.pbx.lua)
  11674. 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [filename1]=[astpp.pbx.lua]
  11675. EXECUTE sofia/default/+448456021111@199.244.96.39 set(origination_rates_did=ID:9123|CODE:^442039877620.*|DESTINATION:London Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:200|ACCID:851)
  11676. 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [origination_rates_did]=[ID:9123|CODE:^442039877620.*|DESTINATION:London Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:200|ACCID:851]
  11677. EXECUTE sofia/default/+448456021111@199.244.96.39 set(origination_rates=0)
  11678. 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [origination_rates]=[0]
  11679. EXECUTE sofia/default/+448456021111@199.244.96.39 set(original_caller_id_name=+448456021111)
  11680. 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [original_caller_id_name]=[+448456021111]
  11681. EXECUTE sofia/default/+448456021111@199.244.96.39 set(original_caller_id_number=+448456021111)
  11682. 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [original_caller_id_number]=[+448456021111]
  11683. EXECUTE sofia/default/+448456021111@199.244.96.39 set(effective_caller_id_name=+448456021111)
  11684. 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [effective_caller_id_name]=[+448456021111]
  11685. EXECUTE sofia/default/+448456021111@199.244.96.39 set(effective_caller_id_number=+448456021111)
  11686. 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [effective_caller_id_number]=[+448456021111]
  11687. EXECUTE sofia/default/+448456021111@199.244.96.39 set(receiver_accid=851)
  11688. 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [receiver_accid]=[851]
  11689. EXECUTE sofia/default/+448456021111@199.244.96.39 export(domain_name=Voicespin802.newsip.israelnumber.com)
  11690. 2021-09-14 09:06:46.606671 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com]
  11691. EXECUTE sofia/default/+448456021111@199.244.96.39 export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  11692. 2021-09-14 09:06:46.606671 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com]
  11693. EXECUTE sofia/default/+448456021111@199.244.96.39 limit(db 442039877620 did_442039877620 2 !SWITCH_CONGESTION)
  11694. 2021-09-14 09:06:46.606671 [DEBUG] switch_limit.c:126 incr called: 442039877620_did_442039877620 max:2, interval:0
  11695. 2021-09-14 09:06:46.606671 [DEBUG] mod_db.c:194 Usage for 442039877620_did_442039877620 is now 1/2
  11696. EXECUTE sofia/default/+448456021111@199.244.96.39 export(presence_data=x|||AvoxiIn1(594905904039)|||^442039877620.* // London Landline // 0.00000||||||DID|||199.244.96.39)
  11697. 2021-09-14 09:06:46.606671 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||AvoxiIn1(594905904039)|||^442039877620.* // London Landline // 0.00000||||||DID|||199.244.96.39]
  11698. EXECUTE sofia/default/+448456021111@199.244.96.39 export(call_type=2)
  11699. 2021-09-14 09:06:46.626674 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2]
  11700. EXECUTE sofia/default/+448456021111@199.244.96.39 set(calltype=DIRECT-IP)
  11701. 2021-09-14 09:06:46.626674 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [calltype]=[DIRECT-IP]
  11702. EXECUTE sofia/default/+448456021111@199.244.96.39 bridge([leg_timeout=30]sofia/default/442039877620@35.205.116.118)
  11703. 2021-09-14 09:06:46.626674 [DEBUG] switch_channel.c:1250 sofia/default/+448456021111@199.244.96.39 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event
  11704. 2021-09-14 09:06:46.626674 [DEBUG] switch_channel.c:1250 sofia/default/+448456021111@199.244.96.39 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event
  11705. 2021-09-14 09:06:46.626674 [DEBUG] switch_channel.c:1250 sofia/default/+448456021111@199.244.96.39 EXPORTING[export_vars] [presence_data]=[x|||AvoxiIn1(594905904039)|||^442039877620.* // London Landline // 0.00000||||||DID|||199.244.96.39] to event
  11706. 2021-09-14 09:06:46.626674 [DEBUG] switch_channel.c:1250 sofia/default/+448456021111@199.244.96.39 EXPORTING[export_vars] [call_type]=[2] to event
  11707. 2021-09-14 09:06:46.626674 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  11708. 2021-09-14 09:06:46.626674 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  11709. 2021-09-14 09:06:46.626674 [NOTICE] switch_channel.c:1104 New Channel sofia/default/442039877620@35.205.116.118 [9d900d38-155c-11ec-a06f-7dfb9f6e00f0]
  11710. 2021-09-14 09:06:46.626674 [DEBUG] mod_sofia.c:4819 (sofia/default/442039877620@35.205.116.118) State Change CS_NEW -> CS_INIT
  11711. 2021-09-14 09:06:46.626674 [DEBUG] switch_ivr_originate.c:2963 sofia/default/442039877620@35.205.116.118 Setting leg timeout to 30
  11712. 2021-09-14 09:06:46.626674 [DEBUG] switch_core_state_machine.c:584 (sofia/default/442039877620@35.205.116.118) Running State Change CS_INIT (Cur 8 Tot 248047)
  11713. 2021-09-14 09:06:46.626674 [DEBUG] switch_core_state_machine.c:627 (sofia/default/442039877620@35.205.116.118) State INIT
  11714. 2021-09-14 09:06:46.626674 [DEBUG] mod_sofia.c:90 sofia/default/442039877620@35.205.116.118 SOFIA INIT
  11715. 2021-09-14 09:06:46.626674 [DEBUG] sofia_glue.c:1295 sofia/default/442039877620@35.205.116.118 sending invite version: 1.6.20  64bit
  11716. Local SDP:
  11717. v=0
  11718. o=FreeSWITCH 1631592102 1631592103 IN IP4 89.46.223.193
  11719. s=FreeSWITCH
  11720. c=IN IP4 89.46.223.193
  11721. t=0 0
  11722. m=audio 32704 RTP/AVP 8 101
  11723. a=rtpmap:8 PCMA/8000
  11724. a=rtpmap:101 telephone-event/8000
  11725. a=fmtp:101 0-16
  11726. a=ptime:20
  11727. a=sendrecv
  11728.  
  11729. 2021-09-14 09:06:46.626674 [DEBUG] switch_core_state_machine.c:40 sofia/default/442039877620@35.205.116.118 Standard INIT
  11730. 2021-09-14 09:06:46.626674 [DEBUG] switch_core_state_machine.c:48 (sofia/default/442039877620@35.205.116.118) State Change CS_INIT -> CS_ROUTING
  11731. 2021-09-14 09:06:46.626674 [DEBUG] switch_core_state_machine.c:627 (sofia/default/442039877620@35.205.116.118) State INIT going to sleep
  11732. 2021-09-14 09:06:46.626674 [DEBUG] switch_core_state_machine.c:584 (sofia/default/442039877620@35.205.116.118) Running State Change CS_ROUTING (Cur 8 Tot 248047)
  11733. 2021-09-14 09:06:46.626674 [DEBUG] switch_core_state_machine.c:643 (sofia/default/442039877620@35.205.116.118) State ROUTING
  11734. 2021-09-14 09:06:46.626674 [DEBUG] mod_sofia.c:143 sofia/default/442039877620@35.205.116.118 SOFIA ROUTING
  11735. 2021-09-14 09:06:46.626674 [DEBUG] switch_ivr_originate.c:67 (sofia/default/442039877620@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  11736. 2021-09-14 09:06:46.626674 [DEBUG] switch_core_state_machine.c:643 (sofia/default/442039877620@35.205.116.118) State ROUTING going to sleep
  11737. 2021-09-14 09:06:46.626674 [DEBUG] switch_core_state_machine.c:584 (sofia/default/442039877620@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 248047)
  11738. 2021-09-14 09:06:46.626674 [DEBUG] switch_core_state_machine.c:662 (sofia/default/442039877620@35.205.116.118) State CONSUME_MEDIA
  11739. 2021-09-14 09:06:46.626674 [DEBUG] switch_core_state_machine.c:662 (sofia/default/442039877620@35.205.116.118) State CONSUME_MEDIA going to sleep
  11740. 2021-09-14 09:06:46.626674 [DEBUG] sofia.c:7084 Channel sofia/default/442039877620@35.205.116.118 entering state [calling][0]
  11741. 2021-09-14 09:06:46.906676 [DEBUG] sofia.c:7084 Channel sofia/default/442039877620@35.205.116.118 entering state [terminated][486]
  11742. 2021-09-14 09:06:46.906676 [NOTICE] sofia.c:8273 Hangup sofia/default/442039877620@35.205.116.118 [CS_CONSUME_MEDIA] [USER_BUSY]
  11743. 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:584 (sofia/default/442039877620@35.205.116.118) Running State Change CS_HANGUP (Cur 8 Tot 248047)
  11744. 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:850 (sofia/default/442039877620@35.205.116.118) Callstate Change DOWN -> HANGUP
  11745. 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:852 (sofia/default/442039877620@35.205.116.118) State HANGUP
  11746. 2021-09-14 09:06:46.906676 [DEBUG] mod_sofia.c:438 Channel sofia/default/442039877620@35.205.116.118 hanging up, cause: USER_BUSY
  11747. 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:60 sofia/default/442039877620@35.205.116.118 Standard HANGUP, cause: USER_BUSY
  11748. 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:852 (sofia/default/442039877620@35.205.116.118) State HANGUP going to sleep
  11749. 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:619 (sofia/default/442039877620@35.205.116.118) State Change CS_HANGUP -> CS_REPORTING
  11750. 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:584 (sofia/default/442039877620@35.205.116.118) Running State Change CS_REPORTING (Cur 8 Tot 248047)
  11751. 2021-09-14 09:06:46.906676 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 17 [USER_BUSY]
  11752. 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:938 (sofia/default/442039877620@35.205.116.118) State REPORTING
  11753. 2021-09-14 09:06:46.906676 [INFO] mod_json_cdr.c:271 Process [9d900d38-155c-11ec-a06f-7dfb9f6e00f0.cdr.json]
  11754. 2021-09-14 09:06:46.906676 [INFO] mod_dptools.c:3436 Originate Failed.  Cause: USER_BUSY
  11755. 2021-09-14 09:06:46.906676 [NOTICE] switch_channel.c:4844 Hangup sofia/default/+448456021111@199.244.96.39 [CS_EXECUTE] [USER_BUSY]
  11756. 2021-09-14 09:06:46.906676 [DEBUG] switch_core_session.c:2815 sofia/default/+448456021111@199.244.96.39 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  11757. 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:650 (sofia/default/+448456021111@199.244.96.39) State EXECUTE going to sleep
  11758. 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+448456021111@199.244.96.39) Running State Change CS_HANGUP (Cur 8 Tot 248047)
  11759. 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:850 (sofia/default/+448456021111@199.244.96.39) Callstate Change RINGING -> HANGUP
  11760. 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:852 (sofia/default/+448456021111@199.244.96.39) State HANGUP
  11761. 2021-09-14 09:06:46.906676 [DEBUG] mod_sofia.c:432 sofia/default/+448456021111@199.244.96.39 Overriding SIP cause 486 with 486 from the other leg
  11762. 2021-09-14 09:06:46.906676 [DEBUG] mod_sofia.c:438 Channel sofia/default/+448456021111@199.244.96.39 hanging up, cause: USER_BUSY
  11763. 2021-09-14 09:06:46.906676 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 486
  11764. 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:60 sofia/default/+448456021111@199.244.96.39 Standard HANGUP, cause: USER_BUSY
  11765. 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:852 (sofia/default/+448456021111@199.244.96.39) State HANGUP going to sleep
  11766. 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:619 (sofia/default/+448456021111@199.244.96.39) State Change CS_HANGUP -> CS_REPORTING
  11767. 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+448456021111@199.244.96.39) Running State Change CS_REPORTING (Cur 8 Tot 248047)
  11768. 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:938 (sofia/default/+448456021111@199.244.96.39) State REPORTING
  11769. 2021-09-14 09:06:46.906676 [INFO] mod_json_cdr.c:271 Process [9d8a0a8c-155c-11ec-a04f-7dfb9f6e00f0.cdr.json]
  11770. 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:174 sofia/default/442039877620@35.205.116.118 Standard REPORTING, cause: USER_BUSY
  11771. 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:938 (sofia/default/442039877620@35.205.116.118) State REPORTING going to sleep
  11772. 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:610 (sofia/default/442039877620@35.205.116.118) State Change CS_REPORTING -> CS_DESTROY
  11773. 2021-09-14 09:06:46.906676 [DEBUG] switch_core_session.c:1665 Session 248047 (sofia/default/442039877620@35.205.116.118) Locked, Waiting on external entities
  11774. 2021-09-14 09:06:46.906676 [NOTICE] switch_core_session.c:1683 Session 248047 (sofia/default/442039877620@35.205.116.118) Ended
  11775. 2021-09-14 09:06:46.906676 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/442039877620@35.205.116.118 [CS_DESTROY]
  11776. 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:741 (sofia/default/442039877620@35.205.116.118) Running State Change CS_DESTROY (Cur 7 Tot 248047)
  11777. 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:751 (sofia/default/442039877620@35.205.116.118) State DESTROY
  11778. 2021-09-14 09:06:46.906676 [DEBUG] mod_sofia.c:343 sofia/default/442039877620@35.205.116.118 SOFIA DESTROY
  11779. 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:181 sofia/default/442039877620@35.205.116.118 Standard DESTROY
  11780. 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:751 (sofia/default/442039877620@35.205.116.118) State DESTROY going to sleep
  11781. 2021-09-14 09:06:46.966681 [DEBUG] switch_core_state_machine.c:174 sofia/default/+448456021111@199.244.96.39 Standard REPORTING, cause: USER_BUSY
  11782. 2021-09-14 09:06:46.966681 [DEBUG] switch_core_state_machine.c:938 (sofia/default/+448456021111@199.244.96.39) State REPORTING going to sleep
  11783. 2021-09-14 09:06:46.966681 [DEBUG] switch_core_state_machine.c:610 (sofia/default/+448456021111@199.244.96.39) State Change CS_REPORTING -> CS_DESTROY
  11784. 2021-09-14 09:06:46.966681 [DEBUG] switch_core_session.c:1665 Session 248046 (sofia/default/+448456021111@199.244.96.39) Locked, Waiting on external entities
  11785. 2021-09-14 09:06:46.966681 [NOTICE] switch_core_session.c:1683 Session 248046 (sofia/default/+448456021111@199.244.96.39) Ended
  11786. 2021-09-14 09:06:46.966681 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/+448456021111@199.244.96.39 [CS_DESTROY]
  11787. 2021-09-14 09:06:46.966681 [DEBUG] switch_core_state_machine.c:741 (sofia/default/+448456021111@199.244.96.39) Running State Change CS_DESTROY (Cur 6 Tot 248047)
  11788. 2021-09-14 09:06:46.966681 [DEBUG] switch_core_state_machine.c:751 (sofia/default/+448456021111@199.244.96.39) State DESTROY
  11789. 2021-09-14 09:06:46.966681 [DEBUG] mod_sofia.c:343 sofia/default/+448456021111@199.244.96.39 SOFIA DESTROY
  11790. 2021-09-14 09:06:46.966681 [DEBUG] switch_core_state_machine.c:181 sofia/default/+448456021111@199.244.96.39 Standard DESTROY
  11791. 2021-09-14 09:06:46.966681 [DEBUG] switch_core_state_machine.c:751 (sofia/default/+448456021111@199.244.96.39) State DESTROY going to sleep
  11792. 2021-09-14 09:06:49.986755 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48798517722@46.19.210.14 [9f90ab92-155c-11ec-a073-7dfb9f6e00f0]
  11793. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_NEW (Cur 7 Tot 248048)
  11794. 2021-09-14 09:06:49.986755 [DEBUG] sofia.c:9873 sofia/default/48798517722@46.19.210.14 receiving invite from 136.243.196.198:5060 version: 1.6.20  64bit
  11795. 2021-09-14 09:06:49.986755 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
  11796. 2021-09-14 09:06:49.986755 [DEBUG] sofia.c:7084 Channel sofia/default/48798517722@46.19.210.14 entering state [received][100]
  11797. 2021-09-14 09:06:49.986755 [DEBUG] sofia.c:7094 Remote SDP:
  11798. v=0
  11799. o=didww-sbc 3077209056 32538 IN IP4 46.19.210.22
  11800. s=didww-sbc
  11801. t=0 0
  11802. m=audio 50880 RTP/AVP 0 8 18 4 101
  11803. c=IN IP4 46.19.210.22
  11804. a=rtpmap:0 PCMU/8000
  11805. a=rtpmap:8 PCMA/8000
  11806. a=rtpmap:18 G729/8000
  11807. a=fmtp:18 annexb=no
  11808. a=rtpmap:4 G723/8000
  11809. a=rtpmap:101 telephone-event/8000
  11810. a=ptime:20
  11811.  
  11812. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  11813. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  11814. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  11815. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  11816. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  11817. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  11818. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  11819. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  11820. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  11821. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  11822. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  11823. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  11824. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1]
  11825. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1]
  11826. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:20:8000:1]
  11827. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  11828. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/48798517722@46.19.210.14 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  11829. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_codec.c:111 sofia/default/48798517722@46.19.210.14 Original read codec set to PCMU:0
  11830. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  11831. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:4767 sofia/default/48798517722@46.19.210.14 Set 2833 dtmf send payload to 101 recv payload to 101
  11832. 2021-09-14 09:06:49.986755 [DEBUG] sofia.c:7507 (sofia/default/48798517722@46.19.210.14) State Change CS_NEW -> CS_INIT
  11833. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:603 (sofia/default/48798517722@46.19.210.14) State NEW
  11834. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_INIT (Cur 7 Tot 248048)
  11835. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT
  11836. 2021-09-14 09:06:49.986755 [DEBUG] mod_sofia.c:90 sofia/default/48798517722@46.19.210.14 SOFIA INIT
  11837. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:40 sofia/default/48798517722@46.19.210.14 Standard INIT
  11838. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48798517722@46.19.210.14) State Change CS_INIT -> CS_ROUTING
  11839. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT going to sleep
  11840. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_ROUTING (Cur 7 Tot 248048)
  11841. 2021-09-14 09:06:49.986755 [DEBUG] switch_channel.c:2249 (sofia/default/48798517722@46.19.210.14) Callstate Change DOWN -> RINGING
  11842. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING
  11843. 2021-09-14 09:06:49.986755 [DEBUG] mod_sofia.c:143 sofia/default/48798517722@46.19.210.14 SOFIA ROUTING
  11844. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:236 sofia/default/48798517722@46.19.210.14 Standard ROUTING
  11845. 2021-09-14 09:06:49.986755 [INFO] mod_dialplan_xml.c:637 Processing 48798517722 <48798517722>->48732081792 in context default
  11846. 2021-09-14 09:06:49.986755 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected.
  11847. 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  11848. 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  11849. 2021-09-14 09:06:49.986755 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params:
  11850. 'Event-Name: REQUEST_PARAMS
  11851. Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0
  11852. FreeSWITCH-Hostname: astpp1.local
  11853. FreeSWITCH-Switchname: astpp1.local
  11854. FreeSWITCH-IPv4: 89.46.223.193
  11855. FreeSWITCH-IPv6: %3A%3A1
  11856. Event-Date-Local: 2021-09-14%2009%3A06%3A49
  11857. Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A06%3A49%20GMT
  11858. Event-Date-Timestamp: 1631624809986755
  11859. Event-Calling-File: mod_dialplan_xml.c
  11860. Event-Calling-Function: dialplan_xml_locate
  11861. Event-Calling-Line-Number: 608
  11862. Event-Sequence: 7529384
  11863. Channel-State: CS_ROUTING
  11864. Channel-Call-State: RINGING
  11865. Channel-State-Number: 2
  11866. Channel-Name: sofia/default/48798517722%4046.19.210.14
  11867. Unique-ID: 9f90ab92-155c-11ec-a073-7dfb9f6e00f0
  11868. Call-Direction: inbound
  11869. Presence-Call-Direction: inbound
  11870. Channel-HIT-Dialplan: true
  11871. Channel-Presence-ID: 48798517722%4046.19.210.14
  11872. Channel-Call-UUID: 9f90ab92-155c-11ec-a073-7dfb9f6e00f0
  11873. Answer-State: ringing
  11874. Channel-Read-Codec-Name: PCMU
  11875. Channel-Read-Codec-Rate: 8000
  11876. Channel-Read-Codec-Bit-Rate: 64000
  11877. Channel-Write-Codec-Name: PCMU
  11878. Channel-Write-Codec-Rate: 8000
  11879. Channel-Write-Codec-Bit-Rate: 64000
  11880. Caller-Direction: inbound
  11881. Caller-Logical-Direction: inbound
  11882. Caller-Username: 48798517722
  11883. Caller-Dialplan: XML
  11884. Caller-Caller-ID-Name: 48798517722
  11885. Caller-Caller-ID-Number: 48798517722
  11886. Caller-Orig-Caller-ID-Name: 48798517722
  11887. Caller-Orig-Caller-ID-Number: 48798517722
  11888. Caller-Network-Addr: 136.243.196.198
  11889. Caller-ANI: 48798517722
  11890. Caller-Destination-Number: 48732081792
  11891. Caller-Unique-ID: 9f90ab92-155c-11ec-a073-7dfb9f6e00f0
  11892. Caller-Source: mod_sofia
  11893. Caller-Context: default
  11894. Caller-Channel-Name: sofia/default/48798517722%4046.19.210.14
  11895. Caller-Profile-Index: 1
  11896. Caller-Profile-Created-Time: 1631624809986755
  11897. Caller-Channel-Created-Time: 1631624809986755
  11898. Caller-Channel-Answered-Time: 0
  11899. Caller-Channel-Progress-Time: 0
  11900. Caller-Channel-Progress-Media-Time: 0
  11901. Caller-Channel-Hangup-Time: 0
  11902. Caller-Channel-Transfer-Time: 0
  11903. Caller-Channel-Resurrect-Time: 0
  11904. Caller-Channel-Bridged-Time: 0
  11905. Caller-Channel-Last-Hold: 0
  11906. Caller-Channel-Hold-Accum: 0
  11907. Caller-Screen-Bit: true
  11908. Caller-Privacy-Hide-Name: false
  11909. Caller-Privacy-Hide-Number: false
  11910. variable_direction: inbound
  11911. variable_uuid: 9f90ab92-155c-11ec-a073-7dfb9f6e00f0
  11912. variable_session_id: 248048
  11913. variable_sip_from_user: 48798517722
  11914. variable_sip_from_uri: 48798517722%4046.19.210.14
  11915. variable_sip_from_host: 46.19.210.14
  11916. variable_video_media_flow: sendrecv
  11917. variable_channel_name: sofia/default/48798517722%4046.19.210.14
  11918. variable_sip_call_id: 13-13-5C9E7F30-61409E69000E84E0-B76B5700
  11919. variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b
  11920. variable_sip_local_network_addr: 89.46.223.193
  11921. variable_sip_network_ip: 136.243.196.198
  11922. variable_sip_network_port: 5060
  11923. variable_sip_invite_stamp: 1631624809986755
  11924. variable_sip_received_ip: 136.243.196.198
  11925. variable_sip_received_port: 5060
  11926. variable_sip_via_protocol: udp
  11927. variable_sip_authorized: true
  11928. variable_sip_acl_authed_by: default
  11929. variable_sip_from_user_stripped: 48798517722
  11930. variable_sip_from_tag: 13-390873FF-61409E69000E83D9-B76B5700
  11931. variable_sofia_profile_name: default
  11932. variable_recovery_profile_name: default
  11933. variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D23e.387c8fe7%3E
  11934. variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D23e.387c8fe7%3E
  11935. variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bK155e.cbe3c5b2.0,SIP/2.0/UDP%2046.19.210.14%3Breceived%3D46.19.210.14%3Bbranch%3Dz9hG4bKXi6CNaZ5%3Brport%3D5060
  11936. variable_sip_from_display: 48798517722
  11937. variable_sip_full_from: %2248798517722%22%20%3Csip%3A48798517722%4046.19.210.14%3E%3Btag%3D13-390873FF-61409E69000E83D9-B76B5700
  11938. variable_sip_full_to: %3Csip%3A48732081792%40newsip.israelnumber.com%3A5060%3E
  11939. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20UPDATE
  11940. variable_sip_req_user: 48732081792
  11941. variable_sip_req_port: 5060
  11942. variable_sip_req_uri: 48732081792%40newsip.israelnumber.com%3A5060
  11943. variable_sip_req_host: newsip.israelnumber.com
  11944. variable_sip_to_user: 48732081792
  11945. variable_sip_to_port: 5060
  11946. variable_sip_to_uri: 48732081792%40newsip.israelnumber.com%3A5060
  11947. variable_sip_to_host: newsip.israelnumber.com
  11948. variable_sip_contact_params: transport%3Dudp
  11949. variable_sip_contact_user: nobody
  11950. variable_sip_contact_port: 5060
  11951. variable_sip_contact_uri: nobody%4046.19.210.14%3A5060
  11952. variable_sip_contact_host: 46.19.210.14
  11953. variable_sip_user_agent: DIDWW%20SBC%20node
  11954. variable_sip_via_host: 136.243.196.198
  11955. variable_sip_via_port: 5060
  11956. variable_max_forwards: 30
  11957. variable_presence_id: 48798517722%4046.19.210.14
  11958. variable_sip_h_X-AUTH-IP: 46.19.210.14
  11959. variable_sip_h_P-Accountcode: 714761424818
  11960. variable_sip_h_P-effective_caller_id_name: 48798517722
  11961. variable_sip_h_P-effective_caller_id_number: 48798517722
  11962. variable_switch_r_sdp: v%3D0%0D%0Ao%3Ddidww-sbc%203077209056%2032538%20IN%20IP4%2046.19.210.22%0D%0As%3Ddidww-sbc%0D%0At%3D0%200%0D%0Am%3Daudio%2050880%20RTP/AVP%200%208%2018%204%20101%0D%0Ac%3DIN%20IP4%2046.19.210.22%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A4%20G723/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dptime%3A20%0D%0A
  11963. variable_rtp_use_codec_string: PCMA,PCMU,G729
  11964. variable_audio_media_flow: sendrecv
  11965. variable_remote_media_ip: 46.19.210.22
  11966. variable_remote_media_port: 50880
  11967. variable_rtp_audio_recv_pt: 0
  11968. variable_rtp_use_codec_name: PCMU
  11969. variable_rtp_use_codec_rate: 8000
  11970. variable_rtp_use_codec_ptime: 20
  11971. variable_rtp_use_codec_channels: 1
  11972. variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c
  11973. variable_read_codec: PCMU
  11974. variable_original_read_codec: PCMU
  11975. variable_read_rate: 8000
  11976. variable_original_read_rate: 8000
  11977. variable_write_codec: PCMU
  11978. variable_write_rate: 8000
  11979. variable_dtmf_type: rfc2833
  11980. variable_endpoint_disposition: RECEIVED
  11981. variable_call_uuid: 9f90ab92-155c-11ec-a073-7dfb9f6e00f0
  11982. Hunt-Direction: inbound
  11983. Hunt-Logical-Direction: inbound
  11984. Hunt-Username: 48798517722
  11985. Hunt-Dialplan: XML
  11986. Hunt-Caller-ID-Name: 48798517722
  11987. Hunt-Caller-ID-Number: 48798517722
  11988. Hunt-Orig-Caller-ID-Name: 48798517722
  11989. Hunt-Orig-Caller-ID-Number: 48798517722
  11990. Hunt-Network-Addr: 136.243.196.198
  11991. Hunt-ANI: 48798517722
  11992. Hunt-Destination-Number: 48732081792
  11993. Hunt-Unique-ID: 9f90ab92-155c-11ec-a073-7dfb9f6e00f0
  11994. Hunt-Source: mod_sofia
  11995. Hunt-Context: default
  11996. Hunt-Channel-Name: sofia/default/48798517722%4046.19.210.14
  11997. Hunt-Profile-Index: 1
  11998. Hunt-Profile-Created-Time: 1631624809986755
  11999. Hunt-Channel-Created-Time: 1631624809986755
  12000. Hunt-Channel-Answered-Time: 0
  12001. Hunt-Channel-Progress-Time: 0
  12002. Hunt-Channel-Progress-Media-Time: 0
  12003. Hunt-Channel-Hangup-Time: 0
  12004. Hunt-Channel-Transfer-Time: 0
  12005. Hunt-Channel-Resurrect-Time: 0
  12006. Hunt-Channel-Bridged-Time: 0
  12007. Hunt-Channel-Last-Hold: 0
  12008. Hunt-Channel-Hold-Accum: 0
  12009. Hunt-Screen-Bit: true
  12010. Hunt-Privacy-Hide-Name: false
  12011. Hunt-Privacy-Hide-Number: false
  12012.  
  12013. '
  12014. 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name:
  12015. 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value:
  12016. 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name:
  12017. 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan
  12018. 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  12019. 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 48732081792
  12020. 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '48732081792' limit 1
  12021. 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '48732081792' AND status=0 limit 1
  12022. 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '46.19.210.14' limit 1
  12023. 2021-09-14 09:06:49.986755 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  12024. 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 48798517722 / 48798517722
  12025. 2021-09-14 09:06:49.986755 [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 ="48732081792" LIMIT 1
  12026. 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
  12027. 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 714761424818]
  12028. 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "714761424818" OR number = "714761424818" AND deleted = 0 limit 1
  12029. 2021-09-14 09:06:49.986755 [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 ="48732081792" AND A.accountid = '863' limit 1
  12030. 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 48732081792
  12031. 2021-09-14 09:06:49.986755 [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 ="48732081792" LIMIT 1
  12032. 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound
  12033. 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="48732081792" AND (accountid = 0 OR status = 1) LIMIT 1
  12034. 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  12035. 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851
  12036. 2021-09-14 09:06:49.986755 [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 = '^48732081792.*' OR patterns = '^4873208179.*' OR patterns = '^487320817.*' OR patterns = '^48732081.*' OR patterns = '^4873208.*' OR patterns = '^487320.*' OR patterns = '^48732.*' OR patterns = '^4873.*' OR patterns = '^487.*' OR patterns = '^48.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC
  12037. 2021-09-14 09:06:49.986755 [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 = '48732081792' OR number = '4873208179' OR number = '487320817' OR number = '48732081' OR number = '4873208' OR number = '487320' OR number = '48732' OR number = '4873' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48732081792*' OR number = '4873208179*' OR number = '487320817*' OR number = '48732081*' OR number = '4873208*' OR number = '487320*' OR number = '48732*' OR number = '4873*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--') OR (number = '48798517722' OR number = '4879851772' OR number = '487985177' OR number = '48798517' OR number = '4879851' OR number = '487985' OR number = '48798' OR number = '4879' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48798517722*' OR number = '4879851772*' OR number = '487985177*' OR number = '48798517*' OR number = '4879851*' OR number = '487985*' OR number = '48798*' OR number = '4879*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  12038. 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  12039. 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '48732081792' OR routing_prefix = '4873208179' OR routing_prefix = '487320817' OR routing_prefix = '48732081' OR routing_prefix = '4873208' OR routing_prefix = '487320' OR routing_prefix = '48732' OR routing_prefix = '4873' OR routing_prefix = '487' OR routing_prefix = '48' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  12040. 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  12041. 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 863
  12042. 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 714761424818
  12043. 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000
  12044. 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  12045. 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1
  12046. 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  12047. 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  12048. 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  12049. 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  12050. 2021-09-14 09:06:49.986755 [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 ="48732081792" LIMIT 1
  12051. 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound
  12052. 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  12053. 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 8057
  12054. 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  12055. 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  12056. 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  12057. 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Mobile Voice
  12058. 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 153
  12059. 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 863
  12060. 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  12061. 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 863 !!!
  12062. 2021-09-14 09:06:49.986755 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180
  12063. 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
  12064. 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  12065. 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  12066. 2021-09-14 09:06:49.986755 [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 = 863 AND status=0 LIMIT 1
  12067. 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" OR number = "851" AND deleted = 0 limit 1
  12068. 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:863
  12069. 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:863
  12070. 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 863
  12071. 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  12072. 2021-09-14 09:06:49.986755 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  12073. 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
  12074. 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  12075. 2021-09-14 09:06:49.986755 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  12076. 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2
  12077. 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  12078. <document type="freeswitch/xml">
  12079. <section name="dialplan" description="ASTPP Dialplan">
  12080. <context name="default">
  12081. <extension name="48732081792">
  12082. <condition field="destination_number" expression="48732081792">
  12083. <action application="set" data="effective_destination_number=48732081792"/>
  12084. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  12085. <action application="set" data="bridge_pre_execute_bleg_data=+10800 normal_clearing"/>
  12086. <action application="set" data="callstart=2021-09-14 13:06:50"/>
  12087. <action application="set" data="hangup_after_bridge=true"/>
  12088. <action application="set" data="continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602"/>
  12089. <action application="set" data="account_id=863"/>
  12090. <action application="set" data="parent_id=0"/>
  12091. <action application="set" data="entity_id=3"/>
  12092. <action application="set" data="call_processed=internal"/>
  12093. <action application="set" data="call_direction=inbound"/>
  12094. <action application="set" data="accountname=default"/>
  12095. <action application="set" data="filename1=astpp.pbx.lua"/>
  12096. <action application="set" data="origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851"/>
  12097. <action application="set" data="origination_rates=0"/>
  12098. <action application="set" data="original_caller_id_name=48798517722"/>
  12099. <action application="set" data="original_caller_id_number=48798517722"/>
  12100. <action application="set" data="effective_caller_id_name=48798517722"/>
  12101. <action application="set" data="effective_caller_id_number=48798517722"/>
  12102. <action application="set" data="receiver_accid=851"/>
  12103. <action application="export" data="domain_name=Voicespin802.newsip.israelnumber.com"/>
  12104. <action application="export" data="sip_to_host=Voicespin802.newsip.israelnumber.com"/>
  12105. <action application="limit" data="db 48732081792 did_48732081792 2 !SWITCH_CONGESTION"/>
  12106. <action application="export" data="presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14"/>
  12107. <action application="export" data="call_type=2"/>
  12108. <action application="set" data="calltype=DIRECT-IP"/>
  12109. <action application="bridge" data="[leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118"/>
  12110. </condition>
  12111. </extension>
  12112. </context>
  12113. </section>
  12114. </document>
  12115. 2021-09-14 09:06:49.986755 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released.
  12116. Dialplan: sofia/default/48798517722@46.19.210.14 parsing [default->48732081792] continue=false
  12117. Dialplan: sofia/default/48798517722@46.19.210.14 Regex (PASS) [48732081792] destination_number(48732081792) =~ /48732081792/ break=on-false
  12118. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_destination_number=48732081792)
  12119. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  12120. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  12121. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(callstart=2021-09-14 13:06:50)
  12122. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(hangup_after_bridge=true)
  12123. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  12124. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(account_id=863)
  12125. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(parent_id=0)
  12126. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(entity_id=3)
  12127. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_processed=internal)
  12128. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_direction=inbound)
  12129. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(accountname=default)
  12130. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(filename1=astpp.pbx.lua)
  12131. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851)
  12132. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates=0)
  12133. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_name=48798517722)
  12134. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_number=48798517722)
  12135. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_name=48798517722)
  12136. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_number=48798517722)
  12137. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(receiver_accid=851)
  12138. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(domain_name=Voicespin802.newsip.israelnumber.com)
  12139. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  12140. Dialplan: sofia/default/48798517722@46.19.210.14 Action limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION)
  12141. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14)
  12142. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(call_type=2)
  12143. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(calltype=DIRECT-IP)
  12144. Dialplan: sofia/default/48798517722@46.19.210.14 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118)
  12145. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:286 (sofia/default/48798517722@46.19.210.14) State Change CS_ROUTING -> CS_EXECUTE
  12146. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING going to sleep
  12147. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_EXECUTE (Cur 7 Tot 248048)
  12148. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE
  12149. 2021-09-14 09:06:49.986755 [DEBUG] mod_sofia.c:198 sofia/default/48798517722@46.19.210.14 SOFIA EXECUTE
  12150. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:328 sofia/default/48798517722@46.19.210.14 Standard EXECUTE
  12151. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_destination_number=48732081792)
  12152. 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_destination_number]=[48732081792]
  12153. EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_app=sched_hangup)
  12154. 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_app]=[sched_hangup]
  12155. EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  12156. 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing]
  12157. EXECUTE sofia/default/48798517722@46.19.210.14 set(callstart=2021-09-14 13:06:50)
  12158. 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [callstart]=[2021-09-14 13:06:50]
  12159. EXECUTE sofia/default/48798517722@46.19.210.14 set(hangup_after_bridge=true)
  12160. 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [hangup_after_bridge]=[true]
  12161. EXECUTE sofia/default/48798517722@46.19.210.14 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  12162. 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]
  12163. EXECUTE sofia/default/48798517722@46.19.210.14 set(account_id=863)
  12164. 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [account_id]=[863]
  12165. EXECUTE sofia/default/48798517722@46.19.210.14 set(parent_id=0)
  12166. 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [parent_id]=[0]
  12167. EXECUTE sofia/default/48798517722@46.19.210.14 set(entity_id=3)
  12168. 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [entity_id]=[3]
  12169. EXECUTE sofia/default/48798517722@46.19.210.14 set(call_processed=internal)
  12170. 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_processed]=[internal]
  12171. EXECUTE sofia/default/48798517722@46.19.210.14 set(call_direction=inbound)
  12172. 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_direction]=[inbound]
  12173. EXECUTE sofia/default/48798517722@46.19.210.14 set(accountname=default)
  12174. 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [accountname]=[default]
  12175. EXECUTE sofia/default/48798517722@46.19.210.14 set(filename1=astpp.pbx.lua)
  12176. 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [filename1]=[astpp.pbx.lua]
  12177. EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851)
  12178. 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates_did]=[ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851]
  12179. EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates=0)
  12180. 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates]=[0]
  12181. EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_name=48798517722)
  12182. 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_name]=[48798517722]
  12183. EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_number=48798517722)
  12184. 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_number]=[48798517722]
  12185. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_name=48798517722)
  12186. 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_name]=[48798517722]
  12187. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_number=48798517722)
  12188. 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_number]=[48798517722]
  12189. EXECUTE sofia/default/48798517722@46.19.210.14 set(receiver_accid=851)
  12190. 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [receiver_accid]=[851]
  12191. EXECUTE sofia/default/48798517722@46.19.210.14 export(domain_name=Voicespin802.newsip.israelnumber.com)
  12192. 2021-09-14 09:06:49.986755 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com]
  12193. EXECUTE sofia/default/48798517722@46.19.210.14 export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  12194. 2021-09-14 09:06:49.986755 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com]
  12195. EXECUTE sofia/default/48798517722@46.19.210.14 limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION)
  12196. 2021-09-14 09:06:49.986755 [DEBUG] switch_limit.c:126 incr called: 48732081792_did_48732081792 max:2, interval:0
  12197. 2021-09-14 09:06:49.986755 [DEBUG] mod_db.c:194 Usage for 48732081792_did_48732081792 is now 1/2
  12198. EXECUTE sofia/default/48798517722@46.19.210.14 export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14)
  12199. 2021-09-14 09:06:49.986755 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14]
  12200. EXECUTE sofia/default/48798517722@46.19.210.14 export(call_type=2)
  12201. 2021-09-14 09:06:49.986755 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2]
  12202. EXECUTE sofia/default/48798517722@46.19.210.14 set(calltype=DIRECT-IP)
  12203. 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [calltype]=[DIRECT-IP]
  12204. EXECUTE sofia/default/48798517722@46.19.210.14 bridge([leg_timeout=30]sofia/default/48732081792@35.205.116.118)
  12205. 2021-09-14 09:06:49.986755 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event
  12206. 2021-09-14 09:06:49.986755 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event
  12207. 2021-09-14 09:06:49.986755 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] to event
  12208. 2021-09-14 09:06:49.986755 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [call_type]=[2] to event
  12209. 2021-09-14 09:06:49.986755 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  12210. 2021-09-14 09:06:49.986755 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  12211. 2021-09-14 09:06:49.986755 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48732081792@35.205.116.118 [9f95fb60-155c-11ec-a093-7dfb9f6e00f0]
  12212. 2021-09-14 09:06:49.986755 [DEBUG] mod_sofia.c:4819 (sofia/default/48732081792@35.205.116.118) State Change CS_NEW -> CS_INIT
  12213. 2021-09-14 09:06:49.986755 [DEBUG] switch_ivr_originate.c:2963 sofia/default/48732081792@35.205.116.118 Setting leg timeout to 30
  12214. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_INIT (Cur 8 Tot 248049)
  12215. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT
  12216. 2021-09-14 09:06:49.986755 [DEBUG] mod_sofia.c:90 sofia/default/48732081792@35.205.116.118 SOFIA INIT
  12217. 2021-09-14 09:06:49.986755 [DEBUG] sofia_glue.c:1295 sofia/default/48732081792@35.205.116.118 sending invite version: 1.6.20  64bit
  12218. Local SDP:
  12219. v=0
  12220. o=FreeSWITCH 1631599047 1631599048 IN IP4 89.46.223.193
  12221. s=FreeSWITCH
  12222. c=IN IP4 89.46.223.193
  12223. t=0 0
  12224. m=audio 25762 RTP/AVP 0 101
  12225. a=rtpmap:0 PCMU/8000
  12226. a=rtpmap:101 telephone-event/8000
  12227. a=fmtp:101 0-16
  12228. a=ptime:20
  12229. a=sendrecv
  12230.  
  12231. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:40 sofia/default/48732081792@35.205.116.118 Standard INIT
  12232. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48732081792@35.205.116.118) State Change CS_INIT -> CS_ROUTING
  12233. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT going to sleep
  12234. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_ROUTING (Cur 8 Tot 248049)
  12235. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING
  12236. 2021-09-14 09:06:49.986755 [DEBUG] mod_sofia.c:143 sofia/default/48732081792@35.205.116.118 SOFIA ROUTING
  12237. 2021-09-14 09:06:49.986755 [DEBUG] switch_ivr_originate.c:67 (sofia/default/48732081792@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  12238. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING going to sleep
  12239. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 248049)
  12240. 2021-09-14 09:06:49.986755 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [calling][0]
  12241. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA
  12242. 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA going to sleep
  12243. 2021-09-14 09:06:50.286717 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [terminated][500]
  12244. 2021-09-14 09:06:50.286717 [NOTICE] sofia.c:8273 Hangup sofia/default/48732081792@35.205.116.118 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
  12245. 2021-09-14 09:06:50.286717 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_HANGUP (Cur 8 Tot 248049)
  12246. 2021-09-14 09:06:50.286717 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48732081792@35.205.116.118) Callstate Change DOWN -> HANGUP
  12247. 2021-09-14 09:06:50.286717 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP
  12248. 2021-09-14 09:06:50.286717 [DEBUG] mod_sofia.c:438 Channel sofia/default/48732081792@35.205.116.118 hanging up, cause: NORMAL_TEMPORARY_FAILURE
  12249. 2021-09-14 09:06:50.286717 [DEBUG] switch_core_state_machine.c:60 sofia/default/48732081792@35.205.116.118 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
  12250. 2021-09-14 09:06:50.286717 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP going to sleep
  12251. 2021-09-14 09:06:50.286717 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48732081792@35.205.116.118) State Change CS_HANGUP -> CS_REPORTING
  12252. 2021-09-14 09:06:50.286717 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_REPORTING (Cur 8 Tot 248049)
  12253. 2021-09-14 09:06:50.286717 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING
  12254. 2021-09-14 09:06:50.286717 [INFO] mod_json_cdr.c:271 Process [9f95fb60-155c-11ec-a093-7dfb9f6e00f0.cdr.json]
  12255. 2021-09-14 09:06:50.286717 [DEBUG] switch_core_state_machine.c:174 sofia/default/48732081792@35.205.116.118 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
  12256. 2021-09-14 09:06:50.286717 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING going to sleep
  12257. 2021-09-14 09:06:50.286717 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48732081792@35.205.116.118) State Change CS_REPORTING -> CS_DESTROY
  12258. 2021-09-14 09:06:50.286717 [DEBUG] switch_core_session.c:1665 Session 248049 (sofia/default/48732081792@35.205.116.118) Locked, Waiting on external entities
  12259. 2021-09-14 09:06:50.286717 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
  12260. 2021-09-14 09:06:50.286717 [NOTICE] switch_core_session.c:1683 Session 248049 (sofia/default/48732081792@35.205.116.118) Ended
  12261. 2021-09-14 09:06:50.286717 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48732081792@35.205.116.118 [CS_DESTROY]
  12262. 2021-09-14 09:06:50.286717 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48732081792@35.205.116.118) Running State Change CS_DESTROY (Cur 7 Tot 248049)
  12263. 2021-09-14 09:06:50.286717 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY
  12264. 2021-09-14 09:06:50.286717 [DEBUG] mod_sofia.c:343 sofia/default/48732081792@35.205.116.118 SOFIA DESTROY
  12265. 2021-09-14 09:06:50.286717 [DEBUG] switch_core_state_machine.c:181 sofia/default/48732081792@35.205.116.118 Standard DESTROY
  12266. 2021-09-14 09:06:50.286717 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY going to sleep
  12267. 2021-09-14 09:06:50.286717 [INFO] mod_dptools.c:3436 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
  12268. 2021-09-14 09:06:50.286717 [DEBUG] switch_channel.c:4775 Continue on fail [1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]:  Cause: NORMAL_TEMPORARY_FAILURE
  12269. 2021-09-14 09:06:50.286717 [NOTICE] switch_core_state_machine.c:385 sofia/default/48798517722@46.19.210.14 has executed the last dialplan instruction, hanging up.
  12270. 2021-09-14 09:06:50.286717 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/48798517722@46.19.210.14 [CS_EXECUTE] [NORMAL_CLEARING]
  12271. 2021-09-14 09:06:50.306670 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE going to sleep
  12272. 2021-09-14 09:06:50.306670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_HANGUP (Cur 7 Tot 248049)
  12273. 2021-09-14 09:06:50.306670 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48798517722@46.19.210.14) Callstate Change RINGING -> HANGUP
  12274. 2021-09-14 09:06:50.306670 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP
  12275. 2021-09-14 09:06:50.306670 [DEBUG] mod_sofia.c:432 sofia/default/48798517722@46.19.210.14 Overriding SIP cause 480 with 500 from the other leg
  12276. 2021-09-14 09:06:50.306670 [DEBUG] mod_sofia.c:438 Channel sofia/default/48798517722@46.19.210.14 hanging up, cause: NORMAL_CLEARING
  12277. 2021-09-14 09:06:50.306670 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 500
  12278. 2021-09-14 09:06:50.306670 [DEBUG] switch_core_state_machine.c:60 sofia/default/48798517722@46.19.210.14 Standard HANGUP, cause: NORMAL_CLEARING
  12279. 2021-09-14 09:06:50.306670 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP going to sleep
  12280. 2021-09-14 09:06:50.306670 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48798517722@46.19.210.14) State Change CS_HANGUP -> CS_REPORTING
  12281. 2021-09-14 09:06:50.306670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_REPORTING (Cur 7 Tot 248049)
  12282. 2021-09-14 09:06:50.306670 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING
  12283. 2021-09-14 09:06:50.306670 [INFO] mod_json_cdr.c:271 Process [9f90ab92-155c-11ec-a073-7dfb9f6e00f0.cdr.json]
  12284. 2021-09-14 09:06:50.306670 [DEBUG] switch_core_state_machine.c:174 sofia/default/48798517722@46.19.210.14 Standard REPORTING, cause: NORMAL_CLEARING
  12285. 2021-09-14 09:06:50.306670 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING going to sleep
  12286. 2021-09-14 09:06:50.306670 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48798517722@46.19.210.14) State Change CS_REPORTING -> CS_DESTROY
  12287. 2021-09-14 09:06:50.306670 [DEBUG] switch_core_session.c:1665 Session 248048 (sofia/default/48798517722@46.19.210.14) Locked, Waiting on external entities
  12288. 2021-09-14 09:06:50.306670 [NOTICE] switch_core_session.c:1683 Session 248048 (sofia/default/48798517722@46.19.210.14) Ended
  12289. 2021-09-14 09:06:50.306670 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48798517722@46.19.210.14 [CS_DESTROY]
  12290. 2021-09-14 09:06:50.306670 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48798517722@46.19.210.14) Running State Change CS_DESTROY (Cur 6 Tot 248049)
  12291. 2021-09-14 09:06:50.306670 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY
  12292. 2021-09-14 09:06:50.306670 [DEBUG] mod_sofia.c:343 sofia/default/48798517722@46.19.210.14 SOFIA DESTROY
  12293. 2021-09-14 09:06:50.306670 [DEBUG] switch_core_state_machine.c:181 sofia/default/48798517722@46.19.210.14 Standard DESTROY
  12294. 2021-09-14 09:06:50.306670 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY going to sleep
  12295. 2021-09-14 09:06:51.766661 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48798517722@46.19.210.14 [a0a1721e-155c-11ec-a097-7dfb9f6e00f0]
  12296. 2021-09-14 09:06:51.766661 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_NEW (Cur 7 Tot 248050)
  12297. 2021-09-14 09:06:51.766661 [DEBUG] sofia.c:9873 sofia/default/48798517722@46.19.210.14 receiving invite from 136.243.196.198:5060 version: 1.6.20  64bit
  12298. 2021-09-14 09:06:51.766661 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
  12299. 2021-09-14 09:06:51.766661 [DEBUG] sofia.c:7084 Channel sofia/default/48798517722@46.19.210.14 entering state [received][100]
  12300. 2021-09-14 09:06:51.766661 [DEBUG] sofia.c:7094 Remote SDP:
  12301. v=0
  12302. o=didww-sbc 3070893024 32538 IN IP4 46.19.210.22
  12303. s=didww-sbc
  12304. t=0 0
  12305. m=audio 51392 RTP/AVP 0 8 18 4 101
  12306. c=IN IP4 46.19.210.22
  12307. a=rtpmap:0 PCMU/8000
  12308. a=rtpmap:8 PCMA/8000
  12309. a=rtpmap:18 G729/8000
  12310. a=fmtp:18 annexb=no
  12311. a=rtpmap:4 G723/8000
  12312. a=rtpmap:101 telephone-event/8000
  12313. a=ptime:20
  12314.  
  12315. 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  12316. 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  12317. 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  12318. 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  12319. 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  12320. 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  12321. 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  12322. 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  12323. 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  12324. 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  12325. 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  12326. 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  12327. 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1]
  12328. 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1]
  12329. 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:20:8000:1]
  12330. 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  12331. 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/48798517722@46.19.210.14 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  12332. 2021-09-14 09:06:51.766661 [DEBUG] switch_core_codec.c:111 sofia/default/48798517722@46.19.210.14 Original read codec set to PCMU:0
  12333. 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  12334. 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:4767 sofia/default/48798517722@46.19.210.14 Set 2833 dtmf send payload to 101 recv payload to 101
  12335. 2021-09-14 09:06:51.766661 [DEBUG] sofia.c:7507 (sofia/default/48798517722@46.19.210.14) State Change CS_NEW -> CS_INIT
  12336. 2021-09-14 09:06:51.766661 [DEBUG] switch_core_state_machine.c:603 (sofia/default/48798517722@46.19.210.14) State NEW
  12337. 2021-09-14 09:06:51.766661 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_INIT (Cur 7 Tot 248050)
  12338. 2021-09-14 09:06:51.766661 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT
  12339. 2021-09-14 09:06:51.766661 [DEBUG] mod_sofia.c:90 sofia/default/48798517722@46.19.210.14 SOFIA INIT
  12340. 2021-09-14 09:06:51.766661 [DEBUG] switch_core_state_machine.c:40 sofia/default/48798517722@46.19.210.14 Standard INIT
  12341. 2021-09-14 09:06:51.766661 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48798517722@46.19.210.14) State Change CS_INIT -> CS_ROUTING
  12342. 2021-09-14 09:06:51.766661 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT going to sleep
  12343. 2021-09-14 09:06:51.766661 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_ROUTING (Cur 7 Tot 248050)
  12344. 2021-09-14 09:06:51.766661 [DEBUG] switch_channel.c:2249 (sofia/default/48798517722@46.19.210.14) Callstate Change DOWN -> RINGING
  12345. 2021-09-14 09:06:51.766661 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING
  12346. 2021-09-14 09:06:51.766661 [DEBUG] mod_sofia.c:143 sofia/default/48798517722@46.19.210.14 SOFIA ROUTING
  12347. 2021-09-14 09:06:51.766661 [DEBUG] switch_core_state_machine.c:236 sofia/default/48798517722@46.19.210.14 Standard ROUTING
  12348. 2021-09-14 09:06:51.766661 [INFO] mod_dialplan_xml.c:637 Processing 48798517722 <48798517722>->48732081792 in context default
  12349. 2021-09-14 09:06:51.766661 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected.
  12350. 2021-09-14 09:06:51.766661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  12351. 2021-09-14 09:06:51.766661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  12352. 2021-09-14 09:06:51.766661 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params:
  12353. 'Event-Name: REQUEST_PARAMS
  12354. Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0
  12355. FreeSWITCH-Hostname: astpp1.local
  12356. FreeSWITCH-Switchname: astpp1.local
  12357. FreeSWITCH-IPv4: 89.46.223.193
  12358. FreeSWITCH-IPv6: %3A%3A1
  12359. Event-Date-Local: 2021-09-14%2009%3A06%3A51
  12360. Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A06%3A51%20GMT
  12361. Event-Date-Timestamp: 1631624811766661
  12362. Event-Calling-File: mod_dialplan_xml.c
  12363. Event-Calling-Function: dialplan_xml_locate
  12364. Event-Calling-Line-Number: 608
  12365. Event-Sequence: 7529470
  12366. Channel-State: CS_ROUTING
  12367. Channel-Call-State: RINGING
  12368. Channel-State-Number: 2
  12369. Channel-Name: sofia/default/48798517722%4046.19.210.14
  12370. Unique-ID: a0a1721e-155c-11ec-a097-7dfb9f6e00f0
  12371. Call-Direction: inbound
  12372. Presence-Call-Direction: inbound
  12373. Channel-HIT-Dialplan: true
  12374. Channel-Presence-ID: 48798517722%4046.19.210.14
  12375. Channel-Call-UUID: a0a1721e-155c-11ec-a097-7dfb9f6e00f0
  12376. Answer-State: ringing
  12377. Channel-Read-Codec-Name: PCMU
  12378. Channel-Read-Codec-Rate: 8000
  12379. Channel-Read-Codec-Bit-Rate: 64000
  12380. Channel-Write-Codec-Name: PCMU
  12381. Channel-Write-Codec-Rate: 8000
  12382. Channel-Write-Codec-Bit-Rate: 64000
  12383. Caller-Direction: inbound
  12384. Caller-Logical-Direction: inbound
  12385. Caller-Username: 48798517722
  12386. Caller-Dialplan: XML
  12387. Caller-Caller-ID-Name: 48798517722
  12388. Caller-Caller-ID-Number: 48798517722
  12389. Caller-Orig-Caller-ID-Name: 48798517722
  12390. Caller-Orig-Caller-ID-Number: 48798517722
  12391. Caller-Network-Addr: 136.243.196.198
  12392. Caller-ANI: 48798517722
  12393. Caller-Destination-Number: 48732081792
  12394. Caller-Unique-ID: a0a1721e-155c-11ec-a097-7dfb9f6e00f0
  12395. Caller-Source: mod_sofia
  12396. Caller-Context: default
  12397. Caller-Channel-Name: sofia/default/48798517722%4046.19.210.14
  12398. Caller-Profile-Index: 1
  12399. Caller-Profile-Created-Time: 1631624811766661
  12400. Caller-Channel-Created-Time: 1631624811766661
  12401. Caller-Channel-Answered-Time: 0
  12402. Caller-Channel-Progress-Time: 0
  12403. Caller-Channel-Progress-Media-Time: 0
  12404. Caller-Channel-Hangup-Time: 0
  12405. Caller-Channel-Transfer-Time: 0
  12406. Caller-Channel-Resurrect-Time: 0
  12407. Caller-Channel-Bridged-Time: 0
  12408. Caller-Channel-Last-Hold: 0
  12409. Caller-Channel-Hold-Accum: 0
  12410. Caller-Screen-Bit: true
  12411. Caller-Privacy-Hide-Name: false
  12412. Caller-Privacy-Hide-Number: false
  12413. variable_direction: inbound
  12414. variable_uuid: a0a1721e-155c-11ec-a097-7dfb9f6e00f0
  12415. variable_session_id: 248050
  12416. variable_sip_from_user: 48798517722
  12417. variable_sip_from_uri: 48798517722%4046.19.210.14
  12418. variable_sip_from_host: 46.19.210.14
  12419. variable_video_media_flow: sendrecv
  12420. variable_channel_name: sofia/default/48798517722%4046.19.210.14
  12421. variable_sip_call_id: 13-13-1B6DD025-61409E6B000B48F0-B70AF700
  12422. variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b
  12423. variable_sip_local_network_addr: 89.46.223.193
  12424. variable_sip_network_ip: 136.243.196.198
  12425. variable_sip_network_port: 5060
  12426. variable_sip_invite_stamp: 1631624811766661
  12427. variable_sip_received_ip: 136.243.196.198
  12428. variable_sip_received_port: 5060
  12429. variable_sip_via_protocol: udp
  12430. variable_sip_authorized: true
  12431. variable_sip_acl_authed_by: default
  12432. variable_sip_from_user_stripped: 48798517722
  12433. variable_sip_from_tag: 13-7CB13E2A-61409E6B000B4838-B70AF700
  12434. variable_sofia_profile_name: default
  12435. variable_recovery_profile_name: default
  12436. variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3Dc78.b1124dc4%3E
  12437. variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3Dc78.b1124dc4%3E
  12438. variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bKa9f5.7a15a7f1.0,SIP/2.0/UDP%2046.19.210.14%3Breceived%3D46.19.210.14%3Bbranch%3Dz9hG4bKfCxvca7I%3Brport%3D5060
  12439. variable_sip_from_display: 48798517722
  12440. variable_sip_full_from: %2248798517722%22%20%3Csip%3A48798517722%4046.19.210.14%3E%3Btag%3D13-7CB13E2A-61409E6B000B4838-B70AF700
  12441. variable_sip_full_to: %3Csip%3A48732081792%40newsip.israelnumber.com%3A5060%3E
  12442. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20UPDATE
  12443. variable_sip_req_user: 48732081792
  12444. variable_sip_req_port: 5060
  12445. variable_sip_req_uri: 48732081792%40newsip.israelnumber.com%3A5060
  12446. variable_sip_req_host: newsip.israelnumber.com
  12447. variable_sip_to_user: 48732081792
  12448. variable_sip_to_port: 5060
  12449. variable_sip_to_uri: 48732081792%40newsip.israelnumber.com%3A5060
  12450. variable_sip_to_host: newsip.israelnumber.com
  12451. variable_sip_contact_params: transport%3Dudp
  12452. variable_sip_contact_user: nobody
  12453. variable_sip_contact_port: 5060
  12454. variable_sip_contact_uri: nobody%4046.19.210.14%3A5060
  12455. variable_sip_contact_host: 46.19.210.14
  12456. variable_sip_user_agent: DIDWW%20SBC%20node
  12457. variable_sip_via_host: 136.243.196.198
  12458. variable_sip_via_port: 5060
  12459. variable_max_forwards: 30
  12460. variable_presence_id: 48798517722%4046.19.210.14
  12461. variable_sip_h_X-AUTH-IP: 46.19.210.14
  12462. variable_sip_h_P-Accountcode: 714761424818
  12463. variable_sip_h_P-effective_caller_id_name: 48798517722
  12464. variable_sip_h_P-effective_caller_id_number: 48798517722
  12465. variable_switch_r_sdp: v%3D0%0D%0Ao%3Ddidww-sbc%203070893024%2032538%20IN%20IP4%2046.19.210.22%0D%0As%3Ddidww-sbc%0D%0At%3D0%200%0D%0Am%3Daudio%2051392%20RTP/AVP%200%208%2018%204%20101%0D%0Ac%3DIN%20IP4%2046.19.210.22%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A4%20G723/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dptime%3A20%0D%0A
  12466. variable_rtp_use_codec_string: PCMA,PCMU,G729
  12467. variable_audio_media_flow: sendrecv
  12468. variable_remote_media_ip: 46.19.210.22
  12469. variable_remote_media_port: 51392
  12470. variable_rtp_audio_recv_pt: 0
  12471. variable_rtp_use_codec_name: PCMU
  12472. variable_rtp_use_codec_rate: 8000
  12473. variable_rtp_use_codec_ptime: 20
  12474. variable_rtp_use_codec_channels: 1
  12475. variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c
  12476. variable_read_codec: PCMU
  12477. variable_original_read_codec: PCMU
  12478. variable_read_rate: 8000
  12479. variable_original_read_rate: 8000
  12480. variable_write_codec: PCMU
  12481. variable_write_rate: 8000
  12482. variable_dtmf_type: rfc2833
  12483. variable_endpoint_disposition: RECEIVED
  12484. variable_call_uuid: a0a1721e-155c-11ec-a097-7dfb9f6e00f0
  12485. Hunt-Direction: inbound
  12486. Hunt-Logical-Direction: inbound
  12487. Hunt-Username: 48798517722
  12488. Hunt-Dialplan: XML
  12489. Hunt-Caller-ID-Name: 48798517722
  12490. Hunt-Caller-ID-Number: 48798517722
  12491. Hunt-Orig-Caller-ID-Name: 48798517722
  12492. Hunt-Orig-Caller-ID-Number: 48798517722
  12493. Hunt-Network-Addr: 136.243.196.198
  12494. Hunt-ANI: 48798517722
  12495. Hunt-Destination-Number: 48732081792
  12496. Hunt-Unique-ID: a0a1721e-155c-11ec-a097-7dfb9f6e00f0
  12497. Hunt-Source: mod_sofia
  12498. Hunt-Context: default
  12499. Hunt-Channel-Name: sofia/default/48798517722%4046.19.210.14
  12500. Hunt-Profile-Index: 1
  12501. Hunt-Profile-Created-Time: 1631624811766661
  12502. Hunt-Channel-Created-Time: 1631624811766661
  12503. Hunt-Channel-Answered-Time: 0
  12504. Hunt-Channel-Progress-Time: 0
  12505. Hunt-Channel-Progress-Media-Time: 0
  12506. Hunt-Channel-Hangup-Time: 0
  12507. Hunt-Channel-Transfer-Time: 0
  12508. Hunt-Channel-Resurrect-Time: 0
  12509. Hunt-Channel-Bridged-Time: 0
  12510. Hunt-Channel-Last-Hold: 0
  12511. Hunt-Channel-Hold-Accum: 0
  12512. Hunt-Screen-Bit: true
  12513. Hunt-Privacy-Hide-Name: false
  12514. Hunt-Privacy-Hide-Number: false
  12515.  
  12516. '
  12517. 2021-09-14 09:06:51.766661 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name:
  12518. 2021-09-14 09:06:51.766661 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value:
  12519. 2021-09-14 09:06:51.766661 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name:
  12520. 2021-09-14 09:06:51.766661 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan
  12521. 2021-09-14 09:06:51.766661 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  12522. 2021-09-14 09:06:51.766661 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 48732081792
  12523. 2021-09-14 09:06:51.766661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '48732081792' limit 1
  12524. 2021-09-14 09:06:51.766661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '48732081792' AND status=0 limit 1
  12525. 2021-09-14 09:06:51.786733 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '46.19.210.14' limit 1
  12526. 2021-09-14 09:06:51.786733 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  12527. 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 48798517722 / 48798517722
  12528. 2021-09-14 09:06:51.786733 [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 ="48732081792" LIMIT 1
  12529. 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
  12530. 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 714761424818]
  12531. 2021-09-14 09:06:51.786733 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "714761424818" OR number = "714761424818" AND deleted = 0 limit 1
  12532. 2021-09-14 09:06:51.786733 [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 ="48732081792" AND A.accountid = '863' limit 1
  12533. 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 48732081792
  12534. 2021-09-14 09:06:51.786733 [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 ="48732081792" LIMIT 1
  12535. 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound
  12536. 2021-09-14 09:06:51.786733 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="48732081792" AND (accountid = 0 OR status = 1) LIMIT 1
  12537. 2021-09-14 09:06:51.786733 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  12538. 2021-09-14 09:06:51.786733 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851
  12539. 2021-09-14 09:06:51.786733 [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 = '^48732081792.*' OR patterns = '^4873208179.*' OR patterns = '^487320817.*' OR patterns = '^48732081.*' OR patterns = '^4873208.*' OR patterns = '^487320.*' OR patterns = '^48732.*' OR patterns = '^4873.*' OR patterns = '^487.*' OR patterns = '^48.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC
  12540. 2021-09-14 09:06:51.786733 [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 = '48732081792' OR number = '4873208179' OR number = '487320817' OR number = '48732081' OR number = '4873208' OR number = '487320' OR number = '48732' OR number = '4873' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48732081792*' OR number = '4873208179*' OR number = '487320817*' OR number = '48732081*' OR number = '4873208*' OR number = '487320*' OR number = '48732*' OR number = '4873*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--') OR (number = '48798517722' OR number = '4879851772' OR number = '487985177' OR number = '48798517' OR number = '4879851' OR number = '487985' OR number = '48798' OR number = '4879' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48798517722*' OR number = '4879851772*' OR number = '487985177*' OR number = '48798517*' OR number = '4879851*' OR number = '487985*' OR number = '48798*' OR number = '4879*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  12541. 2021-09-14 09:06:51.786733 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  12542. 2021-09-14 09:06:51.786733 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '48732081792' OR routing_prefix = '4873208179' OR routing_prefix = '487320817' OR routing_prefix = '48732081' OR routing_prefix = '4873208' OR routing_prefix = '487320' OR routing_prefix = '48732' OR routing_prefix = '4873' OR routing_prefix = '487' OR routing_prefix = '48' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  12543. 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  12544. 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 863
  12545. 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 714761424818
  12546. 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000
  12547. 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  12548. 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1
  12549. 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  12550. 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  12551. 2021-09-14 09:06:51.786733 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  12552. 2021-09-14 09:06:51.786733 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  12553. 2021-09-14 09:06:51.786733 [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 ="48732081792" LIMIT 1
  12554. 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound
  12555. 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  12556. 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 8057
  12557. 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  12558. 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  12559. 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  12560. 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Mobile Voice
  12561. 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 153
  12562. 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 863
  12563. 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  12564. 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 863 !!!
  12565. 2021-09-14 09:06:51.786733 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180
  12566. 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
  12567. 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  12568. 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  12569. 2021-09-14 09:06:51.786733 [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 = 863 AND status=0 LIMIT 1
  12570. 2021-09-14 09:06:51.786733 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" OR number = "851" AND deleted = 0 limit 1
  12571. 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:863
  12572. 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:863
  12573. 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 863
  12574. 2021-09-14 09:06:51.786733 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  12575. 2021-09-14 09:06:51.786733 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  12576. 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
  12577. 2021-09-14 09:06:51.786733 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  12578. 2021-09-14 09:06:51.786733 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  12579. 2021-09-14 09:06:51.786733 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2
  12580. 2021-09-14 09:06:51.786733 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  12581. <document type="freeswitch/xml">
  12582. <section name="dialplan" description="ASTPP Dialplan">
  12583. <context name="default">
  12584. <extension name="48732081792">
  12585. <condition field="destination_number" expression="48732081792">
  12586. <action application="set" data="effective_destination_number=48732081792"/>
  12587. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  12588. <action application="set" data="bridge_pre_execute_bleg_data=+10800 normal_clearing"/>
  12589. <action application="set" data="callstart=2021-09-14 13:06:51"/>
  12590. <action application="set" data="hangup_after_bridge=true"/>
  12591. <action application="set" data="continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602"/>
  12592. <action application="set" data="account_id=863"/>
  12593. <action application="set" data="parent_id=0"/>
  12594. <action application="set" data="entity_id=3"/>
  12595. <action application="set" data="call_processed=internal"/>
  12596. <action application="set" data="call_direction=inbound"/>
  12597. <action application="set" data="accountname=default"/>
  12598. <action application="set" data="filename1=astpp.pbx.lua"/>
  12599. <action application="set" data="origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851"/>
  12600. <action application="set" data="origination_rates=0"/>
  12601. <action application="set" data="original_caller_id_name=48798517722"/>
  12602. <action application="set" data="original_caller_id_number=48798517722"/>
  12603. <action application="set" data="effective_caller_id_name=48798517722"/>
  12604. <action application="set" data="effective_caller_id_number=48798517722"/>
  12605. <action application="set" data="receiver_accid=851"/>
  12606. <action application="export" data="domain_name=Voicespin802.newsip.israelnumber.com"/>
  12607. <action application="export" data="sip_to_host=Voicespin802.newsip.israelnumber.com"/>
  12608. <action application="limit" data="db 48732081792 did_48732081792 2 !SWITCH_CONGESTION"/>
  12609. <action application="export" data="presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14"/>
  12610. <action application="export" data="call_type=2"/>
  12611. <action application="set" data="calltype=DIRECT-IP"/>
  12612. <action application="bridge" data="[leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118"/>
  12613. </condition>
  12614. </extension>
  12615. </context>
  12616. </section>
  12617. </document>
  12618. 2021-09-14 09:06:51.786733 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released.
  12619. Dialplan: sofia/default/48798517722@46.19.210.14 parsing [default->48732081792] continue=false
  12620. Dialplan: sofia/default/48798517722@46.19.210.14 Regex (PASS) [48732081792] destination_number(48732081792) =~ /48732081792/ break=on-false
  12621. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_destination_number=48732081792)
  12622. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  12623. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  12624. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(callstart=2021-09-14 13:06:51)
  12625. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(hangup_after_bridge=true)
  12626. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  12627. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(account_id=863)
  12628. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(parent_id=0)
  12629. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(entity_id=3)
  12630. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_processed=internal)
  12631. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_direction=inbound)
  12632. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(accountname=default)
  12633. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(filename1=astpp.pbx.lua)
  12634. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851)
  12635. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates=0)
  12636. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_name=48798517722)
  12637. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_number=48798517722)
  12638. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_name=48798517722)
  12639. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_number=48798517722)
  12640. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(receiver_accid=851)
  12641. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(domain_name=Voicespin802.newsip.israelnumber.com)
  12642. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  12643. Dialplan: sofia/default/48798517722@46.19.210.14 Action limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION)
  12644. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14)
  12645. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(call_type=2)
  12646. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(calltype=DIRECT-IP)
  12647. Dialplan: sofia/default/48798517722@46.19.210.14 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118)
  12648. 2021-09-14 09:06:51.786733 [DEBUG] switch_core_state_machine.c:286 (sofia/default/48798517722@46.19.210.14) State Change CS_ROUTING -> CS_EXECUTE
  12649. 2021-09-14 09:06:51.786733 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING going to sleep
  12650. 2021-09-14 09:06:51.786733 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_EXECUTE (Cur 7 Tot 248050)
  12651. 2021-09-14 09:06:51.786733 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE
  12652. 2021-09-14 09:06:51.786733 [DEBUG] mod_sofia.c:198 sofia/default/48798517722@46.19.210.14 SOFIA EXECUTE
  12653. 2021-09-14 09:06:51.786733 [DEBUG] switch_core_state_machine.c:328 sofia/default/48798517722@46.19.210.14 Standard EXECUTE
  12654. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_destination_number=48732081792)
  12655. 2021-09-14 09:06:51.786733 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_destination_number]=[48732081792]
  12656. EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_app=sched_hangup)
  12657. 2021-09-14 09:06:51.786733 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_app]=[sched_hangup]
  12658. EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  12659. 2021-09-14 09:06:51.786733 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing]
  12660. EXECUTE sofia/default/48798517722@46.19.210.14 set(callstart=2021-09-14 13:06:51)
  12661. 2021-09-14 09:06:51.786733 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [callstart]=[2021-09-14 13:06:51]
  12662. EXECUTE sofia/default/48798517722@46.19.210.14 set(hangup_after_bridge=true)
  12663. 2021-09-14 09:06:51.786733 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [hangup_after_bridge]=[true]
  12664. EXECUTE sofia/default/48798517722@46.19.210.14 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  12665. 2021-09-14 09:06:51.786733 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]
  12666. EXECUTE sofia/default/48798517722@46.19.210.14 set(account_id=863)
  12667. 2021-09-14 09:06:51.786733 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [account_id]=[863]
  12668. EXECUTE sofia/default/48798517722@46.19.210.14 set(parent_id=0)
  12669. 2021-09-14 09:06:51.786733 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [parent_id]=[0]
  12670. EXECUTE sofia/default/48798517722@46.19.210.14 set(entity_id=3)
  12671. 2021-09-14 09:06:51.786733 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [entity_id]=[3]
  12672. EXECUTE sofia/default/48798517722@46.19.210.14 set(call_processed=internal)
  12673. 2021-09-14 09:06:51.806661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_processed]=[internal]
  12674. EXECUTE sofia/default/48798517722@46.19.210.14 set(call_direction=inbound)
  12675. 2021-09-14 09:06:51.806661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_direction]=[inbound]
  12676. EXECUTE sofia/default/48798517722@46.19.210.14 set(accountname=default)
  12677. 2021-09-14 09:06:51.806661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [accountname]=[default]
  12678. EXECUTE sofia/default/48798517722@46.19.210.14 set(filename1=astpp.pbx.lua)
  12679. 2021-09-14 09:06:51.806661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [filename1]=[astpp.pbx.lua]
  12680. EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851)
  12681. 2021-09-14 09:06:51.806661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates_did]=[ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851]
  12682. EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates=0)
  12683. 2021-09-14 09:06:51.806661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates]=[0]
  12684. EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_name=48798517722)
  12685. 2021-09-14 09:06:51.806661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_name]=[48798517722]
  12686. EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_number=48798517722)
  12687. 2021-09-14 09:06:51.806661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_number]=[48798517722]
  12688. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_name=48798517722)
  12689. 2021-09-14 09:06:51.806661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_name]=[48798517722]
  12690. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_number=48798517722)
  12691. 2021-09-14 09:06:51.806661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_number]=[48798517722]
  12692. EXECUTE sofia/default/48798517722@46.19.210.14 set(receiver_accid=851)
  12693. 2021-09-14 09:06:51.806661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [receiver_accid]=[851]
  12694. EXECUTE sofia/default/48798517722@46.19.210.14 export(domain_name=Voicespin802.newsip.israelnumber.com)
  12695. 2021-09-14 09:06:51.806661 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com]
  12696. EXECUTE sofia/default/48798517722@46.19.210.14 export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  12697. 2021-09-14 09:06:51.806661 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com]
  12698. EXECUTE sofia/default/48798517722@46.19.210.14 limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION)
  12699. 2021-09-14 09:06:51.806661 [DEBUG] switch_limit.c:126 incr called: 48732081792_did_48732081792 max:2, interval:0
  12700. 2021-09-14 09:06:51.806661 [DEBUG] mod_db.c:194 Usage for 48732081792_did_48732081792 is now 1/2
  12701. EXECUTE sofia/default/48798517722@46.19.210.14 export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14)
  12702. 2021-09-14 09:06:51.866668 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14]
  12703. EXECUTE sofia/default/48798517722@46.19.210.14 export(call_type=2)
  12704. 2021-09-14 09:06:51.866668 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2]
  12705. EXECUTE sofia/default/48798517722@46.19.210.14 set(calltype=DIRECT-IP)
  12706. 2021-09-14 09:06:51.866668 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [calltype]=[DIRECT-IP]
  12707. EXECUTE sofia/default/48798517722@46.19.210.14 bridge([leg_timeout=30]sofia/default/48732081792@35.205.116.118)
  12708. 2021-09-14 09:06:51.866668 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event
  12709. 2021-09-14 09:06:51.866668 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event
  12710. 2021-09-14 09:06:51.866668 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] to event
  12711. 2021-09-14 09:06:51.866668 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [call_type]=[2] to event
  12712. 2021-09-14 09:06:51.866668 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  12713. 2021-09-14 09:06:51.866668 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  12714. 2021-09-14 09:06:51.866668 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48732081792@35.205.116.118 [a0b02f48-155c-11ec-a0b7-7dfb9f6e00f0]
  12715. 2021-09-14 09:06:51.866668 [DEBUG] mod_sofia.c:4819 (sofia/default/48732081792@35.205.116.118) State Change CS_NEW -> CS_INIT
  12716. 2021-09-14 09:06:51.866668 [DEBUG] switch_ivr_originate.c:2963 sofia/default/48732081792@35.205.116.118 Setting leg timeout to 30
  12717. 2021-09-14 09:06:51.866668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_INIT (Cur 8 Tot 248051)
  12718. 2021-09-14 09:06:51.866668 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT
  12719. 2021-09-14 09:06:51.866668 [DEBUG] mod_sofia.c:90 sofia/default/48732081792@35.205.116.118 SOFIA INIT
  12720. 2021-09-14 09:06:51.866668 [DEBUG] sofia_glue.c:1295 sofia/default/48732081792@35.205.116.118 sending invite version: 1.6.20  64bit
  12721. Local SDP:
  12722. v=0
  12723. o=FreeSWITCH 1631604505 1631604506 IN IP4 89.46.223.193
  12724. s=FreeSWITCH
  12725. c=IN IP4 89.46.223.193
  12726. t=0 0
  12727. m=audio 20306 RTP/AVP 0 101
  12728. a=rtpmap:0 PCMU/8000
  12729. a=rtpmap:101 telephone-event/8000
  12730. a=fmtp:101 0-16
  12731. a=ptime:20
  12732. a=sendrecv
  12733.  
  12734. 2021-09-14 09:06:51.866668 [DEBUG] switch_core_state_machine.c:40 sofia/default/48732081792@35.205.116.118 Standard INIT
  12735. 2021-09-14 09:06:51.866668 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48732081792@35.205.116.118) State Change CS_INIT -> CS_ROUTING
  12736. 2021-09-14 09:06:51.866668 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT going to sleep
  12737. 2021-09-14 09:06:51.866668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_ROUTING (Cur 8 Tot 248051)
  12738. 2021-09-14 09:06:51.866668 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING
  12739. 2021-09-14 09:06:51.866668 [DEBUG] mod_sofia.c:143 sofia/default/48732081792@35.205.116.118 SOFIA ROUTING
  12740. 2021-09-14 09:06:51.866668 [DEBUG] switch_ivr_originate.c:67 (sofia/default/48732081792@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  12741. 2021-09-14 09:06:51.866668 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING going to sleep
  12742. 2021-09-14 09:06:51.866668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 248051)
  12743. 2021-09-14 09:06:51.866668 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA
  12744. 2021-09-14 09:06:51.866668 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA going to sleep
  12745. 2021-09-14 09:06:51.866668 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [calling][0]
  12746. 2021-09-14 09:06:52.046719 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [terminated][500]
  12747. 2021-09-14 09:06:52.046719 [NOTICE] sofia.c:8273 Hangup sofia/default/48732081792@35.205.116.118 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
  12748. 2021-09-14 09:06:52.046719 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_HANGUP (Cur 8 Tot 248051)
  12749. 2021-09-14 09:06:52.046719 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48732081792@35.205.116.118) Callstate Change DOWN -> HANGUP
  12750. 2021-09-14 09:06:52.046719 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP
  12751. 2021-09-14 09:06:52.046719 [DEBUG] mod_sofia.c:438 Channel sofia/default/48732081792@35.205.116.118 hanging up, cause: NORMAL_TEMPORARY_FAILURE
  12752. 2021-09-14 09:06:52.046719 [DEBUG] switch_core_state_machine.c:60 sofia/default/48732081792@35.205.116.118 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
  12753. 2021-09-14 09:06:52.046719 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP going to sleep
  12754. 2021-09-14 09:06:52.046719 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48732081792@35.205.116.118) State Change CS_HANGUP -> CS_REPORTING
  12755. 2021-09-14 09:06:52.046719 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_REPORTING (Cur 8 Tot 248051)
  12756. 2021-09-14 09:06:52.046719 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING
  12757. 2021-09-14 09:06:52.046719 [INFO] mod_json_cdr.c:271 Process [a0b02f48-155c-11ec-a0b7-7dfb9f6e00f0.cdr.json]
  12758. 2021-09-14 09:06:52.066666 [DEBUG] switch_core_state_machine.c:174 sofia/default/48732081792@35.205.116.118 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
  12759. 2021-09-14 09:06:52.066666 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING going to sleep
  12760. 2021-09-14 09:06:52.066666 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48732081792@35.205.116.118) State Change CS_REPORTING -> CS_DESTROY
  12761. 2021-09-14 09:06:52.066666 [DEBUG] switch_core_session.c:1665 Session 248051 (sofia/default/48732081792@35.205.116.118) Locked, Waiting on external entities
  12762. 2021-09-14 09:06:52.066666 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
  12763. 2021-09-14 09:06:52.066666 [NOTICE] switch_core_session.c:1683 Session 248051 (sofia/default/48732081792@35.205.116.118) Ended
  12764. 2021-09-14 09:06:52.066666 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48732081792@35.205.116.118 [CS_DESTROY]
  12765. 2021-09-14 09:06:52.066666 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48732081792@35.205.116.118) Running State Change CS_DESTROY (Cur 7 Tot 248051)
  12766. 2021-09-14 09:06:52.066666 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY
  12767. 2021-09-14 09:06:52.066666 [DEBUG] mod_sofia.c:343 sofia/default/48732081792@35.205.116.118 SOFIA DESTROY
  12768. 2021-09-14 09:06:52.066666 [DEBUG] switch_core_state_machine.c:181 sofia/default/48732081792@35.205.116.118 Standard DESTROY
  12769. 2021-09-14 09:06:52.066666 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY going to sleep
  12770. 2021-09-14 09:06:52.066666 [INFO] mod_dptools.c:3436 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
  12771. 2021-09-14 09:06:52.066666 [DEBUG] switch_channel.c:4775 Continue on fail [1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]:  Cause: NORMAL_TEMPORARY_FAILURE
  12772. 2021-09-14 09:06:52.066666 [NOTICE] switch_core_state_machine.c:385 sofia/default/48798517722@46.19.210.14 has executed the last dialplan instruction, hanging up.
  12773. 2021-09-14 09:06:52.066666 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/48798517722@46.19.210.14 [CS_EXECUTE] [NORMAL_CLEARING]
  12774. 2021-09-14 09:06:52.066666 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE going to sleep
  12775. 2021-09-14 09:06:52.066666 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_HANGUP (Cur 7 Tot 248051)
  12776. 2021-09-14 09:06:52.066666 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48798517722@46.19.210.14) Callstate Change RINGING -> HANGUP
  12777. 2021-09-14 09:06:52.066666 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP
  12778. 2021-09-14 09:06:52.066666 [DEBUG] mod_sofia.c:432 sofia/default/48798517722@46.19.210.14 Overriding SIP cause 480 with 500 from the other leg
  12779. 2021-09-14 09:06:52.066666 [DEBUG] mod_sofia.c:438 Channel sofia/default/48798517722@46.19.210.14 hanging up, cause: NORMAL_CLEARING
  12780. 2021-09-14 09:06:52.066666 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 500
  12781. 2021-09-14 09:06:52.066666 [DEBUG] switch_core_state_machine.c:60 sofia/default/48798517722@46.19.210.14 Standard HANGUP, cause: NORMAL_CLEARING
  12782. 2021-09-14 09:06:52.066666 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP going to sleep
  12783. 2021-09-14 09:06:52.066666 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48798517722@46.19.210.14) State Change CS_HANGUP -> CS_REPORTING
  12784. 2021-09-14 09:06:52.066666 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_REPORTING (Cur 7 Tot 248051)
  12785. 2021-09-14 09:06:52.066666 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING
  12786. 2021-09-14 09:06:52.066666 [INFO] mod_json_cdr.c:271 Process [a0a1721e-155c-11ec-a097-7dfb9f6e00f0.cdr.json]
  12787. 2021-09-14 09:06:52.086687 [DEBUG] switch_core_state_machine.c:174 sofia/default/48798517722@46.19.210.14 Standard REPORTING, cause: NORMAL_CLEARING
  12788. 2021-09-14 09:06:52.086687 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING going to sleep
  12789. 2021-09-14 09:06:52.086687 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48798517722@46.19.210.14) State Change CS_REPORTING -> CS_DESTROY
  12790. 2021-09-14 09:06:52.086687 [DEBUG] switch_core_session.c:1665 Session 248050 (sofia/default/48798517722@46.19.210.14) Locked, Waiting on external entities
  12791. 2021-09-14 09:06:52.086687 [NOTICE] switch_core_session.c:1683 Session 248050 (sofia/default/48798517722@46.19.210.14) Ended
  12792. 2021-09-14 09:06:52.086687 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48798517722@46.19.210.14 [CS_DESTROY]
  12793. 2021-09-14 09:06:52.086687 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48798517722@46.19.210.14) Running State Change CS_DESTROY (Cur 6 Tot 248051)
  12794. 2021-09-14 09:06:52.086687 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY
  12795. 2021-09-14 09:06:52.086687 [DEBUG] mod_sofia.c:343 sofia/default/48798517722@46.19.210.14 SOFIA DESTROY
  12796. 2021-09-14 09:06:52.086687 [DEBUG] switch_core_state_machine.c:181 sofia/default/48798517722@46.19.210.14 Standard DESTROY
  12797. 2021-09-14 09:06:52.086687 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY going to sleep
  12798. 2021-09-14 09:06:53.526744 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48798517722@46.19.210.14 [a1af19a4-155c-11ec-a0bb-7dfb9f6e00f0]
  12799. 2021-09-14 09:06:53.526744 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_NEW (Cur 7 Tot 248052)
  12800. 2021-09-14 09:06:53.526744 [DEBUG] sofia.c:9873 sofia/default/48798517722@46.19.210.14 receiving invite from 136.243.196.198:5060 version: 1.6.20  64bit
  12801. 2021-09-14 09:06:53.526744 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
  12802. 2021-09-14 09:06:53.526744 [DEBUG] sofia.c:7084 Channel sofia/default/48798517722@46.19.210.14 entering state [received][100]
  12803. 2021-09-14 09:06:53.526744 [DEBUG] sofia.c:7094 Remote SDP:
  12804. v=0
  12805. o=didww-sbc 3681455072 32695 IN IP4 46.19.210.39
  12806. s=didww-sbc
  12807. t=0 0
  12808. m=audio 36034 RTP/AVP 0 8 18 4 101
  12809. c=IN IP4 46.19.210.39
  12810. a=rtpmap:0 PCMU/8000
  12811. a=rtpmap:8 PCMA/8000
  12812. a=rtpmap:18 G729/8000
  12813. a=fmtp:18 annexb=no
  12814. a=rtpmap:4 G723/8000
  12815. a=rtpmap:101 telephone-event/8000
  12816. a=ptime:20
  12817.  
  12818. 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  12819. 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  12820. 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  12821. 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  12822. 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  12823. 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  12824. 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  12825. 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  12826. 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  12827. 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  12828. 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  12829. 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  12830. 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1]
  12831. 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1]
  12832. 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:20:8000:1]
  12833. 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  12834. 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/48798517722@46.19.210.14 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  12835. 2021-09-14 09:06:53.526744 [DEBUG] switch_core_codec.c:111 sofia/default/48798517722@46.19.210.14 Original read codec set to PCMU:0
  12836. 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  12837. 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:4767 sofia/default/48798517722@46.19.210.14 Set 2833 dtmf send payload to 101 recv payload to 101
  12838. 2021-09-14 09:06:53.526744 [DEBUG] sofia.c:7507 (sofia/default/48798517722@46.19.210.14) State Change CS_NEW -> CS_INIT
  12839. 2021-09-14 09:06:53.526744 [DEBUG] switch_core_state_machine.c:603 (sofia/default/48798517722@46.19.210.14) State NEW
  12840. 2021-09-14 09:06:53.526744 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_INIT (Cur 7 Tot 248052)
  12841. 2021-09-14 09:06:53.526744 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT
  12842. 2021-09-14 09:06:53.526744 [DEBUG] mod_sofia.c:90 sofia/default/48798517722@46.19.210.14 SOFIA INIT
  12843. 2021-09-14 09:06:53.526744 [DEBUG] switch_core_state_machine.c:40 sofia/default/48798517722@46.19.210.14 Standard INIT
  12844. 2021-09-14 09:06:53.526744 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48798517722@46.19.210.14) State Change CS_INIT -> CS_ROUTING
  12845. 2021-09-14 09:06:53.526744 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT going to sleep
  12846. 2021-09-14 09:06:53.526744 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_ROUTING (Cur 7 Tot 248052)
  12847. 2021-09-14 09:06:53.526744 [DEBUG] switch_channel.c:2249 (sofia/default/48798517722@46.19.210.14) Callstate Change DOWN -> RINGING
  12848. 2021-09-14 09:06:53.526744 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING
  12849. 2021-09-14 09:06:53.526744 [DEBUG] mod_sofia.c:143 sofia/default/48798517722@46.19.210.14 SOFIA ROUTING
  12850. 2021-09-14 09:06:53.526744 [DEBUG] switch_core_state_machine.c:236 sofia/default/48798517722@46.19.210.14 Standard ROUTING
  12851. 2021-09-14 09:06:53.526744 [INFO] mod_dialplan_xml.c:637 Processing 48798517722 <48798517722>->48732081792 in context default
  12852. 2021-09-14 09:06:53.526744 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected.
  12853. 2021-09-14 09:06:53.526744 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  12854. 2021-09-14 09:06:53.526744 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  12855. 2021-09-14 09:06:53.526744 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params:
  12856. 'Event-Name: REQUEST_PARAMS
  12857. Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0
  12858. FreeSWITCH-Hostname: astpp1.local
  12859. FreeSWITCH-Switchname: astpp1.local
  12860. FreeSWITCH-IPv4: 89.46.223.193
  12861. FreeSWITCH-IPv6: %3A%3A1
  12862. Event-Date-Local: 2021-09-14%2009%3A06%3A53
  12863. Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A06%3A53%20GMT
  12864. Event-Date-Timestamp: 1631624813526744
  12865. Event-Calling-File: mod_dialplan_xml.c
  12866. Event-Calling-Function: dialplan_xml_locate
  12867. Event-Calling-Line-Number: 608
  12868. Event-Sequence: 7529556
  12869. Channel-State: CS_ROUTING
  12870. Channel-Call-State: RINGING
  12871. Channel-State-Number: 2
  12872. Channel-Name: sofia/default/48798517722%4046.19.210.14
  12873. Unique-ID: a1af19a4-155c-11ec-a0bb-7dfb9f6e00f0
  12874. Call-Direction: inbound
  12875. Presence-Call-Direction: inbound
  12876. Channel-HIT-Dialplan: true
  12877. Channel-Presence-ID: 48798517722%4046.19.210.14
  12878. Channel-Call-UUID: a1af19a4-155c-11ec-a0bb-7dfb9f6e00f0
  12879. Answer-State: ringing
  12880. Channel-Read-Codec-Name: PCMU
  12881. Channel-Read-Codec-Rate: 8000
  12882. Channel-Read-Codec-Bit-Rate: 64000
  12883. Channel-Write-Codec-Name: PCMU
  12884. Channel-Write-Codec-Rate: 8000
  12885. Channel-Write-Codec-Bit-Rate: 64000
  12886. Caller-Direction: inbound
  12887. Caller-Logical-Direction: inbound
  12888. Caller-Username: 48798517722
  12889. Caller-Dialplan: XML
  12890. Caller-Caller-ID-Name: 48798517722
  12891. Caller-Caller-ID-Number: 48798517722
  12892. Caller-Orig-Caller-ID-Name: 48798517722
  12893. Caller-Orig-Caller-ID-Number: 48798517722
  12894. Caller-Network-Addr: 136.243.196.198
  12895. Caller-ANI: 48798517722
  12896. Caller-Destination-Number: 48732081792
  12897. Caller-Unique-ID: a1af19a4-155c-11ec-a0bb-7dfb9f6e00f0
  12898. Caller-Source: mod_sofia
  12899. Caller-Context: default
  12900. Caller-Channel-Name: sofia/default/48798517722%4046.19.210.14
  12901. Caller-Profile-Index: 1
  12902. Caller-Profile-Created-Time: 1631624813526744
  12903. Caller-Channel-Created-Time: 1631624813526744
  12904. Caller-Channel-Answered-Time: 0
  12905. Caller-Channel-Progress-Time: 0
  12906. Caller-Channel-Progress-Media-Time: 0
  12907. Caller-Channel-Hangup-Time: 0
  12908. Caller-Channel-Transfer-Time: 0
  12909. Caller-Channel-Resurrect-Time: 0
  12910. Caller-Channel-Bridged-Time: 0
  12911. Caller-Channel-Last-Hold: 0
  12912. Caller-Channel-Hold-Accum: 0
  12913. Caller-Screen-Bit: true
  12914. Caller-Privacy-Hide-Name: false
  12915. Caller-Privacy-Hide-Number: false
  12916. variable_direction: inbound
  12917. variable_uuid: a1af19a4-155c-11ec-a0bb-7dfb9f6e00f0
  12918. variable_session_id: 248052
  12919. variable_sip_from_user: 48798517722
  12920. variable_sip_from_uri: 48798517722%4046.19.210.14
  12921. variable_sip_from_host: 46.19.210.14
  12922. variable_video_media_flow: sendrecv
  12923. variable_channel_name: sofia/default/48798517722%4046.19.210.14
  12924. variable_sip_call_id: 11-11-0A361EE3-61409E6D0007BC1A-DB6F6700
  12925. variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b
  12926. variable_sip_local_network_addr: 89.46.223.193
  12927. variable_sip_network_ip: 136.243.196.198
  12928. variable_sip_network_port: 5060
  12929. variable_sip_invite_stamp: 1631624813526744
  12930. variable_sip_received_ip: 136.243.196.198
  12931. variable_sip_received_port: 5060
  12932. variable_sip_via_protocol: udp
  12933. variable_sip_authorized: true
  12934. variable_sip_acl_authed_by: default
  12935. variable_sip_from_user_stripped: 48798517722
  12936. variable_sip_from_tag: 11-49F2DC56-61409E6D0007BB5C-DB6F6700
  12937. variable_sofia_profile_name: default
  12938. variable_recovery_profile_name: default
  12939. variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D82a.5cb5fb52%3E
  12940. variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D82a.5cb5fb52%3E
  12941. variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bK6418.210a0a73.0,SIP/2.0/UDP%2046.19.210.14%3Breceived%3D46.19.210.14%3Bbranch%3Dz9hG4bKkDaGlaqS%3Brport%3D5060
  12942. variable_sip_from_display: 48798517722
  12943. variable_sip_full_from: %2248798517722%22%20%3Csip%3A48798517722%4046.19.210.14%3E%3Btag%3D11-49F2DC56-61409E6D0007BB5C-DB6F6700
  12944. variable_sip_full_to: %3Csip%3A48732081792%40newsip.israelnumber.com%3A5060%3E
  12945. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20UPDATE
  12946. variable_sip_req_user: 48732081792
  12947. variable_sip_req_port: 5060
  12948. variable_sip_req_uri: 48732081792%40newsip.israelnumber.com%3A5060
  12949. variable_sip_req_host: newsip.israelnumber.com
  12950. variable_sip_to_user: 48732081792
  12951. variable_sip_to_port: 5060
  12952. variable_sip_to_uri: 48732081792%40newsip.israelnumber.com%3A5060
  12953. variable_sip_to_host: newsip.israelnumber.com
  12954. variable_sip_contact_params: transport%3Dudp
  12955. variable_sip_contact_user: nobody
  12956. variable_sip_contact_port: 5060
  12957. variable_sip_contact_uri: nobody%4046.19.210.14%3A5060
  12958. variable_sip_contact_host: 46.19.210.14
  12959. variable_sip_user_agent: DIDWW%20SBC%20node
  12960. variable_sip_via_host: 136.243.196.198
  12961. variable_sip_via_port: 5060
  12962. variable_max_forwards: 30
  12963. variable_presence_id: 48798517722%4046.19.210.14
  12964. variable_sip_h_X-AUTH-IP: 46.19.210.14
  12965. variable_sip_h_P-Accountcode: 714761424818
  12966. variable_sip_h_P-effective_caller_id_name: 48798517722
  12967. variable_sip_h_P-effective_caller_id_number: 48798517722
  12968. variable_switch_r_sdp: v%3D0%0D%0Ao%3Ddidww-sbc%203681455072%2032695%20IN%20IP4%2046.19.210.39%0D%0As%3Ddidww-sbc%0D%0At%3D0%200%0D%0Am%3Daudio%2036034%20RTP/AVP%200%208%2018%204%20101%0D%0Ac%3DIN%20IP4%2046.19.210.39%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A4%20G723/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dptime%3A20%0D%0A
  12969. variable_rtp_use_codec_string: PCMA,PCMU,G729
  12970. variable_audio_media_flow: sendrecv
  12971. variable_remote_media_ip: 46.19.210.39
  12972. variable_remote_media_port: 36034
  12973. variable_rtp_audio_recv_pt: 0
  12974. variable_rtp_use_codec_name: PCMU
  12975. variable_rtp_use_codec_rate: 8000
  12976. variable_rtp_use_codec_ptime: 20
  12977. variable_rtp_use_codec_channels: 1
  12978. variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c
  12979. variable_read_codec: PCMU
  12980. variable_original_read_codec: PCMU
  12981. variable_read_rate: 8000
  12982. variable_original_read_rate: 8000
  12983. variable_write_codec: PCMU
  12984. variable_write_rate: 8000
  12985. variable_dtmf_type: rfc2833
  12986. variable_endpoint_disposition: RECEIVED
  12987. variable_call_uuid: a1af19a4-155c-11ec-a0bb-7dfb9f6e00f0
  12988. Hunt-Direction: inbound
  12989. Hunt-Logical-Direction: inbound
  12990. Hunt-Username: 48798517722
  12991. Hunt-Dialplan: XML
  12992. Hunt-Caller-ID-Name: 48798517722
  12993. Hunt-Caller-ID-Number: 48798517722
  12994. Hunt-Orig-Caller-ID-Name: 48798517722
  12995. Hunt-Orig-Caller-ID-Number: 48798517722
  12996. Hunt-Network-Addr: 136.243.196.198
  12997. Hunt-ANI: 48798517722
  12998. Hunt-Destination-Number: 48732081792
  12999. Hunt-Unique-ID: a1af19a4-155c-11ec-a0bb-7dfb9f6e00f0
  13000. Hunt-Source: mod_sofia
  13001. Hunt-Context: default
  13002. Hunt-Channel-Name: sofia/default/48798517722%4046.19.210.14
  13003. Hunt-Profile-Index: 1
  13004. Hunt-Profile-Created-Time: 1631624813526744
  13005. Hunt-Channel-Created-Time: 1631624813526744
  13006. Hunt-Channel-Answered-Time: 0
  13007. Hunt-Channel-Progress-Time: 0
  13008. Hunt-Channel-Progress-Media-Time: 0
  13009. Hunt-Channel-Hangup-Time: 0
  13010. Hunt-Channel-Transfer-Time: 0
  13011. Hunt-Channel-Resurrect-Time: 0
  13012. Hunt-Channel-Bridged-Time: 0
  13013. Hunt-Channel-Last-Hold: 0
  13014. Hunt-Channel-Hold-Accum: 0
  13015. Hunt-Screen-Bit: true
  13016. Hunt-Privacy-Hide-Name: false
  13017. Hunt-Privacy-Hide-Number: false
  13018.  
  13019. '
  13020. 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name:
  13021. 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value:
  13022. 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name:
  13023. 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan
  13024. 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  13025. 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 48732081792
  13026. 2021-09-14 09:06:53.526744 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '48732081792' limit 1
  13027. 2021-09-14 09:06:53.526744 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '48732081792' AND status=0 limit 1
  13028. 2021-09-14 09:06:53.526744 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '46.19.210.14' limit 1
  13029. 2021-09-14 09:06:53.526744 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  13030. 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 48798517722 / 48798517722
  13031. 2021-09-14 09:06:53.526744 [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 ="48732081792" LIMIT 1
  13032. 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
  13033. 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 714761424818]
  13034. 2021-09-14 09:06:53.526744 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "714761424818" OR number = "714761424818" AND deleted = 0 limit 1
  13035. 2021-09-14 09:06:53.526744 [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 ="48732081792" AND A.accountid = '863' limit 1
  13036. 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 48732081792
  13037. 2021-09-14 09:06:53.526744 [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 ="48732081792" LIMIT 1
  13038. 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound
  13039. 2021-09-14 09:06:53.526744 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="48732081792" AND (accountid = 0 OR status = 1) LIMIT 1
  13040. 2021-09-14 09:06:53.526744 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  13041. 2021-09-14 09:06:53.526744 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851
  13042. 2021-09-14 09:06:53.526744 [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 = '^48732081792.*' OR patterns = '^4873208179.*' OR patterns = '^487320817.*' OR patterns = '^48732081.*' OR patterns = '^4873208.*' OR patterns = '^487320.*' OR patterns = '^48732.*' OR patterns = '^4873.*' OR patterns = '^487.*' OR patterns = '^48.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC
  13043. 2021-09-14 09:06:53.526744 [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 = '48732081792' OR number = '4873208179' OR number = '487320817' OR number = '48732081' OR number = '4873208' OR number = '487320' OR number = '48732' OR number = '4873' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48732081792*' OR number = '4873208179*' OR number = '487320817*' OR number = '48732081*' OR number = '4873208*' OR number = '487320*' OR number = '48732*' OR number = '4873*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--') OR (number = '48798517722' OR number = '4879851772' OR number = '487985177' OR number = '48798517' OR number = '4879851' OR number = '487985' OR number = '48798' OR number = '4879' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48798517722*' OR number = '4879851772*' OR number = '487985177*' OR number = '48798517*' OR number = '4879851*' OR number = '487985*' OR number = '48798*' OR number = '4879*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  13044. 2021-09-14 09:06:53.526744 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  13045. 2021-09-14 09:06:53.526744 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '48732081792' OR routing_prefix = '4873208179' OR routing_prefix = '487320817' OR routing_prefix = '48732081' OR routing_prefix = '4873208' OR routing_prefix = '487320' OR routing_prefix = '48732' OR routing_prefix = '4873' OR routing_prefix = '487' OR routing_prefix = '48' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  13046. 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  13047. 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 863
  13048. 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 714761424818
  13049. 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000
  13050. 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  13051. 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1
  13052. 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  13053. 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  13054. 2021-09-14 09:06:53.526744 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  13055. 2021-09-14 09:06:53.526744 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  13056. 2021-09-14 09:06:53.526744 [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 ="48732081792" LIMIT 1
  13057. 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound
  13058. 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  13059. 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 8057
  13060. 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  13061. 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  13062. 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  13063. 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Mobile Voice
  13064. 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 153
  13065. 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 863
  13066. 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  13067. 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 863 !!!
  13068. 2021-09-14 09:06:53.526744 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180
  13069. 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
  13070. 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  13071. 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  13072. 2021-09-14 09:06:53.526744 [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 = 863 AND status=0 LIMIT 1
  13073. 2021-09-14 09:06:53.566674 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" OR number = "851" AND deleted = 0 limit 1
  13074. 2021-09-14 09:06:53.566674 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:863
  13075. 2021-09-14 09:06:53.566674 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:863
  13076. 2021-09-14 09:06:53.566674 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 863
  13077. 2021-09-14 09:06:53.566674 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  13078. 2021-09-14 09:06:53.566674 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  13079. 2021-09-14 09:06:53.566674 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
  13080. 2021-09-14 09:06:53.566674 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  13081. 2021-09-14 09:06:53.566674 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  13082. 2021-09-14 09:06:53.566674 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2
  13083. 2021-09-14 09:06:53.566674 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  13084. <document type="freeswitch/xml">
  13085. <section name="dialplan" description="ASTPP Dialplan">
  13086. <context name="default">
  13087. <extension name="48732081792">
  13088. <condition field="destination_number" expression="48732081792">
  13089. <action application="set" data="effective_destination_number=48732081792"/>
  13090. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  13091. <action application="set" data="bridge_pre_execute_bleg_data=+10800 normal_clearing"/>
  13092. <action application="set" data="callstart=2021-09-14 13:06:53"/>
  13093. <action application="set" data="hangup_after_bridge=true"/>
  13094. <action application="set" data="continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602"/>
  13095. <action application="set" data="account_id=863"/>
  13096. <action application="set" data="parent_id=0"/>
  13097. <action application="set" data="entity_id=3"/>
  13098. <action application="set" data="call_processed=internal"/>
  13099. <action application="set" data="call_direction=inbound"/>
  13100. <action application="set" data="accountname=default"/>
  13101. <action application="set" data="filename1=astpp.pbx.lua"/>
  13102. <action application="set" data="origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851"/>
  13103. <action application="set" data="origination_rates=0"/>
  13104. <action application="set" data="original_caller_id_name=48798517722"/>
  13105. <action application="set" data="original_caller_id_number=48798517722"/>
  13106. <action application="set" data="effective_caller_id_name=48798517722"/>
  13107. <action application="set" data="effective_caller_id_number=48798517722"/>
  13108. <action application="set" data="receiver_accid=851"/>
  13109. <action application="export" data="domain_name=Voicespin802.newsip.israelnumber.com"/>
  13110. <action application="export" data="sip_to_host=Voicespin802.newsip.israelnumber.com"/>
  13111. <action application="limit" data="db 48732081792 did_48732081792 2 !SWITCH_CONGESTION"/>
  13112. <action application="export" data="presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14"/>
  13113. <action application="export" data="call_type=2"/>
  13114. <action application="set" data="calltype=DIRECT-IP"/>
  13115. <action application="bridge" data="[leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118"/>
  13116. </condition>
  13117. </extension>
  13118. </context>
  13119. </section>
  13120. </document>
  13121. 2021-09-14 09:06:53.566674 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released.
  13122. Dialplan: sofia/default/48798517722@46.19.210.14 parsing [default->48732081792] continue=false
  13123. Dialplan: sofia/default/48798517722@46.19.210.14 Regex (PASS) [48732081792] destination_number(48732081792) =~ /48732081792/ break=on-false
  13124. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_destination_number=48732081792)
  13125. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  13126. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  13127. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(callstart=2021-09-14 13:06:53)
  13128. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(hangup_after_bridge=true)
  13129. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  13130. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(account_id=863)
  13131. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(parent_id=0)
  13132. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(entity_id=3)
  13133. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_processed=internal)
  13134. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_direction=inbound)
  13135. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(accountname=default)
  13136. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(filename1=astpp.pbx.lua)
  13137. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851)
  13138. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates=0)
  13139. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_name=48798517722)
  13140. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_number=48798517722)
  13141. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_name=48798517722)
  13142. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_number=48798517722)
  13143. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(receiver_accid=851)
  13144. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(domain_name=Voicespin802.newsip.israelnumber.com)
  13145. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  13146. Dialplan: sofia/default/48798517722@46.19.210.14 Action limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION)
  13147. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14)
  13148. Dialplan: sofia/default/48798517722@46.19.210.14 Action export(call_type=2)
  13149. Dialplan: sofia/default/48798517722@46.19.210.14 Action set(calltype=DIRECT-IP)
  13150. Dialplan: sofia/default/48798517722@46.19.210.14 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118)
  13151. 2021-09-14 09:06:53.566674 [DEBUG] switch_core_state_machine.c:286 (sofia/default/48798517722@46.19.210.14) State Change CS_ROUTING -> CS_EXECUTE
  13152. 2021-09-14 09:06:53.566674 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING going to sleep
  13153. 2021-09-14 09:06:53.566674 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_EXECUTE (Cur 7 Tot 248052)
  13154. 2021-09-14 09:06:53.566674 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE
  13155. 2021-09-14 09:06:53.566674 [DEBUG] mod_sofia.c:198 sofia/default/48798517722@46.19.210.14 SOFIA EXECUTE
  13156. 2021-09-14 09:06:53.566674 [DEBUG] switch_core_state_machine.c:328 sofia/default/48798517722@46.19.210.14 Standard EXECUTE
  13157. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_destination_number=48732081792)
  13158. 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_destination_number]=[48732081792]
  13159. EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_app=sched_hangup)
  13160. 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_app]=[sched_hangup]
  13161. EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  13162. 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing]
  13163. EXECUTE sofia/default/48798517722@46.19.210.14 set(callstart=2021-09-14 13:06:53)
  13164. 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [callstart]=[2021-09-14 13:06:53]
  13165. EXECUTE sofia/default/48798517722@46.19.210.14 set(hangup_after_bridge=true)
  13166. 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [hangup_after_bridge]=[true]
  13167. EXECUTE sofia/default/48798517722@46.19.210.14 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602)
  13168. 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]
  13169. EXECUTE sofia/default/48798517722@46.19.210.14 set(account_id=863)
  13170. 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [account_id]=[863]
  13171. EXECUTE sofia/default/48798517722@46.19.210.14 set(parent_id=0)
  13172. 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [parent_id]=[0]
  13173. EXECUTE sofia/default/48798517722@46.19.210.14 set(entity_id=3)
  13174. 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [entity_id]=[3]
  13175. EXECUTE sofia/default/48798517722@46.19.210.14 set(call_processed=internal)
  13176. 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_processed]=[internal]
  13177. EXECUTE sofia/default/48798517722@46.19.210.14 set(call_direction=inbound)
  13178. 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_direction]=[inbound]
  13179. EXECUTE sofia/default/48798517722@46.19.210.14 set(accountname=default)
  13180. 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [accountname]=[default]
  13181. EXECUTE sofia/default/48798517722@46.19.210.14 set(filename1=astpp.pbx.lua)
  13182. 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [filename1]=[astpp.pbx.lua]
  13183. EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851)
  13184. 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates_did]=[ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851]
  13185. EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates=0)
  13186. 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates]=[0]
  13187. EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_name=48798517722)
  13188. 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_name]=[48798517722]
  13189. EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_number=48798517722)
  13190. 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_number]=[48798517722]
  13191. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_name=48798517722)
  13192. 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_name]=[48798517722]
  13193. EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_number=48798517722)
  13194. 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_number]=[48798517722]
  13195. EXECUTE sofia/default/48798517722@46.19.210.14 set(receiver_accid=851)
  13196. 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [receiver_accid]=[851]
  13197. EXECUTE sofia/default/48798517722@46.19.210.14 export(domain_name=Voicespin802.newsip.israelnumber.com)
  13198. 2021-09-14 09:06:53.566674 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com]
  13199. EXECUTE sofia/default/48798517722@46.19.210.14 export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  13200. 2021-09-14 09:06:53.566674 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com]
  13201. EXECUTE sofia/default/48798517722@46.19.210.14 limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION)
  13202. 2021-09-14 09:06:53.566674 [DEBUG] switch_limit.c:126 incr called: 48732081792_did_48732081792 max:2, interval:0
  13203. 2021-09-14 09:06:53.566674 [DEBUG] mod_db.c:194 Usage for 48732081792_did_48732081792 is now 1/2
  13204. EXECUTE sofia/default/48798517722@46.19.210.14 export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14)
  13205. 2021-09-14 09:06:53.566674 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14]
  13206. EXECUTE sofia/default/48798517722@46.19.210.14 export(call_type=2)
  13207. 2021-09-14 09:06:53.566674 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2]
  13208. EXECUTE sofia/default/48798517722@46.19.210.14 set(calltype=DIRECT-IP)
  13209. 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [calltype]=[DIRECT-IP]
  13210. EXECUTE sofia/default/48798517722@46.19.210.14 bridge([leg_timeout=30]sofia/default/48732081792@35.205.116.118)
  13211. 2021-09-14 09:06:53.566674 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event
  13212. 2021-09-14 09:06:53.566674 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event
  13213. 2021-09-14 09:06:53.566674 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] to event
  13214. 2021-09-14 09:06:53.566674 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [call_type]=[2] to event
  13215. 2021-09-14 09:06:53.566674 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  13216. 2021-09-14 09:06:53.566674 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  13217. 2021-09-14 09:06:53.566674 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48732081792@35.205.116.118 [a1b4a162-155c-11ec-a0db-7dfb9f6e00f0]
  13218. 2021-09-14 09:06:53.566674 [DEBUG] mod_sofia.c:4819 (sofia/default/48732081792@35.205.116.118) State Change CS_NEW -> CS_INIT
  13219. 2021-09-14 09:06:53.566674 [DEBUG] switch_ivr_originate.c:2963 sofia/default/48732081792@35.205.116.118 Setting leg timeout to 30
  13220. 2021-09-14 09:06:53.566674 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_INIT (Cur 8 Tot 248053)
  13221. 2021-09-14 09:06:53.566674 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT
  13222. 2021-09-14 09:06:53.566674 [DEBUG] mod_sofia.c:90 sofia/default/48732081792@35.205.116.118 SOFIA INIT
  13223. 2021-09-14 09:06:53.566674 [DEBUG] sofia_glue.c:1295 sofia/default/48732081792@35.205.116.118 sending invite version: 1.6.20  64bit
  13224. Local SDP:
  13225. v=0
  13226. o=FreeSWITCH 1631594989 1631594990 IN IP4 89.46.223.193
  13227. s=FreeSWITCH
  13228. c=IN IP4 89.46.223.193
  13229. t=0 0
  13230. m=audio 29824 RTP/AVP 0 101
  13231. a=rtpmap:0 PCMU/8000
  13232. a=rtpmap:101 telephone-event/8000
  13233. a=fmtp:101 0-16
  13234. a=ptime:20
  13235. a=sendrecv
  13236.  
  13237. 2021-09-14 09:06:53.566674 [DEBUG] switch_core_state_machine.c:40 sofia/default/48732081792@35.205.116.118 Standard INIT
  13238. 2021-09-14 09:06:53.566674 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48732081792@35.205.116.118) State Change CS_INIT -> CS_ROUTING
  13239. 2021-09-14 09:06:53.566674 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT going to sleep
  13240. 2021-09-14 09:06:53.566674 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_ROUTING (Cur 8 Tot 248053)
  13241. 2021-09-14 09:06:53.566674 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING
  13242. 2021-09-14 09:06:53.566674 [DEBUG] mod_sofia.c:143 sofia/default/48732081792@35.205.116.118 SOFIA ROUTING
  13243. 2021-09-14 09:06:53.566674 [DEBUG] switch_ivr_originate.c:67 (sofia/default/48732081792@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  13244. 2021-09-14 09:06:53.566674 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING going to sleep
  13245. 2021-09-14 09:06:53.566674 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 248053)
  13246. 2021-09-14 09:06:53.566674 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [calling][0]
  13247. 2021-09-14 09:06:53.566674 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA
  13248. 2021-09-14 09:06:53.566674 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA going to sleep
  13249. 2021-09-14 09:06:53.826669 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [terminated][500]
  13250. 2021-09-14 09:06:53.826669 [NOTICE] sofia.c:8273 Hangup sofia/default/48732081792@35.205.116.118 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
  13251. 2021-09-14 09:06:53.826669 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_HANGUP (Cur 8 Tot 248053)
  13252. 2021-09-14 09:06:53.826669 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48732081792@35.205.116.118) Callstate Change DOWN -> HANGUP
  13253. 2021-09-14 09:06:53.826669 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP
  13254. 2021-09-14 09:06:53.826669 [DEBUG] mod_sofia.c:438 Channel sofia/default/48732081792@35.205.116.118 hanging up, cause: NORMAL_TEMPORARY_FAILURE
  13255. 2021-09-14 09:06:53.826669 [DEBUG] switch_core_state_machine.c:60 sofia/default/48732081792@35.205.116.118 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
  13256. 2021-09-14 09:06:53.826669 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP going to sleep
  13257. 2021-09-14 09:06:53.826669 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48732081792@35.205.116.118) State Change CS_HANGUP -> CS_REPORTING
  13258. 2021-09-14 09:06:53.826669 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_REPORTING (Cur 8 Tot 248053)
  13259. 2021-09-14 09:06:53.826669 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING
  13260. 2021-09-14 09:06:53.826669 [INFO] mod_json_cdr.c:271 Process [a1b4a162-155c-11ec-a0db-7dfb9f6e00f0.cdr.json]
  13261. 2021-09-14 09:06:53.826669 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
  13262. 2021-09-14 09:06:53.826669 [INFO] mod_dptools.c:3436 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
  13263. 2021-09-14 09:06:53.826669 [DEBUG] switch_channel.c:4775 Continue on fail [1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]:  Cause: NORMAL_TEMPORARY_FAILURE
  13264. 2021-09-14 09:06:53.826669 [NOTICE] switch_core_state_machine.c:385 sofia/default/48798517722@46.19.210.14 has executed the last dialplan instruction, hanging up.
  13265. 2021-09-14 09:06:53.826669 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/48798517722@46.19.210.14 [CS_EXECUTE] [NORMAL_CLEARING]
  13266. 2021-09-14 09:06:53.826669 [DEBUG] switch_core_state_machine.c:174 sofia/default/48732081792@35.205.116.118 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
  13267. 2021-09-14 09:06:53.826669 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING going to sleep
  13268. 2021-09-14 09:06:53.826669 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48732081792@35.205.116.118) State Change CS_REPORTING -> CS_DESTROY
  13269. 2021-09-14 09:06:53.826669 [DEBUG] switch_core_session.c:1665 Session 248053 (sofia/default/48732081792@35.205.116.118) Locked, Waiting on external entities
  13270. 2021-09-14 09:06:53.826669 [NOTICE] switch_core_session.c:1683 Session 248053 (sofia/default/48732081792@35.205.116.118) Ended
  13271. 2021-09-14 09:06:53.826669 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48732081792@35.205.116.118 [CS_DESTROY]
  13272. 2021-09-14 09:06:53.826669 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48732081792@35.205.116.118) Running State Change CS_DESTROY (Cur 7 Tot 248053)
  13273. 2021-09-14 09:06:53.826669 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY
  13274. 2021-09-14 09:06:53.826669 [DEBUG] mod_sofia.c:343 sofia/default/48732081792@35.205.116.118 SOFIA DESTROY
  13275. 2021-09-14 09:06:53.826669 [DEBUG] switch_core_state_machine.c:181 sofia/default/48732081792@35.205.116.118 Standard DESTROY
  13276. 2021-09-14 09:06:53.826669 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY going to sleep
  13277. 2021-09-14 09:06:53.886753 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE going to sleep
  13278. 2021-09-14 09:06:53.886753 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_HANGUP (Cur 7 Tot 248053)
  13279. 2021-09-14 09:06:53.886753 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48798517722@46.19.210.14) Callstate Change RINGING -> HANGUP
  13280. 2021-09-14 09:06:53.886753 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP
  13281. 2021-09-14 09:06:53.886753 [DEBUG] mod_sofia.c:432 sofia/default/48798517722@46.19.210.14 Overriding SIP cause 480 with 500 from the other leg
  13282. 2021-09-14 09:06:53.886753 [DEBUG] mod_sofia.c:438 Channel sofia/default/48798517722@46.19.210.14 hanging up, cause: NORMAL_CLEARING
  13283. 2021-09-14 09:06:53.886753 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 500
  13284. 2021-09-14 09:06:53.886753 [DEBUG] switch_core_state_machine.c:60 sofia/default/48798517722@46.19.210.14 Standard HANGUP, cause: NORMAL_CLEARING
  13285. 2021-09-14 09:06:53.886753 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP going to sleep
  13286. 2021-09-14 09:06:53.886753 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48798517722@46.19.210.14) State Change CS_HANGUP -> CS_REPORTING
  13287. 2021-09-14 09:06:53.886753 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_REPORTING (Cur 7 Tot 248053)
  13288. 2021-09-14 09:06:53.886753 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING
  13289. 2021-09-14 09:06:53.886753 [INFO] mod_json_cdr.c:271 Process [a1af19a4-155c-11ec-a0bb-7dfb9f6e00f0.cdr.json]
  13290. 2021-09-14 09:06:53.886753 [DEBUG] switch_core_state_machine.c:174 sofia/default/48798517722@46.19.210.14 Standard REPORTING, cause: NORMAL_CLEARING
  13291. 2021-09-14 09:06:53.886753 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING going to sleep
  13292. 2021-09-14 09:06:53.886753 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48798517722@46.19.210.14) State Change CS_REPORTING -> CS_DESTROY
  13293. 2021-09-14 09:06:53.886753 [DEBUG] switch_core_session.c:1665 Session 248052 (sofia/default/48798517722@46.19.210.14) Locked, Waiting on external entities
  13294. 2021-09-14 09:06:53.886753 [NOTICE] switch_core_session.c:1683 Session 248052 (sofia/default/48798517722@46.19.210.14) Ended
  13295. 2021-09-14 09:06:53.886753 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48798517722@46.19.210.14 [CS_DESTROY]
  13296. 2021-09-14 09:06:53.886753 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48798517722@46.19.210.14) Running State Change CS_DESTROY (Cur 6 Tot 248053)
  13297. 2021-09-14 09:06:53.886753 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY
  13298. 2021-09-14 09:06:53.886753 [DEBUG] mod_sofia.c:343 sofia/default/48798517722@46.19.210.14 SOFIA DESTROY
  13299. 2021-09-14 09:06:53.886753 [DEBUG] switch_core_state_machine.c:181 sofia/default/48798517722@46.19.210.14 Standard DESTROY
  13300. 2021-09-14 09:06:53.886753 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY going to sleep
  13301. 2021-09-14 09:06:59.646668 [NOTICE] switch_channel.c:1104 New Channel sofia/default/test@89.46.223.193 [a5543fa8-155c-11ec-a0df-7dfb9f6e00f0]
  13302. 2021-09-14 09:06:59.646668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/test@89.46.223.193) Running State Change CS_NEW (Cur 7 Tot 248054)
  13303. 2021-09-14 09:06:59.646668 [DEBUG] sofia.c:9873 sofia/default/test@89.46.223.193 receiving invite from 51.15.153.41:5080 version: 1.6.20  64bit
  13304. 2021-09-14 09:06:59.646668 [DEBUG] sofia.c:10044 IP 51.15.153.41 Rejected by acl "default". Falling back to Digest auth.
  13305. 2021-09-14 09:06:59.646668 [WARNING] sofia_reg.c:1792 SIP auth challenge (INVITE) on sofia profile 'default' for [009447418600363@89.46.223.193] from ip 51.15.153.41
  13306. 2021-09-14 09:06:59.646668 [DEBUG] switch_core_state_machine.c:603 (sofia/default/test@89.46.223.193) State NEW
  13307. 2021-09-14 09:06:59.646668 [DEBUG] sofia.c:2334 detaching session a5543fa8-155c-11ec-a0df-7dfb9f6e00f0
  13308. 2021-09-14 09:07:09.666750 [WARNING] switch_core_state_machine.c:687 a5543fa8-155c-11ec-a0df-7dfb9f6e00f0 sofia/default/test@89.46.223.193 Abandoned
  13309. 2021-09-14 09:07:09.666750 [NOTICE] switch_core_state_machine.c:690 Hangup sofia/default/test@89.46.223.193 [CS_NEW] [WRONG_CALL_STATE]
  13310. 2021-09-14 09:07:09.666750 [DEBUG] switch_core_state_machine.c:584 (sofia/default/test@89.46.223.193) Running State Change CS_HANGUP (Cur 7 Tot 248054)
  13311. 2021-09-14 09:07:09.666750 [DEBUG] switch_core_state_machine.c:850 (sofia/default/test@89.46.223.193) Callstate Change DOWN -> HANGUP
  13312. 2021-09-14 09:07:09.666750 [DEBUG] switch_core_state_machine.c:852 (sofia/default/test@89.46.223.193) State HANGUP
  13313. 2021-09-14 09:07:09.666750 [DEBUG] mod_sofia.c:438 Channel sofia/default/test@89.46.223.193 hanging up, cause: WRONG_CALL_STATE
  13314. 2021-09-14 09:07:09.666750 [DEBUG] switch_core_state_machine.c:60 sofia/default/test@89.46.223.193 Standard HANGUP, cause: WRONG_CALL_STATE
  13315. 2021-09-14 09:07:09.666750 [DEBUG] switch_core_state_machine.c:852 (sofia/default/test@89.46.223.193) State HANGUP going to sleep
  13316. 2021-09-14 09:07:09.666750 [DEBUG] switch_core_state_machine.c:619 (sofia/default/test@89.46.223.193) State Change CS_HANGUP -> CS_REPORTING
  13317. 2021-09-14 09:07:09.666750 [DEBUG] switch_core_state_machine.c:584 (sofia/default/test@89.46.223.193) Running State Change CS_REPORTING (Cur 7 Tot 248054)
  13318. 2021-09-14 09:07:09.666750 [DEBUG] switch_core_state_machine.c:938 (sofia/default/test@89.46.223.193) State REPORTING
  13319. 2021-09-14 09:07:09.666750 [DEBUG] switch_core_state_machine.c:174 sofia/default/test@89.46.223.193 Standard REPORTING, cause: WRONG_CALL_STATE
  13320. 2021-09-14 09:07:09.666750 [DEBUG] switch_core_state_machine.c:938 (sofia/default/test@89.46.223.193) State REPORTING going to sleep
  13321. 2021-09-14 09:07:09.666750 [DEBUG] switch_core_state_machine.c:610 (sofia/default/test@89.46.223.193) State Change CS_REPORTING -> CS_DESTROY
  13322. 2021-09-14 09:07:09.666750 [DEBUG] switch_core_session.c:1665 Session 248054 (sofia/default/test@89.46.223.193) Locked, Waiting on external entities
  13323. 2021-09-14 09:07:09.666750 [NOTICE] switch_core_session.c:1683 Session 248054 (sofia/default/test@89.46.223.193) Ended
  13324. 2021-09-14 09:07:09.666750 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/test@89.46.223.193 [CS_DESTROY]
  13325. 2021-09-14 09:07:09.666750 [DEBUG] switch_core_state_machine.c:741 (sofia/default/test@89.46.223.193) Running State Change CS_DESTROY (Cur 6 Tot 248054)
  13326. 2021-09-14 09:07:09.666750 [DEBUG] switch_core_state_machine.c:751 (sofia/default/test@89.46.223.193) State DESTROY
  13327. 2021-09-14 09:07:09.666750 [DEBUG] mod_sofia.c:343 sofia/default/test@89.46.223.193 SOFIA DESTROY
  13328. 2021-09-14 09:07:09.666750 [DEBUG] switch_core_state_machine.c:181 sofia/default/test@89.46.223.193 Standard DESTROY
  13329. 2021-09-14 09:07:09.666750 [DEBUG] switch_core_state_machine.c:751 (sofia/default/test@89.46.223.193) State DESTROY going to sleep
  13330.