Play Message

Discuss any topic about Brekeke PBX.

Moderator: Brekeke Support Team

Post Reply
damatta
Posts: 227
Joined: Fri Oct 07, 2005 5:28 am
Location: Brazil

Play Message

Post by damatta »

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
Posts: 110
Joined: Wed Jul 20, 2005 7:06 pm

Post by peng »

You can do it using ARS failover.
damatta
Posts: 227
Joined: Fri Oct 07, 2005 5:28 am
Location: Brazil

Post by damatta »

how?
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by 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
Posts: 227
Joined: Fri Oct 07, 2005 5:28 am
Location: Brazil

Post by 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
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

can you post the details of your ars settings for failover?
damatta
Posts: 227
Joined: Fri Oct 07, 2005 5:28 am
Location: Brazil

Post by 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
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

at ARS, OUT-1

set
"Error codes":402
"Disable on failure": This pattern
damatta
Posts: 227
Joined: Fri Oct 07, 2005 5:28 am
Location: Brazil

Post by damatta »

Did not work... :(
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by 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
Posts: 227
Joined: Fri Oct 07, 2005 5:28 am
Location: Brazil

Post by damatta »

Working fine now. Thanks :)
damatta
Posts: 227
Joined: Fri Oct 07, 2005 5:28 am
Location: Brazil

Post by 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
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by 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
Posts: 227
Joined: Fri Oct 07, 2005 5:28 am
Location: Brazil

Post by damatta »

PBX retunrs error code 486 (Busy here) to UA and do not transfer call to user 402.
damatta
Posts: 227
Joined: Fri Oct 07, 2005 5:28 am
Location: Brazil

Post by damatta »

Is it possible to setup PBX to play a pre-recorded message every 60 sec. during a call? If so, how?
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by 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
Post Reply