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. Record a voice from trunk

Record a voice from trunk

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

    I have to PBXs connected via SIP trunks to asterisk. And the users of these PBXs have the ability to call each other through asterisk by fop. When the user1 of PBX-1 makes a call to user2 0f PBX-2, asterisk makes two legs over SIP/trunk1 and SIP/trunk2. And after user's answer bridged them. I can see these channels in fop2 trunk button with called extension note like:

    SIP/trunk1 1xxxx ( call to user1 ) and
    SIP/trunk2 2xxx. ( call to user2)

    Is there some variants to record voice from these trunks ( these remote users ) ?
    I tried to add channel=SIP/trunk1 to user1 extension button, but in this case it indicates all calls through SIP/trunk1 not only for 1xxx number. How to filter outgoing trunks by dialed extensions ?

    I tried to use Local channels, but for some reason i cant bridge two local channels and record them...

    Any advise ?

    Best regards,
    Sergio.

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

      It is not possible, fop2 monitors channels, not a logical set over one. SIP/trunk will monitor ANY call named SIP/trunk-xxxx, no matter if they dialed 1234, if it was an inbound call to 4567. For fop2 is just SIP/trunk.

      1 Reply Last reply
      0
      • S
        S
        seregh
        wrote on last edited by
        #3

        There is nothing impossible in this world ! 🙂
        I did it with some asterisk routing manipulating.
        If we can't filter traffic we must create trunk only for proper user.
        So i created SIP/trunk_user1 duplicated SIP/trunk_1, created user1 context in asterisk with outgoing rule routing to this
        new trunk_user1. After we have to add channel=SIP/trunk_user1 in extension button and... we can monitor and record remote users on the other PBX ! 😛

        P.S. I still think it's possible to filter trunk channels by called numbers. We have field 'extension' in AMI channel definition, so
        we can announce this variable and have something like Channel=SIP/trunkxxx&exten=xxx or Channel=SIP/trunkxxx||yyy where yyy dialed extension.

        P.P.S. I noticed that only one extension in all buttons can display channel=SIP/trunk_1 information. i want to say If we add record channel=SIP/trunk_1 to SIP/user1 and to SIP/user2 extensions in button.cfg file than only one extension will show status of trunk_1. Is there a possibility to see status on both extensions ?

        Best regards,
        Sergio.

        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