Jump to content
KAZOOcon: hackathon signup and details here! ×

BilalAbbasi

Members
  • Posts

    29
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by BilalAbbasi

  1. Hi Users,

    I have enabled websockets over port 7443, and i am using tryjssip page to test the websockets, but when i login from jssip page i get following error on kamailio logs.

    Mar 29 21:12:17 kamailio kamailio[20566]: ERROR: <core> [core/tcp_read.c:1535]: tcp_read_req(): bad request, state=7, error=4 buf:#012GET / HTTP/1.1#015#012Host: kamailio.telnoor.com:7443#015#012Connection: Upgrade#015#012Pragma: no-cache#015#012Cache-Control: no-cache#015#012User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36#015#012Upgrade: websocket#015#012Origin: https://tryit.jssip.net#015#012Sec-WebSocket-Version: 13#015#012Accept-Encoding: gzip, deflate, br#015#012Accept-Language: en-US,en;q=0.9,ur;q=0.8#015#012Sec-WebSocket-Key: lUhfsnbN6x4+vX20oKTtQg==#015#012Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits#015#012Sec-WebSocket-Protocol: sip#015#012#015#012#012parsed:#012GET / HTTP/1.1#015#012Host: kamailio.telnoor.com:7443#015#012Connection: Upgrade#015#012Pragma: no-cache#015#012Cache-Control: no-cache#015#012User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36#015#012Upgrade: websocket#015#012Origin: https://tryit.jssip.net#015#012Sec-WebSocket-Version: 13#015#012Accept-Encoding: gzip, deflate, br#015#012Accept-Language: en-US,en;q=0.9,ur;q=0.8#015#012Sec-WebSocket-Key: lUhfsnbN6x4+vX20oKTtQg==#015#012Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits#015#012Sec-WebSocket-Protocol: sip

     

    And in chrome console i get 

    tryit-jssip.js:8 WebSocket connection to 'wss://${mydomainname.com}:7443/' failed: Connection closed before receiving a handshake response

     

    Can someone guide me what issue this is, and how can i fix this

     

    Regards

    Abbasi

  2. I might need to be in another thread, but i added few extra apps via up crossbar_maintenance init_apps /var/www/html/monster-ui/apps http:X.X.X.X:8000/v2 command, and i can see those apps getting added in monster-ui as well.

    But when i try to open/click them, it show me attached error on console. Any reason what needs to be done to properly load them

     

    Screen Shot 2020-01-16 at 2.40.22 PM.png

  3. Hi Users,

    I am trying to build monster-ui from source. I have cloned the monster-ui repo, and executed 'npm install' and 'gulp' commands successfully.

    But when i try to open UI i get .css errors, and UI does not render correctly. PFA.

    Can someone guide me whats the issue.

     

    Regards

    Abbasi

    Screen Shot 2020-01-01 at 2.12.31 PM.png

    Screen Shot 2020-01-01 at 2.11.49 PM.png

  4. @mc_ Thanks for reply, i did searched some related stuff but could not find a clue. Can you please share that link with me. 

    Many Thanks

    Abbasi

    I found it, adding it here for future reference (so other users can see it).

    Check 'sup kapps_config get_integer ecallmgr tcp_packet_type' and compare to /etc/kazoo/freeswitch/autoload_configs/kazoo.conf.xml's 'event-stream-framing'; they should match.

     

  5. Hi Users,

    I have installed kazoo 4.3 version and i am not able to make successful call between two users. When i try to make call it get answered by FreeSWITCH and does not ring to the B-Party. It just plays some comfort noise to A-Party.

    I have attached FreeSWITCH logs for details (i saw the SIP logs works good, there is no issue with that).

    fs.log

  6. @mc_

    I got issue again, and here is my bigcouch log entry

    [Mon, 11 Nov 2019 14:10:43 GMT] [info] [<0.2254.0>] [ecf5d584] undefined - - 'GET' /faxes/_design/faxes/_view/schedule_accounts?group_level=1&group=true&reduce=true 500

    [Mon, 11 Nov 2019 14:10:43 GMT] [info] [<0.2254.0>] [ecf5d584] 45.76.23.242 127.0.0.1:15984 GET /faxes/_design/faxes/_view/schedule_accounts?group_level=1&group=true&reduce=true 500 ok 1

    [Mon, 11 Nov 2019 14:10:43 GMT] [info] [<0.285.0>] [c98bdde3] 52.40.138.157 144.202.79.50:5984 GET /_utils/database.html?accounts 304 ok 1

    [Mon, 11 Nov 2019 14:10:43 GMT] [info] [<0.2263.0>] [7fb8cfb1] undefined - - 'GET' / 200

    [Mon, 11 Nov 2019 14:10:43 GMT] [info] [<0.2263.0>] [7fb8cfb1] 45.76.23.242 undefined GET / 200 ok 1

    [Mon, 11 Nov 2019 14:10:44 GMT] [info] [<0.280.0>] [331f2827] undefined - - 'GET' /_session 200

    [Mon, 11 Nov 2019 14:10:44 GMT] [info] [<0.280.0>] [331f2827] 52.40.138.157 144.202.79.50:5984 GET /_session 200 ok 1

    [Mon, 11 Nov 2019 14:10:44 GMT] [info] [<0.281.0>] [4eef4492] undefined - - 'GET' /_config/query_servers/ 200

    [Mon, 11 Nov 2019 14:10:44 GMT] [info] [<0.281.0>] [4eef4492] 52.40.138.157 144.202.79.50:5984 GET /_config/query_servers/ 200 ok 0

    [Mon, 11 Nov 2019 14:10:44 GMT] [error] [<0.282.0>] [c675e7a5] Uncaught error in HTTP request: {error,

                                                                    {internal_server_error,

                                                                     "No DB shards could be opened."}}

    [Mon, 11 Nov 2019 14:10:44 GMT] [info] [<0.282.0>] [c675e7a5] Stacktrace: [{fabric_util,get_shard,3,

                                                [{file,"src/fabric_util.erl"},

                                                 {line,67}]},

                                               {fabric,get_security,2,

                                                [{file,"src/fabric.erl"},

                                                 {line,138}]},

                                               {chttpd_db,do_db_req,2,

                                                [{file,"src/chttpd_db.erl"},

                                                 {line,198}]},

                                               {chttpd,handle_request,1,

                                                [{file,"src/chttpd.erl"},

                                                 {line,198}]},

                                               {mochiweb_http,headers,5,

                                                [{file,"src/mochiweb_http.erl"},

                                                 {line,126}]},

                                               {proc_lib,init_p_do_apply,3,

                                                [{file,"proc_lib.erl"},

                                                 {line,227}]}]

    [Mon, 11 Nov 2019 14:10:44 GMT] [error] [<0.285.0>] [1d214b0c] Uncaught error in HTTP request: {error,

                                                                    {internal_server_error,

                                                                     "No DB shards could be opened."}}

    [Mon, 11 Nov 2019 14:10:44 GMT] [info] [<0.282.0>] [c675e7a5] undefined - - 'GET' /accounts/_all_docs?limit=11 500

    [Mon, 11 Nov 2019 14:10:44 GMT] [info] [<0.285.0>] [1d214b0c] Stacktrace: [{fabric_util,get_shard,3,

                                                [{file,"src/fabric_util.erl"},

                                                 {line,67}]},

                                               {fabric,get_security,2,

                                                [{file,"src/fabric.erl"},

                                                 {line,138}]},

                                               {chttpd_db,do_db_req,2,

                                                [{file,"src/chttpd_db.erl"},

                                                 {line,198}]},

                                               {chttpd,handle_request,1,

                                                [{file,"src/chttpd.erl"},

                                                 {line,198}]},

                                               {mochiweb_http,headers,5,

                                                [{file,"src/mochiweb_http.erl"},

                                                 {line,126}]},

                                               {proc_lib,init_p_do_apply,3,

                                                [{file,"proc_lib.erl"},

                                                 {line,227}]}]

     

     

    Regards

    Abbasi

  7. Hi Team,

    I have successfully setup kazoo-bigcouch cluster, and everything is working good except that after some time i get some shard error, and all of the cluster stops working.

    example:

    sup crossbar_maintenance create_account admin sip.mogility.cloud admin Lmkt@ptcl1234
    Command failed: {'EXIT',{{badmatch,{error,<<"No DB shards could be opened.">>}},[{kz_json_schema,default_object,1,[{file,"src/kz_json_schema.erl"},{line,997}]},{kzd_accounts,new,0,[{file,"src/kzd_accounts.erl"},{line,120}]},{crossbar_maintenance,create_account,4,[{file,"src/crossbar_maintenance.erl"},{line,394}]},{sup,in_kazoo,4,[{file,"src/sup.erl"},{line,98}]},{rpc,'-handle_call_call/6-fun-0-',5,[{file,"rpc.erl"},{line,197}]}]}}

    It goes away when i restart every database nodes, here are my database members(4 members of couch database).

    [root@db1zone1 ~]# curl 127.0.0.1:5984/_membership  

    {"all_nodes":["bigcouch@db1zone1.xxxx.cloud","bigcouch@db1zone2.xxxx.cloud","bigcouch@db2zone1.xxxx.cloud","bigcouch@db2zone2.xxxx.cloud"],"cluster_nodes":["bigcouch@db1zone1.xxxx.cloud","bigcouch@db1zone2.xxxx.cloud","bigcouch@db2zone1.xxxx.cloud","bigcouch@db2zone2.xxxxx.cloud"]}

    And here are my cluster configurations in local.ini file

     

    [cluster]

    q=1

    r=3

    w=3

    n=4

     

    Can you please guid me whats the issue here.

     

    Regards

    Abbasi

     

  8. Hi Team,

    I am getting following error in my couch db logs, can you please assist me what wrong i am doing here.

    [Sun, 13 Oct 2019 08:42:57 GMT] [error] [emulator] [--------] Error in process <0.1147.0> on node 'bigcouch@db1.sip.turboitsolutions.com' with exit value: {{rexi_DOWN,noproc},[{mem3_rep,rexi_call,2,[{file,"src/mem3_rep.erl"},{line,110}]},{mem3_rep,calculate_start_seq,3,[{file,"src/mem3_rep.erl"},{line,122}]},{mem3_rep,go,3,[{file,"src/mem3_rep.erl"},{line,32}]},{mem3_rep,go,2,[{file... 

     

    curl http://db1.sip.turboitsolutions.com:5984/_membership

    {"all_nodes":["bigcouch@db1.sip.turboitsolutions.com","bigcouch@db2.sip.turboitsolutions.com","bigcouch@db3.sip.turboitsolutions.com"],"cluster_nodes":["bigcouch@db1.sip.turboitsolutions.com","bigcouch@db1.turboitsolutions.com","bigcouch@db2.sip.turboitsolutions.com","bigcouch@db2.turboitsolutions.com","bigcouch@db3.sip.turboitsolutions.com","bigcouch@db3.turboitsolutions.com"]}

    Regards

    Abbasi

  9. @uzair mahmud, i have the hostname proper FQDN.

    The issue is resolved now, i just made a new account with the realm different to the server realm(i don't know what exactly happened but now everything seems working)

    server domain is x and realm of account is y, works good, server domain x and account realm x does not work, for the future admins if they get this issue that may help them.

     

    Regards

    Abbasi

  10. @mc_ Thanks for the reply, i can see in kamailio logs "received internal reply 503 Maximum Calls In Progress", but does not make any sense to me, why kamailio is raising that to me, just for your info i have attached the the kamailio and FS logs, so may be you can just have a look and get something that i could not find.

    kamailio logs ----- >https://pastebin.com/RFbDYBra 

    FS logs ----> https://pastebin.com/SfJ18SwF

     

    Br

    Abbasi

  11. Hi Users,

    I am getting the following error while i try to make call on FreeSWITCH

    2018-03-21 10:46:04.282392 [CRIT] switch_core_session.c:2251 Duplicate UUID!

    I have tried to google and get the response somewhere that try a sub account(rather the master account), i tried that as well but no luck, i tried to create callflows from kazoo-ui and monster-ui as well, still no luck.

    I am using Kazoo version  4.1-21, can some body help me on this(i am sure its something that somebody must have got).

    Regards

    Abbasi

  12. On 12/26/2017 at 11:37 PM, mc_ said:

    The wiki is in the process of being deprecated. Some of the pages were "auto-imported" into the docs site but require refreshing and updating to render properly. For instance, the SUP page can be found here. It needs love though; want to make the updates and issue a pull request? There's an edit link on the page if you're signed into Github.

    Thanks , i did noticed that the wiki works for my clients those are on different continent as they send me the link but i could not see that, 

×
×
  • Create New...