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. Listen on the multiple servers

Listen on the multiple servers

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 58 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.
  • M
    M
    Mihail1810
    wrote on last edited by
    #1

    Hello!

    I have 2 servers TrixBox, installed FOP2.

    [general]
    ; AMI definitions
    manager_host=localhost
    manager_port=5038
    manager_user=admin
    manager_secret=amp111

    ; Server 2
    manager_host = 192.168.0.2
    manager_port = 5038
    manager_user = admin
    manager_secret = amp111

    user=102:102:all
    user=202:202:all
    buttonfile=buttons.cfg

    buttons.cfg

    [SIP/101]
    type=extension
    extension=101
    context=from-internal
    label=Nicolas
    mailbox=101@default
    extenvoicemail=*101@from-internal
    privacy=all

    [SIP/102]
    type=extension
    extension=102
    context=from-internal
    label=Nicolas
    mailbox=102@default
    extenvoicemail=*102@from-internal
    privacy=all

    [SIP/201]
    type=extension
    extension=201
    context=from-internal
    label=Nicolas
    mailbox=201@default
    extenvoicemail=*201@from-internal
    privacy=all

    [SIP/202]
    type=extension
    extension=202
    context=from-internal
    label=Nicolas
    mailbox=202@default
    extenvoicemail=*202@from-internal
    privacy=all

    101,102 - extentions on 1st TrixBox
    201,202 - extentions on 2nd.

    1st adn 2nd TrixBox connected dy IAX2. When I connect to 1st server by 102 extention I see all buttons from 2 servers, all status is active, but I can listen only when ex. 101 talking. When 201,202 talking - I see it, but when I click the "listen" button nothing happend. How can I listen talks from 2nd trixbox? Or I must connect directly to 2nd server?????

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

      The spy options cannot "cross" asterisk servers. It launches chanspy on the server the spying extension resides.

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

        Actually, there might be a way. You can set the originatechannel on a button to be:

        originatechannel=Local/{EXTEN}@{CONTEXT}

        If you have a unified dialplan, that might work, as the spy session will start in your local dialplan, reach the other server, your phone rings, and when you pickup you will be inside chanspy. Give it a try, it should work.

        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