[Asterisk-Users] Translating between different codes
Moises Silva
moises.silva at gmail.com
Mon Jan 2 08:27:56 MST 2006
be sure you allow the g729 codec in [general] context in sip.conf for
the sjphone.
On 1/2/06, Bartosz Wegrzyn - asterisk <junk at lexoncom.com> wrote:
> 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
>
--
"Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org"
More information about the asterisk-users
mailing list