Forums Read-only archive

Play Message

16 posts · Brekeke PBX Forum

damatta Original post
1. Brekeke Product Name and version: Brekeke SIP Server , Version 2.1.6.6 Pro

2. Java version: 1.5.0_14

3. OS type and the version: Windows 2003 Std

4. UA (phone), gateway or other hardware/software involved: Grandstream HT-486

5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html : 9

6. Your problem: Is it possible to play a IVR message like ' you ran out of funds' when ITSP returns error code 402?
peng
You can do it using ARS failover.
damatta
how?
hope
1. go to the ITSP ARS "Pattern OUT" where you want to check code 402, at lower part of that pattern set
"Next route on failure": yes
"Error codes":402
"Disable on failure": This pattern
2. Create another "Pattern OUT" under the same ITSP, set
"Priorities": 101 or the a number bigger than the above pattern OUT to get lower priority
" matching patterns: To": set the same thing as the above pattern OUT in the same place, default is "sip:9(.+)@"
"Deploy patterns: To": ivr+userid(where you put the message"you ran out of funds")
3. save the change
damatta
There is an issue on SIP messages since ITSP returns error code 402 and PBX sends error code 404 (not found) and ARS rule is not succeded.
hope
can you post the details of your ars settings for failover?
damatta
OUT-1 (Priorities:99)

<Matching patterns>

To: sip:0(.+)@

<Deploy patterns>

From: "&v1"<sip:&v1@sip.proxy.net>

To: sip:0$1@sip.proxy.net

OUT-2 (Priorities:100)

<Matching patterns>

To: sip:0(.+)@

<Deploy patterns>

To: 402

P.S.: '402' is a PBX user with the 'out-of-funds' voicemail msg.
hope
at ARS, OUT-1

set
"Error codes":402
"Disable on failure": This pattern
damatta
Did not work... :(
hope
OUT-1 (Priorities:99)

<Matching patterns>
To: sip:0(.+)@

<Deploy patterns>
From: "&v1"<sip:&v1@sip.proxy.net>
To: sip:0$1@sip.proxy.net

<Parameters>
Next route on failure: yes
Error codes:402
Disable on failure: This pattern

------------------------------------------------
OUT-2 (Priorities:100)

<Matching patterns>
To: sip:0(.+)@

<Deploy patterns>
To: 1234 // '1234' is not an existing number at pbx or sip server

--------------------------------------------------
go to SIP server side and make a dialplan like below

<Matching patterns>
$request=^INVITE
To=sip:1234@

<Deploy patterns>
To=sip:402@localhost:15060
P.S.: '402' is a PBX user with the 'out-of-funds' voicemail msg.
damatta
Working fine now. Thanks :)
damatta
What about every call that begings with ZERO gets that 'out-of-funds' voice message? I already tried your last OUT-2 ARS with no success...
hope
Did you change the pbx user 402's greeting message?

upload the nofund sound file to 402 Voicemail personal greeting from "Voice prompt"
then at user 402 page, change greeting message to "personal greeting"
damatta
PBX retunrs error code 486 (Busy here) to UA and do not transfer call to user 402.
damatta
Is it possible to setup PBX to play a pre-recorded message every 60 sec. during a call? If so, how?
hope
try with dialplan
<Matching patterns>
$request=^INVITE
To=sip:0(.+)@

<Deploy patterns>
To=sip:402@localhost:15060
Is it possible to setup PBX to play a pre-recorded message every 60 sec. during a call? If so, how?
seems no such feature