Hi,
I have an Asterisk based IP PBX (FreePBX).
I need a server side script based on "Asterisk Manager Interface" in PHP, JAVA or anything else which will push open a new window {ON-CALL RING} and open the following link: [login to view URL] where XXXXXX is the DNID value {value of the number dialed by the caller}.
FreePBX setup:
Inbound Route -> Time Conditions -> Queue -> Dynamic Agents
Dynamic Agents log into the Queue to receive calls.
Please note, this will only work via AMI. DNID value is not available in SIP headers.
The first screen of the script will ask the users to enter the extension he is logged in as.
The script will then monitor AMI for the call ringing in that extension and accordingly capture the DNID value for that ring and push open a new browser and ope the url.
I hope I have been able to explain this well.
If there are any questions, please feel free to PM.
Thx
Sans