From sahil, 3 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. v=0
  2. o=Dialogic_SDP 155384928009498004 5317431747054677615 IN IP4 185.63.140.127
  3. s=Dialogic-SIP
  4. c=IN IP4 185.63.140.63
  5. t=0 0
  6. m=audio 9856 RTP/AVP 8 0 101
  7. a=rtpmap:8 PCMA/8000
  8. a=rtpmap:0 PCMU/8000
  9. a=rtpmap:101 telephone-event/8000
  10. a=fmtp:101 0-15
  11. a=silenceSupp:off - - - -
  12.  
  13. 2021-03-09 09:46:54.049686 [DEBUG] switch_core_media.c:5592 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  14. 2021-03-09 09:46:54.049686 [DEBUG] switch_core_media.c:5647 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  15. 2021-03-09 09:46:54.049686 [DEBUG] switch_core_media.c:5592 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  16. 2021-03-09 09:46:54.049686 [DEBUG] switch_core_media.c:5592 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  17. 2021-03-09 09:46:54.049686 [DEBUG] switch_core_media.c:5592 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  18. 2021-03-09 09:46:54.049686 [DEBUG] switch_core_media.c:5592 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  19. 2021-03-09 09:46:54.049686 [DEBUG] switch_core_media.c:5592 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  20. 2021-03-09 09:46:54.049686 [DEBUG] switch_core_media.c:5647 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  21. 2021-03-09 09:46:54.049686 [DEBUG] switch_core_media.c:5592 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  22. 2021-03-09 09:46:54.049686 [DEBUG] switch_core_media.c:5592 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  23. 2021-03-09 09:46:54.049686 [DEBUG] switch_core_media.c:5508 Set telephone-event payload to 101@8000
  24. 2021-03-09 09:46:54.049686 [DEBUG] switch_core_media.c:3837 Set Codec sofia/default/447903334940@simwood.com PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  25. 2021-03-09 09:46:54.049686 [DEBUG] switch_core_codec.c:111 sofia/default/447903334940@simwood.com Original read codec set to PCMA:8
  26. 2021-03-09 09:46:54.049686 [DEBUG] switch_core_media.c:5851 Set telephone-event payload to 101@8000
  27. 2021-03-09 09:46:54.049686 [DEBUG] switch_core_media.c:5909 sofia/default/447903334940@simwood.com Set 2833 dtmf send payload to 101 recv payload to 101
  28. 2021-03-09 09:46:54.049686 [DEBUG] sofia.c:7735 (sofia/default/447903334940@simwood.com) State Change CS_NEW -> CS_INIT
  29. 2021-03-09 09:46:54.049686 [DEBUG] switch_core_state_machine.c:604 (sofia/default/447903334940@simwood.com) State NEW
  30. 2021-03-09 09:46:54.049686 [DEBUG] switch_core_state_machine.c:585 (sofia/default/447903334940@simwood.com) Running State Change CS_INIT (Cur 3 Tot 292565)
  31. 2021-03-09 09:46:54.049686 [DEBUG] switch_core_state_machine.c:628 (sofia/default/447903334940@simwood.com) State INIT
  32. 2021-03-09 09:46:54.049686 [DEBUG] mod_sofia.c:93 sofia/default/447903334940@simwood.com SOFIA INIT
  33. 2021-03-09 09:46:54.049686 [DEBUG] switch_core_state_machine.c:40 sofia/default/447903334940@simwood.com Standard INIT
  34. 2021-03-09 09:46:54.049686 [DEBUG] switch_core_state_machine.c:48 (sofia/default/447903334940@simwood.com) State Change CS_INIT -> CS_ROUTING
  35. 2021-03-09 09:46:54.049686 [DEBUG] switch_core_state_machine.c:628 (sofia/default/447903334940@simwood.com) State INIT going to sleep
  36. 2021-03-09 09:46:54.069670 [DEBUG] switch_core_state_machine.c:585 (sofia/default/447903334940@simwood.com) Running State Change CS_ROUTING (Cur 3 Tot 292565)
  37. 2021-03-09 09:46:54.069670 [DEBUG] switch_channel.c:2332 (sofia/default/447903334940@simwood.com) Callstate Change DOWN -> RINGING
  38. 2021-03-09 09:46:54.069670 [DEBUG] switch_core_state_machine.c:644 (sofia/default/447903334940@simwood.com) State ROUTING
  39. 2021-03-09 09:46:54.069670 [DEBUG] mod_sofia.c:154 sofia/default/447903334940@simwood.com SOFIA ROUTING
  40. 2021-03-09 09:46:54.069670 [DEBUG] switch_core_state_machine.c:236 sofia/default/447903334940@simwood.com Standard ROUTING
  41. 2021-03-09 09:46:54.069670 [INFO] mod_dialplan_xml.c:637 Processing 447903334940 <447903334940>->02071832185 in context default
  42. 2021-03-09 09:46:54.069670 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  43. 2021-03-09 09:46:54.069670 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  44. 2021-03-09 09:46:54.069670 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [xml_handler] Params:
  45. Event-Name: REQUEST_PARAMS
  46. Core-UUID: be07c608-2888-4a3c-b411-34af5f4413eb
  47. FreeSWITCH-Hostname: SBPbx
  48. FreeSWITCH-Switchname: SBPbx
  49. FreeSWITCH-IPv4: 178.62.70.78
  50. FreeSWITCH-IPv6: %3A%3A1
  51. Event-Date-Local: 2021-03-09%2009%3A46%3A54
  52. Event-Date-GMT: Tue,%2009%20Mar%202021%2009%3A46%3A54%20GMT
  53. Event-Date-Timestamp: 1615283214069670
  54. Event-Calling-File: mod_dialplan_xml.c
  55. Event-Calling-Function: dialplan_xml_locate
  56. Event-Calling-Line-Number: 608
  57. Event-Sequence: 4376217
  58. Channel-State: CS_ROUTING
  59. Channel-Call-State: RINGING
  60. Channel-State-Number: 2
  61. Channel-Name: sofia/default/447903334940%40simwood.com
  62. Unique-ID: 4cae13ca-ea7a-499c-827d-cce8aea9b703
  63. Call-Direction: inbound
  64. Presence-Call-Direction: inbound
  65. Channel-HIT-Dialplan: true
  66. Channel-Presence-ID: 447903334940%40simwood.com
  67. Channel-Call-UUID: 4cae13ca-ea7a-499c-827d-cce8aea9b703
  68. Answer-State: ringing
  69. Channel-Read-Codec-Name: PCMA
  70. Channel-Read-Codec-Rate: 8000
  71. Channel-Read-Codec-Bit-Rate: 64000
  72. Channel-Write-Codec-Name: PCMA
  73. Channel-Write-Codec-Rate: 8000
  74. Channel-Write-Codec-Bit-Rate: 64000
  75. Caller-Direction: inbound
  76. Caller-Logical-Direction: inbound
  77. Caller-Username: 447903334940
  78. Caller-Dialplan: XML
  79. Caller-Caller-ID-Name: 447903334940
  80. Caller-Caller-ID-Number: 447903334940
  81. Caller-Orig-Caller-ID-Name: 447903334940
  82. Caller-Orig-Caller-ID-Number: 447903334940
  83. Caller-Network-Addr: 185.63.140.77
  84. Caller-ANI: 447903334940
  85. Caller-Destination-Number: 02071832185
  86. Caller-Unique-ID: 4cae13ca-ea7a-499c-827d-cce8aea9b703
  87. Caller-Source: mod_sofia
  88. Caller-Context: default
  89. Caller-Channel-Name: sofia/default/447903334940%40simwood.com
  90. Caller-Profile-Index: 1
  91. Caller-Profile-Created-Time: 1615283214049686
  92. Caller-Channel-Created-Time: 1615283214049686
  93. Caller-Channel-Answered-Time: 0
  94. Caller-Channel-Progress-Time: 0
  95. Caller-Channel-Progress-Media-Time: 0
  96. Caller-Channel-Hangup-Time: 0
  97. Caller-Channel-Transfer-Time: 0
  98. Caller-Channel-Resurrect-Time: 0
  99. Caller-Channel-Bridged-Time: 0
  100. Caller-Channel-Last-Hold: 0
  101. Caller-Channel-Hold-Accum: 0
  102. Caller-Screen-Bit: true
  103. Caller-Privacy-Hide-Name: false
  104. Caller-Privacy-Hide-Number: false
  105. variable_direction: inbound
  106. variable_uuid: 4cae13ca-ea7a-499c-827d-cce8aea9b703
  107. variable_session_id: 292565
  108. variable_sip_from_user: 447903334940
  109. variable_sip_from_uri: 447903334940%40simwood.com
  110. variable_sip_from_host: simwood.com
  111. variable_video_media_flow: disabled
  112. variable_text_media_flow: disabled
  113. variable_channel_name: sofia/default/447903334940%40simwood.com
  114. variable_sip_call_id: 33e34986-fb5f-1239-03a4-0242ac110008
  115. variable_sip_local_network_addr: 178.62.70.78
  116. variable_sip_network_ip: 185.63.140.77
  117. variable_sip_network_port: 5060
  118. variable_sip_invite_stamp: 1615283214049686
  119. variable_sip_received_ip: 185.63.140.77
  120. variable_sip_received_port: 5060
  121. variable_sip_via_protocol: udp
  122. variable_sip_authorized: true
  123. variable_sip_acl_authed_by: default
  124. variable_sip_from_user_stripped: 447903334940
  125. variable_sip_from_tag: rFNK3crv1t50K
  126. variable_sofia_profile_name: default
  127. variable_sofia_profile_url: sip%3Amod_sofia%40178.62.70.78%3A5060
  128. variable_recovery_profile_name: default
  129. variable_sip_invite_route_uri: %3Csip%3A185.63.140.77%3Blr%3E
  130. variable_sip_invite_record_route: %3Csip%3A185.63.140.77%3Blr%3E
  131. variable_sip_full_via: SIP/2.0/UDP%20185.63.140.77%3Bbranch%3Dz9hG4bK9353.fc48afe18ad9e1afff1f3825f8d7c22d.0%3Brport%3D5060,SIP/2.0/UDP%20185.63.140.9%3Breceived%3D185.63.140.9%3Brport%3D5060%3Bbranch%3Dz9hG4bKZ7Z6F3gS06vSQ
  132. variable_sip_from_display: 447903334940
  133. variable_sip_full_from: %22447903334940%22%20%3Csip%3A447903334940%40simwood.com%3E%3Btag%3DrFNK3crv1t50K
  134. variable_sip_full_to: %3Csip%3A02071832185%40sipp.switchboard.co.uk%3E
  135. variable_sip_allow: INVITE,%20ACK,%20BYE,%20CANCEL,%20OPTIONS,%20MESSAGE,%20INFO,%20UPDATE,%20REGISTER,%20REFER,%20NOTIFY
  136. variable_sip_req_user: 02071832185
  137. variable_sip_req_uri: 02071832185%40sipp.switchboard.co.uk
  138. variable_sip_req_host: sipp.switchboard.co.uk
  139. variable_sip_to_user: 02071832185
  140. variable_sip_to_uri: 02071832185%40sipp.switchboard.co.uk
  141. variable_sip_to_host: sipp.switchboard.co.uk
  142. variable_sip_contact_user: mod_sofia
  143. variable_sip_contact_port: 5060
  144. variable_sip_contact_uri: mod_sofia%40185.63.140.9%3A5060
  145. variable_sip_contact_host: 185.63.140.9
  146. variable_sip_via_host: 185.63.140.77
  147. variable_sip_via_rport: 5060
  148. variable_max_forwards: 67
  149. variable_presence_id: 447903334940%40simwood.com
  150. variable_sip_h_X-Origin: mobile
  151. variable_sip_h_X-simwood-acli: 861eb3bc0b4b61f511450401fa5dc60f
  152. variable_switch_r_sdp: v%3D0%0D%0Ao%3DDialogic_SDP%20155384928009498004%205317431747054677615%20IN%20IP4%20185.63.140.127%0D%0As%3DDialogic-SIP%0D%0Ac%3DIN%20IP4%20185.63.140.63%0D%0At%3D0%200%0D%0Am%3Daudio%209856%20RTP/AVP%208%200%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-15%0D%0Aa%3DsilenceSupp%3Aoff%20-%20-%20-%20-%0D%0A
  153. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b
  154. variable_rtp_use_codec_string: PCMA,PCMU,G729,G722
  155. variable_remote_video_media_flow: inactive
  156. variable_remote_text_media_flow: inactive
  157. variable_remote_audio_media_flow: sendrecv
  158. variable_audio_media_flow: sendrecv
  159. variable_remote_media_ip: 185.63.140.63
  160. variable_remote_media_port: 9856
  161. variable_rtp_audio_recv_pt: 8
  162. variable_rtp_use_codec_name: PCMA
  163. variable_rtp_use_codec_rate: 8000
  164. variable_rtp_use_codec_ptime: 20
  165. variable_rtp_use_codec_channels: 1
  166. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  167. variable_read_codec: PCMA
  168. variable_original_read_codec: PCMA
  169. variable_read_rate: 8000
  170. variable_original_read_rate: 8000
  171. variable_write_codec: PCMA
  172. variable_write_rate: 8000
  173. variable_dtmf_type: rfc2833
  174. variable_endpoint_disposition: RECEIVED
  175. variable_call_uuid: 4cae13ca-ea7a-499c-827d-cce8aea9b703
  176. Hunt-Direction: inbound
  177. Hunt-Logical-Direction: inbound
  178. Hunt-Username: 447903334940
  179. Hunt-Dialplan: XML
  180. Hunt-Caller-ID-Name: 447903334940
  181. Hunt-Caller-ID-Number: 447903334940
  182. Hunt-Orig-Caller-ID-Name: 447903334940
  183. Hunt-Orig-Caller-ID-Number: 447903334940
  184. Hunt-Network-Addr: 185.63.140.77
  185. Hunt-ANI: 447903334940
  186. Hunt-Destination-Number: 02071832185
  187. Hunt-Unique-ID: 4cae13ca-ea7a-499c-827d-cce8aea9b703
  188. Hunt-Source: mod_sofia
  189. Hunt-Context: default
  190. Hunt-Channel-Name: sofia/default/447903334940%40simwood.com
  191. Hunt-Profile-Index: 1
  192. Hunt-Profile-Created-Time: 1615283214049686
  193. Hunt-Channel-Created-Time: 1615283214049686
  194. Hunt-Channel-Answered-Time: 0
  195. Hunt-Channel-Progress-Time: 0
  196. Hunt-Channel-Progress-Media-Time: 0
  197. Hunt-Channel-Hangup-Time: 0
  198. Hunt-Channel-Transfer-Time: 0
  199. Hunt-Channel-Resurrect-Time: 0
  200. Hunt-Channel-Bridged-Time: 0
  201. Hunt-Channel-Last-Hold: 0
  202. Hunt-Channel-Hold-Accum: 0
  203. Hunt-Screen-Bit: true
  204. Hunt-Privacy-Hide-Name: false
  205. Hunt-Privacy-Hide-Number: false
  206.  
  207.  
  208. 2021-03-09 09:46:54.069670 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] tag_name:
  209. 2021-03-09 09:46:54.069670 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] section: dialplan
  210. 2021-03-09 09:46:54.069670 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] key_name:
  211. 2021-03-09 09:46:54.069670 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] key_value:
  212. 2021-03-09 09:46:54.069670 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] blind_flag: 0
  213. 2021-03-09 09:46:54.069670 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Dialed number : 02071832185
  214. 2021-03-09 09:46:54.069670 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '02071832185' limit 1
  215. 2021-03-09 09:46:54.069670 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '02071832185' AND status=0 limit 1
  216. 2021-03-09 09:46:54.069670 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '02071832185' and status=0 LIMIT 1
  217. 2021-03-09 09:46:54.069670 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Caller Id name / number  : 447903334940 / 447903334940
  218. 2021-03-09 09:46:54.069670 [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 ="02071832185" LIMIT 1
  219. 2021-03-09 09:46:54.069670 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Call direction : inbound
  220. 2021-03-09 09:46:54.069670 [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("185.63.140.77") 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 "02071832185"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  221. 2021-03-09 09:46:54.069670 [INFO] switch_cpp.cpp:1443 [ASTPP] [Accountcode : 1683977434]
  222. 2021-03-09 09:46:54.069670 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "1683977434" AND deleted = 0 limit 1
  223. 2021-03-09 09:46:54.069670 [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 ="02071832185" AND A.accountid = '6' limit 1
  224. 2021-03-09 09:46:54.069670 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 02071832185
  225. 2021-03-09 09:46:54.069670 [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 ="02071832185" LIMIT 1
  226. 2021-03-09 09:46:54.069670 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] New Call direction : inbound
  227. 2021-03-09 09:46:54.069670 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="02071832185" AND (accountid = 0 OR status = 1) LIMIT 1
  228. 2021-03-09 09:46:54.069670 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  229. 2021-03-09 09:46:54.069670 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :198
  230. 2021-03-09 09:46:54.069670 [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 = '^02071832185.*' OR patterns = '^0207183218.*' OR patterns = '^020718321.*' OR patterns = '^02071832.*' OR patterns = '^0207183.*' OR patterns = '^020718.*' OR patterns = '^02071.*' OR patterns = '^0207.*' OR patterns = '^020.*' OR patterns = '^02.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 198 ORDER BY LENGTH(PKGPTR.patterns) DESC
  231. 2021-03-09 09:46:54.069670 [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 = '02071832185' OR number = '0207183218' OR number = '020718321' OR number = '02071832' OR number = '0207183' OR number = '020718' OR number = '02071' OR number = '0207' OR number = '020' OR number = '02' OR number = '0' OR number ='--') OR (number = '02071832185*' OR number = '0207183218*' OR number = '020718321*' OR number = '02071832*' OR number = '0207183*' OR number = '020718*' OR number = '02071*' OR number = '0207*' OR number = '020*' OR number = '02*' OR number = '0*' OR number ='--') OR (number = '447903334940' OR number = '44790333494' OR number = '4479033349' OR number = '447903334' OR number = '44790333' OR number = '4479033' OR number = '447903' OR number = '44790' OR number = '4479' OR number = '447' OR number = '44' OR number = '4' OR number ='--') OR (number = '447903334940*' OR number = '44790333494*' OR number = '4479033349*' OR number = '447903334*' OR number = '44790333*' OR number = '4479033*' OR number = '447903*' OR number = '44790*' OR number = '4479*' OR number = '447*' OR number = '44*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  232. 2021-03-09 09:46:54.089768 [DEBUG] switch_cpp.cpp:1443 [ASTPP] Call Barring Status : -1
  233. 2021-03-09 09:46:54.089768 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '02071832185' OR routing_prefix = '0207183218' OR routing_prefix = '020718321' OR routing_prefix = '02071832' OR routing_prefix = '0207183' OR routing_prefix = '020718' OR routing_prefix = '02071' OR routing_prefix = '0207' OR routing_prefix = '020' OR routing_prefix = '02' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  234. 2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== Account Information ===================
  235. 2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] User id : 6
  236. 2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] Account code : 1683977434
  237. 2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] Balance : 10000
  238. 2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  239. 2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] Ratecard id : 1
  240. 2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] CID Pool : 0
  241. 2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] ========================================================
  242. 2021-03-09 09:46:54.089768 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  243. 2021-03-09 09:46:54.089768 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_RATES] call_direction :inbound
  244. 2021-03-09 09:46:54.089768 [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 ="02071832185" LIMIT 1
  245. 2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] call_direction:::::: inbound
  246. 2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== Rates Information ===================
  247. 2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] ID : 257
  248. 2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] Connectcost : 0.00000
  249. 2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] Includedseconds : 0
  250. 2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] Cost : 0.00000
  251. 2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] comment : 02071832185
  252. 2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] Country Id : 200
  253. 2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] Accid : 6
  254. 2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] ================================================================
  255. 2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 6 !!!
  256. 2021-03-09 09:46:54.089768 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
  257. 2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] Call Max length duration : 100 minutes
  258. 2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] INB_FREE:TRUE
  259. 2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] free_inbound:1
  260. 2021-03-09 09:46:54.089768 [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 = 6 AND status=0 LIMIT 1
  261. 2021-03-09 09:46:54.089768 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "198" AND deleted = 0 limit 1
  262. 2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] Actual CustomerInfo XML:6
  263. 2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] Userinfo XML:6
  264. 2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] Actual CustomerInfo XML : 6
  265. 2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] maxlength::::::::: 100
  266. 2021-03-09 09:46:54.089768 [DEBUG] switch_cpp.cpp:1443 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_0
  267. 2021-03-09 09:46:54.089768 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Querymy_test :SELECT * FROM domains WHERE accountid = "198" limit 1
  268. 2021-03-09 09:46:54.089768 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="401"  AND domains.domain="ActiveMontas177.sipp.switchboard.co.uk" limit 1
  269. 2021-03-09 09:46:54.089768 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 355 limit 1
  270. 2021-03-09 09:46:54.089768 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  271. 2021-03-09 09:46:54.089768 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  272. 2021-03-09 09:46:54.089768 [WARNING] switch_cpp.cpp:1443 [ASTPP] [user_domain] user_domain beforeActiveMontas177.sipp.switchboard.co.uk
  273. 2021-03-09 09:46:54.089768 [WARNING] switch_cpp.cpp:1443 [ASTPP] [user_domain] pickup_group_permission pickup_str
  274. 2021-03-09 09:46:54.089768 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [NOTIFY] START:
  275. 2021-03-09 09:46:54.089768 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [NOTIFY] Query :SELECT callkit_token,mobile_type FROM dialer_device_info WHERE username='401'
  276. 2021-03-09 09:46:54.089768 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="401"  AND domains.domain="ActiveMontas177.sipp.switchboard.co.uk" limit 1
  277. 2021-03-09 09:46:54.089768 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 355 limit 1
  278. 2021-03-09 09:46:54.089768 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  279. <document type="freeswitch/xml">
  280. <section name="dialplan" description="ASTPP Dialplan">
  281. <context name="default">
  282. <extension name="02071832185">
  283. <condition field="destination_number" expression="02071832185">
  284. <action application="set" data="effective_destination_number=02071832185"/>
  285. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  286. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  287. <action application="set" data="callstart=2021-03-09 09:46:54"/>
  288. <action application="set" data="hangup_after_bridge=true"/>
  289. <action application="set" data="continue_on_fail=TRUE"/>
  290. <action application="set" data="account_id=6"/>
  291. <action application="set" data="parent_id=0"/>
  292. <action application="set" data="entity_id=3"/>
  293. <action application="set" data="call_processed=internal"/>
  294. <action application="set" data="call_direction=inbound"/>
  295. <action application="set" data="accountname=Simwood"/>
  296. <action application="set" data="origination_rates_did=ID:257|CODE:^02071832185.*|DESTINATION:02071832185|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:200|ACCID:198"/>
  297. <action application="set" data="origination_rates=0"/>
  298. <action application="set" data="original_caller_id_name=447903334940"/>
  299. <action application="set" data="original_caller_id_number=447903334940"/>
  300. <action application="set" data="effective_caller_id_name=447903334940"/>
  301. <action application="set" data="effective_caller_id_number=447903334940"/>
  302. <action application="set" data="receiver_accid=198"/>
  303. <action application="export" data="presence_data=x|||simwood(1683977434)|||^02071832185.* // 02071832185 // 0.00000||||||DID"/>
  304. <action application="export" data="call_type=0"/>
  305. <action application="set" data="calltype=DID-LOCAL"/>
  306. <action application="db" data="insert/pickup_any_group_${callgroup}/401/${uuid}"/>
  307. <action application="set" data="dialed_extension=transfer_call"/>
  308. <action application="export" data="dialed_extension=transfer_call"/>
  309. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  310. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  311. <action application="set" data="hangup_after_bridge=true"/>
  312. <action application="export" data="did_user_domain=ActiveMontas177.sipp.switchboard.co.uk"/>
  313. <action application="ring_ready"/>
  314. <action application="sleep" data="5000"/>
  315. <action application="bridge" data="[leg_timeout=0]user/401@ActiveMontas177.sipp.switchboard.co.uk"/>
  316. <action application="set" data="on_busy_flag=1"/>
  317. <action application="set" data="on_busy_destination="/>
  318. <action application="set" data="no_answer_flag=1"/>
  319. <action application="set" data="no_answer_destination="/>
  320. <action application="set" data="not_register_flag=1"/>
  321. <action application="set" data="not_register_destination="/>
  322. <action application="set" data="opensips_flag=1"/>
  323. <action application="set" data="variable_sip_to_host=ActiveMontas177.sipp.switchboard.co.uk"/>
  324. <action application="set" data="opensips_domain=127.0.0.1"/>
  325. <action application="set" data="leg_timeout=60"/>
  326. <action application="set" data="userinfo_id=198"/>
  327. <action application="set" data="sip_destination_number=401"/>
  328. <action application="set" data="destination_number=02071832185"/>
  329. <action application="set" data="did_number=02071832185"/>
  330. <action application="set" data="user_domain=ActiveMontas177.sipp.switchboard.co.uk"/>
  331. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  332. <condition field="${cond(${user_data 401@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  333. <action application="answer"/>
  334. <action application="export" data="voicemail_alternate_greet_id=02071832185"/>
  335. <action application="voicemail" data="default $${domain_name} 401"/>
  336. <anti-action application="hangup" data="${originate_disposition}"/>
  337. </condition>
  338. </condition>
  339. </extension>
  340. </context>
  341. </section>
  342. </document>
  343. Dialplan: sofia/default/447903334940@simwood.com parsing [default->02071832185] continue=false
  344. Dialplan: sofia/default/447903334940@simwood.com Regex (PASS) [02071832185] destination_number(02071832185) =~ /02071832185/ break=on-false
  345. Dialplan: sofia/default/447903334940@simwood.com Action set(effective_destination_number=02071832185)
  346. Dialplan: sofia/default/447903334940@simwood.com Action set(bridge_pre_execute_bleg_app=sched_hangup)
  347. Dialplan: sofia/default/447903334940@simwood.com Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  348. Dialplan: sofia/default/447903334940@simwood.com Action set(callstart=2021-03-09 09:46:54)
  349. Dialplan: sofia/default/447903334940@simwood.com Action set(hangup_after_bridge=true)
  350. Dialplan: sofia/default/447903334940@simwood.com Action set(continue_on_fail=TRUE)
  351. Dialplan: sofia/default/447903334940@simwood.com Action set(account_id=6)
  352. Dialplan: sofia/default/447903334940@simwood.com Action set(parent_id=0)
  353. Dialplan: sofia/default/447903334940@simwood.com Action set(entity_id=3)
  354. Dialplan: sofia/default/447903334940@simwood.com Action set(call_processed=internal)
  355. Dialplan: sofia/default/447903334940@simwood.com Action set(call_direction=inbound)
  356. Dialplan: sofia/default/447903334940@simwood.com Action set(accountname=Simwood)
  357. Dialplan: sofia/default/447903334940@simwood.com Action set(origination_rates_did=ID:257|CODE:^02071832185.*|DESTINATION:02071832185|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:200|ACCID:198)
  358. Dialplan: sofia/default/447903334940@simwood.com Action set(origination_rates=0)
  359. Dialplan: sofia/default/447903334940@simwood.com Action set(original_caller_id_name=447903334940)
  360. Dialplan: sofia/default/447903334940@simwood.com Action set(original_caller_id_number=447903334940)
  361. Dialplan: sofia/default/447903334940@simwood.com Action set(effective_caller_id_name=447903334940)
  362. Dialplan: sofia/default/447903334940@simwood.com Action set(effective_caller_id_number=447903334940)
  363. Dialplan: sofia/default/447903334940@simwood.com Action set(receiver_accid=198)
  364. Dialplan: sofia/default/447903334940@simwood.com Action export(presence_data=x|||simwood(1683977434)|||^02071832185.* // 02071832185 // 0.00000||||||DID)
  365. Dialplan: sofia/default/447903334940@simwood.com Action export(call_type=0)
  366. Dialplan: sofia/default/447903334940@simwood.com Action set(calltype=DID-LOCAL)
  367. Dialplan: sofia/default/447903334940@simwood.com Action db(insert/pickup_any_group_${callgroup}/401/${uuid})
  368. Dialplan: sofia/default/447903334940@simwood.com Action set(dialed_extension=transfer_call)
  369. Dialplan: sofia/default/447903334940@simwood.com Action export(dialed_extension=transfer_call)
  370. Dialplan: sofia/default/447903334940@simwood.com Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  371. Dialplan: sofia/default/447903334940@simwood.com Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  372. Dialplan: sofia/default/447903334940@simwood.com Action set(hangup_after_bridge=true)
  373. Dialplan: sofia/default/447903334940@simwood.com Action export(did_user_domain=ActiveMontas177.sipp.switchboard.co.uk)
  374. Dialplan: sofia/default/447903334940@simwood.com Action ring_ready()
  375. Dialplan: sofia/default/447903334940@simwood.com Action sleep(5000)
  376. Dialplan: sofia/default/447903334940@simwood.com Action bridge([leg_timeout=0]user/401@ActiveMontas177.sipp.switchboard.co.uk)
  377. Dialplan: sofia/default/447903334940@simwood.com Action set(on_busy_flag=1)
  378. Dialplan: sofia/default/447903334940@simwood.com Action set(on_busy_destination=)
  379. Dialplan: sofia/default/447903334940@simwood.com Action set(no_answer_flag=1)
  380. Dialplan: sofia/default/447903334940@simwood.com Action set(no_answer_destination=)
  381. Dialplan: sofia/default/447903334940@simwood.com Action set(not_register_flag=1)
  382. Dialplan: sofia/default/447903334940@simwood.com Action set(not_register_destination=)
  383. Dialplan: sofia/default/447903334940@simwood.com Action set(opensips_flag=1)
  384. Dialplan: sofia/default/447903334940@simwood.com Action set(variable_sip_to_host=ActiveMontas177.sipp.switchboard.co.uk)
  385. Dialplan: sofia/default/447903334940@simwood.com Action set(opensips_domain=127.0.0.1)
  386. Dialplan: sofia/default/447903334940@simwood.com Action set(leg_timeout=60)
  387. Dialplan: sofia/default/447903334940@simwood.com Action set(userinfo_id=198)
  388. Dialplan: sofia/default/447903334940@simwood.com Action set(sip_destination_number=401)
  389. Dialplan: sofia/default/447903334940@simwood.com Action set(destination_number=02071832185)
  390. Dialplan: sofia/default/447903334940@simwood.com Action set(did_number=02071832185)
  391. Dialplan: sofia/default/447903334940@simwood.com Action set(user_domain=ActiveMontas177.sipp.switchboard.co.uk)
  392. Dialplan: sofia/default/447903334940@simwood.com Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  393. |--- Dialplan: Processing recursive conditions level:1 [02071832185_recur_1] require-nested=TRUE
  394. |--- Dialplan: sofia/default/447903334940@simwood.com Regex (FAIL) [02071832185_recur_1] ${cond(${user_data 401@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
  395. |--- Dialplan: sofia/default/447903334940@simwood.com ANTI-Action hangup(${originate_disposition})
  396. 2021-03-09 09:46:54.109848 [DEBUG] switch_core_state_machine.c:287 (sofia/default/447903334940@simwood.com) State Change CS_ROUTING -> CS_EXECUTE
  397. 2021-03-09 09:46:54.109848 [DEBUG] switch_core_state_machine.c:644 (sofia/default/447903334940@simwood.com) State ROUTING going to sleep
  398. 2021-03-09 09:46:54.109848 [DEBUG] switch_core_state_machine.c:585 (sofia/default/447903334940@simwood.com) Running State Change CS_EXECUTE (Cur 3 Tot 292565)
  399. 2021-03-09 09:46:54.109848 [DEBUG] switch_core_state_machine.c:651 (sofia/default/447903334940@simwood.com) State EXECUTE
  400. 2021-03-09 09:46:54.109848 [DEBUG] mod_sofia.c:209 sofia/default/447903334940@simwood.com SOFIA EXECUTE
  401. 2021-03-09 09:46:54.109848 [DEBUG] switch_core_state_machine.c:329 sofia/default/447903334940@simwood.com Standard EXECUTE
  402. EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(effective_destination_number=02071832185)
  403. 2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [effective_destination_number]=[02071832185]
  404. EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(bridge_pre_execute_bleg_app=sched_hangup)
  405. 2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [bridge_pre_execute_bleg_app]=[sched_hangup]
  406. EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  407. 2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  408. EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(callstart=2021-03-09 09:46:54)
  409. 2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [callstart]=[2021-03-09 09:46:54]
  410. EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(hangup_after_bridge=true)
  411. 2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [hangup_after_bridge]=[true]
  412. EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(continue_on_fail=TRUE)
  413. 2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [continue_on_fail]=[TRUE]
  414. EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(account_id=6)
  415. 2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [account_id]=[6]
  416. EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(parent_id=0)
  417. 2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [parent_id]=[0]
  418. EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(entity_id=3)
  419. 2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [entity_id]=[3]
  420. EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(call_processed=internal)
  421. 2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [call_processed]=[internal]
  422. EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(call_direction=inbound)
  423. 2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [call_direction]=[inbound]
  424. EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(accountname=Simwood)
  425. 2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [accountname]=[Simwood]
  426. EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(origination_rates_did=ID:257|CODE:^02071832185.*|DESTINATION:02071832185|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:200|ACCID:198)
  427. 2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [origination_rates_did]=[ID:257|CODE:^02071832185.*|DESTINATION:02071832185|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:200|ACCID:198]
  428. EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(origination_rates=0)
  429. 2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [origination_rates]=[0]
  430. EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(original_caller_id_name=447903334940)
  431. 2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [original_caller_id_name]=[447903334940]
  432. EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(original_caller_id_number=447903334940)
  433. 2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [original_caller_id_number]=[447903334940]
  434. EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(effective_caller_id_name=447903334940)
  435. 2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [effective_caller_id_name]=[447903334940]
  436. EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(effective_caller_id_number=447903334940)
  437. 2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [effective_caller_id_number]=[447903334940]
  438. EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(receiver_accid=198)
  439. 2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [receiver_accid]=[198]
  440. EXECUTE [depth=0] sofia/default/447903334940@simwood.com export(presence_data=x|||simwood(1683977434)|||^02071832185.* // 02071832185 // 0.00000||||||DID)
  441. 2021-03-09 09:46:54.109848 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||simwood(1683977434)|||^02071832185.* // 02071832185 // 0.00000||||||DID]
  442. EXECUTE [depth=0] sofia/default/447903334940@simwood.com export(call_type=0)
  443. 2021-03-09 09:46:54.109848 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_type]=[0]
  444. EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(calltype=DID-LOCAL)
  445. 2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [calltype]=[DID-LOCAL]
  446. EXECUTE [depth=0] sofia/default/447903334940@simwood.com db(insert/pickup_any_group_/401/4cae13ca-ea7a-499c-827d-cce8aea9b703)
  447. EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(dialed_extension=transfer_call)
  448. 2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [dialed_extension]=[transfer_call]
  449. EXECUTE [depth=0] sofia/default/447903334940@simwood.com export(dialed_extension=transfer_call)
  450. 2021-03-09 09:46:54.109848 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  451. EXECUTE [depth=0] sofia/default/447903334940@simwood.com bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  452. 2021-03-09 09:46:54.109848 [INFO] switch_ivr_async.c:4465 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  453. EXECUTE [depth=0] sofia/default/447903334940@simwood.com bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  454. 2021-03-09 09:46:54.109848 [INFO] switch_ivr_async.c:4465 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  455. EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(hangup_after_bridge=true)
  456. 2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [hangup_after_bridge]=[true]
  457. EXECUTE [depth=0] sofia/default/447903334940@simwood.com export(did_user_domain=ActiveMontas177.sipp.switchboard.co.uk)
  458. 2021-03-09 09:46:54.109848 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [did_user_domain]=[ActiveMontas177.sipp.switchboard.co.uk]
  459. EXECUTE [depth=0] sofia/default/447903334940@simwood.com ring_ready()
  460. 2021-03-09 09:46:54.109848 [NOTICE] mod_sofia.c:2498 Ring-Ready sofia/default/447903334940@simwood.com!
  461. 2021-03-09 09:46:54.109848 [DEBUG] sofia.c:7301 Channel sofia/default/447903334940@simwood.com entering state [early][180]
  462. 2021-03-09 09:46:54.129755 [NOTICE] mod_dptools.c:1122 Ring Ready sofia/default/447903334940@simwood.com!
  463. EXECUTE [depth=0] sofia/default/447903334940@simwood.com sleep(5000)
  464. EXECUTE [depth=0] sofia/default/447903334940@simwood.com bridge([leg_timeout=0]user/401@ActiveMontas177.sipp.switchboard.co.uk)
  465. 2021-03-09 09:46:59.149770 [DEBUG] switch_channel.c:1264 sofia/default/447903334940@simwood.com EXPORTING[export_vars] [presence_data]=[x|||simwood(1683977434)|||^02071832185.* // 02071832185 // 0.00000||||||DID] to event
  466. 2021-03-09 09:46:59.149770 [DEBUG] switch_channel.c:1264 sofia/default/447903334940@simwood.com EXPORTING[export_vars] [call_type]=[0] to event
  467. 2021-03-09 09:46:59.149770 [DEBUG] switch_channel.c:1264 sofia/default/447903334940@simwood.com EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  468. 2021-03-09 09:46:59.149770 [DEBUG] switch_channel.c:1264 sofia/default/447903334940@simwood.com EXPORTING[export_vars] [did_user_domain]=[ActiveMontas177.sipp.switchboard.co.uk] to event
  469. 2021-03-09 09:46:59.149770 [DEBUG] switch_ivr_originate.c:2212 Parsing global variables
  470. 2021-03-09 09:46:59.149770 [DEBUG] switch_ivr_originate.c:2760 Parsing session specific variables
  471. 2021-03-09 09:46:59.169748 [DEBUG] switch_channel.c:1264 sofia/default/447903334940@simwood.com EXPORTING[export_vars] [presence_data]=[x|||simwood(1683977434)|||^02071832185.* // 02071832185 // 0.00000||||||DID] to event
  472. 2021-03-09 09:46:59.169748 [DEBUG] switch_channel.c:1264 sofia/default/447903334940@simwood.com EXPORTING[export_vars] [call_type]=[0] to event
  473. 2021-03-09 09:46:59.169748 [DEBUG] switch_channel.c:1264 sofia/default/447903334940@simwood.com EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  474. 2021-03-09 09:46:59.169748 [DEBUG] switch_channel.c:1264 sofia/default/447903334940@simwood.com EXPORTING[export_vars] [did_user_domain]=[ActiveMontas177.sipp.switchboard.co.uk] to event
  475. 2021-03-09 09:46:59.169748 [DEBUG] switch_ivr_originate.c:2212 Parsing global variables
  476. 2021-03-09 09:46:59.169748 [NOTICE] switch_channel.c:1118 New Channel sofia/default/401@81.159.168.122:8066 [5b81ad3d-893f-490b-8f62-4abb178f2db0]
  477. 2021-03-09 09:46:59.169748 [DEBUG] mod_sofia.c:5089 (sofia/default/401@81.159.168.122:8066) State Change CS_NEW -> CS_INIT
  478. 2021-03-09 09:46:59.169748 [DEBUG] switch_core_state_machine.c:585 (sofia/default/401@81.159.168.122:8066) Running State Change CS_INIT (Cur 4 Tot 292566)
  479. 2021-03-09 09:46:59.169748 [DEBUG] switch_core_state_machine.c:628 (sofia/default/401@81.159.168.122:8066) State INIT
  480. 2021-03-09 09:46:59.169748 [DEBUG] mod_sofia.c:93 sofia/default/401@81.159.168.122:8066 SOFIA INIT
  481. 2021-03-09 09:46:59.169748 [DEBUG] sofia_glue.c:1618 sofia/default/401@81.159.168.122:8066 sending invite version: 1.10.2 -release-14-f7bdd3845a 64bit
  482. Local SDP:
  483. v=0
  484. o=FreeSWITCH 1615264495 1615264496 IN IP4 178.62.70.78
  485. s=FreeSWITCH
  486. c=IN IP4 178.62.70.78
  487. t=0 0
  488. m=audio 18724 RTP/AVP 8 101
  489. a=rtpmap:8 PCMA/8000
  490. a=rtpmap:101 telephone-event/8000
  491. a=fmtp:101 0-16
  492. a=ptime:20
  493. a=sendrecv
  494.  
  495. 2021-03-09 09:46:59.169748 [DEBUG] switch_core_state_machine.c:40 sofia/default/401@81.159.168.122:8066 Standard INIT
  496. 2021-03-09 09:46:59.169748 [DEBUG] switch_core_state_machine.c:48 (sofia/default/401@81.159.168.122:8066) State Change CS_INIT -> CS_ROUTING
  497. 2021-03-09 09:46:59.169748 [DEBUG] switch_core_state_machine.c:628 (sofia/default/401@81.159.168.122:8066) State INIT going to sleep
  498. 2021-03-09 09:46:59.169748 [DEBUG] switch_core_state_machine.c:585 (sofia/default/401@81.159.168.122:8066) Running State Change CS_ROUTING (Cur 4 Tot 292566)
  499. 2021-03-09 09:46:59.169748 [DEBUG] sofia.c:7301 Channel sofia/default/401@81.159.168.122:8066 entering state [calling][0]
  500. 2021-03-09 09:46:59.169748 [DEBUG] switch_core_state_machine.c:644 (sofia/default/401@81.159.168.122:8066) State ROUTING
  501. 2021-03-09 09:46:59.169748 [DEBUG] mod_sofia.c:154 sofia/default/401@81.159.168.122:8066 SOFIA ROUTING
  502. 2021-03-09 09:46:59.169748 [DEBUG] switch_ivr_originate.c:67 (sofia/default/401@81.159.168.122:8066) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  503. 2021-03-09 09:46:59.169748 [DEBUG] switch_core_state_machine.c:644 (sofia/default/401@81.159.168.122:8066) State ROUTING going to sleep
  504. 2021-03-09 09:46:59.169748 [DEBUG] switch_core_state_machine.c:585 (sofia/default/401@81.159.168.122:8066) Running State Change CS_CONSUME_MEDIA (Cur 4 Tot 292566)
  505. 2021-03-09 09:46:59.169748 [DEBUG] switch_core_state_machine.c:663 (sofia/default/401@81.159.168.122:8066) State CONSUME_MEDIA
  506. 2021-03-09 09:46:59.169748 [DEBUG] switch_core_state_machine.c:663 (sofia/default/401@81.159.168.122:8066) State CONSUME_MEDIA going to sleep
  507. 2021-03-09 09:46:59.189770 [DEBUG] sofia.c:6761 Redirect: Transfering to 447780882647 XML redirected
  508. 2021-03-09 09:46:59.189770 [DEBUG] switch_ivr.c:2231 (sofia/default/447903334940@simwood.com) State Change CS_EXECUTE -> CS_ROUTING
  509. 2021-03-09 09:46:59.189770 [NOTICE] switch_ivr.c:2238 Transfer sofia/default/447903334940@simwood.com to XML[447780882647@redirected]
  510. 2021-03-09 09:46:59.189770 [NOTICE] sofia.c:6770 Hangup sofia/default/401@81.159.168.122:8066 [CS_CONSUME_MEDIA] [REDIRECTION_TO_NEW_DESTINATION]
  511. 2021-03-09 09:46:59.189770 [DEBUG] sofia.c:1548 Channel is already hungup.
  512. 2021-03-09 09:46:59.189770 [DEBUG] sofia.c:1548 Channel is already hungup.
  513. 2021-03-09 09:46:59.189770 [DEBUG] switch_core_state_machine.c:585 (sofia/default/401@81.159.168.122:8066) Running State Change CS_HANGUP (Cur 4 Tot 292566)
  514. 2021-03-09 09:46:59.189770 [DEBUG] switch_core_state_machine.c:848 (sofia/default/401@81.159.168.122:8066) Callstate Change DOWN -> HANGUP
  515. 2021-03-09 09:46:59.189770 [DEBUG] switch_core_state_machine.c:850 (sofia/default/401@81.159.168.122:8066) State HANGUP
  516. 2021-03-09 09:46:59.189770 [DEBUG] mod_sofia.c:453 Channel sofia/default/401@81.159.168.122:8066 hanging up, cause: REDIRECTION_TO_NEW_DESTINATION
  517. 2021-03-09 09:46:59.189770 [DEBUG] mod_sofia.c:521 Sending CANCEL to sofia/default/401@81.159.168.122:8066
  518. 2021-03-09 09:46:59.189770 [DEBUG] switch_core_state_machine.c:60 sofia/default/401@81.159.168.122:8066 Standard HANGUP, cause: REDIRECTION_TO_NEW_DESTINATION
  519. 2021-03-09 09:46:59.189770 [DEBUG] switch_core_state_machine.c:850 (sofia/default/401@81.159.168.122:8066) State HANGUP going to sleep
  520. 2021-03-09 09:46:59.189770 [DEBUG] switch_core_state_machine.c:620 (sofia/default/401@81.159.168.122:8066) State Change CS_HANGUP -> CS_REPORTING
  521. 2021-03-09 09:46:59.189770 [DEBUG] switch_core_state_machine.c:585 (sofia/default/401@81.159.168.122:8066) Running State Change CS_REPORTING (Cur 4 Tot 292566)
  522. 2021-03-09 09:46:59.189770 [DEBUG] switch_core_state_machine.c:936 (sofia/default/401@81.159.168.122:8066) State REPORTING
  523. 2021-03-09 09:46:59.189770 [INFO] mod_json_cdr.c:271 Process [5b81ad3d-893f-490b-8f62-4abb178f2db0.cdr.json]
  524. 2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:174 sofia/default/401@81.159.168.122:8066 Standard REPORTING, cause: REDIRECTION_TO_NEW_DESTINATION
  525. 2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:936 (sofia/default/401@81.159.168.122:8066) State REPORTING going to sleep
  526. 2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:611 (sofia/default/401@81.159.168.122:8066) State Change CS_REPORTING -> CS_DESTROY
  527. 2021-03-09 09:46:59.209689 [DEBUG] switch_core_session.c:1726 Session 292566 (sofia/default/401@81.159.168.122:8066) Locked, Waiting on external entities
  528. 2021-03-09 09:46:59.209689 [DEBUG] switch_ivr_originate.c:3941 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL]
  529. 2021-03-09 09:46:59.209689 [NOTICE] switch_core_session.c:1744 Session 292566 (sofia/default/401@81.159.168.122:8066) Ended
  530. 2021-03-09 09:46:59.209689 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/401@81.159.168.122:8066 [CS_DESTROY]
  531. 2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:739 (sofia/default/401@81.159.168.122:8066) Running State Change CS_DESTROY (Cur 3 Tot 292566)
  532. 2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:749 (sofia/default/401@81.159.168.122:8066) State DESTROY
  533. 2021-03-09 09:46:59.209689 [DEBUG] mod_sofia.c:364 sofia/default/401@81.159.168.122:8066 SOFIA DESTROY
  534. 2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:181 sofia/default/401@81.159.168.122:8066 Standard DESTROY
  535. 2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:749 (sofia/default/401@81.159.168.122:8066) State DESTROY going to sleep
  536. 2021-03-09 09:46:59.209689 [NOTICE] switch_ivr_originate.c:2955 Cannot create outgoing channel of type [user] cause: [ORIGINATOR_CANCEL]
  537. 2021-03-09 09:46:59.209689 [DEBUG] switch_ivr_originate.c:3952 Originate Resulted in Error Cause: 487 [ORIGINATOR_CANCEL]
  538. 2021-03-09 09:46:59.209689 [INFO] mod_dptools.c:3631 Originate Failed.  Cause: ORIGINATOR_CANCEL
  539. 2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:651 (sofia/default/447903334940@simwood.com) State EXECUTE going to sleep
  540. 2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:585 (sofia/default/447903334940@simwood.com) Running State Change CS_ROUTING (Cur 3 Tot 292566)
  541. 2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:644 (sofia/default/447903334940@simwood.com) State ROUTING
  542. 2021-03-09 09:46:59.209689 [DEBUG] mod_sofia.c:145 Call appears to be already acknowledged
  543. 2021-03-09 09:46:59.209689 [DEBUG] mod_sofia.c:154 sofia/default/447903334940@simwood.com SOFIA ROUTING
  544. 2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:236 sofia/default/447903334940@simwood.com Standard ROUTING
  545. 2021-03-09 09:46:59.209689 [INFO] mod_dialplan_xml.c:637 Processing 447903334940 <447903334940>->447780882647 in context redirected
  546. 2021-03-09 09:46:59.209689 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  547. 2021-03-09 09:46:59.209689 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  548. 2021-03-09 09:46:59.209689 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [xml_handler] Params:
  549. Event-Name: REQUEST_PARAMS
  550. Core-UUID: be07c608-2888-4a3c-b411-34af5f4413eb
  551. FreeSWITCH-Hostname: SBPbx
  552. FreeSWITCH-Switchname: SBPbx
  553. FreeSWITCH-IPv4: 178.62.70.78
  554. FreeSWITCH-IPv6: %3A%3A1
  555. Event-Date-Local: 2021-03-09%2009%3A46%3A59
  556. Event-Date-GMT: Tue,%2009%20Mar%202021%2009%3A46%3A59%20GMT
  557. Event-Date-Timestamp: 1615283219209689
  558. Event-Calling-File: mod_dialplan_xml.c
  559. Event-Calling-Function: dialplan_xml_locate
  560. Event-Calling-Line-Number: 608
  561. Event-Sequence: 4376306
  562. Channel-State: CS_ROUTING
  563. Channel-Call-State: RINGING
  564. Channel-State-Number: 2
  565. Channel-Name: sofia/default/447903334940%40simwood.com
  566. Unique-ID: 4cae13ca-ea7a-499c-827d-cce8aea9b703
  567. Call-Direction: inbound
  568. Presence-Call-Direction: inbound
  569. Channel-HIT-Dialplan: true
  570. Channel-Presence-ID: 447903334940%40simwood.com
  571. Channel-Presence-Data: x%7C%7C%7Csimwood(1683977434)%7C%7C%7C%5E02071832185.*%20//%2002071832185%20//%200.00000%7C%7C%7C%7C%7C%7CDID
  572. Channel-Call-UUID: 4cae13ca-ea7a-499c-827d-cce8aea9b703
  573. Answer-State: ringing
  574. Channel-Read-Codec-Name: PCMA
  575. Channel-Read-Codec-Rate: 8000
  576. Channel-Read-Codec-Bit-Rate: 64000
  577. Channel-Write-Codec-Name: PCMA
  578. Channel-Write-Codec-Rate: 8000
  579. Channel-Write-Codec-Bit-Rate: 64000
  580. Caller-Direction: inbound
  581. Caller-Logical-Direction: inbound
  582. Caller-Username: 447903334940
  583. Caller-Dialplan: XML
  584. Caller-Caller-ID-Name: 447903334940
  585. Caller-Caller-ID-Number: 447903334940
  586. Caller-Orig-Caller-ID-Name: 447903334940
  587. Caller-Orig-Caller-ID-Number: 447903334940
  588. Caller-Network-Addr: 185.63.140.77
  589. Caller-ANI: 447903334940
  590. Caller-Destination-Number: 447780882647
  591. Caller-Unique-ID: 4cae13ca-ea7a-499c-827d-cce8aea9b703
  592. Caller-Source: mod_sofia
  593. Caller-Transfer-Source: 1615283219%3Ad7bba0a5-b8bd-4bf3-be06-188509bd7def%3Abl_xfer%3A447780882647/redirected/XML
  594. Caller-Context: redirected
  595. Caller-RDNIS: 02071832185
  596. Caller-Channel-Name: sofia/default/447903334940%40simwood.com
  597. Caller-Profile-Index: 2
  598. Caller-Profile-Created-Time: 1615283219189770
  599. Caller-Channel-Created-Time: 1615283214049686
  600. Caller-Channel-Answered-Time: 0
  601. Caller-Channel-Progress-Time: 1615283214109848
  602. Caller-Channel-Progress-Media-Time: 0
  603. Caller-Channel-Hangup-Time: 0
  604. Caller-Channel-Transfer-Time: 0
  605. Caller-Channel-Resurrect-Time: 0
  606. Caller-Channel-Bridged-Time: 0
  607. Caller-Channel-Last-Hold: 0
  608. Caller-Channel-Hold-Accum: 0
  609. Caller-Screen-Bit: true
  610. Caller-Privacy-Hide-Name: false
  611. Caller-Privacy-Hide-Number: false
  612. variable_direction: inbound
  613. variable_uuid: 4cae13ca-ea7a-499c-827d-cce8aea9b703
  614. variable_session_id: 292565
  615. variable_sip_from_user: 447903334940
  616. variable_sip_from_uri: 447903334940%40simwood.com
  617. variable_sip_from_host: simwood.com
  618. variable_video_media_flow: disabled
  619. variable_text_media_flow: disabled
  620. variable_channel_name: sofia/default/447903334940%40simwood.com
  621. variable_sip_call_id: 33e34986-fb5f-1239-03a4-0242ac110008
  622. variable_sip_local_network_addr: 178.62.70.78
  623. variable_sip_network_ip: 185.63.140.77
  624. variable_sip_network_port: 5060
  625. variable_sip_invite_stamp: 1615283214049686
  626. variable_sip_received_ip: 185.63.140.77
  627. variable_sip_received_port: 5060
  628. variable_sip_via_protocol: udp
  629. variable_sip_authorized: true
  630. variable_sip_acl_authed_by: default
  631. variable_sip_from_user_stripped: 447903334940
  632. variable_sip_from_tag: rFNK3crv1t50K
  633. variable_sofia_profile_name: default
  634. variable_sofia_profile_url: sip%3Amod_sofia%40178.62.70.78%3A5060
  635. variable_recovery_profile_name: default
  636. variable_sip_invite_route_uri: %3Csip%3A185.63.140.77%3Blr%3E
  637. variable_sip_invite_record_route: %3Csip%3A185.63.140.77%3Blr%3E
  638. variable_sip_full_via: SIP/2.0/UDP%20185.63.140.77%3Bbranch%3Dz9hG4bK9353.fc48afe18ad9e1afff1f3825f8d7c22d.0%3Brport%3D5060,SIP/2.0/UDP%20185.63.140.9%3Breceived%3D185.63.140.9%3Brport%3D5060%3Bbranch%3Dz9hG4bKZ7Z6F3gS06vSQ
  639. variable_sip_from_display: 447903334940
  640. variable_sip_full_from: %22447903334940%22%20%3Csip%3A447903334940%40simwood.com%3E%3Btag%3DrFNK3crv1t50K
  641. variable_sip_full_to: %3Csip%3A02071832185%40sipp.switchboard.co.uk%3E
  642. variable_sip_allow: INVITE,%20ACK,%20BYE,%20CANCEL,%20OPTIONS,%20MESSAGE,%20INFO,%20UPDATE,%20REGISTER,%20REFER,%20NOTIFY
  643. variable_sip_req_user: 02071832185
  644. variable_sip_req_uri: 02071832185%40sipp.switchboard.co.uk
  645. variable_sip_req_host: sipp.switchboard.co.uk
  646. variable_sip_to_user: 02071832185
  647. variable_sip_to_uri: 02071832185%40sipp.switchboard.co.uk
  648. variable_sip_to_host: sipp.switchboard.co.uk
  649. variable_sip_contact_user: mod_sofia
  650. variable_sip_contact_port: 5060
  651. variable_sip_contact_uri: mod_sofia%40185.63.140.9%3A5060
  652. variable_sip_contact_host: 185.63.140.9
  653. variable_sip_via_host: 185.63.140.77
  654. variable_sip_via_rport: 5060
  655. variable_presence_id: 447903334940%40simwood.com
  656. variable_sip_h_X-Origin: mobile
  657. variable_sip_h_X-simwood-acli: 861eb3bc0b4b61f511450401fa5dc60f
  658. variable_switch_r_sdp: v%3D0%0D%0Ao%3DDialogic_SDP%20155384928009498004%205317431747054677615%20IN%20IP4%20185.63.140.127%0D%0As%3DDialogic-SIP%0D%0Ac%3DIN%20IP4%20185.63.140.63%0D%0At%3D0%200%0D%0Am%3Daudio%209856%20RTP/AVP%208%200%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-15%0D%0Aa%3DsilenceSupp%3Aoff%20-%20-%20-%20-%0D%0A
  659. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b
  660. variable_rtp_use_codec_string: PCMA,PCMU,G729,G722
  661. variable_remote_video_media_flow: inactive
  662. variable_remote_text_media_flow: inactive
  663. variable_remote_audio_media_flow: sendrecv
  664. variable_audio_media_flow: sendrecv
  665. variable_remote_media_ip: 185.63.140.63
  666. variable_remote_media_port: 9856
  667. variable_rtp_audio_recv_pt: 8
  668. variable_rtp_use_codec_name: PCMA
  669. variable_rtp_use_codec_rate: 8000
  670. variable_rtp_use_codec_ptime: 20
  671. variable_rtp_use_codec_channels: 1
  672. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  673. variable_read_codec: PCMA
  674. variable_original_read_codec: PCMA
  675. variable_read_rate: 8000
  676. variable_original_read_rate: 8000
  677. variable_write_codec: PCMA
  678. variable_write_rate: 8000
  679. variable_dtmf_type: rfc2833
  680. variable_endpoint_disposition: RECEIVED
  681. variable_effective_destination_number: 02071832185
  682. variable_bridge_pre_execute_bleg_app: sched_hangup
  683. variable_bridge_pre_execute_bleg_data: %2B6000%20normal_clearing
  684. variable_callstart: 2021-03-09%2009%3A46%3A54
  685. variable_continue_on_fail: TRUE
  686. variable_account_id: 6
  687. variable_parent_id: 0
  688. variable_entity_id: 3
  689. variable_call_processed: internal
  690. variable_call_direction: inbound
  691. variable_accountname: Simwood
  692. variable_origination_rates_did: ID%3A257%7CCODE%3A%5E02071832185.*%7CDESTINATION%3A02071832185%7CCONNECTIONCOST%3A0.00000%7CINCLUDEDSECONDS%3A0%7CCT%3A0%7CCOST%3A0.00000%7CINC%3A0%7CINITIALBLOCK%3A0%7CRATEGROUP%3A0%7CMARKUP%3A0%7CCI%3A200%7CACCID%3A198
  693. variable_origination_rates: 0
  694. variable_original_caller_id_name: 447903334940
  695. variable_original_caller_id_number: 447903334940
  696. variable_effective_caller_id_name: 447903334940
  697. variable_effective_caller_id_number: 447903334940
  698. variable_receiver_accid: 198
  699. variable_presence_data: x%7C%7C%7Csimwood(1683977434)%7C%7C%7C%5E02071832185.*%20//%2002071832185%20//%200.00000%7C%7C%7C%7C%7C%7CDID
  700. variable_call_type: 0
  701. variable_calltype: DID-LOCAL
  702. variable_dialed_extension: transfer_call
  703. variable_hangup_after_bridge: true
  704. variable_did_user_domain: ActiveMontas177.sipp.switchboard.co.uk
  705. variable_export_vars: presence_data,call_type,dialed_extension,did_user_domain
  706. variable_sip_to_tag: t4UmHZv3rKXtH
  707. variable_current_application_data: %5Bleg_timeout%3D0%5Duser/401%40ActiveMontas177.sipp.switchboard.co.uk
  708. variable_current_application: bridge
  709. variable_dialed_user: 401
  710. variable_dialed_domain: ActiveMontas177.sipp.switchboard.co.uk
  711. variable_originate_signal_bond: 5b81ad3d-893f-490b-8f62-4abb178f2db0
  712. variable_originated_legs: 5b81ad3d-893f-490b-8f62-4abb178f2db0%3BOutbound%20Call%3B401
  713. variable_sip_redirect_contact_0: %3Csip%3A447780882647%40ActiveMontas177.sipp.switchboard.co.uk%3E
  714. variable_sip_redirected_to: %3Csip%3A447780882647%40ActiveMontas177.sipp.switchboard.co.uk%3E
  715. variable_sip_redirect_contact_user_0: 447780882647
  716. variable_sip_redirect_contact_host_0: ActiveMontas177.sipp.switchboard.co.uk
  717. variable_sip_redirect_dialstring_0: sofia/default/sip%3A447780882647%40ActiveMontas177.sipp.switchboard.co.uk
  718. variable_sip_redirect_dialstring: sofia/default/sip%3A447780882647%40ActiveMontas177.sipp.switchboard.co.uk
  719. variable_sip_redirected_by: %3Csip%3A401%40192.168.1.66%3A8066%3E%3Breason%3Dunconditional
  720. variable_max_forwards: 66
  721. variable_transfer_history: 1615283219%3Ad7bba0a5-b8bd-4bf3-be06-188509bd7def%3Abl_xfer%3A447780882647/redirected/XML
  722. variable_transfer_source: 1615283219%3Ad7bba0a5-b8bd-4bf3-be06-188509bd7def%3Abl_xfer%3A447780882647/redirected/XML
  723. variable_last_bridge_hangup_cause: REDIRECTION_TO_NEW_DESTINATION
  724. variable_originate_causes: 5b81ad3d-893f-490b-8f62-4abb178f2db0%3BREDIRECTION_TO_NEW_DESTINATION
  725. variable_originate_disposition: ORIGINATOR_CANCEL
  726. variable_DIALSTATUS: CANCEL
  727. variable_originate_failed_cause: ORIGINATOR_CANCEL
  728. variable_call_uuid: 4cae13ca-ea7a-499c-827d-cce8aea9b703
  729. Hunt-Direction: inbound
  730. Hunt-Logical-Direction: inbound
  731. Hunt-Username: 447903334940
  732. Hunt-Dialplan: XML
  733. Hunt-Caller-ID-Name: 447903334940
  734. Hunt-Caller-ID-Number: 447903334940
  735. Hunt-Orig-Caller-ID-Name: 447903334940
  736. Hunt-Orig-Caller-ID-Number: 447903334940
  737. Hunt-Network-Addr: 185.63.140.77
  738. Hunt-ANI: 447903334940
  739. Hunt-Destination-Number: 447780882647
  740. Hunt-Unique-ID: 4cae13ca-ea7a-499c-827d-cce8aea9b703
  741. Hunt-Source: mod_sofia
  742. Hunt-Transfer-Source: 1615283219%3Ad7bba0a5-b8bd-4bf3-be06-188509bd7def%3Abl_xfer%3A447780882647/redirected/XML
  743. Hunt-Context: redirected
  744. Hunt-RDNIS: 02071832185
  745. Hunt-Channel-Name: sofia/default/447903334940%40simwood.com
  746. Hunt-Profile-Index: 2
  747. Hunt-Profile-Created-Time: 1615283219189770
  748. Hunt-Channel-Created-Time: 1615283214049686
  749. Hunt-Channel-Answered-Time: 0
  750. Hunt-Channel-Progress-Time: 1615283214109848
  751. Hunt-Channel-Progress-Media-Time: 0
  752. Hunt-Channel-Hangup-Time: 0
  753. Hunt-Channel-Transfer-Time: 0
  754. Hunt-Channel-Resurrect-Time: 0
  755. Hunt-Channel-Bridged-Time: 0
  756. Hunt-Channel-Last-Hold: 0
  757. Hunt-Channel-Hold-Accum: 0
  758. Hunt-Screen-Bit: true
  759. Hunt-Privacy-Hide-Name: false
  760. Hunt-Privacy-Hide-Number: false
  761.  
  762.  
  763. 2021-03-09 09:46:59.209689 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] key_value:
  764. 2021-03-09 09:46:59.209689 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] key_name:
  765. 2021-03-09 09:46:59.209689 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] section: dialplan
  766. 2021-03-09 09:46:59.209689 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] tag_name:
  767. 2021-03-09 09:46:59.209689 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] blind_flag: 0
  768. 2021-03-09 09:46:59.209689 [ERR] mod_lua.cpp:202 .../share/freeswitch/scripts/astpp/lib/addons/astpp.pbx.lua:1530: attempt to concatenate global 'user_domain' (a nil value)
  769. stack traceback:
  770.         .../share/freeswitch/scripts/astpp/lib/addons/astpp.pbx.lua:1530: in function 'feature_code_call_transfer'
  771.         ./astpp/scripts/astpp.dialplan.lua:25: in main chunk
  772.         [C]: in function 'dofile'
  773.         /usr/share/freeswitch/scripts/astpp/astpp.lua:86: in main chunk
  774. 2021-03-09 09:46:59.209689 [ERR] mod_lua.cpp:270 LUA script parse/execute error!
  775. 2021-03-09 09:46:59.209689 [WARNING] mod_dialplan_xml.c:667 Context redirected not found
  776. 2021-03-09 09:46:59.209689 [INFO] switch_core_state_machine.c:312 No Route, Aborting
  777. 2021-03-09 09:46:59.209689 [NOTICE] switch_core_state_machine.c:313 Hangup sofia/default/447903334940@simwood.com [CS_ROUTING] [NO_ROUTE_DESTINATION]
  778. 2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:644 (sofia/default/447903334940@simwood.com) State ROUTING going to sleep
  779. 2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:585 (sofia/default/447903334940@simwood.com) Running State Change CS_HANGUP (Cur 3 Tot 292566)
  780. 2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:848 (sofia/default/447903334940@simwood.com) Callstate Change RINGING -> HANGUP
  781. 2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:850 (sofia/default/447903334940@simwood.com) State HANGUP
  782. 2021-03-09 09:46:59.209689 [DEBUG] mod_sofia.c:453 Channel sofia/default/447903334940@simwood.com hanging up, cause: NO_ROUTE_DESTINATION
  783. 2021-03-09 09:46:59.209689 [DEBUG] mod_sofia.c:598 Responding to INVITE with: 404
  784. 2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:60 sofia/default/447903334940@simwood.com Standard HANGUP, cause: NO_ROUTE_DESTINATION
  785. 2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:850 (sofia/default/447903334940@simwood.com) State HANGUP going to sleep
  786. 2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:620 (sofia/default/447903334940@simwood.com) State Change CS_HANGUP -> CS_REPORTING
  787. 2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:585 (sofia/default/447903334940@simwood.com) Running State Change CS_REPORTING (Cur 3 Tot 292566)
  788. 2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:936 (sofia/default/447903334940@simwood.com) State REPORTING
  789. 2021-03-09 09:46:59.209689 [INFO] mod_json_cdr.c:271 Process [4cae13ca-ea7a-499c-827d-cce8aea9b703.cdr.json]
  790. 2021-03-09 09:46:59.249675 [DEBUG] switch_core_state_machine.c:174 sofia/default/447903334940@simwood.com Standard REPORTING, cause: NO_ROUTE_DESTINATION
  791. 2021-03-09 09:46:59.249675 [DEBUG] switch_core_state_machine.c:936 (sofia/default/447903334940@simwood.com) State REPORTING going to sleep
  792. 2021-03-09 09:46:59.249675 [DEBUG] switch_core_state_machine.c:611 (sofia/default/447903334940@simwood.com) State Change CS_REPORTING -> CS_DESTROY
  793.