[asterisk-dev] ARI: specifying variables on channel create doesn't work

Joshua C. Colp jcolp at sangoma.com
Wed Dec 16 11:51:59 CST 2020


On Wed, Dec 16, 2020 at 1:48 PM Marin Odrljin <marin at maxcom.hr> wrote:

> Ok, this what you say for early media has sense :-)
>
>
>
> I have tested now creating channel without originator, but unfortunately
> it still doesn’t work.
>
>
>
> POST
> /ari/channels/create?endpoint=DAHDI%2Fr11%2F339%3A042000222&app=AriStart
> HTTP/1.1
>
> content-type: application/json
>
> content-length: 172
>
> host: 127.0.0.1
>
> connection: close
>
> authorization: *****
>
>
>
>
> {"variables":{"CALLERID(subaddr-valid)":"1","CALLERID(subaddr)":"042000111","CALLERID(num)":"1099","CONNECTEDLINE(subaddr-valid)":"1","CONNECTEDLINE(subaddr)":"042000111"}}
>
>
>
> In PRI debug ‘Calling Party Subaddress’ is still missing:
>
>
>
> PRI Span: 1 > [6c 06 21 81 31 30 39 39]
>
> PRI Span: 1 > Calling Party Number (len= 8) [ Ext: 0  TON: National Number
> (2)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
>
> PRI Span: 1 >                                 Presentation: Presentation
> allowed, User-provided, verified and passed (1)  '1099' ]
>
> PRI Span: 1 > [70 04 80 33 33 39]
>
> PRI Span: 1 > Called Party Number (len= 6) [ Ext: 1  TON: Unknown Number
> Type (0)  NPI: Unknown Number Plan (0)  '339' ]
>
> PRI Span: 1 > [71 0a 80 30 34 32 30 30 30 32 32 32]
>
> PRI Span: 1 > Called Party Subaddress (len=12) [ Ext: 1  Type: NSAP
> (X.213/ISO 8348 AD2) (0)  O: 0  '042000222' ]
>

I'd suggest filing an issue[1] then. I have no time frame on when it would
get looked into, though.

[1] https://issues.asterisk.org/jira

-- 
Joshua C. Colp
Asterisk Technical Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20201216/cdbb8676/attachment.html>


More information about the asterisk-dev mailing list