Get DID URL PopUp
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
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
Comments
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
Now It working
I set
channelvars=FROM_DID,CODE_BOOKING
Thanks
Thanks for sharing.