[Asterisk-Users] Sipura SPA-3000 and PSTN dtmf

Nilesh Londhe lvnilesh at gmail.com
Wed Mar 1 14:42:13 MST 2006


I resolved DTMF problems with my SPA-3000 connected to * by doing the following:

My setup:

spa3000 fxo port connected to PSTN
spa3000 fxs port connected to analog phone in home (all are extension 1000)
spa3000 rj45 port connected to home lan where * is also connected.

After learning from nerd vittles, I have defined three extensions for
this setup.
I also have defined a trunk to deal with the PSTN connected to spa3000

On spa3000, my settings for DTMF for the trunk:
PSTN line DTMF Tx = Auto
On *, my settings for DTMD for the trunk is rfc2833

On spa300, my settings for DTMF for line 1
Line 1 = INFO
On *, my settings for DTMF for extensions 99, 199, 1000
DTMFmode = info

DTMF is working fine for me with these settings.


On 3/1/06, Arsen Chaloyan <achaloyan at yahoo.com> wrote:
> Vahan,
>
> see my comments below.
>
> >Greetings,
> >
> >What is the recommended settings for using SPA-3000's
> >FXO port for
> >dialing out to PSTN in regard of the DTMF?
> >
> >The voip lan contains SPA-2100 and SPA-3000, with all
> >fxs/fxo ports
> >registered to the Asterisk box with unique
> >username/passwords.
>
> >The inbound PSTN DTMF works excellently, e.g. people
> >calling from PSTN
> >into the * box are able to pick IVR items with DTMF
> >reliably.
> exactly!
>
> >
> >The problem manifests itself when you attempt to
> place >a call via
> >SPA-3000's FXO into PSTN to a different IVR system
> and >try to navigate
> >its menu. Audibly, the other end hears very short
> DTMF >bursts with short
> >silence afterwards, as like SPA-3000 detects a DTMF,
> >mutes it and sends
> >rfc2833 or whatever. Obviously, the burst is short
> >enough to be ignored
> >by the remote IVR system (similar Asterisk/SPA-3000
> >setup).
> Actually SPA-3000 should receive rfc2833 DTMF events
> from IP side and put inband DTMFs instead to PSTN
> side.
>
> SPA-3000 fails to correctly detect rfc2833 events,
> which poorly constructed by asterisk.
>
> So asterisk isn't fully compliant to rfc2833, from the
> other hand other VoIP gateways (but not SPA-3000)
> manage to detect rfc2833 DTMFs from asterisk.
>
> SPA-3000 serves well in this scenario if source of RTP
> stream is another VoIP device or phone (cisco, snom,
> aastra...), not asterisk itself.
>
> Here come the solution:
> try to exclude asterisk from media path
> canreinvite=yes
>
> [111]
> ;SPA-3000 FXO port
> type=friend
> username=111
> secret=xxx
> host=dynamic
> canreinvite=yes
> dtmfmode=rfc2833
>
> This is the only way I manage to setup
> asterisk/SPA-3000 in described scenario.
>
> Hope this will help,
> Arsen.
>
> >
> >The relevant settings in the SPA-3000/2100 config for
> >DTMF are set to
> >'Auto' setting.
> >
> >The relevant lines in sip.conf:
> >
> >;-------
> >[general]
> >;irrelevant lines removed
> >dtmfmode=rfc2833
> >disallow=all
> >allow=alaw
> >allow=ulaw
> >allow=g729
> >
> >[111]
> >;SPA-3000 FXO port
> >type=friend
> >username=111
> >secret=xxx
> >host=dynamic
> >
> >[112]
> >;SPA-3000 FXS port
> >type=friend
> >username=112
> >secret=xxx
> >host=dynamic
> >
> >[113]
> >;SPA-2100 FXS1 port
> >type=friend
> >username=115
> >secret=xxx
> >host=dynamic
> >
> >[114]
> >;SPA-3000 FXS2 port
> >type=friend
> >username=114
> >secret=xxx
> >host=dynamic
> >;-------
> >
> >
> >Should I instead split the SPA-3000's FXO entry into
> a >type=user and
> >type=peer entries with the first having
> >dtmfmode=rfc2833 and second
> >dtmfmode=inband?
> >
> >Which is the proper way of sending inband dtmf over
> >g711 into the PSTN?
> >
> >
> >Awaiting assistance and thanks for your time,
> >Vahan
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.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
>



More information about the asterisk-users mailing list