[Asterisk-Users] Codecs and negotiations

Stig Hess stig at albacom.no
Tue Sep 28 14:02:09 MST 2004


For some reason I now seem unable to control which codec is chosen. The
problem happens with outgoing calls to Stanaphone. Even if I chose
disallow=all and allow=ulaw as the only codecs it connects with GSM.
 
Has anyone else got problems with these settings? Any suggestions? As I
recalled it, such a setup would not establish a call if the ulaw-codec
was not offered by the provider. Stanaphone has assured that their
preferred codec is ulaw....
 
This is what I have in sip.conf:
 
[general]
port = 5060                     ; Port to bind to
bindaddr = 0.0.0.0              ; Address to bind to
externip = frode.dyndns.org
localnet = 192.168.0.0/16
context=stighess
tos=lowdelay
maxexpirey=3600         ; Max length of incoming registration we allow
defaultexpirey=60               ; Default length of incoming/outoing
registratio
bandwidth=high
disallow=all
allow=ulaw
.......
[stanaphone]
type=friend
username=91438xxxx
fromuser=91438xxxxx
secret=*********
host=sip.stanaphone.com
context=stighess
fromdomain=216.128.82.18
insecure=very
nat=yes
canreinvite=no
disallow=all
allow=ulaw

__
Stig Hess
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040928/1ca43f12/attachment.htm


More information about the asterisk-users mailing list