From sahil, 3 Years ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and ifeany ring group
  1. span style="color: goldenrod; font-weight: bold;"> 2021-04-01 14:45:12.330325 [DEBUG] switch_channel.c:2332 (sofia/default/8138902220@37.9.63.182:1024) Callstate Change DOWN -> RINGING
  2. 2021-04-01 14:45:12.330325 [DEBUG] switch_core_state_machine.c:644 (sofia/default/8138902220@37.9.63.182:1024) State ROUTING
  3. 2021-04-01 14:45:12.330325 [DEBUG] mod_sofia.c:154 sofia/default/8138902220@37.9.63.182:1024 SOFIA ROUTING
  4. 2021-04-01 14:45:12.330325 [DEBUG] switch_core_state_machine.c:236 sofia/default/8138902220@37.9.63.182:1024 Standard ROUTING
  5. 2021-04-01 14:45:12.330325 [INFO] mod_dialplan_xml.c:637 Processing 8138902220 <8138902220>->9088999872 in context default
  6. 2021-04-01 14:45:12.330325 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  7. 2021-04-01 14:45:12.330325 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  8. 2021-04-01 14:45:12.371651 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [xml_handler] Params:
  9. Event-Name: REQUEST_PARAMS
  10. Core-UUID: ab3e105f-e6f4-458f-b102-a4065f4859ae
  11. FreeSWITCH-Hostname: soultech
  12. FreeSWITCH-Switchname: soultech
  13. FreeSWITCH-IPv4: 192.168.8.3
  14. FreeSWITCH-IPv6: %3A%3A1
  15. Event-Date-Local: 2021-04-01%2014%3A45%3A12
  16. Event-Date-GMT: Thu,%2001%20Apr%202021%2013%3A45%3A12%20GMT
  17. Event-Date-Timestamp: 1617284712330325
  18. Event-Calling-File: mod_dialplan_xml.c
  19. Event-Calling-Function: dialplan_xml_locate
  20. Event-Calling-Line-Number: 608
  21. Event-Sequence: 8991229
  22. Channel-State: CS_ROUTING
  23. Channel-Call-State: RINGING
  24. Channel-State-Number: 2
  25. Channel-Name: sofia/default/8138902220%4037.9.63.182%3A1024
  26. Unique-ID: cacac301-cace-45b7-80cc-300d50140d49
  27. Call-Direction: inbound
  28. Presence-Call-Direction: inbound
  29. Channel-HIT-Dialplan: true
  30. Channel-Presence-ID: 8138902220%4037.9.63.182
  31. Channel-Call-UUID: cacac301-cace-45b7-80cc-300d50140d49
  32. Answer-State: ringing
  33. Channel-Read-Codec-Name: PCMU
  34. Channel-Read-Codec-Rate: 8000
  35. Channel-Read-Codec-Bit-Rate: 64000
  36. Channel-Write-Codec-Name: PCMU
  37. Channel-Write-Codec-Rate: 8000
  38. Channel-Write-Codec-Bit-Rate: 64000
  39. Caller-Direction: inbound
  40. Caller-Logical-Direction: inbound
  41. Caller-Username: 8138902220
  42. Caller-Dialplan: XML
  43. Caller-Caller-ID-Name: 8138902220
  44. Caller-Caller-ID-Number: 8138902220
  45. Caller-Orig-Caller-ID-Name: 8138902220
  46. Caller-Orig-Caller-ID-Number: 8138902220
  47. Caller-Network-Addr: 37.9.63.182
  48. Caller-ANI: 8138902220
  49. Caller-Destination-Number: 9088999872
  50. Caller-Unique-ID: cacac301-cace-45b7-80cc-300d50140d49
  51. Caller-Source: mod_sofia
  52. Caller-Context: default
  53. Caller-Channel-Name: sofia/default/8138902220%4037.9.63.182%3A1024
  54. Caller-Profile-Index: 1
  55. Caller-Profile-Created-Time: 1617284712330325
  56. Caller-Channel-Created-Time: 1617284712330325
  57. Caller-Channel-Answered-Time: 0
  58. Caller-Channel-Progress-Time: 0
  59. Caller-Channel-Progress-Media-Time: 0
  60. Caller-Channel-Hangup-Time: 0
  61. Caller-Channel-Transfer-Time: 0
  62. Caller-Channel-Resurrect-Time: 0
  63. Caller-Channel-Bridged-Time: 0
  64. Caller-Channel-Last-Hold: 0
  65. Caller-Channel-Hold-Accum: 0
  66. Caller-Screen-Bit: true
  67. Caller-Privacy-Hide-Name: false
  68. Caller-Privacy-Hide-Number: false
  69. variable_direction: inbound
  70. variable_uuid: cacac301-cace-45b7-80cc-300d50140d49
  71. variable_session_id: 190876
  72. variable_sip_from_user: 8138902220
  73. variable_sip_from_port: 1024
  74. variable_sip_from_uri: 8138902220%4037.9.63.182%3A1024
  75. variable_sip_from_host: 37.9.63.182
  76. variable_video_media_flow: disabled
  77. variable_text_media_flow: disabled
  78. variable_channel_name: sofia/default/8138902220%4037.9.63.182%3A1024
  79. variable_sip_call_id: zT7nFgdfue%4037.9.63.182
  80. variable_sip_local_network_addr: 192.168.8.3
  81. variable_sip_network_ip: 37.9.63.182
  82. variable_sip_network_port: 1024
  83. variable_sip_invite_stamp: 1617284712330325
  84. variable_sip_received_ip: 37.9.63.182
  85. variable_sip_received_port: 1024
  86. variable_sip_via_protocol: udp
  87. variable_sip_authorized: true
  88. variable_sip_acl_authed_by: default
  89. variable_sip_from_user_stripped: 8138902220
  90. variable_sip_from_tag: 144511127486421
  91. variable_sofia_profile_name: default
  92. variable_sofia_profile_url: sip%3Amod_sofia%40192.168.8.3%3A5060
  93. variable_recovery_profile_name: default
  94. variable_sip_full_via: SIP/2.0/UDP%2037.9.63.182%3A1024%3Bbranch%3Dz9hG4bK451411119622364127486421%3Brport%3D1024
  95. variable_sip_from_display: 8138902220
  96. variable_sip_full_from: %228138902220%22%20%3Csip%3A8138902220%4037.9.63.182%3A1024%3E%3Btag%3D144511127486421
  97. variable_sip_full_to: %3Csip%3A9088999872%40192.168.8.3%3A5060%3E
  98. variable_sip_allow: INVITE,%20ACK,%20OPTIONS,%20BYE,%20CANCEL,%20REGISTER,%20INFO,%20NOTIFY,%20MESSAGE,%20SUBSCRIBE,%20REFER,%20PUBLISH,%20UPDATE
  99. variable_sip_req_user: 9088999872
  100. variable_sip_req_port: 5060
  101. variable_sip_req_uri: 9088999872%40192.168.8.3%3A5060
  102. variable_sip_req_host: 192.168.8.3
  103. variable_sip_to_user: 9088999872
  104. variable_sip_to_port: 5060
  105. variable_sip_to_uri: 9088999872%40192.168.8.3%3A5060
  106. variable_sip_to_host: 192.168.8.3
  107. variable_sip_contact_params: transport%3Dudp
  108. variable_sip_contact_user: nobody
  109. variable_sip_contact_port: 1024
  110. variable_sip_contact_uri: nobody%4037.9.63.182%3A1024
  111. variable_sip_contact_host: 37.9.63.182
  112. variable_sip_via_host: 37.9.63.182
  113. variable_sip_via_port: 1024
  114. variable_sip_via_rport: 1024
  115. variable_max_forwards: 70
  116. variable_presence_id: 8138902220%4037.9.63.182
  117. variable_switch_r_sdp: v%3D0%0D%0Ao%3D-%20562579917%20562579902%20IN%20IP4%2037.9.63.182%0D%0As%3DVoipSIP%0D%0Ac%3DIN%20IP4%2037.9.63.182%0D%0At%3D0%200%0D%0Am%3Daudio%206932%20RTP/AVP%200%208%2018%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000/1%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0A
  118. variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b
  119. variable_rtp_use_codec_string: PCMA,PCMU,G729
  120. variable_remote_video_media_flow: inactive
  121. variable_remote_text_media_flow: inactive
  122. variable_remote_audio_media_flow: sendrecv
  123. variable_audio_media_flow: sendrecv
  124. variable_remote_media_ip: 37.9.63.182
  125. variable_remote_media_port: 6932
  126. variable_rtp_audio_recv_pt: 0
  127. variable_rtp_use_codec_name: PCMU
  128. variable_rtp_use_codec_rate: 8000
  129. variable_rtp_use_codec_ptime: 20
  130. variable_rtp_use_codec_channels: 1
  131. variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c
  132. variable_read_codec: PCMU
  133. variable_original_read_codec: PCMU
  134. variable_read_rate: 8000
  135. variable_original_read_rate: 8000
  136. variable_write_codec: PCMU
  137. variable_write_rate: 8000
  138. variable_dtmf_type: rfc2833
  139. variable_endpoint_disposition: RECEIVED
  140. variable_call_uuid: cacac301-cace-45b7-80cc-300d50140d49
  141. Hunt-Direction: inbound
  142. Hunt-Logical-Direction: inbound
  143. Hunt-Username: 8138902220
  144. Hunt-Dialplan: XML
  145. Hunt-Caller-ID-Name: 8138902220
  146. Hunt-Caller-ID-Number: 8138902220
  147. Hunt-Orig-Caller-ID-Name: 8138902220
  148. Hunt-Orig-Caller-ID-Number: 8138902220
  149. Hunt-Network-Addr: 37.9.63.182
  150. Hunt-ANI: 8138902220
  151. Hunt-Destination-Number: 9088999872
  152. Hunt-Unique-ID: cacac301-cace-45b7-80cc-300d50140d49
  153. Hunt-Source: mod_sofia
  154. Hunt-Context: default
  155. Hunt-Channel-Name: sofia/default/8138902220%4037.9.63.182%3A1024
  156. Hunt-Profile-Index: 1
  157. Hunt-Profile-Created-Time: 1617284712330325
  158. Hunt-Channel-Created-Time: 1617284712330325
  159. Hunt-Channel-Answered-Time: 0
  160. Hunt-Channel-Progress-Time: 0
  161. Hunt-Channel-Progress-Media-Time: 0
  162. Hunt-Channel-Hangup-Time: 0
  163. Hunt-Channel-Transfer-Time: 0
  164. Hunt-Channel-Resurrect-Time: 0
  165. Hunt-Channel-Bridged-Time: 0
  166. Hunt-Channel-Last-Hold: 0
  167. Hunt-Channel-Hold-Accum: 0
  168. Hunt-Screen-Bit: true
  169. Hunt-Privacy-Hide-Name: false
  170. Hunt-Privacy-Hide-Number: false
  171.  
  172.  
  173. 2021-04-01 14:45:12.371651 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] key_value:
  174. 2021-04-01 14:45:12.371651 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] section: dialplan
  175. 2021-04-01 14:45:12.371651 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] tag_name:
  176. 2021-04-01 14:45:12.371651 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] key_name:
  177. 2021-04-01 14:45:12.371651 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] blind_flag: 0
  178. 2021-04-01 14:45:12.371651 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Dialed number : 9088999872
  179. 2021-04-01 14:45:12.371651 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '9088999872' limit 1
  180. 2021-04-01 14:45:12.371651 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '9088999872' AND status=0 limit 1
  181. 2021-04-01 14:45:12.371651 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '9088999872' and status=0 LIMIT 1
  182. 2021-04-01 14:45:12.410259 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Caller Id name / number  : 8138902220 / 8138902220
  183. 2021-04-01 14:45:12.410259 [NOTICE] switch_cpp.cpp:1443 [ASTPP] HARSH2: 1
  184. 2021-04-01 14:45:12.410259 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1
  185. 2021-04-01 14:45:12.410259 [DEBUG] switch_cpp.cpp:1443 [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 ="9088999872" LIMIT 1
  186. 2021-04-01 14:45:12.410259 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Call direction : inbound
  187. 2021-04-01 14:45:12.410259 [DEBUG] switch_cpp.cpp:1443 [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("37.9.63.182") 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 "9088999872"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  188. 2021-04-01 14:45:12.410259 [INFO] switch_cpp.cpp:1443 [ASTPP] [Accountcode : 8090000000]
  189. 2021-04-01 14:45:12.410259 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "8090000000" AND deleted = 0 limit 1
  190. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] [sandip] accountidSELECT * FROM accounts WHERE number = "8090000000" AND deleted = 0 limit 1
  191. 2021-04-01 14:45:12.430251 [DEBUG] switch_cpp.cpp:1443 [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 ="9088999872" AND A.accountid = '49' limit 1
  192. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 9088999872
  193. 2021-04-01 14:45:12.430251 [NOTICE] switch_cpp.cpp:1443 [ASTPP] HARSH2: 1
  194. 2021-04-01 14:45:12.430251 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1
  195. 2021-04-01 14:45:12.430251 [DEBUG] switch_cpp.cpp:1443 [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 ="9088999872" LIMIT 1
  196. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] New Call direction : inbound
  197. 2021-04-01 14:45:12.430251 [NOTICE] switch_cpp.cpp:1443 [ASTPP] HARSH2: 1
  198. 2021-04-01 14:45:12.430251 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1
  199. 2021-04-01 14:45:12.430251 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="9088999872" AND (accountid = 0 OR status = 1) LIMIT 1
  200. 2021-04-01 14:45:12.430251 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  201. 2021-04-01 14:45:12.430251 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :140
  202. 2021-04-01 14:45:12.430251 [DEBUG] switch_cpp.cpp:1443 [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 = '^9088999872.*' OR patterns = '^908899987.*' OR patterns = '^90889998.*' OR patterns = '^9088999.*' OR patterns = '^908899.*' OR patterns = '^90889.*' OR patterns = '^9088.*' OR patterns = '^908.*' OR patterns = '^90.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 140 ORDER BY LENGTH(PKGPTR.patterns) DESC
  203. 2021-04-01 14:45:12.430251 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '9088999872' OR number = '908899987' OR number = '90889998' OR number = '9088999' OR number = '908899' OR number = '90889' OR number = '9088' OR number = '908' OR number = '90' OR number = '9' OR number ='--') OR (number = '9088999872*' OR number = '908899987*' OR number = '90889998*' OR number = '9088999*' OR number = '908899*' OR number = '90889*' OR number = '9088*' OR number = '908*' OR number = '90*' OR number = '9*' OR number ='--') OR (number = '8138902220' OR number = '813890222' OR number = '81389022' OR number = '8138902' OR number = '813890' OR number = '81389' OR number = '8138' OR number = '813' OR number = '81' OR number = '8' OR number ='--') OR (number = '8138902220*' OR number = '813890222*' OR number = '81389022*' OR number = '8138902*' OR number = '813890*' OR number = '81389*' OR number = '8138*' OR number = '813*' OR number = '81*' OR number = '8*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  204. 2021-04-01 14:45:12.430251 [DEBUG] switch_cpp.cpp:1443 [ASTPP] Call Barring Status : -1
  205. 2021-04-01 14:45:12.430251 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '9088999872' OR routing_prefix = '908899987' OR routing_prefix = '90889998' OR routing_prefix = '9088999' OR routing_prefix = '908899' OR routing_prefix = '90889' OR routing_prefix = '9088' OR routing_prefix = '908' OR routing_prefix = '90' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  206. 2021-04-01 14:45:12.430251 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 9088999872
  207. 2021-04-01 14:45:12.430251 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 88999872
  208. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== Account Information ===================
  209. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] User id : 49
  210. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] Account code : 8090000000
  211. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] Balance : 10000
  212. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  213. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] Ratecard id : 11
  214. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] CID Pool : 0
  215. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] ========================================================
  216. 2021-04-01 14:45:12.430251 [NOTICE] switch_cpp.cpp:1443 [ASTPP] HARSH1: 1
  217. 2021-04-01 14:45:12.430251 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1
  218. 2021-04-01 14:45:12.430251 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
  219. 2021-04-01 14:45:12.430251 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_RATES] call_direction :inbound
  220. 2021-04-01 14:45:12.430251 [NOTICE] switch_cpp.cpp:1443 [ASTPP] HARSH2: 1
  221. 2021-04-01 14:45:12.430251 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1
  222. 2021-04-01 14:45:12.430251 [DEBUG] switch_cpp.cpp:1443 [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 ="9088999872" LIMIT 1
  223. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] call_direction:::::: inbound
  224. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== Rates Information ===================
  225. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] ID : 42
  226. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] Connectcost : 0.00000
  227. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] Includedseconds : 0
  228. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] Cost : 0.00000
  229. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] comment : 9088999872
  230. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] Country Id : 141
  231. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] Accid : 49
  232. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] ================================================================
  233. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 49 !!!
  234. 2021-04-01 14:45:12.430251 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
  235. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] Call Max length duration : 100 minutes
  236. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] INB_FREE:TRUE
  237. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] free_inbound:1
  238. 2021-04-01 14:45:12.430251 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 49 AND status=0 LIMIT 1
  239. 2021-04-01 14:45:12.430251 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "140" AND deleted = 0 limit 1
  240. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] [sandip] accountidSELECT * FROM accounts WHERE id = "140" AND deleted = 0 limit 1
  241. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] Actual CustomerInfo XML:49
  242. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] Userinfo XML:49
  243. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] Actual CustomerInfo XML : 49
  244. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] maxlength::::::::: 100
  245. 2021-04-01 14:45:12.430251 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 140 limit 1
  246. 2021-04-01 14:45:12.430251 [WARNING] switch_cpp.cpp:1443 [ASTPP] [user_domain] user_domaintech4mation48.9mobile.nativetalk.com.ng
  247. 2021-04-01 14:45:12.430251 [DEBUG] switch_cpp.cpp:1443 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_7
  248. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] [PBX] call_type : 7
  249. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] [PBX] call_type : Ring group
  250. 2021-04-01 14:45:12.430251 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT id as ringgroup_id,name as ringgroup_name,strategy as ringgroup_strategy,destinations as ringgroup_destinations,description as ringgroup_description,announcementid as ringgroup_announcementid,call_record as ringgroup_call_record,skip_busy as ringgroup_skip_busy,ringbackid as ringgroup_ringbackid,calleridname as ringgroup_calleridname,calleridnumber as ringgroup_calleridnumber,no_answer as ringgroup_no_answer,no_answer_call_type as no_answer_call_type,no_answer_call_type_value,music_on_hold_type,music_on_hold from pbx_ringgroup WHERE id = 35 and status = 0 LIMIT 1
  251. 2021-04-01 14:45:12.430251 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET MOH] Query :SELECT name FROM pbx_music_on_hold WHERE id = 0 ORDER BY RAND() LIMIT 1
  252. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== ringgroup_dlr_str h========Count==========={"destination_1":"106","delay_1":"0","time_out_1":"0","Promptdropdown_1":"0","destination_2":"107","delay_2":"0","time_out_2":"0","Promptdropdown_2":"0"}
  253. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== announcement====Count===============8
  254. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== announcement===================0
  255. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== final_count========final_count===========0===
  256. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== final_count========final_count===========0===
  257. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== ring_group_recording===================0
  258. 2021-04-01 14:45:12.430251 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== ringgroup_dlr_str===================[call_timeout=0,group_confirm_key=exec,group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=no_file,dialed_user=106,leg_timeout=0,leg_delay_start=0]user/106@tech4mation48.9mobile.nativetalk.com.ng|[call_timeout=0,group_confirm_key=exec,group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=no_file,dialed_user=107,leg_timeout=0,leg_delay_start=0]user/107@tech4mation48.9mobile.nativetalk.com.ng|
  259. 2021-04-01 14:45:12.430251 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '' LIMIT 1
  260. 2021-04-01 14:45:12.430251 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  261. <document type="freeswitch/xml">
  262. <section name="dialplan" description="ASTPP Dialplan">
  263. <context name="default">
  264. <extension name="9088999872">
  265. <condition field="destination_number" expression="9088999872">
  266. <action application="set" data="effective_destination_number=88999872"/>
  267. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  268. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  269. <action application="set" data="callstart=2021-04-01 13:45:08"/>
  270. <action application="set" data="hangup_after_bridge=true"/>
  271. <action application="set" data="continue_on_fail=TRUE"/>
  272. <action application="set" data="account_id=49"/>
  273. <action application="set" data="parent_id=0"/>
  274. <action application="set" data="entity_id=3"/>
  275. <action application="set" data="call_processed=internal"/>
  276. <action application="set" data="call_direction=inbound"/>
  277. <action application="set" data="accountname=VSM"/>
  278. <action application="set" data="origination_rates_did=ID:42|CODE:^9088999872.*|DESTINATION:9088999872|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:141|ACCID:140"/>
  279. <action application="set" data="origination_rates=0"/>
  280. <action application="set" data="original_caller_id_name=8138902220"/>
  281. <action application="set" data="original_caller_id_number=8138902220"/>
  282. <action application="set" data="effective_caller_id_name=8138902220"/>
  283. <action application="set" data="effective_caller_id_number=8138902220"/>
  284. <action application="set" data="receiver_accid=140"/>
  285. <action application="set" data="domain_name=tech4mation48.9mobile.nativetalk.com.ng"/>
  286. <action application="set" data="sip_to_host=tech4mation48.9mobile.nativetalk.com.ng"/>
  287. <action application="export" data="domain_name=tech4mation48.9mobile.nativetalk.com.ng"/>
  288. <action application="export" data="sip_to_host=tech4mation48.9mobile.nativetalk.com.ng"/>
  289. <action application="export" data="presence_data=x|||9mobile(8090000000)|||^9088999872.* // 9088999872 // 0.00000||||||DID"/>
  290. <action application="export" data="call_type=7"/>
  291. <action application="set" data="did_calltype=7"/>
  292. <action application="set" data="did_extensions=35"/>
  293. <action application="set" data="group_confirm_key=exec"/>
  294. <action application="set" data="group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua"/>
  295. <action application="export" data="is_recording=1"/>
  296. <action application="export" data="media_bug_answer_req=true"/>
  297. <action application="export" data="RECORD_STEREO=true"/>
  298. <action application="export" data="record_sample_rate=8000"/>
  299. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  300. <action application="set" data="ringback="/>
  301. <action application="set" data="module_name=pbx"/>
  302. <action application="bridge" data="{sip_invite_params=user=LOCAL,absolute_codec_string=^^:PCMA:PCMU,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=49}[call_timeout=0,group_confirm_key=exec,group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=no_file,dialed_user=106,leg_timeout=0,leg_delay_start=0]user/106@tech4mation48.9mobile.nativetalk.com.ng|[call_timeout=0,group_confirm_key=exec,group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=no_file,dialed_user=107,leg_timeout=0,leg_delay_start=0]user/107@tech4mation48.9mobile.nativetalk.com.ng|"/>
  303. </condition>
  304. </extension>
  305. </context>
  306. </section>
  307. </document>
  308. Dialplan: sofia/default/8138902220@37.9.63.182:1024 parsing [default->9088999872] continue=false
  309. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Regex (PASS) [9088999872] destination_number(9088999872) =~ /9088999872/ break=on-false
  310. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Action set(effective_destination_number=88999872)
  311. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  312. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  313. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Action set(callstart=2021-04-01 13:45:08)
  314. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Action set(hangup_after_bridge=true)
  315. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Action set(continue_on_fail=TRUE)
  316. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Action set(account_id=49)
  317. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Action set(parent_id=0)
  318. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Action set(entity_id=3)
  319. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Action set(call_processed=internal)
  320. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Action set(call_direction=inbound)
  321. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Action set(accountname=VSM)
  322. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Action set(origination_rates_did=ID:42|CODE:^9088999872.*|DESTINATION:9088999872|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:141|ACCID:140)
  323. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Action set(origination_rates=0)
  324. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Action set(original_caller_id_name=8138902220)
  325. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Action set(original_caller_id_number=8138902220)
  326. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Action set(effective_caller_id_name=8138902220)
  327. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Action set(effective_caller_id_number=8138902220)
  328. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Action set(receiver_accid=140)
  329. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Action set(domain_name=tech4mation48.9mobile.nativetalk.com.ng)
  330. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Action set(sip_to_host=tech4mation48.9mobile.nativetalk.com.ng)
  331. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Action export(domain_name=tech4mation48.9mobile.nativetalk.com.ng)
  332. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Action export(sip_to_host=tech4mation48.9mobile.nativetalk.com.ng)
  333. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Action export(presence_data=x|||9mobile(8090000000)|||^9088999872.* // 9088999872 // 0.00000||||||DID)
  334. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Action export(call_type=7)
  335. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Action set(did_calltype=7)
  336. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Action set(did_extensions=35)
  337. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Action set(group_confirm_key=exec)
  338. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Action set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  339. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Action export(is_recording=1)
  340. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Action export(media_bug_answer_req=true)
  341. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Action export(RECORD_STEREO=true)
  342. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Action export(record_sample_rate=8000)
  343. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  344. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Action set(ringback=)
  345. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Action set(module_name=pbx)
  346. Dialplan: sofia/default/8138902220@37.9.63.182:1024 Action bridge({sip_invite_params=user=LOCAL,absolute_codec_string=^^:PCMA:PCMU,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=49}[call_timeout=0,group_confirm_key=exec,group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=no_file,dialed_user=106,leg_timeout=0,leg_delay_start=0]user/106@tech4mation48.9mobile.nativetalk.com.ng|[call_timeout=0,group_confirm_key=exec,group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=no_file,dialed_user=107,leg_timeout=0,leg_delay_start=0]user/107@tech4mation48.9mobile.nativetalk.com.ng|)
  347. 2021-04-01 14:45:12.430251 [DEBUG] switch_core_state_machine.c:287 (sofia/default/8138902220@37.9.63.182:1024) State Change CS_ROUTING -> CS_EXECUTE
  348. 2021-04-01 14:45:12.430251 [DEBUG] switch_core_state_machine.c:644 (sofia/default/8138902220@37.9.63.182:1024) State ROUTING going to sleep
  349. 2021-04-01 14:45:12.430251 [DEBUG] switch_core_state_machine.c:585 (sofia/default/8138902220@37.9.63.182:1024) Running State Change CS_EXECUTE (Cur 4 Tot 190876)
  350. 2021-04-01 14:45:12.430251 [DEBUG] switch_core_state_machine.c:651 (sofia/default/8138902220@37.9.63.182:1024) State EXECUTE
  351. 2021-04-01 14:45:12.430251 [DEBUG] mod_sofia.c:209 sofia/default/8138902220@37.9.63.182:1024 SOFIA EXECUTE
  352. 2021-04-01 14:45:12.430251 [DEBUG] switch_core_state_machine.c:329 sofia/default/8138902220@37.9.63.182:1024 Standard EXECUTE
  353. EXECUTE [depth=0] sofia/default/8138902220@37.9.63.182:1024 set(effective_destination_number=88999872)
  354. 2021-04-01 14:45:12.430251 [DEBUG] mod_dptools.c:1672 SET sofia/default/8138902220@37.9.63.182:1024 [effective_destination_number]=[88999872]
  355. EXECUTE [depth=0] sofia/default/8138902220@37.9.63.182:1024 set(bridge_pre_execute_bleg_app=sched_hangup)
  356. 2021-04-01 14:45:12.430251 [DEBUG] mod_dptools.c:1672 SET sofia/default/8138902220@37.9.63.182:1024 [bridge_pre_execute_bleg_app]=[sched_hangup]
  357. EXECUTE [depth=0] sofia/default/8138902220@37.9.63.182:1024 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  358. 2021-04-01 14:45:12.430251 [DEBUG] mod_dptools.c:1672 SET sofia/default/8138902220@37.9.63.182:1024 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  359. EXECUTE [depth=0] sofia/default/8138902220@37.9.63.182:1024 set(callstart=2021-04-01 13:45:08)
  360. 2021-04-01 14:45:12.430251 [DEBUG] mod_dptools.c:1672 SET sofia/default/8138902220@37.9.63.182:1024 [callstart]=[2021-04-01 13:45:08]
  361. EXECUTE [depth=0] sofia/default/8138902220@37.9.63.182:1024 set(hangup_after_bridge=true)
  362. 2021-04-01 14:45:12.430251 [DEBUG] mod_dptools.c:1672 SET sofia/default/8138902220@37.9.63.182:1024 [hangup_after_bridge]=[true]
  363. EXECUTE [depth=0] sofia/default/8138902220@37.9.63.182:1024 set(continue_on_fail=TRUE)
  364. 2021-04-01 14:45:12.430251 [DEBUG] mod_dptools.c:1672 SET sofia/default/8138902220@37.9.63.182:1024 [continue_on_fail]=[TRUE]
  365. EXECUTE [depth=0] sofia/default/8138902220@37.9.63.182:1024 set(account_id=49)
  366. 2021-04-01 14:45:12.430251 [DEBUG] mod_dptools.c:1672 SET sofia/default/8138902220@37.9.63.182:1024 [account_id]=[49]
  367. EXECUTE [depth=0] sofia/default/8138902220@37.9.63.182:1024 set(parent_id=0)
  368. 2021-04-01 14:45:12.430251 [DEBUG] mod_dptools.c:1672 SET sofia/default/8138902220@37.9.63.182:1024 [parent_id]=[0]
  369. EXECUTE [depth=0] sofia/default/8138902220@37.9.63.182:1024 set(entity_id=3)
  370. 2021-04-01 14:45:12.430251 [DEBUG] mod_dptools.c:1672 SET sofia/default/8138902220@37.9.63.182:1024 [entity_id]=[3]
  371. EXECUTE [depth=0] sofia/default/8138902220@37.9.63.182:1024 set(call_processed=internal)
  372. 2021-04-01 14:45:12.430251 [DEBUG] mod_dptools.c:1672 SET sofia/default/8138902220@37.9.63.182:1024 [call_processed]=[internal]
  373. EXECUTE [depth=0] sofia/default/8138902220@37.9.63.182:1024 set(call_direction=inbound)
  374. 2021-04-01 14:45:12.430251 [DEBUG] mod_dptools.c:1672 SET sofia/default/8138902220@37.9.63.182:1024 [call_direction]=[inbound]
  375. EXECUTE [depth=0] sofia/default/8138902220@37.9.63.182:1024 set(accountname=VSM)
  376. 2021-04-01 14:45:12.430251 [DEBUG] mod_dptools.c:1672 SET sofia/default/8138902220@37.9.63.182:1024 [accountname]=[VSM]
  377. EXECUTE [depth=0] sofia/default/8138902220@37.9.63.182:1024 set(origination_rates_did=ID:42|CODE:^9088999872.*|DESTINATION:9088999872|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:141|ACCID:140)
  378. 2021-04-01 14:45:12.470388 [DEBUG] mod_dptools.c:1672 SET sofia/default/8138902220@37.9.63.182:1024 [origination_rates_did]=[ID:42|CODE:^9088999872.*|DESTINATION:9088999872|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:141|ACCID:140]
  379. EXECUTE [depth=0] sofia/default/8138902220@37.9.63.182:1024 set(origination_rates=0)
  380. 2021-04-01 14:45:12.470575 [DEBUG] mod_dptools.c:1672 SET sofia/default/8138902220@37.9.63.182:1024 [origination_rates]=[0]
  381. EXECUTE [depth=0] sofia/default/8138902220@37.9.63.182:1024 set(original_caller_id_name=8138902220)
  382. 2021-04-01 14:45:12.470575 [DEBUG] mod_dptools.c:1672 SET sofia/default/8138902220@37.9.63.182:1024 [original_caller_id_name]=[8138902220]
  383. EXECUTE [depth=0] sofia/default/8138902220@37.9.63.182:1024 set(original_caller_id_number=8138902220)
  384. 2021-04-01 14:45:12.470575 [DEBUG] mod_dptools.c:1672 SET sofia/default/8138902220@37.9.63.182:1024 [original_caller_id_number]=[8138902220]
  385. EXECUTE [depth=0] sofia/default/8138902220@37.9.63.182:1024 set(effective_caller_id_name=8138902220)
  386. 2021-04-01 14:45:12.470575 [DEBUG] mod_dptools.c:1672 SET sofia/default/8138902220@37.9.63.182:1024 [effective_caller_id_name]=[8138902220]
  387. EXECUTE [depth=0] sofia/default/8138902220@37.9.63.182:1024 set(effective_caller_id_number=8138902220)
  388. 2021-04-01 14:45:12.470575 [DEBUG] mod_dptools.c:1672 SET sofia/default/8138902220@37.9.63.182:1024 [effective_caller_id_number]=[8138902220]
  389. EXECUTE [depth=0] sofia/default/8138902220@37.9.63.182:1024 set(receiver_accid=140)
  390. 2021-04-01 14:45:12.470575 [DEBUG] mod_dptools.c:1672 SET sofia/default/8138902220@37.9.63.182:1024 [receiver_accid]=[140]
  391. EXECUTE [depth=0] sofia/default/8138902220@37.9.63.182:1024 set(domain_name=tech4mation48.9mobile.nativetalk.com.ng)
  392. 2021-04-01 14:45:12.470575 [DEBUG] mod_dptools.c:1672 SET sofia/default/8138902220@37.9.63.182:1024 [domain_name]=[tech4mation48.9mobile.nativetalk.com.ng]
  393. EXECUTE [depth=0] sofia/default/8138902220@37.9.63.182:1024 set(sip_to_host=tech4mation48.9mobile.nativetalk.com.ng)
  394. 2021-04-01 14:45:12.470575 [DEBUG] mod_dptools.c:1672 SET sofia/default/8138902220@37.9.63.182:1024 [sip_to_host]=[tech4mation48.9mobile.nativetalk.com.ng]
  395. EXECUTE [depth=0] sofia/default/8138902220@37.9.63.182:1024 export(domain_name=tech4mation48.9mobile.nativetalk.com.ng)
  396. 2021-04-01 14:45:12.470575 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [domain_name]=[tech4mation48.9mobile.nativetalk.com.ng]
  397. EXECUTE [depth=0] sofia/default/8138902220@37.9.63.182:1024 export(sip_to_host=tech4mation48.9mobile.nativetalk.com.ng)
  398. 2021-04-01 14:45:12.470575 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [sip_to_host]=[tech4mation48.9mobile.nativetalk.com.ng]
  399. EXECUTE [depth=0] sofia/default/8138902220@37.9.63.182:1024 export(presence_data=x|||9mobile(8090000000)|||^9088999872.* // 9088999872 // 0.00000||||||DID)
  400. 2021-04-01 14:45:12.470575 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||9mobile(8090000000)|||^9088999872.* // 9088999872 // 0.00000||||||DID]
  401. EXECUTE [depth=0] sofia/default/8138902220@37.9.63.182:1024 export(call_type=7)
  402. 2021-04-01 14:45:12.470575 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_type]=[7]
  403. EXECUTE [depth=0] sofia/default/8138902220@37.9.63.182:1024 set(did_calltype=7)
  404. 2021-04-01 14:45:12.470575 [DEBUG] mod_dptools.c:1672 SET sofia/default/8138902220@37.9.63.182:1024 [did_calltype]=[7]
  405. EXECUTE [depth=0] sofia/default/8138902220@37.9.63.182:1024 set(did_extensions=35)
  406. 2021-04-01 14:45:12.470575 [DEBUG] mod_dptools.c:1672 SET sofia/default/8138902220@37.9.63.182:1024 [did_extensions]=[35]
  407. EXECUTE [depth=0] sofia/default/8138902220@37.9.63.182:1024 set(group_confirm_key=exec)
  408. 2021-04-01 14:45:12.470575 [DEBUG] mod_dptools.c:1672 SET sofia/default/8138902220@37.9.63.182:1024 [group_confirm_key]=[exec]
  409. EXECUTE [depth=0] sofia/default/8138902220@37.9.63.182:1024 set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  410. 2021-04-01 14:45:12.470575 [DEBUG] mod_dptools.c:1672 SET sofia/default/8138902220@37.9.63.182:1024 [group_confirm_file]=[lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua]
  411. EXECUTE [depth=0] sofia/default/8138902220@37.9.63.182:1024 export(is_recording=1)
  412. 2021-04-01 14:45:12.470575 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [is_recording]=[1]
  413. EXECUTE [depth=0] sofia/default/8138902220@37.9.63.182:1024 export(media_bug_answer_req=true)
  414. 2021-04-01 14:45:12.470575 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [media_bug_answer_req]=[true]
  415. EXECUTE [depth=0] sofia/default/8138902220@37.9.63.182:1024 export(RECORD_STEREO=true)
  416. 2021-04-01 14:45:12.470575 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [RECORD_STEREO]=[true]
  417. EXECUTE [depth=0] sofia/default/8138902220@37.9.63.182:1024 export(record_sample_rate=8000)
  418. 2021-04-01 14:45:12.470575 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [record_sample_rate]=[8000]
  419. EXECUTE [depth=0] sofia/default/8138902220@37.9.63.182:1024 export(execute_on_answer=record_session /opt/ASTPP/web_interface/astpp/playlist/example/media/recordings/cacac301-cace-45b7-80cc-300d50140d49.wav)
  420. 2021-04-01 14:45:12.470575 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [execute_on_answer]=[record_session /opt/ASTPP/web_interface/astpp/playlist/example/media/recordings/cacac301-cace-45b7-80cc-300d50140d49.wav]
  421. EXECUTE [depth=0] sofia/default/8138902220@37.9.63.182:1024 set(ringback=)
  422. 2021-04-01 14:45:12.470575 [DEBUG] mod_dptools.c:1672 SET sofia/default/8138902220@37.9.63.182:1024 [ringback]=[UNDEF]
  423. EXECUTE [depth=0] sofia/default/8138902220@37.9.63.182:1024 set(module_name=pbx)
  424. 2021-04-01 14:45:12.470575 [DEBUG] mod_dptools.c:1672 SET sofia/default/8138902220@37.9.63.182:1024 [module_name]=[pbx]
  425. EXECUTE [depth=0] sofia/default/8138902220@37.9.63.182:1024 bridge({sip_invite_params=user=LOCAL,absolute_codec_string=^^:PCMA:PCMU,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=49}[call_timeout=0,group_confirm_key=exec,group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=no_file,dialed_user=106,leg_timeout=0,leg_delay_start=0]user/106@tech4mation48.9mobile.nativetalk.com.ng|[call_timeout=0,group_confirm_key=exec,group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=no_file,dialed_user=107,leg_timeout=0,leg_delay_start=0]user/107@tech4mation48.9mobile.nativetalk.com.ng|)
  426. 2021-04-01 14:45:12.470575 [DEBUG] switch_channel.c:1264 sofia/default/8138902220@37.9.63.182:1024 EXPORTING[export_vars] [domain_name]=[tech4mation48.9mobile.nativetalk.com.ng] to event
  427. 2021-04-01 14:45:12.470575 [DEBUG] switch_channel.c:1264 sofia/default/8138902220@37.9.63.182:1024 EXPORTING[export_vars] [sip_to_host]=[tech4mation48.9mobile.nativetalk.com.ng] to event
  428. 2021-04-01 14:45:12.470575 [DEBUG] switch_channel.c:1264 sofia/default/8138902220@37.9.63.182:1024 EXPORTING[export_vars] [presence_data]=[x|||9mobile(8090000000)|||^9088999872.* // 9088999872 // 0.00000||||||DID] to event
  429. 2021-04-01 14:45:12.470575 [DEBUG] switch_channel.c:1264 sofia/default/8138902220@37.9.63.182:1024 EXPORTING[export_vars] [call_type]=[7] to event
  430. 2021-04-01 14:45:12.470575 [DEBUG] switch_channel.c:1264 sofia/default/8138902220@37.9.63.182:1024 EXPORTING[export_vars] [is_recording]=[1] to event
  431. 2021-04-01 14:45:12.470575 [DEBUG] switch_channel.c:1264 sofia/default/8138902220@37.9.63.182:1024 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  432. 2021-04-01 14:45:12.470575 [DEBUG] switch_channel.c:1264 sofia/default/8138902220@37.9.63.182:1024 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  433. 2021-04-01 14:45:12.470575 [DEBUG] switch_channel.c:1264 sofia/default/8138902220@37.9.63.182:1024 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  434. 2021-04-01 14:45:12.470575 [DEBUG] switch_channel.c:1264 sofia/default/8138902220@37.9.63.182:1024 EXPORTING[export_vars] [execute_on_answer]=[record_session /opt/ASTPP/web_interface/astpp/playlist/example/media/recordings/cacac301-cace-45b7-80cc-300d50140d49.wav] to event
  435. 2021-04-01 14:45:12.470575 [DEBUG] switch_ivr_originate.c:2212 Parsing global variables
  436. 2021-04-01 14:45:12.470575 [DEBUG] switch_ivr_originate.c:2757 Parsing session specific variables
  437. 2021-04-01 14:45:12.470575 [DEBUG] switch_channel.c:1264 sofia/default/8138902220@37.9.63.182:1024 EXPORTING[export_vars] [domain_name]=[tech4mation48.9mobile.nativetalk.com.ng] to event
  438. 2021-04-01 14:45:12.470575 [DEBUG] switch_channel.c:1264 sofia/default/8138902220@37.9.63.182:1024 EXPORTING[export_vars] [sip_to_host]=[tech4mation48.9mobile.nativetalk.com.ng] to event
  439. 2021-04-01 14:45:12.470575 [DEBUG] switch_channel.c:1264 sofia/default/8138902220@37.9.63.182:1024 EXPORTING[export_vars] [presence_data]=[x|||9mobile(8090000000)|||^9088999872.* // 9088999872 // 0.00000||||||DID] to event
  440. 2021-04-01 14:45:12.470575 [DEBUG] switch_channel.c:1264 sofia/default/8138902220@37.9.63.182:1024 EXPORTING[export_vars] [call_type]=[7] to event
  441. 2021-04-01 14:45:12.470575 [DEBUG] switch_channel.c:1264 sofia/default/8138902220@37.9.63.182:1024 EXPORTING[export_vars] [is_recording]=[1] to event
  442. 2021-04-01 14:45:12.470575 [DEBUG] switch_channel.c:1264 sofia/default/8138902220@37.9.63.182:1024 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  443. 2021-04-01 14:45:12.470575 [DEBUG] switch_channel.c:1264 sofia/default/8138902220@37.9.63.182:1024 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  444. 2021-04-01 14:45:12.470575 [DEBUG] switch_channel.c:1264 sofia/default/8138902220@37.9.63.182:1024 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  445. 2021-04-01 14:45:12.470575 [DEBUG] switch_channel.c:1264 sofia/default/8138902220@37.9.63.182:1024 EXPORTING[export_vars] [execute_on_answer]=[record_session /opt/ASTPP/web_interface/astpp/playlist/example/media/recordings/cacac301-cace-45b7-80cc-300d50140d49.wav] to event
  446. 2021-04-01 14:45:12.470575 [DEBUG] switch_ivr_originate.c:2212 Parsing global variables
  447. 2021-04-01 14:45:12.470575 [NOTICE] switch_channel.c:1118 New Channel sofia/default/106@10.130.23.188:62965 [16e67fb6-f4d6-465a-9a8c-ca14b2670704]
  448. 2021-04-01 14:45:12.470575 [DEBUG] mod_sofia.c:5096 (sofia/default/106@10.130.23.188:62965) State Change CS_NEW -> CS_INIT
  449. 2021-04-01 14:45:12.470575 [DEBUG] switch_core_state_machine.c:585 (sofia/default/106@10.130.23.188:62965) Running State Change CS_INIT (Cur 5 Tot 190877)
  450. 2021-04-01 14:45:12.470575 [DEBUG] switch_core_state_machine.c:628 (sofia/default/106@10.130.23.188:62965) State INIT
  451. 2021-04-01 14:45:12.470575 [DEBUG] mod_sofia.c:93 sofia/default/106@10.130.23.188:62965 SOFIA INIT
  452. 2021-04-01 14:45:12.470575 [DEBUG] sofia_glue.c:1587 sip:106@102.89.0.197:62965;rinstance=a90eb2f934d014ef Setting proxy route to sofia/default/106@10.130.23.188:62965
  453. 2021-04-01 14:45:12.470575 [DEBUG] sofia_glue.c:1618 sofia/default/106@10.130.23.188:62965 sending invite version: 1.10.1 -release-12-f9990221e6 64bit
  454. Local SDP: