# Asterisk and Cisco Router FXO Incoming Call

**URL:** <https://forum.networklessons.com/t/asterisk-and-cisco-router-fxo-incoming-call/1048>\
**Category:** Lessons Discussion\
**Created:** [December 26, 2016, 6:55pm UTC](https://forum.networklessons.com/t/asterisk-and-cisco-router-fxo-incoming-call/1048 "2016-12-26T18:55:37Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![ReneMolenaar](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/renemolenaar/32/488_2.png) [@ReneMolenaar](https://forum.networklessons.com/u/ReneMolenaar)\
**Post date:** [May 1, 2014, 12:10pm UTC](https://forum.networklessons.com/t/asterisk-and-cisco-router-fxo-incoming-call/1048/8 "2014-05-01T12:10:54Z")

</div>

Hello Jorge,

You can use a Cisco access-list for this. By default Asterisk uses SIP on port 5060 and I believe UDP port 10000 - 20000 for RTP traffic. An access-list outbound to the Asterisk server could look something like this:

```auto
Router(config)#ip access-list extended ASTERISK
Router(config-ext-nacl)#permit udp 192&#046;168&#046;1&#046;0 0&#046;0&#046;0&#046;255 host 192&#046;168&#046;2&#046;1 eq 5060
Router(config-ext-nacl)#permit udp 192&#046;168&#046;1&#046;0 0&#046;0&#046;0&#046;255 host 192&#046;168&#046;2&#046;1 range 10000 20000

```

In this example, 192.168.1.0/24 could be the subnet where your SIP phones are located and 192.168.2.1 would be the IP address of the Asterisk server. It’s a simple example but it should help to get you going.

Rene

---

_[View the full topic](https://forum.networklessons.com/t/asterisk-and-cisco-router-fxo-incoming-call/1048)._
