[asterisk-users] Problem with Asterisk and SPA-3000

2009-12-09 Thread Ivan Stepaniuk
Hello everybody,

I have a very strange issue with a Linksys SPA-3000 (1 fxo + 1 fxs) used
as PSTN gateway to asterisk in a small office. Everything works just
fine, except that sometimes, and it seems that only for long incoming
calls, the IVR menu appears on the middle of the call(like a three way
call, call goes on with prompts playing over the parties). Dialing an
extension at the prompt at that time actually works but disconnects the
original extension (and transfers the PSTN leg to the new extension as
normally).

At the CLI there is nothing but a new incoming call from the SPA,
exactly as the original call.

It seems to happen with both asterisk 1.2 and 1.4, I am quite lost, Does
anyone know what could be causing this problem?


-- 
Iván Stepaniuk
Alba Fotónica S.L.
www.albafotonica.com


___
-- 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


Re: [asterisk-users] Problem with Asterisk and SPA-3000

2009-12-09 Thread Andrew Hakman
The SPA-3000 is notorious for falsely detecting DTMF tones in regular
voice, and when it thinks it hears DTMF, it will produce a short
real DTMF tone that's only audible to the SIP side of the device, not
the PSTN side, or out of band SIP DTMF message (dependent on how you
have the device setup). I'm guessing you have your IVR setup so that a
single keypress triggers it, and the SPA-3000 thinks it hears that
key. I would suggest to not have any single key start your IVR, as the
SPA-3000 only ever seems to incorrectly detect and generate one DTMF
tone at a time (it never generates a sequence, just one random key's
worth of DTMF).

Hope this helps,
Andrew

On Wed, Dec 9, 2009 at 7:35 AM, Ivan Stepaniuk i...@albafotonica.com wrote:
 Hello everybody,

 I have a very strange issue with a Linksys SPA-3000 (1 fxo + 1 fxs) used
 as PSTN gateway to asterisk in a small office. Everything works just
 fine, except that sometimes, and it seems that only for long incoming
 calls, the IVR menu appears on the middle of the call(like a three way
 call, call goes on with prompts playing over the parties). Dialing an
 extension at the prompt at that time actually works but disconnects the
 original extension (and transfers the PSTN leg to the new extension as
 normally).

 At the CLI there is nothing but a new incoming call from the SPA,
 exactly as the original call.

 It seems to happen with both asterisk 1.2 and 1.4, I am quite lost, Does
 anyone know what could be causing this problem?


 --
 Iván Stepaniuk
 Alba Fotónica S.L.
 www.albafotonica.com


 ___
 -- 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


___
-- 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


Re: [asterisk-users] Problem with Asterisk and SPA-3000

2009-12-09 Thread Ivan Stepaniuk
Andrew Hakman wrote:
 The SPA-3000 is notorious for falsely detecting DTMF tones in regular
 voice, and when it thinks it hears DTMF...
Thanks Andrew. This is true, we do have false DTMF detections/playback 
(Lowering RX gain really helps on this). However this does not seem to 
be related. The only way to get to the IVR is through the 's' extension 
on the context in which the SPA is registered. The SPA has a built-in 
dialplan that is set to something like (S0:s). Asterisk context 
shows is the following:

[sip_pstn_linksys]
exten = s,1,NoOp(Caller-ID-number: ${CALLERID(number)})
exten = s,n,NoOp(Caller-ID-name:   ${CALLERID(number)})
exten = s,n,Set(CALLERID(name)=Externa SPA PSTN)
exten = s,n,GotoIf($[${CALLERID(num)} = pstn1]?private,1)
exten = s,n,Goto(menu,s,1)

exten = private,1,Set(CALLERID(number)=Privado)
exten = private,n,Goto(menu,s,1)


-- 
Iván Stepaniuk
Alba Fotónica S. L.
www.albafotonica.com


___
-- 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