Adding Custom Geolocation: in SIP INVITE for Telnyx dynamic 911

This is a must required feature to add custom Geolocation value in SIP invite when 911 or any emergency call is dialed. This way we can create address in Telnyx and send direct extension location example floor and Room number etc..

It should be very easy same as current how P-Asserted-Identity is being already inserted in emergency call invite add another option to set the Geolocation value in Emergency CID next to name and number so all three will be in the Invite when emergency call is dialed!

Telnyx dynamic 911 document the invite packet they are expecting: Telnyx

Consider using the sip_from_id as the Caller ID number. According to the Telnyx documentation you provided, this will enable the use of an Emergency Location configured on Telnyx.

Thanks Miguel, appreciate the quick response.

Per the Telnyx docs, Dynamic E911 expects both P-Asserted-Identity (with sip_from_id) AND a Geolocation header in the INVITE. The current VitalPBX INVITE has P-Asserted-Identity and From, but no Geolocation.

I’ll create a Dynamic Emergency Address/Endpoint in Telnyx, put the sip_from_id in the Emergency CID Number field, dial 933, If it works with just sip_from_id, great. If not, the feature request stands — adding a Geolocation field next to Emergency CID Name/Number would make VitalPBX fully compatible with Telnyx Dynamic E911.

For the Geolocation header, you must add a custom header on your Trunk. However, it will always send the header even for regular calls.

INVITE sip:[email protected] SIP/2.0
From: <sip:{sip_from_id}@origin.example.com>
To: <sip:[email protected]>
Geolocation: {sip_geolocation_id}

Yes correct I generated the address on the Telnyx side tried with only sip_from_id and it didn’t work in telnyx, It gave rejection.

I did check with Telnyx support is dose need both generated values in invite packet: sip_from_id or P-Asserted-Identity and Geolocation

so is there a way to set Geolocation value for each extension and that will be sent in invite packet ?

I cannot set Geolocation in the trunk as this is a multitenant PBX plus for each extension will have their own sip_from_id and sip_geolocation_id generated on telnyx side. So need a way to set the Geolocation similar to what is already there for sip_from_id and P-Asserted-Identity.

Just need to add a option to statically set the Geolocation value in Emergency CID next to name and number and needs to be sent in invite when emergency number is dialed.

This will help in compliance with RAY BAUM’S Act when using Telnyx as Trunk provider in VitalPBX.

1 Like

I’m following this as we provide multi-tenant services as well and would like to know the complete step-by-step process your end up using when your testing is successful. Thank you.