Get DID URL PopUp

  1. 8 years ago

    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

  2. admin

    4 Mar 2016 Administrator

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

  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

  4. Hi,

    Now It working

    I set

    channelvars=FROM_DID,CODE_BOOKING

    Thanks

  5. admin

    7 Apr 2016 Administrator

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

    Thanks for sharing.

or Sign Up to reply!