dtmf codes dont pass PSTN SIP

Jack

Joined
Mar 10, 2009
Messages
24
Likes
0
Points
0
#1
My Elastix box (ver 1.3-2) is connected to E1 trunk of PBX via Cisco 3810. PBX terminates SIP calls into PSTN. I created a SIP trunk, which works fine. The problem is - when connection installed, conversation is ok, but I cant pass dtmf codes to and from PSTN <-> SIP, so I cant retrieve *'s voicemail from external phone. Log says

No path to translate from SIP/m200-09e2d230(256) to SIP/8256-09e2ec80(4)
Unable to find a codec translation path from 0x4 (ulaw) to 0x100 (g729)


show translation gives:

g723 gsm ulaw alaw g726aal2 adpcm slin lpc10 g729 speex ilbc g726 g722
g723 - - - - - - - - - - - - -
gsm - - 9 9 10 9 8 10 - 24 - 10 -
ulaw - 4 - 1 3 2 1 3 - 17 - 3 -
alaw - 4 1 - 3 2 1 3 - 17 - 3 -
g726aal2 - 5 3 3 - 3 2 4 - 18 - 1 -
adpcm - 4 2 2 3 - 1 3 - 17 - 3 -
slin - 3 1 1 2 1 - 2 - 16 - 2 -
lpc10 - 5 3 3 4 3 2 - - 18 - 4 -
g729 - - - - - - - - - - - - -
speex - 5 3 3 4 3 2 4 - - - 4 -
ilbc - - - - - - - - - - - - -
g726 - 4 2 2 1 2 1 3 - 17 - - -
g722 - - - - - - - - - - - - -

how can i fix it? Thanks
 

bucasia

Joined
Feb 15, 2009
Messages
36
Likes
0
Points
0
#2
I'm not sure the codec translation is anything to do with the dtmf not being recognised. By default asterisk will only do g729 passthru, not translation (to ulaw etc).

If it is just the dtmf codes not being recognised you can change the dtmf method on the trunk/extension - see here for details

Matt
 

ramoncio

Joined
May 12, 2010
Messages
1,663
Likes
0
Points
0
#3
You need to install the g729 codecs.

Code:
wget http://asterisk.hosting.lv/bin/codec_g723-ast14-icc-glibc-pentium4.so
mv codec_g723-ast14-icc-glibc-pentium4.so /usr/lib/asterisk/modules
chmod +x /usr/lib/asterisk/modules/codec_g723-ast14-icc-glibc-pentium4.so
wget http://asterisk.hosting.lv/bin/codec_g729-ast14-icc-glibc-pentium4.so
mv codec_g729-ast14-icc-glibc-pentium4.so /usr/lib/asterisk/modules
chmod +x /usr/lib/asterisk/modules/codec_g729-ast14-icc-glibc-pentium4.so
asterisk -rx "module load codec_g729-ast14-icc-glibc-pentium4.so"
asterisk -rx "module load codec_g723-ast14-icc-glibc-pentium4.so"
service asterisk restart
sleep 2
asterisk -rx "core show codecs"
 

ramoncio

Joined
May 12, 2010
Messages
1,663
Likes
0
Points
0
#4
And you will also need to use a different DTMF mode. Try with rfc2833.
Usually with compressed codes the inband mode does not work.
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,913
Messages
130,917
Members
17,589
Latest member
cristian.saiz
Top