Hi Ratnajit, What do you mean by SIP messages? Do you specifically mean a MESSAGE request? Also, where are you capturing network trace?
Ellie From: Ratnajit Devnath - ERS, HCL Tech [mailto:[email protected]] Sent: 04 August 2015 08:27 To: Eleanor Merry; [email protected] Cc: Ekal Agarwal - ERS, HCL Tech; Ramachandran Sathyanarayanan Subject: RE: SIP registration failing Hi Ellie, Thanks a lot for your help. We were able to establish SIP calls using Zoiper clients after the modification but wanted to query if messaging is disabled when the SIP call is established. We did not see any SIP messages on the wireshark. Can you guide on this? Zoiper Client version - 3.9.32144 32 bit Ubuntu version - 14.04 Clearwater version - 1.0-150707.182613 Thanks Ratnajit From: Eleanor Merry [mailto:[email protected]] Sent: Thursday, July 30, 2015 11:34 PM To: Ratnajit Devnath - ERS, HCL Tech; [email protected]<mailto:[email protected]> Cc: Ekal Agarwal - ERS, HCL Tech; Ramachandran Sathyanarayanan Subject: RE: SIP registration failing Hi, You need to set the auth. Username in Zoiper to be the private identity of the subscriber - so something like 65055550595@<domain>. It also looks like there's some issues with Chronos (our timer service - see https://github.com/Metaswitch/chronos/blob/dev/doc/technical.md for more details). Can you please send me your Chronos logs (in /var/log/chronos) and configuration (in /etc/chronos)? Thanks, Ellie From: Clearwater [mailto:[email protected]] On Behalf Of Ratnajit Devnath - ERS, HCL Tech Sent: 27 July 2015 14:36 To: [email protected]<mailto:[email protected]> Cc: Ekal Agarwal - ERS, HCL Tech; Ramachandran Sathyanarayanan Subject: [Clearwater] SIP registration failing Hi All, We are unable to register SIP clients based on zoiper with Clearwater server. Zoiper Client version - 3.9.32144 32 bit Ubuntu version - 14.04 Clearwater version - 1.0-150707.182613 The clearwater server has been deployed using the All-in-one OVF virtual machine. The number 65055550595 is provisioned in the Db and we are able to see number in the Ellis web GUI. On further debugging, we get following errors in /var/log/sprout.log when we are trying to register from a zoiper SIP client. 28-07-2015 03:43:44.369 UTC Error httpconnection.cpp:748: cURL failure with cURL error code 0 (see man 3 libcurl-errors) and HTTP error code 404 28-07-2015 03:43:44.369 UTC Error hssconnection.cpp:146: Failed to get Authentication Vector for 6505550595 28-07-2015 03:43:44.386 UTC Error httpconnection.cpp:626: http://127.0.0.1:7253/timers failed at server 127.0.0.1 : Couldn't connect to server (7) : fatal 28-07-2015 03:43:44.387 UTC Error httpconnection.cpp:626: http://127.0.0.1:7253/timers failed at server 127.0.0.1 : Couldn't connect to server (7) : fatal 28-07-2015 03:43:44.387 UTC Error httpconnection.cpp:748: cURL failure with cURL error code 7 (see man 3 libcurl-errors) and HTTP error code 404 Appreciate any help on this. I have attached a tcpdump taken on the guest where clearwater VM is running and a request comes to the clearwater and it fails to register with error code 404. Detailed logs ------------------ 28-07-2015 03:37:26.570 UTC Status main.cpp:1327: Access logging enabled to /var/log/sprout 28-07-2015 03:37:26.570 UTC Status main.cpp:1331: Log level set to 2 28-07-2015 03:37:26.571 UTC Status snmp_agent.cpp:67: AgentX agent initialised 28-07-2015 03:37:26.585 UTC Status load_monitor.cpp:93: Constructing LoadMonitor 28-07-2015 03:37:26.585 UTC Status load_monitor.cpp:94: Target latency (usecs) : 100000 28-07-2015 03:37:26.585 UTC Status load_monitor.cpp:95: Max bucket size : 20 28-07-2015 03:37:26.585 UTC Status load_monitor.cpp:96: Initial token fill rate/s: 100.000000 28-07-2015 03:37:26.585 UTC Status load_monitor.cpp:97: Min token fill rate/s : 10.000000 28-07-2015 03:37:26.585 UTC Status dnscachedresolver.cpp:129: Creating Cached Resolver using servers: 28-07-2015 03:37:26.585 UTC Status dnscachedresolver.cpp:132: 127.0.0.1 28-07-2015 03:37:26.587 UTC Status sipresolver.cpp:60: Created SIP resolver 28-07-2015 03:37:26.646 UTC Status stack.cpp:373: Listening on port 5054 28-07-2015 03:37:26.647 UTC Status stack.cpp:815: Local host aliases: 28-07-2015 03:37:26.647 UTC Status stack.cpp:820: 192.168.1.153 28-07-2015 03:37:26.647 UTC Status stack.cpp:820: 192.168.1.153 28-07-2015 03:37:26.647 UTC Status stack.cpp:820: 192.168.1.153 28-07-2015 03:37:26.647 UTC Status stack.cpp:820: 192.168.1.153 28-07-2015 03:37:26.652 UTC Status httpresolver.cpp:51: Created HTTP resolver 28-07-2015 03:37:26.652 UTC Status main.cpp:1649: Creating connection to HSS 192.168.1.153:8888 28-07-2015 03:37:26.655 UTC Status httpconnection.cpp:114: Configuring HTTP Connection 28-07-2015 03:37:26.655 UTC Status httpconnection.cpp:115: Connection created for server 192.168.1.153:8888 28-07-2015 03:37:26.655 UTC Status httpconnection.cpp:116: Connection will use a response timeout of 500ms 28-07-2015 03:37:26.659 UTC Status main.cpp:1695: Creating connection to Chronos 127.0.0.1:7253 using 127.0.0.1:9888 as the callback URI 28-07-2015 03:37:26.659 UTC Status httpconnection.cpp:146: Configuring HTTP Connection 28-07-2015 03:37:26.659 UTC Status httpconnection.cpp:147: Connection created for server 127.0.0.1:7253 28-07-2015 03:37:26.659 UTC Status httpconnection.cpp:148: Connection will use a response timeout of 500ms 28-07-2015 03:37:26.659 UTC Status main.cpp:1764: Using memcached compatible store with ASCII protocol 28-07-2015 03:37:26.659 UTC Status memcached_config.cpp:70: Reloading memcached configuration from '/etc/clearwater/cluster_settings' 28-07-2015 03:37:26.659 UTC Status memcached_config.cpp:109: servers=192.168.1.153:11211 28-07-2015 03:37:26.659 UTC Status memcachedstore.cpp:145: Updating memcached store configuration 28-07-2015 03:37:26.659 UTC Status memcachedstore.cpp:166: Finished preparing new view, so flag that workers should switch to it 28-07-2015 03:37:26.659 UTC Status main.cpp:1781: Using remote memcached compatible store with ASCII protocol 28-07-2015 03:37:26.660 UTC Status memcached_config.cpp:70: Reloading memcached configuration from '/etc/clearwater/remote_cluster_settings' 28-07-2015 03:37:26.660 UTC Status memcached_config.cpp:109: servers= 28-07-2015 03:37:26.660 UTC Status memcachedstore.cpp:145: Updating memcached store configuration 28-07-2015 03:37:26.660 UTC Status memcachedstore.cpp:166: Finished preparing new view, so flag that workers should switch to it 28-07-2015 03:37:26.660 UTC Warning main.cpp:1791: Remote cluster settings file '/etc/clearwater/remote_cluster_settings' does not contain a valid set of servers 28-07-2015 03:37:26.660 UTC Status main.cpp:1843: Initialise S-CSCF authentication module 28-07-2015 03:37:26.660 UTC Status pluginloader.cpp:63: Loading plug-ins from /usr/share/clearwater/sprout/plugins 28-07-2015 03:37:26.660 UTC Status pluginloader.cpp:83: Attempt to load plug-in /usr/share/clearwater/sprout/plugins/sprout_bgcf.so 28-07-2015 03:37:26.666 UTC Status bgcfservice.cpp:68: No BGCF configuration (file ./bgcf.json does not exist) 28-07-2015 03:37:26.666 UTC Status pluginloader.cpp:117: Loaded sproutlet bgcf using API version 1 28-07-2015 03:37:26.666 UTC Status pluginloader.cpp:83: Attempt to load plug-in /usr/share/clearwater/sprout/plugins/sprout_scscf.so 28-07-2015 03:37:26.671 UTC Status pluginloader.cpp:117: Loaded sproutlet scscf using API version 1 28-07-2015 03:37:26.671 UTC Status pluginloader.cpp:83: Attempt to load plug-in /usr/share/clearwater/sprout/plugins/sprout_icscf.so 28-07-2015 03:37:26.674 UTC Status pluginloader.cpp:83: Attempt to load plug-in /usr/share/clearwater/sprout/plugins/sprout_mmtel_as.so 28-07-2015 03:37:26.678 UTC Status mmtelasplugin.cpp:89: Creating connection to XDMS 192.168.1.153:7888 28-07-2015 03:37:28.681 UTC Status httpconnection.cpp:114: Configuring HTTP Connection 28-07-2015 03:37:28.681 UTC Status httpconnection.cpp:115: Connection created for server 192.168.1.153:7888 28-07-2015 03:37:28.681 UTC Status httpconnection.cpp:116: Connection will use a response timeout of 500ms 28-07-2015 03:37:28.681 UTC Status pluginloader.cpp:117: Loaded sproutlet mmtel using API version 1 28-07-2015 03:37:28.681 UTC Status pluginloader.cpp:148: Finished loading plug-ins 28-07-2015 03:37:28.682 UTC Status httpstack.cpp:136: Configuring HTTP stack 28-07-2015 03:37:28.683 UTC Status httpstack.cpp:137: Bind address: 192.168.1.153 28-07-2015 03:37:28.683 UTC Status httpstack.cpp:138: Bind port: 9888 28-07-2015 03:37:28.683 UTC Status httpstack.cpp:139: Num threads: 50 28-07-2015 03:40:57.752 UTC Status load_monitor.cpp:221: Maximum incoming request rate/second increased to 109.292603 (based on a smoothed mean latency of 7074 and 0 upstream overload responses) 28-07-2015 03:43:38.063 UTC Error httpconnection.cpp:626: http://127.0.0.1:7253/timers failed at server 127.0.0.1 : Couldn't connect to server (7) : fatal 28-07-2015 03:43:38.063 UTC Error httpconnection.cpp:626: http://127.0.0.1:7253/timers failed at server 127.0.0.1 : Couldn't connect to server (7) : fatal 28-07-2015 03:43:38.063 UTC Error httpconnection.cpp:748: cURL failure with cURL error code 7 (see man 3 libcurl-errors) and HTTP error code 404 28-07-2015 03:43:38.070 UTC Warning authentication.cpp:209: Received an authentication request for 6505550595 with nonce 7f62b0c16e643ada, but no matching AV found 28-07-2015 03:43:38.077 UTC Error httpconnection.cpp:748: cURL failure with cURL error code 0 (see man 3 libcurl-errors) and HTTP error code 404 28-07-2015 03:43:38.077 UTC Error hssconnection.cpp:146: Failed to get Authentication Vector for 6505550595 28-07-2015 03:43:38.133 UTC Error httpconnection.cpp:626: http://127.0.0.1:7253/timers failed at server 127.0.0.1 : Couldn't connect to server (7) : fatal 28-07-2015 03:43:38.133 UTC Error httpconnection.cpp:626: http://127.0.0.1:7253/timers failed at server 127.0.0.1 : Couldn't connect to server (7) : fatal 28-07-2015 03:43:38.133 UTC Error httpconnection.cpp:748: cURL failure with cURL error code 7 (see man 3 libcurl-errors) and HTTP error code 404 28-07-2015 03:43:38.181 UTC Warning authentication.cpp:209: Received an authentication request for 6505550595 with nonce 634862ae076e3aa4, but no matching AV found 28-07-2015 03:43:38.188 UTC Error httpconnection.cpp:748: cURL failure with cURL error code 0 (see man 3 libcurl-errors) and HTTP error code 404 28-07-2015 03:43:38.188 UTC Error hssconnection.cpp:146: Failed to get Authentication Vector for 6505550595 28-07-2015 03:43:38.740 UTC Status load_monitor.cpp:221: Maximum incoming request rate/second increased to 118.585800 (based on a smoothed mean latency of 7068 and 0 upstream overload responses) 28-07-2015 03:43:44.316 UTC Error httpconnection.cpp:626: http://127.0.0.1:7253/timers failed at server 127.0.0.1 : Couldn't connect to server (7) : fatal 28-07-2015 03:43:44.317 UTC Error httpconnection.cpp:626: http://127.0.0.1:7253/timers failed at server 127.0.0.1 : Couldn't connect to server (7) : fatal 28-07-2015 03:43:44.317 UTC Error httpconnection.cpp:748: cURL failure with cURL error code 7 (see man 3 libcurl-errors) and HTTP error code 404 28-07-2015 03:43:44.361 UTC Warning authentication.cpp:209: Received an authentication request for 6505550595 with nonce 581e099609350434, but no matching AV found 28-07-2015 03:43:44.369 UTC Error httpconnection.cpp:748: cURL failure with cURL error code 0 (see man 3 libcurl-errors) and HTTP error code 404 28-07-2015 03:43:44.369 UTC Error hssconnection.cpp:146: Failed to get Authentication Vector for 6505550595 28-07-2015 03:43:44.386 UTC Error httpconnection.cpp:626: http://127.0.0.1:7253/timers failed at server 127.0.0.1 : Couldn't connect to server (7) : fatal 28-07-2015 03:43:44.387 UTC Error httpconnection.cpp:626: http://127.0.0.1:7253/timers failed at server 127.0.0.1 : Couldn't connect to server (7) : fatal 28-07-2015 03:43:44.387 UTC Error httpconnection.cpp:748: cURL failure with cURL error code 7 (see man 3 libcurl-errors) and HTTP error code 404 28-07-2015 03:37:26.666 UTC Status bgcfservice.cpp:68: No BGCF configuration (file ./bgcf.json does not exist) 28-07-2015 03:37:26.666 UTC Status pluginloader.cpp:117: Loaded sproutlet bgcf using API version 1 28-07-2015 03:37:26.666 UTC Status pluginloader.cpp:83: Attempt to load plug-in /usr/share/clearwater/sprout/plugins/sprout_scscf.so Thanks Ratnajit ::DISCLAIMER:: ---------------------------------------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects. ----------------------------------------------------------------------------------------------------------------------------------------------------
_______________________________________________ Clearwater mailing list [email protected] http://lists.projectclearwater.org/mailman/listinfo/clearwater_lists.projectclearwater.org
