From Sole Dormouse, 2 Years ago, written in Plain Text.
- go back
Embed
Viewing differences between and Untitled
  1. +OK log level  [7]
  2. 2021-12-31 09:20:54.362566 99.93% [NOTICE] switch_channel.c:1123 New Channel sofia/external_sip/6974108809@voips.modulus.gr [5f8cf354-a790-4724-862e-825522fe3db7]
  3. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_NEW (Cur 1 Tot 3233)
  4. 2021-12-31 09:20:54.362566 99.93% [INFO] sofia.c:10462 sofia/external_sip/6974108809@voips.modulus.gr receiving invite from 185.73.43.250:5060 version: 1.10.7 -release-19-883d2cb662 64bit call-id: 13a0a5264140daf61050bd584ef96364@voips.modulus.gr
  5. 2021-12-31 09:20:54.362566 99.93% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 185.73.43.250:0.
  6. 2021-12-31 09:20:54.362566 99.93% [DEBUG] sofia.c:7499 Channel sofia/external_sip/6974108809@voips.modulus.gr entering state [received][100]
  7. 2021-12-31 09:20:54.362566 99.93% [DEBUG] sofia.c:7509 Remote SDP:
  8. v=0
  9. o=root 197265355 197265355 IN IP4 185.73.43.253
  10. s=modCOM v2 Media Gateway
  11. c=IN IP4 185.73.43.253
  12. t=0 0
  13. m=audio 21660 RTP/AVP 8 9 0 18 101
  14. a=rtpmap:8 PCMA/8000
  15. a=rtpmap:9 G722/8000
  16. a=rtpmap:0 PCMU/8000
  17. a=rtpmap:18 G729/8000
  18. a=fmtp:18 annexb=no
  19. a=rtpmap:101 telephone-event/8000
  20. a=fmtp:101 0-16
  21. a=rtcp:21661
  22. a=ptime:20
  23.  
  24. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  25. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  26. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  27. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  28. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  29. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  30. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  31. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  32. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  33. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  34. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  35. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_core_media.c:3870 Set Codec sofia/external_sip/6974108809@voips.modulus.gr PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  36. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_core_codec.c:111 sofia/external_sip/6974108809@voips.modulus.gr Original read codec set to PCMA:8
  37. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  38. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_core_media.c:5973 sofia/external_sip/6974108809@voips.modulus.gr Set 2833 dtmf send payload to 101 recv payload to 101
  39. 2021-12-31 09:20:54.362566 99.93% [DEBUG] sofia.c:7933 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_NEW -> CS_INIT
  40. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_core_state_machine.c:600 (sofia/external_sip/6974108809@voips.modulus.gr) State NEW
  41. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_INIT (Cur 1 Tot 3233)
  42. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_core_state_machine.c:624 (sofia/external_sip/6974108809@voips.modulus.gr) State INIT
  43. 2021-12-31 09:20:54.362566 99.93% [DEBUG] mod_sofia.c:97 sofia/external_sip/6974108809@voips.modulus.gr SOFIA INIT
  44. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_core_state_machine.c:40 sofia/external_sip/6974108809@voips.modulus.gr Standard INIT
  45. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_core_state_machine.c:48 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_INIT -> CS_ROUTING
  46. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_core_state_machine.c:624 (sofia/external_sip/6974108809@voips.modulus.gr) State INIT going to sleep
  47. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_ROUTING (Cur 1 Tot 3233)
  48. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_channel.c:2380 (sofia/external_sip/6974108809@voips.modulus.gr) Callstate Change DOWN -> RINGING
  49. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING
  50. 2021-12-31 09:20:54.362566 99.93% [DEBUG] mod_sofia.c:158 sofia/external_sip/6974108809@voips.modulus.gr SOFIA ROUTING
  51. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_core_state_machine.c:230 sofia/external_sip/6974108809@voips.modulus.gr Standard ROUTING
  52. 2021-12-31 09:20:54.362566 99.93% [INFO] mod_dialplan_xml.c:639 Processing 6974108809 <6974108809>->2102202732 in context default
  53. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  54. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  55. 2021-12-31 09:20:54.362566 99.93% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
  56. Event-Name: REQUEST_PARAMS
  57. Core-UUID: 7c1eed07-34ee-474f-964d-a5cb6e2e7c68
  58. FreeSWITCH-Hostname: billing
  59. FreeSWITCH-Switchname: billing
  60. FreeSWITCH-IPv4: 172.16.0.30
  61. FreeSWITCH-IPv6: %3A%3A1
  62. Event-Date-Local: 2021-12-31%2009%3A20%3A54
  63. Event-Date-GMT: Fri,%2031%20Dec%202021%2009%3A20%3A54%20GMT
  64. Event-Date-Timestamp: 1640942454362566
  65. Event-Calling-File: mod_dialplan_xml.c
  66. Event-Calling-Function: dialplan_xml_locate
  67. Event-Calling-Line-Number: 610
  68. Event-Sequence: 411913
  69. Channel-State: CS_ROUTING
  70. Channel-Call-State: RINGING
  71. Channel-State-Number: 2
  72. Channel-Name: sofia/external_sip/6974108809%40voips.modulus.gr
  73. Unique-ID: 5f8cf354-a790-4724-862e-825522fe3db7
  74. Call-Direction: inbound
  75. Presence-Call-Direction: inbound
  76. Channel-HIT-Dialplan: true
  77. Channel-Call-UUID: 5f8cf354-a790-4724-862e-825522fe3db7
  78. Answer-State: ringing
  79. Channel-Read-Codec-Name: PCMA
  80. Channel-Read-Codec-Rate: 8000
  81. Channel-Read-Codec-Bit-Rate: 64000
  82. Channel-Write-Codec-Name: PCMA
  83. Channel-Write-Codec-Rate: 8000
  84. Channel-Write-Codec-Bit-Rate: 64000
  85. Caller-Direction: inbound
  86. Caller-Logical-Direction: inbound
  87. Caller-Username: 6974108809
  88. Caller-Dialplan: XML
  89. Caller-Caller-ID-Name: 6974108809
  90. Caller-Caller-ID-Number: 6974108809
  91. Caller-Orig-Caller-ID-Name: 6974108809
  92. Caller-Orig-Caller-ID-Number: 6974108809
  93. Caller-Network-Addr: 185.73.43.250
  94. Caller-ANI: 6974108809
  95. Caller-Destination-Number: 2102202732
  96. Caller-Unique-ID: 5f8cf354-a790-4724-862e-825522fe3db7
  97. Caller-Source: mod_sofia
  98. Caller-Context: default
  99. Caller-Channel-Name: sofia/external_sip/6974108809%40voips.modulus.gr
  100. Caller-Profile-Index: 1
  101. Caller-Profile-Created-Time: 1640942454362566
  102. Caller-Channel-Created-Time: 1640942454362566
  103. Caller-Channel-Answered-Time: 0
  104. Caller-Channel-Progress-Time: 0
  105. Caller-Channel-Progress-Media-Time: 0
  106. Caller-Channel-Hangup-Time: 0
  107. Caller-Channel-Transfer-Time: 0
  108. Caller-Channel-Resurrect-Time: 0
  109. Caller-Channel-Bridged-Time: 0
  110. Caller-Channel-Last-Hold: 0
  111. Caller-Channel-Hold-Accum: 0
  112. Caller-Screen-Bit: false
  113. Caller-Privacy-Hide-Name: false
  114. Caller-Privacy-Hide-Number: false
  115. variable_direction: inbound
  116. variable_uuid: 5f8cf354-a790-4724-862e-825522fe3db7
  117. variable_session_id: 3233
  118. variable_sip_from_user: 6974108809
  119. variable_sip_from_uri: 6974108809%40voips.modulus.gr
  120. variable_sip_from_host: voips.modulus.gr
  121. variable_video_media_flow: disabled
  122. variable_text_media_flow: disabled
  123. variable_channel_name: sofia/external_sip/6974108809%40voips.modulus.gr
  124. variable_sip_call_id: 13a0a5264140daf61050bd584ef96364%40voips.modulus.gr
  125. variable_sip_local_network_addr: 94.130.242.106
  126. variable_sip_network_ip: 185.73.43.250
  127. variable_sip_network_port: 5060
  128. variable_sip_invite_stamp: 1640942454362566
  129. variable_sip_received_ip: 185.73.43.250
  130. variable_sip_received_port: 5060
  131. variable_sip_via_protocol: udp
  132. variable_sip_from_user_stripped: 6974108809
  133. variable_sip_from_tag: as35ad68fb
  134. variable_sofia_profile_name: external_sip
  135. variable_sofia_profile_url: sip%3Amod_sofia%4094.130.242.106%3A6080
  136. variable_recovery_profile_name: external_sip
  137. variable_sip_Remote-Party-ID: %226974108809%22%20%3Csip%3A6974108809%40voips.modulus.gr%3E%3Bparty%3Dcalling%3Bprivacy%3Doff%3Bscreen%3Dno
  138. variable_sip_cid_type: rpid
  139. variable_sip_full_via: SIP/2.0/UDP%20185.73.43.250%3Bbranch%3Dz9hG4bK8249.73904a7d197d5effbe879939a332a9e8.0
  140. variable_sip_full_from: %3Csip%3A6974108809%40voips.modulus.gr%3E%3Btag%3Das35ad68fb
  141. variable_sip_full_to: %3Csip%3A2102202732%40voips.modulus.gr%3E
  142. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE
  143. variable_sip_req_user: 2102202732
  144. variable_sip_req_uri: 2102202732%40voips.modulus.gr
  145. variable_sip_req_host: voips.modulus.gr
  146. variable_sip_to_user: 2102202732
  147. variable_sip_to_uri: 2102202732%40voips.modulus.gr
  148. variable_sip_to_host: voips.modulus.gr
  149. variable_sip_contact_user: btpsh-61ce422f-2ca5-8cf2a
  150. variable_sip_contact_uri: btpsh-61ce422f-2ca5-8cf2a%40185.73.43.250
  151. variable_sip_contact_host: 185.73.43.250
  152. variable_sip_user_agent: modCOM%20v2%20SIP%20Server
  153. variable_sip_via_host: 185.73.43.250
  154. variable_max_forwards: 68
  155. variable_sip_date_epoch_time: 1640942454
  156. variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%20197265355%20197265355%20IN%20IP4%20185.73.43.253%0D%0As%3DmodCOM%20v2%20Media%20Gateway%0D%0Ac%3DIN%20IP4%20185.73.43.253%0D%0At%3D0%200%0D%0Am%3Daudio%2021660%20RTP/AVP%208%209%200%2018%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A9%20G722/8000%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Drtcp%3A21661%0D%0Aa%3Dptime%3A20%0D%0A
  157. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b
  158. variable_rtp_use_codec_string: PCMA,OPUS,G729
  159. variable_remote_video_media_flow: inactive
  160. variable_remote_text_media_flow: inactive
  161. variable_remote_audio_media_flow: sendrecv
  162. variable_audio_media_flow: sendrecv
  163. variable_rtp_remote_audio_rtcp_port: 21661
  164. variable_remote_media_ip: 185.73.43.253
  165. variable_remote_media_port: 21660
  166. variable_rtp_audio_recv_pt: 8
  167. variable_rtp_use_codec_name: PCMA
  168. variable_rtp_use_codec_rate: 8000
  169. variable_rtp_use_codec_ptime: 20
  170. variable_rtp_use_codec_channels: 1
  171. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  172. variable_read_codec: PCMA
  173. variable_original_read_codec: PCMA
  174. variable_read_rate: 8000
  175. variable_original_read_rate: 8000
  176. variable_write_codec: PCMA
  177. variable_write_rate: 8000
  178. variable_dtmf_type: rfc2833
  179. variable_endpoint_disposition: RECEIVED
  180. variable_call_uuid: 5f8cf354-a790-4724-862e-825522fe3db7
  181. Hunt-Direction: inbound
  182. Hunt-Logical-Direction: inbound
  183. Hunt-Username: 6974108809
  184. Hunt-Dialplan: XML
  185. Hunt-Caller-ID-Name: 6974108809
  186. Hunt-Caller-ID-Number: 6974108809
  187. Hunt-Orig-Caller-ID-Name: 6974108809
  188. Hunt-Orig-Caller-ID-Number: 6974108809
  189. Hunt-Network-Addr: 185.73.43.250
  190. Hunt-ANI: 6974108809
  191. Hunt-Destination-Number: 2102202732
  192. Hunt-Unique-ID: 5f8cf354-a790-4724-862e-825522fe3db7
  193. Hunt-Source: mod_sofia
  194. Hunt-Context: default
  195. Hunt-Channel-Name: sofia/external_sip/6974108809%40voips.modulus.gr
  196. Hunt-Profile-Index: 1
  197. Hunt-Profile-Created-Time: 1640942454362566
  198. Hunt-Channel-Created-Time: 1640942454362566
  199. Hunt-Channel-Answered-Time: 0
  200. Hunt-Channel-Progress-Time: 0
  201. Hunt-Channel-Progress-Media-Time: 0
  202. Hunt-Channel-Hangup-Time: 0
  203. Hunt-Channel-Transfer-Time: 0
  204. Hunt-Channel-Resurrect-Time: 0
  205. Hunt-Channel-Bridged-Time: 0
  206. Hunt-Channel-Last-Hold: 0
  207. Hunt-Channel-Hold-Accum: 0
  208. Hunt-Screen-Bit: false
  209. Hunt-Privacy-Hide-Name: false
  210. Hunt-Privacy-Hide-Number: false
  211.  
  212.  
  213. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
  214. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
  215. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
  216. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
  217. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 2102202732
  218. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '2102202732' AND status=0 limit 1
  219. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 6974108809 / 6974108809
  220. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_cpp.cpp:1465 [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 ="2102202732" LIMIT 1
  221. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  222. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("185.73.43.250") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "2102202732"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  223. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 2976257734]
  224. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "2976257734" AND deleted = 0 limit 1
  225. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="2102202732" AND (accountid = 0 OR status = 1) LIMIT 1
  226. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  227. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 11
  228. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_cpp.cpp:1465 [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 = '^2102202732.*' OR patterns = '^210220273.*' OR patterns = '^21022027.*' OR patterns = '^2102202.*' OR patterns = '^210220.*' OR patterns = '^21022.*' OR patterns = '^2102.*' OR patterns = '^210.*' OR patterns = '^21.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 11 ORDER BY LENGTH(PKGPTR.patterns) DESC
  229. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_cpp.cpp:1465 [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 ="2102202732" AND A.accountid = '9' limit 1
  230. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 2102202732
  231. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_cpp.cpp:1465 [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 ="2102202732" LIMIT 1
  232. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  233. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '2102202732' OR number = '210220273' OR number = '21022027' OR number = '2102202' OR number = '210220' OR number = '21022' OR number = '2102' OR number = '210' OR number = '21' OR number = '2' OR number ='--') OR (number = '2102202732*' OR number = '210220273*' OR number = '21022027*' OR number = '2102202*' OR number = '210220*' OR number = '21022*' OR number = '2102*' OR number = '210*' OR number = '21*' OR number = '2*' OR number ='--') OR (number = '6974108809' OR number = '697410880' OR number = '69741088' OR number = '6974108' OR number = '697410' OR number = '69741' OR number = '6974' OR number = '697' OR number = '69' OR number = '6' OR number ='--') OR (number = '6974108809*' OR number = '697410880*' OR number = '69741088*' OR number = '6974108*' OR number = '697410*' OR number = '69741*' OR number = '6974*' OR number = '697*' OR number = '69*' OR number = '6*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  234. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  235. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '2102202732' OR routing_prefix = '210220273' OR routing_prefix = '21022027' OR routing_prefix = '2102202' OR routing_prefix = '210220' OR routing_prefix = '21022' OR routing_prefix = '2102' OR routing_prefix = '210' OR routing_prefix = '21' OR routing_prefix = '2' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  236. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  237. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 9
  238. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 2976257734
  239. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 10000
  240. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  241. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2
  242. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 6
  243. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  244. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  245. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  246. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_cpp.cpp:1465 [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 ="2102202732" LIMIT 1
  247. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  248. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  249. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  250. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  251. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  252. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  253. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 2102202732
  254. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 75
  255. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
  256. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  257. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 9 !!!
  258. 2021-12-31 09:20:54.362566 99.93% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  259. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE ID 9
  260. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE RATE 0.00000
  261. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE CONNECT COST 0.00000
  262. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INITIAL INC 0
  263. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INC 0
  264. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  265. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  266. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  267. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 9 AND status=0 LIMIT 1
  268. 2021-12-31 09:20:54.362566 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "11" AND deleted = 0 limit 1
  269. 2021-12-31 09:20:54.362566 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:9
  270. 2021-12-31 09:20:54.382559 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:9
  271. 2021-12-31 09:20:54.382559 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 9
  272. 2021-12-31 09:20:54.382559 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  273. 2021-12-31 09:20:54.382559 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  274. 2021-12-31 09:20:54.382559 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  275. 2021-12-31 09:20:54.382559 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 11  and status = 0 limit 1
  276. 2021-12-31 09:20:54.382559 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_4
  277. 2021-12-31 09:20:54.382559 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  278. <document type="freeswitch/xml">
  279. <section name="dialplan" description="ASTPP Dialplan">
  280. <context name="default">
  281. <extension name="2102202732">
  282. <condition field="destination_number" expression="2102202732">
  283. <action application="set" data="effective_destination_number=2102202732"/>
  284. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  285. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  286. <action application="set" data="nibble_account=9"/>
  287. <action application="set" data="nibble_rate=0.00000"/>
  288. <action application="set" data="nibble_increment=0"/>
  289. <action application="set" data="nibble_minimum=0.00000"/>
  290. <action application="nibblebill" data="heartbeat 30"/>
  291. <action application="set" data="callstart=2021-12-31 09:20:54"/>
  292. <action application="set" data="hangup_after_bridge=true"/>
  293. <action application="set" data="continue_on_fail=TRUE"/>
  294. <action application="set" data="account_id=9"/>
  295. <action application="set" data="parent_id=0"/>
  296. <action application="set" data="entity_id=3"/>
  297. <action application="set" data="call_processed=internal"/>
  298. <action application="set" data="call_direction=inbound"/>
  299. <action application="set" data="accountname=ModulusIncoming"/>
  300. <action application="set" data="origination_rates_did=ID:1|CODE:^2102202732.*|DESTINATION:2102202732|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:75|ACCID:11"/>
  301. <action application="set" data="origination_rates=0"/>
  302. <action application="set" data="original_caller_id_name=6974108809"/>
  303. <action application="set" data="original_caller_id_number=6974108809"/>
  304. <action application="limit" data="db 2976257734 user_2976257734 60 "/>
  305. <action application="limit" data="db 11 user_11 2 "/>
  306. <action application="set" data="effective_caller_id_name=6974108809"/>
  307. <action application="set" data="effective_caller_id_number=6974108809"/>
  308. <action application="set" data="receiver_accid=11"/>
  309. <action application="export" data="domain_name="/>
  310. <action application="export" data="sip_to_host="/>
  311. <action application="limit" data="db 2102202732 did_2102202732 2 "/>
  312. <action application="export" data="presence_data=x|||Martha(7772615170)|||||||||DID|||185.73.43.250"/>
  313. <action application="export" data="call_type=4"/>
  314. <action application="set" data="calltype=STANDARD"/>
  315. <action application="set" data="accountcode=7772615170"/>
  316. <action application="set" data="caller_did_account_id=9"/>
  317. <action application="set" data="did_number=2102202732"/>
  318. <action application="set" data="did_init_inc=0"/>
  319. <action application="set" data="did_inc=0"/>
  320. <action application="set" data="did_cost=0.00000"/>
  321. <action application="set" data="did_connectcost=0.00000"/>
  322. <action application="set" data="origination_rates_did=0"/>
  323. <action application="transfer" data="6974485168 XML default"/>
  324. </condition>
  325. </extension>
  326. </context>
  327. </section>
  328. </document>
  329. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr parsing [default->2102202732] continue=false
  330. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Regex (PASS) [2102202732] destination_number(2102202732) =~ /2102202732/ break=on-false
  331. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_destination_number=2102202732)
  332. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(bridge_pre_execute_bleg_app=sched_hangup)
  333. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  334. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_account=9)
  335. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_rate=0.00000)
  336. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_increment=0)
  337. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_minimum=0.00000)
  338. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action nibblebill(heartbeat 30)
  339. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(callstart=2021-12-31 09:20:54)
  340. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(hangup_after_bridge=true)
  341. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(continue_on_fail=TRUE)
  342. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(account_id=9)
  343. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(parent_id=0)
  344. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(entity_id=3)
  345. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_processed=internal)
  346. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_direction=inbound)
  347. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(accountname=ModulusIncoming)
  348. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(origination_rates_did=ID:1|CODE:^2102202732.*|DESTINATION:2102202732|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:75|ACCID:11)
  349. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(origination_rates=0)
  350. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_name=6974108809)
  351. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_number=6974108809)
  352. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action limit(db 2976257734 user_2976257734 60 )
  353. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action limit(db 11 user_11 2 )
  354. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_caller_id_name=6974108809)
  355. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_caller_id_number=6974108809)
  356. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(receiver_accid=11)
  357. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(domain_name=)
  358. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(sip_to_host=)
  359. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action limit(db 2102202732 did_2102202732 2 )
  360. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(presence_data=x|||Martha(7772615170)|||||||||DID|||185.73.43.250)
  361. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(call_type=4)
  362. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(calltype=STANDARD)
  363. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(accountcode=7772615170)
  364. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(caller_did_account_id=9)
  365. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_number=2102202732)
  366. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_init_inc=0)
  367. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_inc=0)
  368. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_cost=0.00000)
  369. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_connectcost=0.00000)
  370. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(origination_rates_did=0)
  371. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action transfer(6974485168 XML default)
  372. 2021-12-31 09:20:54.382559 99.93% [DEBUG] switch_core_state_machine.c:281 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_ROUTING -> CS_EXECUTE
  373. 2021-12-31 09:20:54.382559 99.93% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING going to sleep
  374. 2021-12-31 09:20:54.382559 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_EXECUTE (Cur 1 Tot 3233)
  375. 2021-12-31 09:20:54.382559 99.93% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE
  376. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_sofia.c:213 sofia/external_sip/6974108809@voips.modulus.gr SOFIA EXECUTE
  377. 2021-12-31 09:20:54.382559 99.93% [DEBUG] switch_core_state_machine.c:323 sofia/external_sip/6974108809@voips.modulus.gr Standard EXECUTE
  378. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_destination_number=2102202732)
  379. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_destination_number]=[2102202732]
  380. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(bridge_pre_execute_bleg_app=sched_hangup)
  381. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [bridge_pre_execute_bleg_app]=[sched_hangup]
  382. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  383. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  384. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_account=9)
  385. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_account]=[9]
  386. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_rate=0.00000)
  387. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_rate]=[0.00000]
  388. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_increment=0)
  389. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_increment]=[0]
  390. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_minimum=0.00000)
  391. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_minimum]=[0.00000]
  392. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr nibblebill(heartbeat 30)
  393. 2021-12-31 09:20:54.382559 99.93% [WARNING] switch_core_session.c:1693 sofia/external_sip/6974108809@voips.modulus.gr using scheduler due to bypass media or media is not established.
  394. 2021-12-31 09:20:54.382559 99.93% [DEBUG] switch_scheduler.c:263 Added task 1843 switch_core_session_sched_heartbeat (5f8cf354-a790-4724-862e-825522fe3db7) to run at 1640942484
  395. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(callstart=2021-12-31 09:20:54)
  396. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [callstart]=[2021-12-31 09:20:54]
  397. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(hangup_after_bridge=true)
  398. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [hangup_after_bridge]=[true]
  399. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(continue_on_fail=TRUE)
  400. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [continue_on_fail]=[TRUE]
  401. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(account_id=9)
  402. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [account_id]=[9]
  403. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(parent_id=0)
  404. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [parent_id]=[0]
  405. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(entity_id=3)
  406. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [entity_id]=[3]
  407. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(call_processed=internal)
  408. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [call_processed]=[internal]
  409. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(call_direction=inbound)
  410. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [call_direction]=[inbound]
  411. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(accountname=ModulusIncoming)
  412. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [accountname]=[ModulusIncoming]
  413. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(origination_rates_did=ID:1|CODE:^2102202732.*|DESTINATION:2102202732|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:75|ACCID:11)
  414. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [origination_rates_did]=[ID:1|CODE:^2102202732.*|DESTINATION:2102202732|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:75|ACCID:11]
  415. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(origination_rates=0)
  416. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [origination_rates]=[0]
  417. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(original_caller_id_name=6974108809)
  418. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [original_caller_id_name]=[6974108809]
  419. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(original_caller_id_number=6974108809)
  420. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [original_caller_id_number]=[6974108809]
  421. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr limit(db 2976257734 user_2976257734 60 )
  422. 2021-12-31 09:20:54.382559 99.93% [DEBUG] switch_limit.c:124 incr called: 2976257734_user_2976257734 max:60, interval:0
  423. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_db.c:194 Usage for 2976257734_user_2976257734 is now 1/60
  424. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr limit(db 11 user_11 2 )
  425. 2021-12-31 09:20:54.382559 99.93% [DEBUG] switch_limit.c:124 incr called: 11_user_11 max:2, interval:0
  426. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_db.c:194 Usage for 11_user_11 is now 1/2
  427. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_caller_id_name=6974108809)
  428. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_caller_id_name]=[6974108809]
  429. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_caller_id_number=6974108809)
  430. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_caller_id_number]=[6974108809]
  431. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(receiver_accid=11)
  432. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [receiver_accid]=[11]
  433. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(domain_name=)
  434. 2021-12-31 09:20:54.382559 99.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF]
  435. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(sip_to_host=)
  436. 2021-12-31 09:20:54.382559 99.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF]
  437. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr limit(db 2102202732 did_2102202732 2 )
  438. 2021-12-31 09:20:54.382559 99.93% [DEBUG] switch_limit.c:124 incr called: 2102202732_did_2102202732 max:2, interval:0
  439. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_db.c:194 Usage for 2102202732_did_2102202732 is now 1/2
  440. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(presence_data=x|||Martha(7772615170)|||||||||DID|||185.73.43.250)
  441. 2021-12-31 09:20:54.382559 99.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Martha(7772615170)|||||||||DID|||185.73.43.250]
  442. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(call_type=4)
  443. 2021-12-31 09:20:54.382559 99.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[4]
  444. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(calltype=STANDARD)
  445. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [calltype]=[STANDARD]
  446. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(accountcode=7772615170)
  447. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [accountcode]=[7772615170]
  448. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(caller_did_account_id=9)
  449. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [caller_did_account_id]=[9]
  450. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(did_number=2102202732)
  451. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [did_number]=[2102202732]
  452. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(did_init_inc=0)
  453. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [did_init_inc]=[0]
  454. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(did_inc=0)
  455. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [did_inc]=[0]
  456. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(did_cost=0.00000)
  457. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [did_cost]=[0.00000]
  458. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(did_connectcost=0.00000)
  459. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [did_connectcost]=[0.00000]
  460. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(origination_rates_did=0)
  461. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [origination_rates_did]=[0]
  462. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr transfer(6974485168 XML default)
  463. 2021-12-31 09:20:54.382559 99.93% [DEBUG] switch_ivr.c:2289 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_EXECUTE -> CS_ROUTING
  464. 2021-12-31 09:20:54.382559 99.93% [NOTICE] switch_ivr.c:2296 Transfer sofia/external_sip/6974108809@voips.modulus.gr to XML[6974485168@default]
  465. 2021-12-31 09:20:54.382559 99.93% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE going to sleep
  466. 2021-12-31 09:20:54.382559 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_ROUTING (Cur 1 Tot 3233)
  467. 2021-12-31 09:20:54.382559 99.93% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING
  468. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
  469. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_sofia.c:158 sofia/external_sip/6974108809@voips.modulus.gr SOFIA ROUTING
  470. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 9
  471. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_nibblebill.c:518 Not billing 9 - call is not in answered state
  472. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_nibblebill.c:422 Doing lookup query
  473. [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='9']
  474. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 9 (balance = 19.157050)
  475. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_nibblebill.c:523 Comparing 19.157050 to hangup balance of 0.000000, taking into account minimum charge of 0.000000
  476. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_nibblebill.c:422 Doing lookup query
  477. [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='9']
  478. 2021-12-31 09:20:54.382559 99.93% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 9 (balance = 19.157050)
  479. 2021-12-31 09:20:54.382559 99.93% [DEBUG] switch_core_state_machine.c:230 sofia/external_sip/6974108809@voips.modulus.gr Standard ROUTING
  480. 2021-12-31 09:20:54.382559 99.93% [INFO] mod_dialplan_xml.c:639 Processing 6974108809 <6974108809>->6974485168 in context default
  481. 2021-12-31 09:20:54.382559 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  482. 2021-12-31 09:20:54.382559 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  483. 2021-12-31 09:20:54.382559 99.93% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
  484. Event-Name: REQUEST_PARAMS
  485. Core-UUID: 7c1eed07-34ee-474f-964d-a5cb6e2e7c68
  486. FreeSWITCH-Hostname: billing
  487. FreeSWITCH-Switchname: billing
  488. FreeSWITCH-IPv4: 172.16.0.30
  489. FreeSWITCH-IPv6: %3A%3A1
  490. Event-Date-Local: 2021-12-31%2009%3A20%3A54
  491. Event-Date-GMT: Fri,%2031%20Dec%202021%2009%3A20%3A54%20GMT
  492. Event-Date-Timestamp: 1640942454382559
  493. Event-Calling-File: mod_dialplan_xml.c
  494. Event-Calling-Function: dialplan_xml_locate
  495. Event-Calling-Line-Number: 610
  496. Event-Sequence: 412002
  497. Channel-State: CS_ROUTING
  498. Channel-Call-State: RINGING
  499. Channel-State-Number: 2
  500. Channel-Name: sofia/external_sip/6974108809%40voips.modulus.gr
  501. Unique-ID: 5f8cf354-a790-4724-862e-825522fe3db7
  502. Call-Direction: inbound
  503. Presence-Call-Direction: inbound
  504. Channel-HIT-Dialplan: true
  505. Channel-Presence-Data: x%7C%7C%7CMartha(7772615170)%7C%7C%7C%7C%7C%7C%7C%7C%7CDID%7C%7C%7C185.73.43.250
  506. Channel-Call-UUID: 5f8cf354-a790-4724-862e-825522fe3db7
  507. Answer-State: ringing
  508. Channel-Read-Codec-Name: PCMA
  509. Channel-Read-Codec-Rate: 8000
  510. Channel-Read-Codec-Bit-Rate: 64000
  511. Channel-Write-Codec-Name: PCMA
  512. Channel-Write-Codec-Rate: 8000
  513. Channel-Write-Codec-Bit-Rate: 64000
  514. Caller-Direction: inbound
  515. Caller-Logical-Direction: inbound
  516. Caller-Username: 6974108809
  517. Caller-Dialplan: XML
  518. Caller-Caller-ID-Name: 6974108809
  519. Caller-Caller-ID-Number: 6974108809
  520. Caller-Orig-Caller-ID-Name: 6974108809
  521. Caller-Orig-Caller-ID-Number: 6974108809
  522. Caller-Network-Addr: 185.73.43.250
  523. Caller-ANI: 6974108809
  524. Caller-Destination-Number: 6974485168
  525. Caller-Unique-ID: 5f8cf354-a790-4724-862e-825522fe3db7
  526. Caller-Source: mod_sofia
  527. Caller-Transfer-Source: 1640942454%3Aa80d5a4d-dd56-4405-b389-ef7dbe5befb5%3Abl_xfer%3A6974485168/default/XML
  528. Caller-Context: default
  529. Caller-RDNIS: 2102202732
  530. Caller-Channel-Name: sofia/external_sip/6974108809%40voips.modulus.gr
  531. Caller-Profile-Index: 2
  532. Caller-Profile-Created-Time: 1640942454382559
  533. Caller-Channel-Created-Time: 1640942454362566
  534. Caller-Channel-Answered-Time: 0
  535. Caller-Channel-Progress-Time: 0
  536. Caller-Channel-Progress-Media-Time: 0
  537. Caller-Channel-Hangup-Time: 0
  538. Caller-Channel-Transfer-Time: 0
  539. Caller-Channel-Resurrect-Time: 0
  540. Caller-Channel-Bridged-Time: 0
  541. Caller-Channel-Last-Hold: 0
  542. Caller-Channel-Hold-Accum: 0
  543. Caller-Screen-Bit: false
  544. Caller-Privacy-Hide-Name: false
  545. Caller-Privacy-Hide-Number: false
  546. variable_direction: inbound
  547. variable_uuid: 5f8cf354-a790-4724-862e-825522fe3db7
  548. variable_session_id: 3233
  549. variable_sip_from_user: 6974108809
  550. variable_sip_from_uri: 6974108809%40voips.modulus.gr
  551. variable_sip_from_host: voips.modulus.gr
  552. variable_video_media_flow: disabled
  553. variable_text_media_flow: disabled
  554. variable_channel_name: sofia/external_sip/6974108809%40voips.modulus.gr
  555. variable_sip_call_id: 13a0a5264140daf61050bd584ef96364%40voips.modulus.gr
  556. variable_sip_local_network_addr: 94.130.242.106
  557. variable_sip_network_ip: 185.73.43.250
  558. variable_sip_network_port: 5060
  559. variable_sip_invite_stamp: 1640942454362566
  560. variable_sip_received_ip: 185.73.43.250
  561. variable_sip_received_port: 5060
  562. variable_sip_via_protocol: udp
  563. variable_sip_from_user_stripped: 6974108809
  564. variable_sip_from_tag: as35ad68fb
  565. variable_sofia_profile_name: external_sip
  566. variable_sofia_profile_url: sip%3Amod_sofia%4094.130.242.106%3A6080
  567. variable_recovery_profile_name: external_sip
  568. variable_sip_Remote-Party-ID: %226974108809%22%20%3Csip%3A6974108809%40voips.modulus.gr%3E%3Bparty%3Dcalling%3Bprivacy%3Doff%3Bscreen%3Dno
  569. variable_sip_cid_type: rpid
  570. variable_sip_full_via: SIP/2.0/UDP%20185.73.43.250%3Bbranch%3Dz9hG4bK8249.73904a7d197d5effbe879939a332a9e8.0
  571. variable_sip_full_from: %3Csip%3A6974108809%40voips.modulus.gr%3E%3Btag%3Das35ad68fb
  572. variable_sip_full_to: %3Csip%3A2102202732%40voips.modulus.gr%3E
  573. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE
  574. variable_sip_req_user: 2102202732
  575. variable_sip_req_uri: 2102202732%40voips.modulus.gr
  576. variable_sip_req_host: voips.modulus.gr
  577. variable_sip_to_user: 2102202732
  578. variable_sip_to_uri: 2102202732%40voips.modulus.gr
  579. variable_sip_contact_user: btpsh-61ce422f-2ca5-8cf2a
  580. variable_sip_contact_uri: btpsh-61ce422f-2ca5-8cf2a%40185.73.43.250
  581. variable_sip_contact_host: 185.73.43.250
  582. variable_sip_user_agent: modCOM%20v2%20SIP%20Server
  583. variable_sip_via_host: 185.73.43.250
  584. variable_sip_date_epoch_time: 1640942454
  585. variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%20197265355%20197265355%20IN%20IP4%20185.73.43.253%0D%0As%3DmodCOM%20v2%20Media%20Gateway%0D%0Ac%3DIN%20IP4%20185.73.43.253%0D%0At%3D0%200%0D%0Am%3Daudio%2021660%20RTP/AVP%208%209%200%2018%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A9%20G722/8000%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Drtcp%3A21661%0D%0Aa%3Dptime%3A20%0D%0A
  586. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b
  587. variable_rtp_use_codec_string: PCMA,OPUS,G729
  588. variable_remote_video_media_flow: inactive
  589. variable_remote_text_media_flow: inactive
  590. variable_remote_audio_media_flow: sendrecv
  591. variable_audio_media_flow: sendrecv
  592. variable_rtp_remote_audio_rtcp_port: 21661
  593. variable_remote_media_ip: 185.73.43.253
  594. variable_remote_media_port: 21660
  595. variable_rtp_audio_recv_pt: 8
  596. variable_rtp_use_codec_name: PCMA
  597. variable_rtp_use_codec_rate: 8000
  598. variable_rtp_use_codec_ptime: 20
  599. variable_rtp_use_codec_channels: 1
  600. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  601. variable_read_codec: PCMA
  602. variable_original_read_codec: PCMA
  603. variable_read_rate: 8000
  604. variable_original_read_rate: 8000
  605. variable_write_codec: PCMA
  606. variable_write_rate: 8000
  607. variable_dtmf_type: rfc2833
  608. variable_endpoint_disposition: RECEIVED
  609. variable_effective_destination_number: 2102202732
  610. variable_bridge_pre_execute_bleg_app: sched_hangup
  611. variable_bridge_pre_execute_bleg_data: %2B6000%20normal_clearing
  612. variable_nibble_account: 9
  613. variable_nibble_rate: 0.00000
  614. variable_nibble_increment: 0
  615. variable_nibble_minimum: 0.00000
  616. variable_callstart: 2021-12-31%2009%3A20%3A54
  617. variable_hangup_after_bridge: true
  618. variable_continue_on_fail: TRUE
  619. variable_account_id: 9
  620. variable_parent_id: 0
  621. variable_entity_id: 3
  622. variable_call_processed: internal
  623. variable_call_direction: inbound
  624. variable_accountname: ModulusIncoming
  625. variable_origination_rates: 0
  626. variable_original_caller_id_name: 6974108809
  627. variable_original_caller_id_number: 6974108809
  628. variable_limit_usage_2976257734_user_2976257734: 1
  629. variable_limit_usage_11_user_11: 1
  630. variable_effective_caller_id_name: 6974108809
  631. variable_effective_caller_id_number: 6974108809
  632. variable_receiver_accid: 11
  633. variable_limit_realm: 2102202732
  634. variable_limit_id: did_2102202732
  635. variable_limit_max: 2
  636. variable_limit_usage: 1
  637. variable_limit_usage_2102202732_did_2102202732: 1
  638. variable_presence_data: x%7C%7C%7CMartha(7772615170)%7C%7C%7C%7C%7C%7C%7C%7C%7CDID%7C%7C%7C185.73.43.250
  639. variable_call_type: 4
  640. variable_export_vars: presence_data,call_type
  641. variable_calltype: STANDARD
  642. variable_accountcode: 7772615170
  643. variable_caller_did_account_id: 9
  644. variable_did_number: 2102202732
  645. variable_did_init_inc: 0
  646. variable_did_inc: 0
  647. variable_did_cost: 0.00000
  648. variable_did_connectcost: 0.00000
  649. variable_origination_rates_did: 0
  650. variable_current_application_data: 6974485168%20XML%20default
  651. variable_current_application: transfer
  652. variable_max_forwards: 67
  653. variable_transfer_history: 1640942454%3Aa80d5a4d-dd56-4405-b389-ef7dbe5befb5%3Abl_xfer%3A6974485168/default/XML
  654. variable_transfer_source: 1640942454%3Aa80d5a4d-dd56-4405-b389-ef7dbe5befb5%3Abl_xfer%3A6974485168/default/XML
  655. variable_nibble_current_balance: 19.157050
  656. variable_call_uuid: 5f8cf354-a790-4724-862e-825522fe3db7
  657. Hunt-Direction: inbound
  658. Hunt-Logical-Direction: inbound
  659. Hunt-Username: 6974108809
  660. Hunt-Dialplan: XML
  661. Hunt-Caller-ID-Name: 6974108809
  662. Hunt-Caller-ID-Number: 6974108809
  663. Hunt-Orig-Caller-ID-Name: 6974108809
  664. Hunt-Orig-Caller-ID-Number: 6974108809
  665. Hunt-Network-Addr: 185.73.43.250
  666. Hunt-ANI: 6974108809
  667. Hunt-Destination-Number: 6974485168
  668. Hunt-Unique-ID: 5f8cf354-a790-4724-862e-825522fe3db7
  669. Hunt-Source: mod_sofia
  670. Hunt-Transfer-Source: 1640942454%3Aa80d5a4d-dd56-4405-b389-ef7dbe5befb5%3Abl_xfer%3A6974485168/default/XML
  671. Hunt-Context: default
  672. Hunt-RDNIS: 2102202732
  673. Hunt-Channel-Name: sofia/external_sip/6974108809%40voips.modulus.gr
  674. Hunt-Profile-Index: 2
  675. Hunt-Profile-Created-Time: 1640942454382559
  676. Hunt-Channel-Created-Time: 1640942454362566
  677. Hunt-Channel-Answered-Time: 0
  678. Hunt-Channel-Progress-Time: 0
  679. Hunt-Channel-Progress-Media-Time: 0
  680. Hunt-Channel-Hangup-Time: 0
  681. Hunt-Channel-Transfer-Time: 0
  682. Hunt-Channel-Resurrect-Time: 0
  683. Hunt-Channel-Bridged-Time: 0
  684. Hunt-Channel-Last-Hold: 0
  685. Hunt-Channel-Hold-Accum: 0
  686. Hunt-Screen-Bit: false
  687. Hunt-Privacy-Hide-Name: false
  688. Hunt-Privacy-Hide-Number: false
  689.  
  690.  
  691. 2021-12-31 09:20:54.382559 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
  692. 2021-12-31 09:20:54.382559 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
  693. 2021-12-31 09:20:54.382559 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
  694. 2021-12-31 09:20:54.382559 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
  695. 2021-12-31 09:20:54.382559 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 2102202732
  696. 2021-12-31 09:20:54.382559 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '2102202732' AND status=0 limit 1
  697. 2021-12-31 09:20:54.382559 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 6974108809 / 6974108809
  698. 2021-12-31 09:20:54.382559 99.93% [DEBUG] switch_cpp.cpp:1465 [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 ="2102202732" LIMIT 1
  699. 2021-12-31 09:20:54.382559 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  700. 2021-12-31 09:20:54.382559 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 7772615170]
  701. 2021-12-31 09:20:54.382559 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "7772615170" AND deleted = 0 limit 1
  702. 2021-12-31 09:20:54.382559 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="2102202732" AND (accountid = 0 OR status = 1) LIMIT 1
  703. 2021-12-31 09:20:54.402552 99.93% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 1
  704. 2021-12-31 09:20:54.402552 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
  705. 2021-12-31 09:20:54.402552 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  706. 2021-12-31 09:20:54.402552 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 11
  707. 2021-12-31 09:20:54.402552 99.93% [DEBUG] switch_cpp.cpp:1465 [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 = '^2102202732.*' OR patterns = '^210220273.*' OR patterns = '^21022027.*' OR patterns = '^2102202.*' OR patterns = '^210220.*' OR patterns = '^21022.*' OR patterns = '^2102.*' OR patterns = '^210.*' OR patterns = '^21.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 11 ORDER BY LENGTH(PKGPTR.patterns) DESC
  708. 2021-12-31 09:20:54.402552 99.93% [DEBUG] switch_cpp.cpp:1465 [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 ="2102202732" AND A.accountid = '11' limit 1
  709. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 2102202732
  710. 2021-12-31 09:20:54.402552 99.93% [DEBUG] switch_cpp.cpp:1465 [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 ="2102202732" LIMIT 1
  711. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  712. 2021-12-31 09:20:54.402552 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '2102202732' OR number = '210220273' OR number = '21022027' OR number = '2102202' OR number = '210220' OR number = '21022' OR number = '2102' OR number = '210' OR number = '21' OR number = '2' OR number ='--') OR (number = '2102202732*' OR number = '210220273*' OR number = '21022027*' OR number = '2102202*' OR number = '210220*' OR number = '21022*' OR number = '2102*' OR number = '210*' OR number = '21*' OR number = '2*' OR number ='--') OR (number = '6974108809' OR number = '697410880' OR number = '69741088' OR number = '6974108' OR number = '697410' OR number = '69741' OR number = '6974' OR number = '697' OR number = '69' OR number = '6' OR number ='--') OR (number = '6974108809*' OR number = '697410880*' OR number = '69741088*' OR number = '6974108*' OR number = '697410*' OR number = '69741*' OR number = '6974*' OR number = '697*' OR number = '69*' OR number = '6*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  713. 2021-12-31 09:20:54.402552 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  714. 2021-12-31 09:20:54.402552 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '2102202732' OR routing_prefix = '210220273' OR routing_prefix = '21022027' OR routing_prefix = '2102202' OR routing_prefix = '210220' OR routing_prefix = '21022' OR routing_prefix = '2102' OR routing_prefix = '210' OR routing_prefix = '21' OR routing_prefix = '2' OR routing_prefix ='--') AND status = 0 and reseller_id = 8 limit 1
  715. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  716. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 11
  717. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 7772615170
  718. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 25.03409
  719. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  720. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 3
  721. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  722. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  723. 2021-12-31 09:20:54.402552 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0
  724. 2021-12-31 09:20:54.402552 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  725. 2021-12-31 09:20:54.402552 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0
  726. 2021-12-31 09:20:54.402552 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^2102202732.*' OR pattern = '^210220273.*' OR pattern = '^21022027.*' OR pattern = '^2102202.*' OR pattern = '^210220.*' OR pattern = '^21022.*' OR pattern = '^2102.*' OR pattern = '^210.*' OR pattern = '^21.*' OR pattern = '^2.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 3 OR accountid=11)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  727. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  728. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  729. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 156165
  730. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  731. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  732. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.10000
  733. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : TestGreece
  734. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  735. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 11
  736. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  737. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  738. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  739. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your25.03409 balance Accountid 11 !!!
  740. 2021-12-31 09:20:54.402552 99.93% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  741. 2021-12-31 09:20:54.402552 99.93% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 8
  742. 2021-12-31 09:20:54.402552 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "8" AND deleted = 0 limit 1
  743. 2021-12-31 09:20:54.402552 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^2102202732.*' OR blocked_patterns = '^210220273.*' OR blocked_patterns = '^21022027.*' OR blocked_patterns = '^2102202.*' OR blocked_patterns = '^210220.*' OR blocked_patterns = '^21022.*' OR blocked_patterns = '^2102.*' OR blocked_patterns = '^210.*' OR blocked_patterns = '^21.*' OR blocked_patterns = '^2.*' OR blocked_patterns ='--') AND accountid = 8 limit 1
  744. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
  745. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 8
  746. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 1990008209
  747. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 661.40696
  748. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  749. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2
  750. 2021-12-31 09:20:54.402552 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  751. 2021-12-31 09:20:54.402552 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  752. 2021-12-31 09:20:54.402552 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  753. 2021-12-31 09:20:54.402552 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^2102202732.*' OR pattern = '^210220273.*' OR pattern = '^21022027.*' OR pattern = '^2102202.*' OR pattern = '^210220.*' OR pattern = '^21022.*' OR pattern = '^2102.*' OR pattern = '^210.*' OR pattern = '^21.*' OR pattern = '^2.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 2 OR accountid=8)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  754. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  755. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  756. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 156166
  757. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  758. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  759. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.01000
  760. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : TestGreece
  761. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  762. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 8
  763. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 3
  764. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  765. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  766. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your661.40696 balance Accountid 8 !!!
  767. 2021-12-31 09:20:54.402552 99.93% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  768. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:156165|CODE:^21.*|DESTINATION:TestGreece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.10000|INC:1|INITIALBLOCK:1|RATEGROUP:3|MARKUP:0|CI:0|ACCID:11||ID:156166|CODE:^21.*|DESTINATION:TestGreece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01000|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:0|ACCID:8
  769. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  770. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 1
  771. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE ID 11
  772. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE RATE 0.10000
  773. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE CONNECT COST 0.00000
  774. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INITIAL INC 1
  775. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INC 1
  776. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  777. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 156165
  778. 2021-12-31 09:20:54.402552 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :3
  779. 2021-12-31 09:20:54.402552 99.93% [DEBUG] switch_cpp.cpp:1465 [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 = '^2102202732.*' OR pattern = '^210220273.*' OR pattern = '^21022027.*' OR pattern = '^2102202.*' OR pattern = '^210220.*' OR pattern = '^21022.*' OR pattern = '^2102.*' OR pattern = '^210.*' OR pattern = '^21.*' OR pattern = '^2.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (3)  AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,3),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
  780. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  781. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 32372
  782. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^21.*
  783. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : TestGreece
  784. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  785. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  786. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^21.*
  787. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  788. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  789. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 3
  790. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : ModulusOutgoing
  791. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  792. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  793. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 9
  794. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  795. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : ModulusOutgoing
  796. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  797. 2021-12-31 09:20:54.402552 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 11 AND status=0 LIMIT 1
  798. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  799. 2021-12-31 09:20:54.402552 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  800. 2021-12-31 09:20:54.402552 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  801. 2021-12-31 09:20:54.402552 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  802. 2021-12-31 09:20:54.402552 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 3) AND status=0 limit 1
  803. 2021-12-31 09:20:54.402552 99.93% [DEBUG] switch_cpp.cpp:1465 [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 = 9) AND status=0 limit 1
  804. 2021-12-31 09:20:54.402552 99.93% [DEBUG] switch_cpp.cpp:1465 [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 ="2102202732" LIMIT 1
  805. 2021-12-31 09:20:54.402552 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  806. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  807. <document type="freeswitch/xml">
  808. <section name="dialplan" description="ASTPP Dialplan">
  809. <context name="default">
  810. <extension name="2102202732">
  811. <condition field="destination_number" expression="6974485168">
  812. <action application="set" data="effective_destination_number=2102202732"/>
  813. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  814. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  815. <action application="set" data="nibble_account=11"/>
  816. <action application="set" data="nibble_rate=0.10000"/>
  817. <action application="set" data="nibble_increment=1"/>
  818. <action application="set" data="nibble_minimum=0.00000"/>
  819. <action application="nibblebill" data="heartbeat 30"/>
  820. <action application="set" data="callstart=2021-12-31 09:20:54"/>
  821. <action application="set" data="hangup_after_bridge=true"/>
  822. <action application="set" data="continue_on_fail=TRUE"/>
  823. <action application="set" data="account_id=11"/>
  824. <action application="set" data="parent_id=8"/>
  825. <action application="set" data="entity_id=0"/>
  826. <action application="set" data="call_processed=internal"/>
  827. <action application="set" data="call_direction=outbound"/>
  828. <action application="set" data="accountname=default"/>
  829. <action application="set" data="origination_rates=ID:156165|CODE:^21.*|DESTINATION:TestGreece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.10000|INC:1|INITIALBLOCK:1|RATEGROUP:3|MARKUP:0|CI:0|ACCID:11||ID:156166|CODE:^21.*|DESTINATION:TestGreece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01000|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:0|ACCID:8"/>
  830. <action application="set" data="original_caller_id_name=6974108809"/>
  831. <action application="set" data="original_caller_id_number=6974108809"/>
  832.  
  833. <action application="set" data="effective_caller_id_name=6974108809"/>
  834. <action application="set" data="effective_caller_id_number=6974108809"/>
  835. <action application="set" data="calltype=STANDARD"/>
  836. <action application="set" data="termination_rates=ID:32372|CODE:^21.*|DESTINATION:TestGreece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|TRUNK:3|PROVIDER:9"/>
  837. <action application="set" data="trunk_id=3"/>
  838. <action application="set" data="provider_id=9"/>
  839. <action application="set" data="rate_flag=0"/>
  840. <action application="set" data="force_trunk_flag=156165"/>
  841. <action application="export" data="presence_data=trunk_id=3"/>
  842. <action application="set" data="intcall=0"/>
  843. <action application="export" data="presence_id=2102202732"/>
  844. <action application="export" data="presence_data=x//8|||Martha(7772615170)|||^21.* // TestGreece // 0.10000 |||ModulusOutgoing // ^21.* // TestGreece // 0.00000 // trunk_id=3|||STD|||185.73.43.250|||0.01000 // ^21.* // TestGreece"/>
  845. <action application="limit" data="db 11 user_11 2 "/>
  846. <action application="bridge" data="[leg_timeout=0]sofia/gateway/ModulusOutgoing/2102202732"/>
  847. </condition>
  848. </extension>
  849. </context>
  850. </section>
  851. </document>
  852. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr parsing [default->2102202732] continue=false
  853. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Regex (PASS) [2102202732] destination_number(6974485168) =~ /6974485168/ break=on-false
  854. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_destination_number=2102202732)
  855. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(bridge_pre_execute_bleg_app=sched_hangup)
  856. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  857. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_account=11)
  858. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_rate=0.10000)
  859. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_increment=1)
  860. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_minimum=0.00000)
  861. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action nibblebill(heartbeat 30)
  862. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(callstart=2021-12-31 09:20:54)
  863. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(hangup_after_bridge=true)
  864. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(continue_on_fail=TRUE)
  865. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(account_id=11)
  866. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(parent_id=8)
  867. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(entity_id=0)
  868. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_processed=internal)
  869. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_direction=outbound)
  870. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(accountname=default)
  871. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(origination_rates=ID:156165|CODE:^21.*|DESTINATION:TestGreece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.10000|INC:1|INITIALBLOCK:1|RATEGROUP:3|MARKUP:0|CI:0|ACCID:11||ID:156166|CODE:^21.*|DESTINATION:TestGreece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01000|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:0|ACCID:8)
  872. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_name=6974108809)
  873. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_number=6974108809)
  874. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_caller_id_name=6974108809)
  875. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_caller_id_number=6974108809)
  876. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(calltype=STANDARD)
  877. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(termination_rates=ID:32372|CODE:^21.*|DESTINATION:TestGreece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|TRUNK:3|PROVIDER:9)
  878. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(trunk_id=3)
  879. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(provider_id=9)
  880. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(rate_flag=0)
  881. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(force_trunk_flag=156165)
  882. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(presence_data=trunk_id=3)
  883. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(intcall=0)
  884. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(presence_id=2102202732)
  885. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(presence_data=x//8|||Martha(7772615170)|||^21.* // TestGreece // 0.10000 |||ModulusOutgoing // ^21.* // TestGreece // 0.00000 // trunk_id=3|||STD|||185.73.43.250|||0.01000 // ^21.* // TestGreece)
  886. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action limit(db 11 user_11 2 )
  887. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action bridge([leg_timeout=0]sofia/gateway/ModulusOutgoing/2102202732)
  888. 2021-12-31 09:20:54.402552 99.93% [DEBUG] switch_core_state_machine.c:281 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_ROUTING -> CS_EXECUTE
  889. 2021-12-31 09:20:54.402552 99.93% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING going to sleep
  890. 2021-12-31 09:20:54.402552 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_EXECUTE (Cur 1 Tot 3233)
  891. 2021-12-31 09:20:54.402552 99.93% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE
  892. 2021-12-31 09:20:54.402552 99.93% [DEBUG] mod_sofia.c:213 sofia/external_sip/6974108809@voips.modulus.gr SOFIA EXECUTE
  893. 2021-12-31 09:20:54.402552 99.93% [WARNING] switch_core_session.c:1693 sofia/external_sip/6974108809@voips.modulus.gr using scheduler due to bypass media or media is not established.
  894. 2021-12-31 09:20:54.402552 99.93% [DEBUG] switch_scheduler.c:263 Added task 1844 switch_core_session_sched_heartbeat (5f8cf354-a790-4724-862e-825522fe3db7) to run at 1640942484
  895. 2021-12-31 09:20:54.402552 99.93% [DEBUG] switch_core_state_machine.c:323 sofia/external_sip/6974108809@voips.modulus.gr Standard EXECUTE
  896. 2021-12-31 09:20:54.402552 99.93% [DEBUG] switch_scheduler.c:147 Deleting task 1843 switch_core_session_sched_heartbeat (5f8cf354-a790-4724-862e-825522fe3db7)
  897. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_destination_number=2102202732)
  898. 2021-12-31 09:20:54.402552 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_destination_number]=[2102202732]
  899. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(bridge_pre_execute_bleg_app=sched_hangup)
  900. 2021-12-31 09:20:54.402552 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [bridge_pre_execute_bleg_app]=[sched_hangup]
  901. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  902. 2021-12-31 09:20:54.402552 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  903. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_account=11)
  904. 2021-12-31 09:20:54.402552 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_account]=[11]
  905. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_rate=0.10000)
  906. 2021-12-31 09:20:54.402552 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_rate]=[0.10000]
  907. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_increment=1)
  908. 2021-12-31 09:20:54.402552 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_increment]=[1]
  909. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_minimum=0.00000)
  910. 2021-12-31 09:20:54.402552 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_minimum]=[0.00000]
  911. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr nibblebill(heartbeat 30)
  912. 2021-12-31 09:20:54.402552 99.93% [WARNING] switch_core_session.c:1693 sofia/external_sip/6974108809@voips.modulus.gr using scheduler due to bypass media or media is not established.
  913. 2021-12-31 09:20:54.402552 99.93% [DEBUG] switch_scheduler.c:263 Added task 1845 switch_core_session_sched_heartbeat (5f8cf354-a790-4724-862e-825522fe3db7) to run at 1640942484
  914. 2021-12-31 09:20:54.402552 99.93% [DEBUG] switch_scheduler.c:147 Deleting task 1844 switch_core_session_sched_heartbeat (5f8cf354-a790-4724-862e-825522fe3db7)
  915. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(callstart=2021-12-31 09:20:54)
  916. 2021-12-31 09:20:54.402552 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [callstart]=[2021-12-31 09:20:54]
  917. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(hangup_after_bridge=true)
  918. 2021-12-31 09:20:54.402552 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [hangup_after_bridge]=[true]
  919. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(continue_on_fail=TRUE)
  920. 2021-12-31 09:20:54.402552 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [continue_on_fail]=[TRUE]
  921. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(account_id=11)
  922. 2021-12-31 09:20:54.402552 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [account_id]=[11]
  923. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(parent_id=8)
  924. 2021-12-31 09:20:54.402552 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [parent_id]=[8]
  925. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(entity_id=0)
  926. 2021-12-31 09:20:54.402552 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [entity_id]=[0]
  927. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(call_processed=internal)
  928. 2021-12-31 09:20:54.402552 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [call_processed]=[internal]
  929. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(call_direction=outbound)
  930. 2021-12-31 09:20:54.402552 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [call_direction]=[outbound]
  931. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(accountname=default)
  932. 2021-12-31 09:20:54.402552 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [accountname]=[default]
  933. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(origination_rates=ID:156165|CODE:^21.*|DESTINATION:TestGreece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.10000|INC:1|INITIALBLOCK:1|RATEGROUP:3|MARKUP:0|CI:0|ACCID:11||ID:156166|CODE:^21.*|DESTINATION:TestGreece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01000|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:0|ACCID:8)
  934. 2021-12-31 09:20:54.402552 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [origination_rates]=[ID:156165|CODE:^21.*|DESTINATION:TestGreece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.10000|INC:1|INITIALBLOCK:1|RATEGROUP:3|MARKUP:0|CI:0|ACCID:11||ID:156166|CODE:^21.*|DESTINATION:TestGreece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01000|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:0|ACCID:8]
  935. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(original_caller_id_name=6974108809)
  936. 2021-12-31 09:20:54.402552 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [original_caller_id_name]=[6974108809]
  937. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(original_caller_id_number=6974108809)
  938. 2021-12-31 09:20:54.402552 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [original_caller_id_number]=[6974108809]
  939. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_caller_id_name=6974108809)
  940. 2021-12-31 09:20:54.402552 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_caller_id_name]=[6974108809]
  941. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_caller_id_number=6974108809)
  942. 2021-12-31 09:20:54.402552 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_caller_id_number]=[6974108809]
  943. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(calltype=STANDARD)
  944. 2021-12-31 09:20:54.402552 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [calltype]=[STANDARD]
  945. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(termination_rates=ID:32372|CODE:^21.*|DESTINATION:TestGreece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|TRUNK:3|PROVIDER:9)
  946. 2021-12-31 09:20:54.402552 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [termination_rates]=[ID:32372|CODE:^21.*|DESTINATION:TestGreece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|TRUNK:3|PROVIDER:9]
  947. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(trunk_id=3)
  948. 2021-12-31 09:20:54.402552 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [trunk_id]=[3]
  949. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(provider_id=9)
  950. 2021-12-31 09:20:54.402552 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [provider_id]=[9]
  951. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(rate_flag=0)
  952. 2021-12-31 09:20:54.402552 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [rate_flag]=[0]
  953. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(force_trunk_flag=156165)
  954. 2021-12-31 09:20:54.402552 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [force_trunk_flag]=[156165]
  955. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(presence_data=trunk_id=3)
  956. 2021-12-31 09:20:54.422557 99.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=3]
  957. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(intcall=0)
  958. 2021-12-31 09:20:54.422557 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [intcall]=[0]
  959. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(presence_id=2102202732)
  960. 2021-12-31 09:20:54.422557 99.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[2102202732]
  961. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(presence_data=x//8|||Martha(7772615170)|||^21.* // TestGreece // 0.10000 |||ModulusOutgoing // ^21.* // TestGreece // 0.00000 // trunk_id=3|||STD|||185.73.43.250|||0.01000 // ^21.* // TestGreece)
  962. 2021-12-31 09:20:54.422557 99.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//8|||Martha(7772615170)|||^21.* // TestGreece // 0.10000 |||ModulusOutgoing // ^21.* // TestGreece // 0.00000 // trunk_id=3|||STD|||185.73.43.250|||0.01000 // ^21.* // TestGreece]
  963. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr limit(db 11 user_11 2 )
  964. 2021-12-31 09:20:54.422557 99.93% [DEBUG] switch_limit.c:124 incr called: 11_user_11 max:2, interval:0
  965. 2021-12-31 09:20:54.422557 99.93% [DEBUG] mod_db.c:194 Usage for 11_user_11 is now 1/2
  966. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr bridge([leg_timeout=0]sofia/gateway/ModulusOutgoing/2102202732)
  967. 2021-12-31 09:20:54.422557 99.93% [DEBUG] switch_channel.c:1269 sofia/external_sip/6974108809@voips.modulus.gr EXPORTING[export_vars] [presence_data]=[x//8|||Martha(7772615170)|||^21.* // TestGreece // 0.10000 |||ModulusOutgoing // ^21.* // TestGreece // 0.00000 // trunk_id=3|||STD|||185.73.43.250|||0.01000 // ^21.* // TestGreece] to event
  968. 2021-12-31 09:20:54.422557 99.93% [DEBUG] switch_channel.c:1269 sofia/external_sip/6974108809@voips.modulus.gr EXPORTING[export_vars] [call_type]=[4] to event
  969. 2021-12-31 09:20:54.422557 99.93% [DEBUG] switch_channel.c:1269 sofia/external_sip/6974108809@voips.modulus.gr EXPORTING[export_vars] [presence_data]=[x//8|||Martha(7772615170)|||^21.* // TestGreece // 0.10000 |||ModulusOutgoing // ^21.* // TestGreece // 0.00000 // trunk_id=3|||STD|||185.73.43.250|||0.01000 // ^21.* // TestGreece] to event
  970. 2021-12-31 09:20:54.422557 99.93% [DEBUG] switch_channel.c:1269 sofia/external_sip/6974108809@voips.modulus.gr EXPORTING[export_vars] [presence_id]=[2102202732] to event
  971. 2021-12-31 09:20:54.422557 99.93% [DEBUG] switch_channel.c:1269 sofia/external_sip/6974108809@voips.modulus.gr EXPORTING[export_vars] [presence_data]=[x//8|||Martha(7772615170)|||^21.* // TestGreece // 0.10000 |||ModulusOutgoing // ^21.* // TestGreece // 0.00000 // trunk_id=3|||STD|||185.73.43.250|||0.01000 // ^21.* // TestGreece] to event
  972. 2021-12-31 09:20:54.422557 99.93% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  973. 2021-12-31 09:20:54.422557 99.93% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  974. 2021-12-31 09:20:54.422557 99.93% [NOTICE] switch_channel.c:1123 New Channel sofia/external_without_reg/2102202732 [8516e016-661b-4002-afe4-64489ae7a12e]
  975. 2021-12-31 09:20:54.422557 99.93% [DEBUG] mod_sofia.c:5121 (sofia/external_without_reg/2102202732) State Change CS_NEW -> CS_INIT
  976. 2021-12-31 09:20:54.422557 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/external_without_reg/2102202732) Running State Change CS_INIT (Cur 2 Tot 3234)
  977. 2021-12-31 09:20:54.422557 99.93% [DEBUG] switch_core_state_machine.c:624 (sofia/external_without_reg/2102202732) State INIT
  978. 2021-12-31 09:20:54.422557 99.93% [DEBUG] mod_sofia.c:97 sofia/external_without_reg/2102202732 SOFIA INIT
  979. 2021-12-31 09:20:54.422557 99.93% [DEBUG] sofia_glue.c:1620 sip:148.251.66.230:5060 Setting proxy route to sofia/external_without_reg/2102202732
  980. 2021-12-31 09:20:54.422557 99.93% [INFO] sofia_glue.c:1651 sofia/external_without_reg/2102202732 sending invite call-id: (null)
  981. 2021-12-31 09:20:54.422557 99.93% [DEBUG] sofia_glue.c:1654 sofia/external_without_reg/2102202732 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  982. Local SDP:
  983. v=0
  984. o=FreeSWITCH 1640913192 1640913193 IN IP4 94.130.242.106
  985. s=FreeSWITCH
  986. c=IN IP4 94.130.242.106
  987. t=0 0
  988. m=audio 29262 RTP/AVP 8 101
  989. a=rtpmap:8 PCMA/8000
  990. a=rtpmap:101 telephone-event/8000
  991. a=fmtp:101 0-15
  992. a=ptime:20
  993. a=sendrecv
  994.  
  995. 2021-12-31 09:20:54.422557 99.93% [DEBUG] switch_core_state_machine.c:40 sofia/external_without_reg/2102202732 Standard INIT
  996. 2021-12-31 09:20:54.422557 99.93% [DEBUG] switch_core_state_machine.c:48 (sofia/external_without_reg/2102202732) State Change CS_INIT -> CS_ROUTING
  997. 2021-12-31 09:20:54.422557 99.93% [DEBUG] switch_core_state_machine.c:624 (sofia/external_without_reg/2102202732) State INIT going to sleep
  998. 2021-12-31 09:20:54.422557 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/external_without_reg/2102202732) Running State Change CS_ROUTING (Cur 2 Tot 3234)
  999. 2021-12-31 09:20:54.422557 99.93% [DEBUG] sofia.c:7499 Channel sofia/external_without_reg/2102202732 entering state [calling][0]
  1000. 2021-12-31 09:20:54.422557 99.93% [DEBUG] switch_core_state_machine.c:640 (sofia/external_without_reg/2102202732) State ROUTING
  1001. 2021-12-31 09:20:54.422557 99.93% [DEBUG] mod_sofia.c:158 sofia/external_without_reg/2102202732 SOFIA ROUTING
  1002. 2021-12-31 09:20:54.422557 99.93% [DEBUG] switch_ivr_originate.c:67 (sofia/external_without_reg/2102202732) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  1003. 2021-12-31 09:20:54.422557 99.93% [DEBUG] switch_core_state_machine.c:640 (sofia/external_without_reg/2102202732) State ROUTING going to sleep
  1004. 2021-12-31 09:20:54.422557 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/external_without_reg/2102202732) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 3234)
  1005. 2021-12-31 09:20:54.422557 99.93% [DEBUG] switch_core_state_machine.c:659 (sofia/external_without_reg/2102202732) State CONSUME_MEDIA
  1006. 2021-12-31 09:20:54.422557 99.93% [DEBUG] switch_core_state_machine.c:659 (sofia/external_without_reg/2102202732) State CONSUME_MEDIA going to sleep
  1007. 2021-12-31 09:20:54.502569 99.93% [DEBUG] sofia.c:7499 Channel sofia/external_without_reg/2102202732 entering state [terminated][503]
  1008. 2021-12-31 09:20:54.502569 99.93% [NOTICE] sofia.c:8738 Hangup sofia/external_without_reg/2102202732 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
  1009. 2021-12-31 09:20:54.502569 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/external_without_reg/2102202732) Running State Change CS_HANGUP (Cur 2 Tot 3234)
  1010. 2021-12-31 09:20:54.502569 99.93% [DEBUG] switch_core_state_machine.c:844 (sofia/external_without_reg/2102202732) Callstate Change DOWN -> HANGUP
  1011. 2021-12-31 09:20:54.502569 99.93% [DEBUG] switch_core_state_machine.c:846 (sofia/external_without_reg/2102202732) State HANGUP
  1012. 2021-12-31 09:20:54.502569 99.93% [DEBUG] mod_sofia.c:468 Channel sofia/external_without_reg/2102202732 hanging up, cause: NORMAL_TEMPORARY_FAILURE
  1013. 2021-12-31 09:20:54.502569 99.93% [DEBUG] switch_core_state_machine.c:59 sofia/external_without_reg/2102202732 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
  1014. 2021-12-31 09:20:54.502569 99.93% [DEBUG] switch_core_state_machine.c:846 (sofia/external_without_reg/2102202732) State HANGUP going to sleep
  1015. 2021-12-31 09:20:54.502569 99.93% [DEBUG] switch_core_state_machine.c:616 (sofia/external_without_reg/2102202732) State Change CS_HANGUP -> CS_REPORTING
  1016. 2021-12-31 09:20:54.502569 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/external_without_reg/2102202732) Running State Change CS_REPORTING (Cur 2 Tot 3234)
  1017. 2021-12-31 09:20:54.502569 99.93% [DEBUG] switch_core_state_machine.c:932 (sofia/external_without_reg/2102202732) State REPORTING
  1018. 2021-12-31 09:20:54.502569 99.93% [INFO] mod_json_cdr.c:271 Process [8516e016-661b-4002-afe4-64489ae7a12e.cdr.json]
  1019. 2021-12-31 09:20:54.502569 99.93% [DEBUG] switch_core_state_machine.c:168 sofia/external_without_reg/2102202732 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
  1020. 2021-12-31 09:20:54.502569 99.93% [DEBUG] switch_core_state_machine.c:932 (sofia/external_without_reg/2102202732) State REPORTING going to sleep
  1021. 2021-12-31 09:20:54.502569 99.93% [DEBUG] switch_core_state_machine.c:607 (sofia/external_without_reg/2102202732) State Change CS_REPORTING -> CS_DESTROY
  1022. 2021-12-31 09:20:54.502569 99.93% [DEBUG] switch_core_session.c:1753 Session 3234 (sofia/external_without_reg/2102202732) Locked, Waiting on external entities
  1023. 2021-12-31 09:20:54.522554 99.93% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
  1024. 2021-12-31 09:20:54.522554 99.93% [NOTICE] switch_core_session.c:1771 Session 3234 (sofia/external_without_reg/2102202732) Ended
  1025. 2021-12-31 09:20:54.522554 99.93% [NOTICE] switch_core_session.c:1775 Close Channel sofia/external_without_reg/2102202732 [CS_DESTROY]
  1026. 2021-12-31 09:20:54.522554 99.93% [DEBUG] switch_core_state_machine.c:735 (sofia/external_without_reg/2102202732) Running State Change CS_DESTROY (Cur 1 Tot 3234)
  1027. 2021-12-31 09:20:54.522554 99.93% [DEBUG] switch_core_state_machine.c:745 (sofia/external_without_reg/2102202732) State DESTROY
  1028. 2021-12-31 09:20:54.522554 99.93% [DEBUG] mod_sofia.c:379 sofia/external_without_reg/2102202732 SOFIA DESTROY
  1029. 2021-12-31 09:20:54.522554 99.93% [DEBUG] switch_core_state_machine.c:175 sofia/external_without_reg/2102202732 Standard DESTROY
  1030. 2021-12-31 09:20:54.522554 99.93% [DEBUG] switch_core_state_machine.c:745 (sofia/external_without_reg/2102202732) State DESTROY going to sleep
  1031. 2021-12-31 09:20:54.522554 99.93% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
  1032. 2021-12-31 09:20:54.522554 99.93% [NOTICE] switch_core_state_machine.c:382 sofia/external_sip/6974108809@voips.modulus.gr has executed the last dialplan instruction, hanging up.
  1033. 2021-12-31 09:20:54.522554 99.93% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/external_sip/6974108809@voips.modulus.gr [CS_EXECUTE] [NORMAL_CLEARING]
  1034. 2021-12-31 09:20:54.522554 99.93% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE going to sleep
  1035. 2021-12-31 09:20:54.522554 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_HANGUP (Cur 1 Tot 3234)
  1036. 2021-12-31 09:20:54.522554 99.93% [DEBUG] switch_core_state_machine.c:844 (sofia/external_sip/6974108809@voips.modulus.gr) Callstate Change RINGING -> HANGUP
  1037. 2021-12-31 09:20:54.522554 99.93% [DEBUG] switch_core_state_machine.c:846 (sofia/external_sip/6974108809@voips.modulus.gr) State HANGUP
  1038. 2021-12-31 09:20:54.522554 99.93% [DEBUG] mod_sofia.c:462 sofia/external_sip/6974108809@voips.modulus.gr Overriding SIP cause 480 with 503 from the other leg
  1039. 2021-12-31 09:20:54.522554 99.93% [DEBUG] mod_sofia.c:468 Channel sofia/external_sip/6974108809@voips.modulus.gr hanging up, cause: NORMAL_CLEARING
  1040. 2021-12-31 09:20:54.522554 99.93% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 503
  1041. 2021-12-31 09:20:54.522554 99.93% [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.10000 per minute to account 11
  1042. 2021-12-31 09:20:54.522554 99.93% [DEBUG] mod_nibblebill.c:518 Not billing 11 - call is not in answered state
  1043. 2021-12-31 09:20:54.522554 99.93% [DEBUG] mod_nibblebill.c:422 Doing lookup query
  1044. [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='11']
  1045. 2021-12-31 09:20:54.522554 99.93% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 11 (balance = 25.034090)
  1046. 2021-12-31 09:20:54.522554 99.93% [DEBUG] mod_nibblebill.c:523 Comparing 25.034090 to hangup balance of 0.000000, taking into account minimum charge of 0.000000
  1047. 2021-12-31 09:20:54.522554 99.93% [DEBUG] mod_nibblebill.c:422 Doing lookup query
  1048. [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='11']
  1049. 2021-12-31 09:20:54.522554 99.93% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 11 (balance = 25.034090)
  1050. 2021-12-31 09:20:54.522554 99.93% [DEBUG] switch_core_state_machine.c:59 sofia/external_sip/6974108809@voips.modulus.gr Standard HANGUP, cause: NORMAL_CLEARING
  1051. 2021-12-31 09:20:54.522554 99.93% [DEBUG] switch_core_state_machine.c:846 (sofia/external_sip/6974108809@voips.modulus.gr) State HANGUP going to sleep
  1052. 2021-12-31 09:20:54.522554 99.93% [DEBUG] switch_core_state_machine.c:616 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_HANGUP -> CS_REPORTING
  1053. 2021-12-31 09:20:54.522554 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_REPORTING (Cur 1 Tot 3234)
  1054. 2021-12-31 09:20:54.522554 99.93% [DEBUG] switch_core_state_machine.c:932 (sofia/external_sip/6974108809@voips.modulus.gr) State REPORTING
  1055. 2021-12-31 09:20:54.522554 99.93% [INFO] mod_json_cdr.c:271 Process [5f8cf354-a790-4724-862e-825522fe3db7.cdr.json]
  1056. 2021-12-31 09:20:54.562559 99.93% [DEBUG] switch_core_state_machine.c:168 sofia/external_sip/6974108809@voips.modulus.gr Standard REPORTING, cause: NORMAL_CLEARING
  1057. 2021-12-31 09:20:54.562559 99.93% [DEBUG] switch_core_state_machine.c:932 (sofia/external_sip/6974108809@voips.modulus.gr) State REPORTING going to sleep
  1058. 2021-12-31 09:20:54.562559 99.93% [DEBUG] switch_core_state_machine.c:607 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_REPORTING -> CS_DESTROY
  1059. 2021-12-31 09:20:54.562559 99.93% [DEBUG] switch_core_session.c:1753 Session 3233 (sofia/external_sip/6974108809@voips.modulus.gr) Locked, Waiting on external entities
  1060. 2021-12-31 09:20:54.562559 99.93% [NOTICE] switch_core_session.c:1771 Session 3233 (sofia/external_sip/6974108809@voips.modulus.gr) Ended
  1061. 2021-12-31 09:20:54.562559 99.93% [NOTICE] switch_core_session.c:1775 Close Channel sofia/external_sip/6974108809@voips.modulus.gr [CS_DESTROY]
  1062. 2021-12-31 09:20:54.562559 99.93% [DEBUG] switch_core_state_machine.c:735 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_DESTROY (Cur 0 Tot 3234)
  1063. 2021-12-31 09:20:54.562559 99.93% [DEBUG] switch_core_state_machine.c:745 (sofia/external_sip/6974108809@voips.modulus.gr) State DESTROY
  1064. 2021-12-31 09:20:54.562559 99.93% [DEBUG] mod_sofia.c:379 sofia/external_sip/6974108809@voips.modulus.gr SOFIA DESTROY
  1065. 2021-12-31 09:20:54.562559 99.93% [DEBUG] switch_core_state_machine.c:175 sofia/external_sip/6974108809@voips.modulus.gr Standard DESTROY
  1066. 2021-12-31 09:20:54.562559 99.93% [DEBUG] switch_core_state_machine.c:745 (sofia/external_sip/6974108809@voips.modulus.gr) State DESTROY going to sleep
  1067. 2021-12-31 09:20:54.902559 99.77% [DEBUG] switch_scheduler.c:147 Deleting task 1845 switch_core_session_sched_heartbeat (5f8cf354-a790-4724-862e-825522fe3db7)
  1068. freeswitch@billing>
  1069.