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. Get DID URL PopUp

Get DID URL PopUp

Scheduled Pinned Locked Moved Support
5 Posts 2 Posters 114 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
    moses
    wrote on last edited by
    #1

    Dear FOP2 Team,

    How to get DID on URL popup?

    I try url pop like this http://IP_SERVER/popup.php?phone_number=#{CLIDNUM}&cname=#{CLIDNAME}&uniqid=#{UNIQUEID}

    I try inbound call, buat i only get CLIDNUM (calling number), i need to know DID number called by our customer.

    Thanks

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

      http://support.asternic.biz/?/selfhelp/view-article/fop2-popups-and-variables/21

      1 Reply Last reply
      0
      • M
        M
        moses
        wrote on last edited by
        #3

        Hi,

        I try to add variable on manger.conf

        channelvars=FROM_DID

        In fop2 popup i can get value FROM_DID but if i try to add other

        channelvars=CODE_BOOKING i lost variable FROM_DID

        Here is my config

        [general]
        enabled = yes
        port = 5038
        bindaddr = 0.0.0.0
        displayconnects=no ;only effects 1.6+
        channelvars=FROM_DID
        channelvars=CODE_BOOKING

        extensions_override_freepbx.conf

        [dlpn-booking-code]
        exten => 1,1,Read(BOOKING_CODE,sub-menu-1-input-booking-code,8,n,20,10)
        exten => 1,n,Set(__CODE_BOOKING=${BOOKING_CODE})
        exten => 1,n,Goto(ext-queues,600,1)

        After agent receive call i only get value CODE_BOOKING

        http://myip/popup.php?from_did=#{FROM_DID}&booking_code=#{CODE_BOOKING}

        Why?

        Thanks

        1 Reply Last reply
        0
        • M
          M
          moses
          wrote on last edited by
          #4

          Hi,

          Now It working

          I set

          channelvars=FROM_DID,CODE_BOOKING

          Thanks

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

            Yep, it seems you can only have one channelvars entry with comma separated values in manager.conf

            Thanks for sharing.

            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