[asterisk-users] IVR problem (Trixbox)

2007-12-06 Thread Osvaldo Holanda Peixoto

I have installed the Trixbox with asterisk 1.2.24 connected to the conventional PBX through a FXO. I created a IVR where the option of number 2 allows that extension 4002(sip) either called, however this not happening when the call is originated by an analogical telephone. The call falls direct in the voicemail. I am inexperienced in asterisk and I have nor idea where is the problem.




___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] IVR problem

2006-11-03 Thread Doug Crompton
Can anyone tell me why the following code snipet does not behave the way I
would expect?

The background audio files are gsm and play fine. Here is what happens.
When the set-day-night context is called it plays the menu asking to
select 0,1, or 2. It then immediately falls through and terminates never
waiting for the selection. Doesn't the timeout function determine the
length of time it waits regardless of the actual sound file length? I have
tried lengthening the time to no avail. The line marked below waitexten
was added to make it work. It does not have the same functionality though
with this added. The code minus this line is textbook basic IVR
as far as I can tell. Comments???

Doug

[set-day-night]
exten = s,1,Answer
exten = s,2,SetMusicOnHold(default)
exten = s,3,Set(TIMEOUT(digit)=5)
exten = s,4,Set(TIMEOUT(response)=10)
exten = s,5,Background(doug/select-day-night)
exten = s,6,waitexten   added line
exten = s,7,hangup()

exten = 0,1,SetGlobalVar(day-night=0)
exten = 0,2,Playback(doug/day-night-mode-reset)
exten = 0,3,Hangup()

exten = 1,1,SetGlobalVar(day-night=1)
exten = 1,2,Playback(doug/day-mode)
exten = 1,3,Hangup()

exten = 2,1,SetGlobalVar(day-night=2)
exten = 2,2,Playback(doug/night-mode)
exten = 2,3,Hangup()

exten = t,1,Goto(#,1) ; If they take too long, give up
exten = i,1,Playback(invalid) ; That's not valid, try again
exten = i,2,Hangup()


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] IVR problem

2006-11-03 Thread Bruce Reeves
I have a similar IVR and use WaitExten(5) to give 5 seconds for the extension to be entered. I have not tried using the Timeout options so I am not sure how they should affect your dialplan.
On 11/3/06, Doug Crompton [EMAIL PROTECTED] wrote:
Can anyone tell me why the following code snipet does not behave the way Iwould expect?The background audio files are gsm and play fine. Here is what happens.When the set-day-night context is called it plays the menu asking to
select 0,1, or 2. It then immediately falls through and terminates neverwaiting for the selection. Doesn't the timeout function determine thelength of time it waits regardless of the actual sound file length? I have
tried lengthening the time to no avail. The line marked below waitextenwas added to make it work. It does not have the same functionality thoughwith this added. The code minus this line is textbook basic IVR
as far as I can tell. Comments???Doug[set-day-night]exten = s,1,Answerexten = s,2,SetMusicOnHold(default)exten = s,3,Set(TIMEOUT(digit)=5)exten = s,4,Set(TIMEOUT(response)=10)
exten = s,5,Background(doug/select-day-night)exten = s,6,waitexten added lineexten = s,7,hangup()exten = 0,1,SetGlobalVar(day-night=0)exten = 0,2,Playback(doug/day-night-mode-reset)
exten = 0,3,Hangup()exten = 1,1,SetGlobalVar(day-night=1)exten = 1,2,Playback(doug/day-mode)exten = 1,3,Hangup()exten = 2,1,SetGlobalVar(day-night=2)exten = 2,2,Playback(doug/night-mode)
exten = 2,3,Hangup()exten = t,1,Goto(#,1) ; If they take too long, give upexten = i,1,Playback(invalid) ; That's not valid, try againexten = i,2,Hangup()
___--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users-- BruceNortex Networks
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] IVR problem

2006-11-03 Thread Doug Crompton
Ok thanks... well my point was that numerous examples show NOT using
waitexten but rather just background with the appropriate timers set. So
in my example below s,6 and s,7 would be eliminated. This seems to not
work though. As soon as the backgrouond message is complete the plan exits
to nowhere rather than obey the timeout (t) plan. At least this is the way
the book says it should be.

Doug

On Fri, 3 Nov 2006, Bruce Reeves wrote:

 I have a similar IVR and use WaitExten(5) to give 5 seconds for the
 extension to be entered. I have not tried using the Timeout options so I am
 not sure how they should affect your dialplan.

 On 11/3/06, Doug Crompton [EMAIL PROTECTED] wrote:
 
  Can anyone tell me why the following code snipet does not behave the way I
  would expect?
 
  The background audio files are gsm and play fine. Here is what happens.
  When the set-day-night context is called it plays the menu asking to
  select 0,1, or 2. It then immediately falls through and terminates never
  waiting for the selection. Doesn't the timeout function determine the
  length of time it waits regardless of the actual sound file length? I have
  tried lengthening the time to no avail. The line marked below waitexten
  was added to make it work. It does not have the same functionality though
  with this added. The code minus this line is textbook basic IVR
  as far as I can tell. Comments???
 
  Doug
 
  [set-day-night]
  exten = s,1,Answer
  exten = s,2,SetMusicOnHold(default)
  exten = s,3,Set(TIMEOUT(digit)=5)
  exten = s,4,Set(TIMEOUT(response)=10)
  exten = s,5,Background(doug/select-day-night)
  exten = s,6,waitexten   added line
  exten = s,7,hangup()
 
  exten = 0,1,SetGlobalVar(day-night=0)
  exten = 0,2,Playback(doug/day-night-mode-reset)
  exten = 0,3,Hangup()
 
  exten = 1,1,SetGlobalVar(day-night=1)
  exten = 1,2,Playback(doug/day-mode)
  exten = 1,3,Hangup()
 
  exten = 2,1,SetGlobalVar(day-night=2)
  exten = 2,2,Playback(doug/night-mode)
  exten = 2,3,Hangup()
 
  exten = t,1,Goto(#,1) ; If they take too long, give up
  exten = i,1,Playback(invalid) ; That's not valid, try again
  exten = i,2,Hangup()
 
 
  ___
  --Bandwidth and Colocation provided by Easynews.com --
 
  asterisk-users mailing list
  To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users
 



 --
 Bruce
 Nortex Networks



Those that sacrifice essential liberty to obtain a little temporary safety
 deserve neither liberty nor safety.  -- Ben Franklin (1759)


*  Doug Crompton   *
*  Richboro, PA 18954  *
*  215-431-6307*
*  *
* [EMAIL PROTECTED]*
* http://www.crompton.com  *



___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] IVR problem

2006-10-17 Thread Jack Morgan
All,

I'm not able to play background files since this morning. I'm seeing this 
error message in the logs:

[Oct 17 10:23:56] WARNING[4572] file.c: File 
custom/asterisk-prospectus_IVR-main-day does not exist in any format
[Oct 17 10:23:56] WARNING[4572] file.c: Unable to open 
custom/asterisk-prospectus_IVR-main-day (format 0x4 (ulaw)): Permission 
denied
[Oct 17 10:23:56] WARNING[4572] pbx.c: ast_streamfile failed on IAX2/teliax-2 
for custom/asterisk-prospectus_IVR-main-day

I know the file is there  was working last week. I did update some files on 
the server over the weekend. I built Asterisk from  SVN-trunk-r44731. Any 
help?


Thanks,
Jack Morgan
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] IVR problem

2006-10-17 Thread Jack Morgan
On Tuesday 17 October 2006 11:12, Jack Morgan wrote:
 All,

 I'm not able to play background files since this morning. I'm seeing this
 error message in the logs:

 [Oct 17 10:23:56] WARNING[4572] file.c: File
 custom/asterisk-prospectus_IVR-main-day does not exist in any format
 [Oct 17 10:23:56] WARNING[4572] file.c: Unable to open
 custom/asterisk-prospectus_IVR-main-day (format 0x4 (ulaw)): Permission
 denied
 [Oct 17 10:23:56] WARNING[4572] pbx.c: ast_streamfile failed on
 IAX2/teliax-2 for custom/asterisk-prospectus_IVR-main-day

 I know the file is there  was working last week. I did update some files
 on the server over the weekend. I built Asterisk from  SVN-trunk-r44731.
 Any help?

Nevermind. Looks like it was a local user permission problem just like the 
error message indicated.

Thanks,
Jack Morgan
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] IVR problem

2006-10-17 Thread Conrad Wood
On Tue, 2006-10-17 at 11:12 -0700, Jack Morgan wrote:
 All,
 
 I'm not able to play background files since this morning. I'm seeing this 
 error message in the logs:
 
 [Oct 17 10:23:56] WARNING[4572] file.c: File 
 custom/asterisk-prospectus_IVR-main-day does not exist in any format
 [Oct 17 10:23:56] WARNING[4572] file.c: Unable to open 
 custom/asterisk-prospectus_IVR-main-day (format 0x4 (ulaw)): Permission 
 denied
 [Oct 17 10:23:56] WARNING[4572] pbx.c: ast_streamfile failed on IAX2/teliax-2 
 for custom/asterisk-prospectus_IVR-main-day
 
 I know the file is there  was working last week. I did update some files on 
 the server over the weekend. I built Asterisk from  SVN-trunk-r44731. Any 
 help?

Well, Permission denied does make it quite obvious ;-)
Assuming it runs on linux try 'ps axu|grep asterisk', That will list the
user id of the asterisk process, then run 
chown userid ..custom/asterisk-prospectus_IVR-main-day.*
a google for unix file permissions might help too.

Conrad


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] IVR problem from PSTN phone

2003-07-04 Thread Andrzej Radke
Hello all !

I have a problem with my IVR  with terminate connection from PSTN phone 
Here is my configuration

extension.conf
[ivri]
;exten = s,1,Wait(1)
exten = s,1,Answer
;exten = s,2,DigitTimeout(5)
;exten = s,3,ResponseTimeout(10)
exten = ivr,1,Background(demo-congrats)
exten = 1,1,MP3player,/mnt/linux/mp3/song/04.mp3
exten = 2,1,MP3player,/mnt/linux/mp3/song/02.mp3
exten = 3,1,MP3player,/mnt/linux/mp3/song/01.mp3
exten = h,1,Hangup

When I call from Internet using SIP i can chose everything what I want
but I have to press keys 1 or 2 or 3 twice for change my song
Why ?   
The termination this connection is good

When I call from PSTN I can chose everything what want but I have this 
same problem with amount pressed butons (also twice)
Addictionaly I have a problem with terminate this connection
When I hang up the port on my VoIP/Gateway (C2600 + FXO ) is still busy.

NOTICE[16398]: File rtp.c, Line 221 (process_rfc3389): RFC3389 support incomplete.  
Turn off on client if possible
NOTICE[16398]: File rtp.c, Line 221 (process_rfc3389): RFC3389 support incomplete.  
Turn off on client if possible
NOTICE[16398]: File rtp.c, Line 221 (process_rfc3389): RFC3389 support incomplete.  
Turn off on client if possible
NOTICE[16398]: File rtp.c, Line 221 (process_rfc3389): RFC3389 support incomplete.  
Turn off on client if possible
NOTICE[16398]: File rtp.c, Line 221 (process_rfc3389): RFC3389 support incomplete.  
Turn off on client if possible
-- Timeout on SIP/sips-f970
-- Executing Hangup(SIP/sips-f970, ) in new stack
  == Spawn extension (ivri, h, 1) exited non-zero on 'SIP/sips-f970'

After ca. 8 minutes his state is correct - IDLE

What can I do for terminate my connection when it is really ended ?

Greetings
Andrzej


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users