Hello. I am very new to asterisk and could use some help.
I have 13 different locations, all spreed out across town…some in neighboring towns.
I have a single asterisk server and single truck provider located at our main office that servers them all.
There is not extension standard or pattern. users will regularly move offices, taking their phone/extension with them.
This is causing a big headache when 911 has been dialed, as the call is being routed to the wrong 911 office.
I can designate a cid for each location with the provider, so no problem there. I think the most consistent way to address this would be by the end points IP address. It looks like
res_pjsip_endpoint_identifier_ip will get me the IP.
My problem is that I have no idea how to use it nor change the CID based on the IP when 911 is called.
Any help would greatly be appreciated.