# Add Emergency Caller ID and Emergency Call Name to Wazo-ui user

**URL:** <https://wazo-platform.discourse.group/t/add-emergency-caller-id-and-emergency-call-name-to-wazo-ui-user/352>\
**Category:** Installation/Configuration\
**Created:** [April 24, 2020, 10:26pm UTC](https://wazo-platform.discourse.group/t/add-emergency-caller-id-and-emergency-call-name-to-wazo-ui-user/352 "2020-04-24T22:26:08Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![quintana](https://yyz2.discourse-cdn.com/free1/user_avatar/wazo-platform.discourse.group/quintana/32/916_2.png) [@quintana](https://wazo-platform.discourse.group/u/quintana)\
**Post date:** [March 30, 2021, 5:25pm UTC](https://wazo-platform.discourse.group/t/add-emergency-caller-id-and-emergency-call-name-to-wazo-ui-user/352/14 "2021-03-30T17:25:34Z")

</div>

Hello,

My proposal to solve your issue is based on two parts.

1/ Add on your user line on wazo-ui two variables:

 ![Screen Shot 2021-03-30 at 1.24.10 PM](https://global.discourse-cdn.com/free1/uploads/wazo_platform/original/1X/dde7c527e27eeb2c83a149b2e1f19e117ad4e960.png)

2/ Add a dialplan subroutine like this:

```
[xivo-subrgbl-outcall]
exten = s,1,NoOp(This is an example for all my outcalls)
same = n,GotoIf($[${XIVO_DSTNUM} == 911]?:return)
same = n,Set(CALLERID(num)=${EMERGENCY_NUMBER})
same = n,Set(_EMERGENCY_ROOM=${EMERGENCY_ROOM})
same = n,GoSub(wazo-add-pre-dial-hook,s,1(ng911))
same = n(return),Return()

[ng911]
exten = s,1,NoOp(Set ng911)
same = n,Set(PJSIP_HEADER(add,X-ng911)=${EMERGENCY_ROOM})
same = n,Return()
```

---

_[View the full topic](https://wazo-platform.discourse.group/t/add-emergency-caller-id-and-emergency-call-name-to-wazo-ui-user/352)._
