Send fxs calls to voicemail in case of no answer or busy tone

Unanswered Question
May 26th, 2009

Hi Pros,

Can I set how many time a phone connected to a fxs has to ring?

I am trying to forward this number to a voicemail server. Eventhough I have a dial-peer to forward the call,but the FXS keeps ring.

For example, I want to forward the call to voicemail after 5 rings.

1. Have the remote router which the fxs card. Set the number on the port and a Dial-peer to send the call to the voice gw.

2. Voice gateway with 2 dial-peer with different preference number.First dial-peer send call to the remote router(lower preference number).Second dial-peer with higher pref number send the calls to the voicemail server.

My questions: How can I instruct the fxs card to send the call to voicemail?

There are the dial-peers

1.voice gw


dial-peer voice 2013 voip

preference 1

destination-pattern 6046779391

session target ipv4:x.x.x(remote ID)

dtmf-relay h245-signal

ip qos dscp cs5 media

no vad



dial-peer voice 20131 voip

preference 2

destination-pattern 6046779391

progress_ind setup enable 3

translate-outgoing calling 12

no translate-outgoing called 11

voice-class codec 2

session protocol sipv2

session target ipv4:x.x(voice server IP)

dtmf-relay rtp-nte

playout-delay nominal 250

playout-delay mode fixed

ip qos dscp cs5 media

no vad

Remote router dial-peer

dial-peer voice 700 voip

preference 9

destination-pattern 6046779391

translate-outgoing calling 2

translate-outgoing called 2

session target ipv4:x(Voice gw IP)

dtmf-relay cisco-rtp

ip qos dscp cs5 media

no vad


dial-peer voice 304 pots

max-conn 1

destination-pattern 604677

port 0/2/0


Hope i have enough info,

Thanks in advance,


I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Paolo Bevilacqua Tue, 05/26/2009 - 07:25

For this, configure CME and FXS port in SCCP mode. You will have an ephone-dn on which confgure call-forward.

CrazyDonJuan Tue, 05/26/2009 - 08:10

There is no ccm involve, it is just a PRI and remote with a fxs port.


Paolo Bevilacqua Tue, 05/26/2009 - 08:16

CME is not CCM.

CME is something you configure on the remote and let you have the call-forwarding that you require. It is not possible to do it without, exception perhaps a custom TCL/IVR script.

CrazyDonJuan Tue, 05/26/2009 - 08:22

Sorry, I bet!Is there a way that i can make this simple, just by configure a max ring in the PRI dial-peer?


CrazyDonJuan Wed, 05/27/2009 - 06:53

This issue has been solved, I just needed to set timeouts rings 30 in the remote fxs ports and set max-connect to 1 in the first dial-peer in the GW side.

Thank you all for your help, I really appreciate it.



This Discussion