# Trunk registration

**URL:** <https://wazo-platform.discourse.group/t/trunk-registration/1256>\
**Category:** Installation/Configuration\
**Created:** [May 19, 2023, 10:16pm UTC](https://wazo-platform.discourse.group/t/trunk-registration/1256 "2023-05-19T22:16:42Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![bilal.muhammad](https://avatars.discourse-cdn.com/v4/letter/b/2bfe46/32.png) [@bilal.muhammad](https://wazo-platform.discourse.group/u/bilal.muhammad)\
**Post date:** [May 19, 2023, 10:16pm UTC](https://wazo-platform.discourse.group/t/trunk-registration/1256/1 "2023-05-19T22:16:42Z")

</div>

Hi everyone,  
I have been really struggling for the registration of the trunk for both IP and credential based authenticaion.  
Anyone can please share any documentation or guide to configure it.

---

<div class="post-metadata">

**Author:** ![Miker](https://avatars.discourse-cdn.com/v4/letter/m/3da27b/32.png) [@Miker](https://wazo-platform.discourse.group/u/Miker)\
**Post date:** [May 20, 2023, 8:19am UTC](https://wazo-platform.discourse.group/t/trunk-registration/1256/2 "2023-05-20T08:19:10Z")

</div>

Have a look at the link below:

> **[Interconnect a Wazo to a VoIP provider - Unified Communication Use Cases -...](https://wazo-platform.org/uc-doc/administration/interconnections/wazo_with_voip_provider/)**

---

<div class="post-metadata">

**Author:** ![bilal.muhammad](https://avatars.discourse-cdn.com/v4/letter/b/2bfe46/32.png) [@bilal.muhammad](https://wazo-platform.discourse.group/u/bilal.muhammad)\
**Post date:** [May 20, 2023, 8:45am UTC](https://wazo-platform.discourse.group/t/trunk-registration/1256/3 "2023-05-20T08:45:29Z")

</div>

That’s through the API, I need it by the WEB UI

---

<div class="post-metadata">

**Author:** ![jkyawesome](https://avatars.discourse-cdn.com/v4/letter/j/e56c9b/32.png) [@jkyawesome](https://wazo-platform.discourse.group/u/jkyawesome)\
**Post date:** [May 22, 2023, 6:46pm UTC](https://wazo-platform.discourse.group/t/trunk-registration/1256/4 "2023-05-22T18:46:02Z")

</div>

I think your problem is probably with the codec. Asterisk made a change a few versions back on the allow command and removed the disallow command.

---

<div class="post-metadata">

**Author:** ![jkyawesome](https://avatars.discourse-cdn.com/v4/letter/j/e56c9b/32.png) [@jkyawesome](https://wazo-platform.discourse.group/u/jkyawesome)\
**Post date:** [May 22, 2023, 6:49pm UTC](https://wazo-platform.discourse.group/t/trunk-registration/1256/5 "2023-05-22T18:49:16Z")

</div>

![TrunkEndpoint](https://global.discourse-cdn.com/free1/uploads/wazo_platform/original/1X/723fa824892e447a25c74da56a5a4786fcc6eefa.png)

---

<div class="post-metadata">

**Author:** ![bilal.muhammad](https://avatars.discourse-cdn.com/v4/letter/b/2bfe46/32.png) [@bilal.muhammad](https://wazo-platform.discourse.group/u/bilal.muhammad)\
**Post date:** [May 24, 2023, 12:19am UTC](https://wazo-platform.discourse.group/t/trunk-registration/1256/6 "2023-05-24T00:19:12Z")

</div>

Actually it not just the codecs, I have done the registration. The trunk is registered but still getting the following error.  
ERROR[582228]: res\_pjsip\_outbound\_authenticator\_digest.c:450 digest\_create\_request\_with\_auth: Host: ‘SERVER IP HERE:5060’: There were no auth ids available.  
and when I try to make call between 2 softphones that are registered using the lines, the call gets disconnect exaclty after 32s.  
It would be of great help if anyone can share a screenshot of the lines and the trunk configrations and I can use it according to my use.

---

<div class="post-metadata">

**Author:** ![pjo](https://avatars.discourse-cdn.com/v4/letter/p/d9b06d/32.png) [@pjo](https://wazo-platform.discourse.group/u/pjo)\
**Post date:** [May 24, 2023, 2:55pm UTC](https://wazo-platform.discourse.group/t/trunk-registration/1256/7 "2023-05-24T14:55:17Z")

</div>

Hello,

If your SIP trunk won’t REGISTER until you make an outbound call (INVITE,401,INVITE), consider using “line = yes” in your registration trunk tab.

I saw this behavior starting 22.X version (don’t remember which one)

 ![WAZO LINE](https://global.discourse-cdn.com/free1/uploads/wazo_platform/original/1X/86ebe20f2a3fb5e6d3da52868320783d64ec4d0c.png)

Wazo will send REGISTER packets with this option.

Does it solve your issue ?

---

<div class="post-metadata">

**Author:** ![jkyawesome](https://avatars.discourse-cdn.com/v4/letter/j/e56c9b/32.png) [@jkyawesome](https://wazo-platform.discourse.group/u/jkyawesome)\
**Post date:** [May 24, 2023, 4:37pm UTC](https://wazo-platform.discourse.group/t/trunk-registration/1256/8 "2023-05-24T16:37:54Z")

</div>

Here is my Screenshots this is IP authentication.

---

<div class="post-metadata">

**Author:** ![jkyawesome](https://avatars.discourse-cdn.com/v4/letter/j/e56c9b/32.png) [@jkyawesome](https://wazo-platform.discourse.group/u/jkyawesome)\
**Post date:** [May 24, 2023, 4:39pm UTC](https://wazo-platform.discourse.group/t/trunk-registration/1256/9 "2023-05-24T16:39:02Z")

</div>

![AOR](https://global.discourse-cdn.com/free1/uploads/wazo_platform/original/1X/bbc1b8fd2b5bf50b247cc39888f8cba8aa0cce02.png)  
 ![Endpoint](https://global.discourse-cdn.com/free1/uploads/wazo_platform/original/1X/2328222f4bd7f8c822888d911b296aaf3d81bb1b.png)  
 ![Identify](https://global.discourse-cdn.com/free1/uploads/wazo_platform/original/1X/18e928800fb6e186a8b691596b781727b4743c3d.png)  
 ![trunk](https://global.discourse-cdn.com/free1/uploads/wazo_platform/original/1X/27d2ebc285b6a12f7574645267a405b00fd995cc.png)

---

<div class="post-metadata">

**Author:** ![bilal.muhammad](https://avatars.discourse-cdn.com/v4/letter/b/2bfe46/32.png) [@bilal.muhammad](https://wazo-platform.discourse.group/u/bilal.muhammad)\
**Post date:** [May 25, 2023, 12:21am UTC](https://wazo-platform.discourse.group/t/trunk-registration/1256/10 "2023-05-25T00:21:14Z")

</div>

have this line = yes, actually trunk is registered but I am stuck at the problem of Everyone is busy when I try to make the call.  
let me share you the SIP traces

---

<div class="post-metadata">

**Author:** ![bilal.muhammad](https://avatars.discourse-cdn.com/v4/letter/b/2bfe46/32.png) [@bilal.muhammad](https://wazo-platform.discourse.group/u/bilal.muhammad)\
**Post date:** [May 25, 2023, 3:50am UTC](https://wazo-platform.discourse.group/t/trunk-registration/1256/11 "2023-05-25T03:50:28Z")

</div>

![image](https://global.discourse-cdn.com/free1/uploads/wazo_platform/original/1X/6618191d5c6fdfa64cd3c22964158de0ef132869.png)  
 ![image](https://global.discourse-cdn.com/free1/uploads/wazo_platform/original/1X/1c39893d9060eeeac61bb1a660eeb8b63dec2ed2.png)  
 ![image](https://global.discourse-cdn.com/free1/uploads/wazo_platform/original/1X/fb5f0f703720aa307b029f3102c21b7bfc93734a.png)  
 ![image](https://global.discourse-cdn.com/free1/uploads/wazo_platform/original/1X/62c143ae7dc92b4cf13fa3a9ba98b36f9d721022.png)  
 ![image](https://global.discourse-cdn.com/free1/uploads/wazo_platform/original/1X/6223cce38c291e44b1a8d1b76d353371b1458678.png)  
 ![image](https://global.discourse-cdn.com/free1/uploads/wazo_platform/original/1X/6c38b8ac65ff1608faae84df4df747278a400def.png)

I have created 2 users and their lines, and trying to register them on two softphones and trying to call. the call is coming fine but just without the voice.  
can anyone please help in debugging it, SIP traces and configurations are attached

---

<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:** [May 25, 2023, 11:40pm UTC](https://wazo-platform.discourse.group/t/trunk-registration/1256/12 "2023-05-25T23:40:47Z")

</div>

In your SDP, the IP address is private, so if your are natted you need to configure correctly the Nat. Please check out documentation for the Nat.

---

<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:** [May 25, 2023, 11:45pm UTC](https://wazo-platform.discourse.group/t/trunk-registration/1256/13 "2023-05-25T23:45:05Z")

</div>

I don’t see any information for your outgoing call. Line = yes is actually for multi-tenant in general for wazo, it just permit to have a line id in the registration to permit to find the good information of the invite from your sip provider. It’s not always supported.  
Have you created the rules for an outgoing calls via your sip provider?

---

<div class="post-metadata">

**Author:** ![bilal.muhammad](https://avatars.discourse-cdn.com/v4/letter/b/2bfe46/32.png) [@bilal.muhammad](https://wazo-platform.discourse.group/u/bilal.muhammad)\
**Post date:** [May 29, 2023, 2:36am UTC](https://wazo-platform.discourse.group/t/trunk-registration/1256/14 "2023-05-29T02:36:54Z")

</div>

Finally got the issue sorted, both outbound and inbound is working fine. Thank you so much for the support.
