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

Matt Jordan (JIRA) noreply at issues.asterisk.org
Thu Sep 27 12:13:27 CDT 2012


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

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

Just curious: if both sides on the Local channel have the same format, why are you using an non-optimizing Local channel?  I would expect in such cases you would create the Local channel without the {{\n}} option, at which point once both sides have answered, it would optimize itself away and the two sides - which have the same format - would be made compatible and no transcoding would occur.

If that isn't happening, then that's interesting.

If the Local channel isn't optimized away and we wanted to inspect the formats, I would imagine you would do it in {{local_call}}, which has both 'sides' of the channels that the Local channel owns.  The two channel halves should be populated after the call to {{awesome_locking}}, at which point you could inspect their format capabilities and find out if one is common.  You could then set that as the preferred format on the Local channel.


> 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