# Call to PSTN from Asterisk

**URL:** <https://community.asterisk.org/t/call-to-pstn-from-asterisk/15562>\
**Category:** Asterisk Support\
**Created:** [July 12, 2007, 4:21pm UTC](https://community.asterisk.org/t/call-to-pstn-from-asterisk/15562 "2007-07-12T16:21:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![naveenpalani](https://avatars.discourse-cdn.com/v4/letter/n/ecd19e/32.png) [@naveenpalani](https://community.asterisk.org/u/naveenpalani)\
**Post date:** [July 12, 2007, 4:21pm UTC](https://community.asterisk.org/t/call-to-pstn-from-asterisk/15562/1 "2007-07-12T16:21:17Z")

</div>

Im new in asterisk and i want to create dial plan for calling PSTN the detail is as under.

Asterisk : Asterisk-1.4.2  
Telephony Card: IVR Card- 4 port digium

I have installed asterisk and along with my telephony card both are working well and Iam not able to call PC to PC (SIP). But my problem is that I cannot call on PSTN.

I want know that how can I configure trunk(Dial plan) in above scenario.

You response is really encouraged me and hoping for your quick response.

---

<div class="post-metadata">

**Author:** ![tsurko](https://avatars.discourse-cdn.com/v4/letter/t/a87d85/32.png) [@tsurko](https://community.asterisk.org/u/tsurko)\
**Post date:** [July 12, 2007, 5:05pm UTC](https://community.asterisk.org/t/call-to-pstn-from-asterisk/15562/2 "2007-07-12T17:05:02Z")

</div>

If everything is setup and working properly you can use something like this:

```auto
exten 100 => Dial(zap/1/${TEL_NUMBER})
```

You may want to change exten 100 with pattern matching (for example I use \_0XXXXXXXXX for a cell operator in my country). 1 in Zap/1/… is the channel - if you’ve groups configured set them instead. (Zap/g1 for example).  
Good luck!
