# Web GUI : Adding trunks with inbound and outbound routes

**URL:** https://wazo-platform.discourse.group/t/web-gui-adding-trunks-with-inbound-and-outbound-routes/125
**Category:** Installation/Configuration
**Created:** [January 3, 2020, 12:09am UTC](https://wazo-platform.discourse.group/t/web-gui-adding-trunks-with-inbound-and-outbound-routes/125 "2020-01-03T00:09:47Z")
**Posts on this page:** 1
**Showing post:** 9

<div class="post-metadata">

### Author: ![Ramblin](https://yyz2.discourse-cdn.com/free1/user_avatar/wazo-platform.discourse.group/ramblin/32/34_2.png) [@Ramblin](https://wazo-platform.discourse.group/u/Ramblin)
#### Post date: [January 13, 2020, 3:03pm UTC](https://wazo-platform.discourse.group/t/web-gui-adding-trunks-with-inbound-and-outbound-routes/125/9 "2020-01-13T15:03:46Z")

</div>

I am coming to the conclusion that it might be a NAT issue but would sure appreciate some guidance.

When I activate

> asterisk -r

and call out, at the end of the output are the lines

> ```
> [Jan 13 09:53:05] > 0x7fa91c007a40 -- Strict RTP learning after remote address set > to: 192.168.1.149:40006
> [Jan 13 09:53:05] > 0x7fa91c007a40 -- Strict RTP switching to RTP target address 192.168.1.149:40006 as source
> 
> ```

Two things seem wrong with this

1. I think the IP address should be my public ip address, not my LAN IP address
2. I think I need rtp\_symmetric , not rtpstrict but the system keeps activating rtp strict.

I am also somewhat confused with the entries in SIP General settings. When I look at  
[https://wiki.asterisk.org/wiki/display/AST/Migrating+from+chan\_sip+to+res\_pjsip](https://wiki.asterisk.org/wiki/display/AST/Migrating+from+chan_sip+to+res_pjsip)  
the instructions for how to configure pjsip instead of chan\_sip say for nat declarations, we no longer use

> nat= no or nat = force\_rport,comedia or nat= auto\_force\_rport

but instead now use a combination of these three settings to properly setup nat

> force\_rport: yes  
> rewrite\_contact: yes  
> rtp\_symmetric: yes

but I see in SIP General Settings that we have

> nat = auto\_force\_rport

So I am now not sure what conventions / protocols I should be using for my configuration settings.

I have a nat behind a static IP for my server.

I think i need to stop using rtpstrict.

I think I need to use pjsip configuration options.

But I need help figuring out what to do.

Any ideas?

---

_[View the full topic](https://wazo-platform.discourse.group/t/web-gui-adding-trunks-with-inbound-and-outbound-routes/125)._
