Send call from fxs to voicemail server if no one picks up

Unanswered Question
May 25th, 2009
User Badges:

Hi Pros,

How Can I set the numebr of rings a phone connected to a fxs has to ring before I send the call to a voicemail server?

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

a)

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

!

b)

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

!

Think the first DP in the voice getway should something to tell it send the call to the next dial-peer after a number of ring.

Hope i have enough info,

Thanks in advance,

Crazy


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Dennis Mink Fri, 05/29/2009 - 08:22
User Badges:
  • Blue, 1500 points or more

I assume you want to try this for 6046779391


the config you added above will not work as you have two exact matches (same pattern in dial peers 2013 and 20131) becuase the dial peer 20131 has a higher preference it will never be hit as long as 2013 is available.


exatly what is the session target in 2013 a pbx? call manager?


if it is call manager, use MGCP for your FXS port and send it to voice mail from there



Actions

This Discussion