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

Vahan Yerkanian vahan at arminco.com
Wed Mar 1 09:59:22 MST 2006


Adding to what I already said, just tested that Asterisk indeed doesn't 
translate between inband and rfc2833, here is the setup:

Analog phone<->SPA-3000fxs(g729,rfc2833 friend in sip.conf)<-Asterisk->
<->anotherSPA-3000fxo(g711alaw,inband friend in sip.conf)<->PSTN

Calling from PSTN, and into the FXS port's extension:

a.b.c.d   54321       74acc9957be  00102/00000  g729  No       Tx: ACK
e.f.g.h   123456789   f10b0644-47  00102/00149  alaw  No       Tx: ACK

DTMF sounds get muted within 20-50ms and what is left is high-pitch 
burst. At the same time, DTMFs from FXS extension sounds same, but generate

Mar  1 20:44:56 NOTICE[38801]: rtp.c:565 ast_rtp_read: Unknown RTP codec 
101 received
Mar  1 20:44:56 NOTICE[38801]: rtp.c:565 ast_rtp_read: Unknown RTP codec 
101 received
Mar  1 20:44:56 NOTICE[38801]: rtp.c:565 ast_rtp_read: Unknown RTP codec 
101 received
Mar  1 20:44:56 NOTICE[38801]: rtp.c:565 ast_rtp_read: Unknown RTP codec 
101 received
Mar  1 20:44:56 NOTICE[38801]: rtp.c:565 ast_rtp_read: Unknown RTP codec 
101 received
Mar  1 20:44:57 NOTICE[38801]: rtp.c:565 ast_rtp_read: Unknown RTP codec 
101 received
Mar  1 20:44:57 NOTICE[38801]: rtp.c:565 ast_rtp_read: Unknown RTP codec 
101 received
Mar  1 20:44:57 NOTICE[38801]: rtp.c:565 ast_rtp_read: Unknown RTP codec 
101 received
Mar  1 20:44:57 NOTICE[38801]: rtp.c:565 ast_rtp_read: Unknown RTP codec 
101 received
Mar  1 20:44:57 NOTICE[38801]: rtp.c:565 ast_rtp_read: Unknown RTP codec 
101 received
Mar  1 20:44:57 NOTICE[38801]: rtp.c:565 ast_rtp_read: Unknown RTP codec 
101 received
Mar  1 20:44:57 NOTICE[38801]: rtp.c:565 ast_rtp_read: Unknown RTP codec 
101 received

Resume: while all-g711/inband and all-g729/rfc2833 setups work 
flawlessly, mixed setups are broken. It's not a Sipura issue too, as 
adding canreinvite=yes makes the devices communicate correctly. Same 
thing with other FXO gateways.

:S

sip.conf:

[54321]
username=54321
secret=xxxxxxx
dtmfmode=rfc2833
disallow=all
allow=g729
host=dynamic
type=friend

[spafxo#]
username=theusername
secret=xxxxxxx
dtmfmode=inband
disallow=all
allow=alaw
allow=ulaw
host=dynamic
type=friend

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vahan.vcf
Type: text/x-vcard
Size: 287 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20060301/deaa2a26/vahan.vcf


More information about the asterisk-users mailing list