05-26-2009 06:14 AM - edited 03-15-2019 06:12 PM
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
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
!
Hope i have enough info,
Thanks in advance,
Crazy
05-26-2009 07:25 AM
For this, configure CME and FXS port in SCCP mode. You will have an ephone-dn on which confgure call-forward.
05-26-2009 08:10 AM
There is no ccm involve, it is just a PRI and remote with a fxs port.
Thanks
05-26-2009 08:16 AM
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.
05-26-2009 08:22 AM
Sorry, I bet!Is there a way that i can make this simple, just by configure a max ring in the PRI dial-peer?
Crazy
05-26-2009 08:23 AM
You can bet as you like, there is no call-forward capability in standard dial-peers.
05-27-2009 06:53 AM
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.
Crazy
06-15-2021 10:35 AM
So I have some interest in your solution.
1)Are you taking trying to configure an inbound call from FXO terminating to an FXS port, redirecting to a SIP destination after a certain number of rings?
2)And if you have already made this work, can you label your config as I cant quite figure out what you are doing from what you posted before.
The only way I can think of doing this is to have a hunt group configured with an ephone & fxs port, and having that ring through to voicemail on a fast busy no answer. But I think if you have plar engaged on the fxo side then you essentially have a supervised call.
06-15-2021 12:15 PM
I actually solved this one....
1) you simply have to load plar on the FX0 inbound port, and reroute to either a dn (extension) or a third party sip trunk(ie a dial peer).
2) once the ephone extension rings, then you can busy no answer forward.
3) or you can hard forward to a voice mail system.
Code:
voice-port 0/2/3 (an FXO port)
connection plar 00001 (this has sccp take control of the inbound call and forward to an extension)
caller-id enable
!
06-15-2021 12:16 PM
Otherwise you need an ATA... which is a preferred solution actually, as its actually an voip extension, which just happens to ring an analog port.
06-15-2021 12:18 PM
But I suppose you could have a plar transfer to an ephone, and then after three rings or something then roll to voice mail...which is easy enough done. But it had nothing to do with what you wrote up above unfortunately.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide