Open TayyabTalha opened 4 years ago
Hello Tayyab,
As I can see, FS CLI log showing error code " ROUTESTATUSISSUE".
set(fs_errorcode=ROUTESTATUSISSUE IS000005290)
Please check the Dialplan and carrier settings.
-- Anand Kumar Mobile: +919949800228
On Thu, Jun 25, 2020 at 7:19 PM Tayyab Talha notifications@github.com wrote:
Hi, I added a customer and routing for UK with prefix 44 but freeswitch is returning me 404 UNALLOCATED_NUMBER Here are logs 2020-06-25 12:47:01.614762 [DEBUG] sofia.c:7325 Channel sofia/internal/ 12174324746@sip.fx.com entering state [early][183] EXECUTE [depth=0] sofia/internal/12174324746@sip.fx.com set(USERCODECSCLIST=) 2020-06-25 12:47:01.614762 [DEBUG] mod_dptools.c:1672 SET sofia/internal/ 12174324746@sip.fx.com [USERCODECSCLIST]=[UNDEF] EXECUTE [depth=0] sofia/internal/12174324746@sip.fx.com export(USERCODECSCLIST=) 2020-06-25 12:47:01.614762 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [USERCODECSCLIST]=[UNDEF] EXECUTE [depth=0] sofia/internal/ 12174324746@sip.fx.com set(common_uuid=32bbe00e-0253-4374-9f74-d8861b7ad0dc) 2020-06-25 12:47:01.614762 [DEBUG] mod_dptools.c:1672 SET sofia/internal/12174324746@127.99.2 [common_uuid]=[32bbe00e-0253-4374-9f74-d8861b7ad0dc] EXECUTE [depth=0] sofia/internal/12174324746@sip.fx.com export(common_uuid=32bbe00e-0253-4374-9f74-d8861b7ad0dc) 2020-06-25 12:47:01.614762 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [common_uuid]=[32bbe00e-0253-4374-9f74-d8861b7ad0dc] EXECUTE [depth=0] sofia/internal/12174324746@sip.fx.com set(caller_callid= 1601a6e1679ab8655f1eaf8c7c17f69f@sip.fx.com) 2020-06-25 12:47:01.614762 [DEBUG] mod_dptools.c:1672 SET sofia/internal/12174324746@sip.fx.com [caller_callid]=[1601a6e1679ab8655f1eaf8c7c17f69f@sip.fx.com] EXECUTE [depth=0] sofia/internal/12174324746@sip.fx.com export(caller_callid= 1601a6e1679ab8655f1eaf8c7c17f69f@sip.fx.com) 2020-06-25 12:47:01.614762 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [caller_callid]=[ 1601a6e1679ab8655f1eaf8c7c17f69f@sip.fx.com] EXECUTE [depth=0] sofia/internal/12174324746@sip.fx.com set(userdata={'user':{'round_logic':'CEIL','max_callduration':'120','codecs_force':'0','force_dst_src_cli_prefix':'0','account_id':'IS000005290','account_type':'CUSTOMER','parent_account_id':'','dp':'4','tariff_id':'UK01TARI54','account_cc':'1','account_cps':'1','tax1':'0.00','tax2':'0.00','tax3':'0.00','tax_type':'exclusive','currency_id':'1','account_codecs':'G729,PCMU,PCMA,G722','media_transcoding':'0','media_rtpproxy':'0','company_name':'UKPBO','name':'UK','src_caller':'12174324746','src_callee':'442920602113','device_id':'2','device_type':'ip','src_ip':'19.130.192.250','ipaddress':'19.130.192.250','id':'4','balance':'5.000000','orgbalance':'-5.000000','ratecard_id':'UK0157','prefix':'44','destination':'UK CUSTOMER','rate':'0.010000','connection_charge':'0','minimal_time':'60','resolution_time':'60','grace_period':'0','rate_multiplier':'1.00','rate_addition':'0.00','tariff_currency_id':'1'}}) 2020-06-25 12:47:01.614762 [DEBUG] mod_dptools.c:1672 SET sofia/internal/ 12174324746@sip.fx.com [userdata]=[{'user':{'round_logic':'CEIL','max_callduration':'120','codecs_force':'0','force_dst_src_cli_prefix':'0','account_id':'IS000005290','account_type':'CUSTOMER','parent_account_id':'','dp':'4','tariff_id':'UK01TARI54','account_cc':'1','account_cps':'1','tax1':'0.00','tax2':'0.00','tax3':'0.00','tax_type':'exclusive','currency_id':'1','account_codecs':'G729,PCMU,PCMA,G722','media_transcoding':'0','media_rtpproxy':'0','company_name':'UKPBO','name':'UK','src_caller':'12174324746','src_callee':'442920602113','device_id':'2','device_type':'ip','src_ip':'19.130.192.250','ipaddress':'19.130.192.250','id':'4','balance':'5.000000','orgbalance':'-5.000000','ratecard_id':'UK0157','prefix':'44','destination':'UK CUSTOMER','rate':'0.010000','connection_charge':'0','minimal_time':'60','resolution_time':'60','grace_period':'0','rate_multiplier':'1.00','rate_addition':'0.00','tariff_currency_id':'1'}}] EXECUTE [depth=0] sofia/internal/12174324746@sip.fx.com export(userdata={'user':{'round_logic':'CEIL','max_callduration':'120','codecs_force':'0','force_dst_src_cli_prefix':'0','account_id':'IS000005290','account_type':'CUSTOMER','parent_account_id':'','dp':'4','tariff_id':'UK01TARI54','account_cc':'1','account_cps':'1','tax1':'0.00','tax2':'0.00','tax3':'0.00','tax_type':'exclusive','currency_id':'1','account_codecs':'G729,PCMU,PCMA,G722','media_transcoding':'0','media_rtpproxy':'0','company_name':'UKPBO','name':'UK','src_caller':'12174324746','src_callee':'442920602113','device_id':'2','device_type':'ip','src_ip':'19.130.192.250','ipaddress':'19.130.192.250','id':'4','balance':'5.000000','orgbalance':'-5.000000','ratecard_id':'UK0157','prefix':'44','destination':'UK CUSTOMER','rate':'0.010000','connection_charge':'0','minimal_time':'60','resolution_time':'60','grace_period':'0','rate_multiplier':'1.00','rate_addition':'0.00','tariff_currency_id':'1'}}) 2020-06-25 12:47:01.614762 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [userdata]=[{'user':{'round_logic':'CEIL','max_callduration':'120','codecs_force':'0','force_dst_src_cli_prefix':'0','account_id':'IS000005290','account_type':'CUSTOMER','parent_account_id':'','dp':'4','tariff_id':'UK01TARI54','account_cc':'1','account_cps':'1','tax1':'0.00','tax2':'0.00','tax3':'0.00','tax_type':'exclusive','currency_id':'1','account_codecs':'G729,PCMU,PCMA,G722','media_transcoding':'0','media_rtpproxy':'0','company_name':'UKPBO','name':'UK','src_caller':'12174324746','src_callee':'442920602113','device_id':'2','device_type':'ip','src_ip':'19.130.192.250','ipaddress':'19.130.192.250','id':'4','balance':'5.000000','orgbalance':'-5.000000','ratecard_id':'UK0157','prefix':'44','destination':'UK CUSTOMER','rate':'0.010000','connection_charge':'0','minimal_time':'60','resolution_time':'60','grace_period':'0','rate_multiplier':'1.00','rate_addition':'0.00','tariff_currency_id':'1'}}] EXECUTE [depth=0] sofia/internal/12174324746@sip.fx.com set(execute_on_answer=sched_hangup +7200 alloted_timeout ) 2020-06-25 12:47:01.614762 [DEBUG] mod_dptools.c:1672 SET sofia/internal/ 12174324746@sip.fx.com [execute_on_answer]=[sched_hangup +7200 alloted_timeout ] EXECUTE [depth=0] sofia/internal/12174324746@sip.fx.com set(fs_errorcode=ROUTESTATUSISSUE IS000005290) 2020-06-25 12:47:01.614762 [DEBUG] mod_dptools.c:1672 SET sofia/internal/12174324746@sip.fx.com [fs_errorcode]=[ROUTESTATUSISSUE IS000005290] EXECUTE [depth=0] sofia/internal/12174324746@sip.fx.com export(fs_errorcode=ROUTESTATUSISSUE IS000005290) 2020-06-25 12:47:01.614762 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [fs_errorcode]=[ROUTESTATUSISSUE IS000005290] EXECUTE [depth=0] sofia/internal/12174324746@sip.fx.com set(SWITCH_ISSUE=1) 2020-06-25 12:47:01.614762 [DEBUG] mod_dptools.c:1672 SET sofia/internal/ 12174324746@sip.fx.com [SWITCH_ISSUE]=[1] EXECUTE [depth=0] sofia/internal/12174324746@sip.fx.com export(SWITCH_ISSUE=1) 2020-06-25 12:47:01.614762 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [SWITCH_ISSUE]=[1] EXECUTE [depth=0] sofia/internal/12174324746@sip.fx.com set(sip_term_status=404) 2020-06-25 12:47:01.614762 [DEBUG] mod_dptools.c:1672 SET sofia/internal/12174324746@sip.fx.com [sip_term_status]=[404] EXECUTE [depth=0] sofia/internal/ 12174324746@sip.fx.com export(sip_term_status=404 IS000005290) 2020-06-25 12:47:01.614762 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [sip_term_status]=[404 IS000005290] EXECUTE [depth=0] sofia/internal/ 12174324746@sip.fx.com respond(404) 2020-06-25 12:47:01.614762 [DEBUG] mod_sofia.c:2334 Responding with 404 [Not Found] 2020-06-25 12:47:01.614762 [NOTICE] mod_sofia.c:2400 Hangup sofia/internal/12174324746@sip.fx.com [CS_EXECUTE] [UNALLOCATED_NUMBER]
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/openvoips/OV500/issues/24, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAWG777TIFNOAKF2WPGAUEDRYNIVLANCNFSM4OIMM2MA .
@kanand81 my Dialp Plan is on 24 hours and carrier is also looking good
here are sceenshots
Its look like problem in routing or carrier config. Carrier config means carrier rates and carrier ips setting. According to fs log it look like system is not getting routing.
Thanks and best regards
On Thu, 25 Jun 2020, 20:14 Tayyab Talha, notifications@github.com wrote:
@kanand81 https://github.com/kanand81 my Dialp Plan is on 24 hours and carrier is also looking good here are sceenshots [image: s1] https://user-images.githubusercontent.com/20745852/85741920-43a3d880-b71c-11ea-84e1-2258d2e689cd.png [image: s2] https://user-images.githubusercontent.com/20745852/85741936-47cff600-b71c-11ea-8f66-13d95e2279b7.png [image: s3] https://user-images.githubusercontent.com/20745852/85741954-4bfc1380-b71c-11ea-92ba-b28fe9c09452.png
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/openvoips/OV500/issues/24#issuecomment-649594795, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM6JLVCR3RRHOCV2J2L5GV3RYNPGTANCNFSM4OIMM2MA .
Hi, I added a customer and routing for UK with prefix 44 but freeswitch is returning me 404 UNALLOCATED_NUMBER Here are logs
2020-06-25 12:47:01.614762 [DEBUG] sofia.c:7325 Channel sofia/internal/12174324746@sip.fx.com entering state [early][183] EXECUTE [depth=0] sofia/internal/12174324746@sip.fx.com set(USERCODECSCLIST=) 2020-06-25 12:47:01.614762 [DEBUG] mod_dptools.c:1672 SET sofia/internal/12174324746@sip.fx.com [USERCODECSCLIST]=[UNDEF] EXECUTE [depth=0] sofia/internal/12174324746@sip.fx.com export(USERCODECSCLIST=) 2020-06-25 12:47:01.614762 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [USERCODECSCLIST]=[UNDEF] EXECUTE [depth=0] sofia/internal/12174324746@sip.fx.com set(common_uuid=32bbe00e-0253-4374-9f74-d8861b7ad0dc) 2020-06-25 12:47:01.614762 [DEBUG] mod_dptools.c:1672 SET sofia/internal/12174324746@127.99.2 [common_uuid]=[32bbe00e-0253-4374-9f74-d8861b7ad0dc] EXECUTE [depth=0] sofia/internal/12174324746@sip.fx.com export(common_uuid=32bbe00e-0253-4374-9f74-d8861b7ad0dc) 2020-06-25 12:47:01.614762 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [common_uuid]=[32bbe00e-0253-4374-9f74-d8861b7ad0dc] EXECUTE [depth=0] sofia/internal/12174324746@sip.fx.com set(caller_callid=1601a6e1679ab8655f1eaf8c7c17f69f@sip.fx.com) 2020-06-25 12:47:01.614762 [DEBUG] mod_dptools.c:1672 SET sofia/internal/12174324746@sip.fx.com [caller_callid]=[1601a6e1679ab8655f1eaf8c7c17f69f@sip.fx.com] EXECUTE [depth=0] sofia/internal/12174324746@sip.fx.com export(caller_callid=1601a6e1679ab8655f1eaf8c7c17f69f@sip.fx.com) 2020-06-25 12:47:01.614762 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [caller_callid]=[1601a6e1679ab8655f1eaf8c7c17f69f@sip.fx.com] EXECUTE [depth=0] sofia/internal/12174324746@sip.fx.com set(userdata={'user':{'round_logic':'CEIL','max_callduration':'120','codecs_force':'0','force_dst_src_cli_prefix':'0','account_id':'IS000005290','account_type':'CUSTOMER','parent_account_id':'','dp':'4','tariff_id':'UK01TARI54','account_cc':'1','account_cps':'1','tax1':'0.00','tax2':'0.00','tax3':'0.00','tax_type':'exclusive','currency_id':'1','account_codecs':'G729,PCMU,PCMA,G722','media_transcoding':'0','media_rtpproxy':'0','company_name':'UKPBO','name':'UK','src_caller':'12174324746','src_callee':'442920602113','device_id':'2','device_type':'ip','src_ip':'19.130.192.250','ipaddress':'19.130.192.250','id':'4','balance':'5.000000','orgbalance':'-5.000000','ratecard_id':'UK0157','prefix':'44','destination':'UK CUSTOMER','rate':'0.010000','connection_charge':'0','minimal_time':'60','resolution_time':'60','grace_period':'0','rate_multiplier':'1.00','rate_addition':'0.00','tariff_currency_id':'1'}}) 2020-06-25 12:47:01.614762 [DEBUG] mod_dptools.c:1672 SET sofia/internal/12174324746@sip.fx.com [userdata]=[{'user':{'round_logic':'CEIL','max_callduration':'120','codecs_force':'0','force_dst_src_cli_prefix':'0','account_id':'IS000005290','account_type':'CUSTOMER','parent_account_id':'','dp':'4','tariff_id':'UK01TARI54','account_cc':'1','account_cps':'1','tax1':'0.00','tax2':'0.00','tax3':'0.00','tax_type':'exclusive','currency_id':'1','account_codecs':'G729,PCMU,PCMA,G722','media_transcoding':'0','media_rtpproxy':'0','company_name':'UKPBO','name':'UK','src_caller':'12174324746','src_callee':'442920602113','device_id':'2','device_type':'ip','src_ip':'19.130.192.250','ipaddress':'19.130.192.250','id':'4','balance':'5.000000','orgbalance':'-5.000000','ratecard_id':'UK0157','prefix':'44','destination':'UK CUSTOMER','rate':'0.010000','connection_charge':'0','minimal_time':'60','resolution_time':'60','grace_period':'0','rate_multiplier':'1.00','rate_addition':'0.00','tariff_currency_id':'1'}}] EXECUTE [depth=0] sofia/internal/12174324746@sip.fx.com export(userdata={'user':{'round_logic':'CEIL','max_callduration':'120','codecs_force':'0','force_dst_src_cli_prefix':'0','account_id':'IS000005290','account_type':'CUSTOMER','parent_account_id':'','dp':'4','tariff_id':'UK01TARI54','account_cc':'1','account_cps':'1','tax1':'0.00','tax2':'0.00','tax3':'0.00','tax_type':'exclusive','currency_id':'1','account_codecs':'G729,PCMU,PCMA,G722','media_transcoding':'0','media_rtpproxy':'0','company_name':'UKPBO','name':'UK','src_caller':'12174324746','src_callee':'442920602113','device_id':'2','device_type':'ip','src_ip':'19.130.192.250','ipaddress':'19.130.192.250','id':'4','balance':'5.000000','orgbalance':'-5.000000','ratecard_id':'UK0157','prefix':'44','destination':'UK CUSTOMER','rate':'0.010000','connection_charge':'0','minimal_time':'60','resolution_time':'60','grace_period':'0','rate_multiplier':'1.00','rate_addition':'0.00','tariff_currency_id':'1'}}) 2020-06-25 12:47:01.614762 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [userdata]=[{'user':{'round_logic':'CEIL','max_callduration':'120','codecs_force':'0','force_dst_src_cli_prefix':'0','account_id':'IS000005290','account_type':'CUSTOMER','parent_account_id':'','dp':'4','tariff_id':'UK01TARI54','account_cc':'1','account_cps':'1','tax1':'0.00','tax2':'0.00','tax3':'0.00','tax_type':'exclusive','currency_id':'1','account_codecs':'G729,PCMU,PCMA,G722','media_transcoding':'0','media_rtpproxy':'0','company_name':'UKPBO','name':'UK','src_caller':'12174324746','src_callee':'442920602113','device_id':'2','device_type':'ip','src_ip':'19.130.192.250','ipaddress':'19.130.192.250','id':'4','balance':'5.000000','orgbalance':'-5.000000','ratecard_id':'UK0157','prefix':'44','destination':'UK CUSTOMER','rate':'0.010000','connection_charge':'0','minimal_time':'60','resolution_time':'60','grace_period':'0','rate_multiplier':'1.00','rate_addition':'0.00','tariff_currency_id':'1'}}] EXECUTE [depth=0] sofia/internal/12174324746@sip.fx.com set(execute_on_answer=sched_hangup +7200 alloted_timeout ) 2020-06-25 12:47:01.614762 [DEBUG] mod_dptools.c:1672 SET sofia/internal/12174324746@sip.fx.com [execute_on_answer]=[sched_hangup +7200 alloted_timeout ] EXECUTE [depth=0] sofia/internal/12174324746@sip.fx.com set(fs_errorcode=ROUTESTATUSISSUE IS000005290) 2020-06-25 12:47:01.614762 [DEBUG] mod_dptools.c:1672 SET sofia/internal/12174324746@sip.fx.com [fs_errorcode]=[ROUTESTATUSISSUE IS000005290] EXECUTE [depth=0] sofia/internal/12174324746@sip.fx.com export(fs_errorcode=ROUTESTATUSISSUE IS000005290) 2020-06-25 12:47:01.614762 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [fs_errorcode]=[ROUTESTATUSISSUE IS000005290] EXECUTE [depth=0] sofia/internal/12174324746@sip.fx.com set(SWITCH_ISSUE=1) 2020-06-25 12:47:01.614762 [DEBUG] mod_dptools.c:1672 SET sofia/internal/12174324746@sip.fx.com [SWITCH_ISSUE]=[1] EXECUTE [depth=0] sofia/internal/12174324746@sip.fx.com export(SWITCH_ISSUE=1) 2020-06-25 12:47:01.614762 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [SWITCH_ISSUE]=[1] EXECUTE [depth=0] sofia/internal/12174324746@sip.fx.com set(sip_term_status=404) 2020-06-25 12:47:01.614762 [DEBUG] mod_dptools.c:1672 SET sofia/internal/12174324746@sip.fx.com [sip_term_status]=[404] EXECUTE [depth=0] sofia/internal/12174324746@sip.fx.com export(sip_term_status=404 IS000005290) 2020-06-25 12:47:01.614762 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [sip_term_status]=[404 IS000005290] EXECUTE [depth=0] sofia/internal/12174324746@sip.fx.com respond(404) 2020-06-25 12:47:01.614762 [DEBUG] mod_sofia.c:2334 Responding with 404 [Not Found] 2020-06-25 12:47:01.614762 [NOTICE] mod_sofia.c:2400 Hangup sofia/internal/12174324746@sip.fx.com [CS_EXECUTE] [UNALLOCATED_NUMBER]