[Asterisk-Users] Translating between different codes

Bartosz Wegrzyn - asterisk junk at lexoncom.com
Mon Jan 2 08:28:06 MST 2006


Looks like I did not check what codes are supported on SJLABS.
It does not support g726.Thats why it is not working.
I checked it with gsm and is working.
My fault.
Sorry

> Hi,
>
> I would like to know if asterisk is able to translate between two
> differnet codecs. For example:
>
> I have this config in sip.conf file:
>
> [phone]
> disallow=all
> allow=ulaw
> dtmfmode=rfc2833
> dtmf=rfc2833
> username=phone
> type=friend
> host=dynamic
> secret=xxxx
> mailbox=3001
> context = sip
> callerid="Wireless <3001>"
> canreinvite=no
> qualify=yes
> qualify=3000
> nat=yes
>
> [laptop]
> disallow=all
> allow=g726
> dtmfmode=rfc2833
> dtmf=rfc2833
> username=laptop
> type=friend
> host=dynamic
> secret=xxxx
> mailbox=3002
> context = sip
> callerid="Laptop" <3002>
> canreinvite=no
> qualify=yes
> qualify=3000
> nat=yes
>
> Should asterisk translate between two codes.
> First clent is iaxy, second is sjphone.
> It is not working for me, and I am getting error on sjphone:
> "Unabke to agree on media streems".
>
> When I change the codec for laptop to ulaw everything worls ok.
> This would mean that asterisk cannot establish communication if both ends
> have different codecs supported. Is this right???
>
> Thank You
>
> Bartosz Wegrzyn
>
> _______________________________________________
> --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