R: [Asterisk-Users] How to force G729

Stefan de Konink skinkie at xs4all.nl
Thu Jun 24 03:39:26 MST 2004


When I set the SIP_CODEC variable to force g729:

Jun 24 12:30:01 NOTICE[1226062640]: chan_sip.c:1313 sip_answer: Changing
codec to 'g729' for this call because of ${SIP_CODEC) variable
    -- Attempting native bridge of SIP/8011-86fe and SIP/8008-c2b9
Jun 24 12:30:02 NOTICE[1234455344]: channel.c:1508 ast_set_read_format:
Unable to find a path from G729A to ULAW
Jun 24 12:30:02 NOTICE[1234455344]: channel.c:1478 ast_set_write_format:
Unable to find a path from ULAW to G729A
Jun 24 12:30:02 WARNING[1226062640]: chan_sip.c:1332 sip_write: Asked to
transmit frame type 256, while native formats is 4 (read/write = 4/4)
  == Spawn extension (sip, 8041, 2) exited non-zero on 'SIP/8011-86fe'
    -- Got SIP response 481 "Call Leg/Transaction Does Not Exist" back
from 217.117.xxx.xxx

Though I get a short 'hello' (voice) from the otherside, but after that
line dies.

Stefan

On Thu, 24 Jun 2004, Manuel Wenger wrote:

> >Try to configure in sip.conf your extensions context like this:
> >
> >[XXX]
> >....
> >disallow=all
> >allow=g729
> >....
>
>
> Done that already: but then, the "incoming channel" (from the user to Asterisk) is G729, and the "outgoing channel" (from Asterisk to the PSTN gateway) still remains ULAW, so Asterisk has to do transcoding (ULAW to G729), which I don't want, obviously.
>
> For some reason, the outgoing channel doesn't follow the setvar(SIP_CODEC=g729) rule.
>
> -Manuel
>
>
> ___________________________________________________
> Ticinocom SA - Via Stazione 5 - 6600 Muralto
> Tel 0844 007070 - Fax 0844 007071
> http://www.ticinocom.com
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
>




More information about the asterisk-users mailing list