I have some tenants that use a non e911 number for outbound caller ID.
What I would like to do is if these users dial 911 the system will ignore the non e911 DID and use what ever I input for it to use in the outbound emergency route.
So to better explain if tenant A has a main number that is setup with e911 service and also has 10 DIDS for each of the 10 users on the system to have there own number but these a not e911 numbers, I would like to broadcast the non e911 number until 911 is dialed and then it will broadcast the main number or whatever I put into the field to use.
Any ideas on how to get this to happen?
Thanks
clone the passthru
clone the passthru script..
add a line that sets the CALLERID(num) on your channel.. something like
Set(CALLERID(num)=${ARG9})
you'll have to make sure its the right ARG number, obviously, that matches your newly created input field.
you could either use Custom Tag as outlined in https://www.thirdlane.com/forum/custom-tag
or you could make a outbound route to to set the caller ID to the default tenant ID ${CLI} as the caller ID and set it to the emergency route
by adding to the script
exten => s,n,Set(__INCOMINGCLI=${CLI})