Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. FOP2 debug help. Can't connect to server

FOP2 debug help. Can't connect to server

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 200 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    A
    alan_mousty.com
    wrote on last edited by
    #1

    I have a FreePBX 2.9 system and installed FOP2. When I try to log in I get the message connecting to server. After many attempts I get a message that the server is not available.

    I have disables iptables and still the same problem.

    Here are some debug logs.

    ** DIGEST_EVENT: start

    ** PROCESA_BLOQUE 0
    ** PROCESA_BLOQUE MESSAGEWAITING 0

    It's blessed into class Extension

    DIGEST canal SIP/501, comando voicemail, datos 0, slot

    DIGEST canal SIP/501, comando voicemailcount, datos &vmail_count!0!0, slot

    ** MAIN New client connection 192.168.250.77
    ** MAIN New client connection 192.168.250.77

    ** MAIN AMI event received...

    HTML5 Web Socket Connection

    websocket handshake version hiby v8

    HTTP/1.1 101 Switching Protocols
    Upgrade: WebSocket
    Connection: Upgrade
    Sec-WebSocket-Accept: UJ3Mzq/G3BJMXwV1dugyNWyLsyQ=

    192.168.250.77 => HTTP/1.1 101 Switching Protocols
    Upgrade: WebSocket
    Connection: Upgrade
    Sec-WebSocket-Accept: UJ3Mzq/G3BJMXwV1dugyNWyLsyQ=

    ** MAIN AMI event received...
    ** MAIN Processing command received from flash clients...

    192.168.250.77 <= <msg data="GENERAL|contexto|1|" />

    -- PROCESS_FLASH_COMMAND origen GENERAL accion contexto destino 1 password

    192.168.250.77 => { "btn": "0", "cmd": "key", "data": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "slot": "" }

    192.168.250.77 => { "btn": "0@GENERAL", "cmd": "version", "data": "2.26!XXXXXXXXXXXXXXXXXXl, IL!1", "slot": "" }

    ** MAIN New client connection 127.0.0.1

    ** MAIN AMI event received...
    ** MAIN Processing command received from flash clients...

    127.0.0.1 <= <msg data="GENERAL|contexto|1" />

    -- PROCESS_FLASH_COMMAND origen GENERAL accion contexto destino 1 password

    127.0.0.1 => { "btn": "0", "cmd": "key", "data": "XXXXXXXXXXXXXXXXXXXXh", "slot": "" }

    127.0.0.1 => { "btn": "0@GENERAL", "cmd": "version", "data": "2.26!XXXXXXXXXXXXXXXXXXXXXXXXL!1", "slot": "" }

    ** MAIN AMI event received...
    ** MAIN Processing command received from flash clients...

    127.0.0.1 <= <msg data="GENERAL|checkauth|301|3cd6b224aae4a683d2ced1942e813762" />

    -- PROCESS_FLASH_COMMAND origen GENERAL accion checkauth destino 301 password 3cd6b224aae4a683d2ced1942e813762

    ** CLEAN SOCKET connection lost removing socket IO::Socket::INET=GLOB(0x111d5c54)
    ** CLEAN SOCKET flash client connection lost

    Flash clients connected: 2

    192.168.250.77:62837 IO::Socket::INET=GLOB(0x1114ec18), none
    192.168.250.77:62838 IO::Socket::INET=GLOB(0xeaccd80), none

    ** MAIN closing 192.168.250.77

    ** CLEAN SOCKET connection lost removing socket IO::Socket::INET=GLOB(0x1114ec18)
    ** CLEAN SOCKET flash client connection lost

    Flash clients connected: 1

    192.168.250.77:62838 IO::Socket::INET=GLOB(0xeaccd80), none

    ** MAIN End of block from localhost

    127.0.0.1 <- Event: PeerStatus
    127.0.0.1 <- Privilege: system,all
    127.0.0.1 <- ChannelType: SIP
    127.0.0.1 <- Peer: SIP/800
    127.0.0.1 <- PeerStatus: Registered
    127.0.0.1 <- Address: 10.253.181.59:5060
    127.0.0.1 <- Server: 0

    ** MAIN AMI event received...
    ** MAIN There's an 'Event' in the event block
    ** MAIN Event detected block_count = 1 (Event: PeerStatus)
    ** MAIN There are 1 blocks for processing
    ** MAIN Answer block cleared

    ** DIGEST_EVENT: start

    ** PROCESA_BLOQUE 0
    ** PROCESA_BLOQUE PEERSTATUS 0

    SET QUALIFY para SIP/800 lo dejo como estaba ok

    ** MAIN End of block from localhost

    127.0.0.1 <- Event: PeerStatus
    127.0.0.1 <- Privilege: system,all
    127.0.0.1 <- ChannelType: SIP
    127.0.0.1 <- Peer: SIP/8009
    127.0.0.1 <- PeerStatus: Registered
    127.0.0.1 <- Address: 10.253.181.59:5060
    127.0.0.1 <- Server: 0

    ** MAIN AMI event received...
    ** MAIN There's an 'Event' in the event block
    ** MAIN Event detected block_count = 1 (Event: PeerStatus)
    ** MAIN There are 1 blocks for processing
    ** MAIN Answer block cleared

    ** DIGEST_EVENT: start

    ** PROCESA_BLOQUE 0
    ** PROCESA_BLOQUE PEERSTATUS 0

    SET QUALIFY para SIP/8009 lo dejo como estaba ok

    Exiting...

    1 Reply Last reply
    0
    • N
      N
      nicolas
      wrote on last edited by
      #2

      Hi,

      The registration name has an invalid character, please run:

      /usr/local/fop2/fop2_server --reactivate
      

      Then restart fop2

      service fop2 restart
      

      And try again..

      Best regards,

      1 Reply Last reply
      0
      • A
        A
        alan_mousty.com
        wrote on last edited by
        #3

        That worked. Thank you.

        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        Powered by NodeBB Contributors
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups