dial-peer

Dial peer selection

Monday, March 1st, 2010 | CCIE, cvoice | No Comments

Sometimes there is a need to configure more complicated configuration for incoming or outgouing calls. It’s good to remember what is an order of dial-peer’s selection by matching epcific elements. So it selects as below:

1. incoming called-address

2. answer-address

3. destination-pattern

4. voice-port

In the case of some issues start debug remembering that it is enough for gateway to match one of those elements.

Tags: , ,

Incoming Fax

Thursday, December 3rd, 2009 | CCIE, fax | No Comments

I checked how that works. For now only infoming faxes. Looks fine, except one disadvantage – e-mailing fax as tiff is not got option it is always a low quality.

!
fax receive called-subscriber $d$
fax interface-type fax-mail
mta send server 10.20.30.40 port 25
mta send subject UCC FAX from router -
mta send with-subject both
mta send filename fax_to_mail
mta send postmaster fax@dot.com
!
application
service onramp flash:app_faxmail_onramp.2.0.1.3.tcl
!
dial-peer voice 31 mmoip
service fax_on_vfc_onramp_app out-bound
destination-pattern 652
information-type fax
session target cto@dot.com
image encoding MMR
image resolution fine
!
dial-peer voice 32 pots
service onramp
incoming called-number 339657852
direct-inward-dial
port 0/0/0:15
!

Tags: , , , ,