[Asterisk-Users] sip.conf codecs: ulaw, alaw and g729

J Shaun Hofer shaun.hofer at altcall.com
Wed Apr 19 21:21:04 MST 2006


Hi,
When ever I put g729 in allow for trunk the other two codecs (ulaw and alaw) 
stop working and I get the frame type error for them, but g729 works fine. 
I've cleared general part of sip.conf of codec info to be on safe side. If 
ulaw and alaw are the only ones allowed they work fine. Asterisk shouldn't be 
doing any encoding or decoding, all codecs should be passing through. Any 
ideas how I can get all three codecs working in sip.conf/asterisk?


example of frame error I get if I use different codec to g729:
Apr 20 11:57:14 WARNING[13028]: chan_sip.c:2527 sip_write: Asked to transmit 
frame type 256, while native formats is 4 (read/write = 4/4)
Apr 20 11:57:14 WARNING[13028]: chan_sip.c:2527 sip_write: Asked to transmit 
frame type 4, while native formats is 256 (read/write = 4/4)

sip.conf (with the following g729 works but alaw and ulaw don't):
[trunk]
dtmfmode=info
context=from-outside
type=friend
host=x.x.x.x
;disallow=all
;allow=g729
;allow=alaw
;allow=ulaw

[general]
port=5060
bindaddr=0.0.0.0
insecure=very
;disallow=none
;allow=g729
;allow=alaw
;allow=ulaw
;allow=gsm
context=from-outside

Thanks
-- Shaun

*******************************************************
If you receive this email by mistake, please notify us and do not make any
use of the email.  We do not waive any privilege, confidentiality or
copyright associated with it.



More information about the asterisk-users mailing list