[asterisk-bugs] [JIRA] Commented: (ASTERISK-20461) channel originate Local/foo * forces translation via slin

Matt Jordan (JIRA) noreply at issues.asterisk.org
Tue Oct 2 17:01:27 CDT 2012


    [ https://issues.asterisk.org/jira/browse/ASTERISK-20461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=197876#comment-197876 ] 

Matt Jordan commented on ASTERISK-20461:
----------------------------------------

Interesting.

It may not be happening because technically, both sides have "Answered".  This means Asterisk should have already negotiated the formats for both endpoints.  Assuming that you ended up with format_a for phone_a and format_b for phone_b, after the Local channel gets optimized away, you would end up having to re-INVITE to both phones to renegotiate the codecs.

It may actually be undesirable to have that happen, since I know some folks are rather keen on having as few re-INVITEs get sent around as possible.

That leads back to your first point, however: it'd be nice if you could set the format on the Local channel, which would then hopefully force the other channels to negotiate when they first get set up.  I'm not sure how that'd be configured, however, or if - as you suggested - you use whatever is on the end of ;1 (if its a channel) to determine what the codec should be.

It might be a bit intrusive for a release branch, but this sounds like an improvement that could be made in trunk.

> channel originate Local/foo * forces translation via slin
> ---------------------------------------------------------
>
>                 Key: ASTERISK-20461
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20461
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Applications/app_originate, Channels/chan_local
>    Affects Versions: 1.8.12.2, 1.8.15.1
>            Reporter: Jaco Kroon
>         Attachments: trace.txt
>
>
> The simplest example of this is with a SIP and an IAX2 endpoint available, eg SIP/102 and IAX2/upstream, both configured with disallow=all; allow=g729 with codecs from digium loaded.
> cli> originate Local/102 at aanswer Dial IAX2/upstream/number
> once connected a g729 show licenses will show that two encoders and two decoders are in use.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list