[asterisk-dev] [Code Review] 2597: Implement POST to channels, to originate a call.
Matt Jordan
reviewboard at asterisk.org
Thu Jun 6 09:51:55 CDT 2013
> On June 6, 2013, 12:56 p.m., Joshua Colp wrote:
> > /trunk/res/stasis_http/resource_channels.c, line 357
> > <https://reviewboard.asterisk.org/r/2597/diff/1/?file=39179#file39179line357>
> >
> > To answer your ponderance about callerid I would say yes - this is definitely something we want to allow to be set.
To answer your ponderance about codec selection, that option was always silly. Brent Eagles did an investigation once to try and figure out the behavior; the best he could surmise is as follows:
{quote}
<para>Comma-separated list of preferred codecs to be used for the outgoing call. Please note that the
parameter only specifies a preference and may be overridden if a non-transcoding option is available.
The specific details of prioritizing codec selection is dependent on the outgoing channel technology. If
a channel technology does not support any of the listed codecs, the originate operation may result in an
error or may simply ignore the list altogether.</para>
{quote}
That is, you can specify the codecs, but the channel driver will probably ignore it anyway, depending completely on the channel driver.
- Matt
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2597/#review8817
-----------------------------------------------------------
On June 5, 2013, 7:10 p.m., Jason Parker wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/2597/
> -----------------------------------------------------------
>
> (Updated June 5, 2013, 7:10 p.m.)
>
>
> Review request for Asterisk Developers.
>
>
> Bugs: ASTERISK-21617
> https://issues.asterisk.org/jira/browse/ASTERISK-21617
>
>
> Repository: Asterisk
>
>
> Description
> -------
>
> This doesn't support CallerID or codec selection, like the manager action. Should it?
>
>
> Diffs
> -----
>
> /trunk/res/res_stasis_http_channels.c 390539
> /trunk/res/stasis_http/resource_channels.h 390539
> /trunk/res/stasis_http/resource_channels.c 390539
> /trunk/res/stasis_json/resource_channels.h 390539
> /trunk/rest-api/api-docs/channels.json 390539
>
> Diff: https://reviewboard.asterisk.org/r/2597/diff/
>
>
> Testing
> -------
>
> Calls get made to the location you specify. The call gets put into the Stasis application when it gets answered.
>
>
> Thanks,
>
> Jason Parker
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130606/f03f1378/attachment.htm>
More information about the asterisk-dev
mailing list