<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=HR link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Yes, here is the post log:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#595959;mso-style-textfill-fill-color:#595959;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-US'>POST /ari/channels/create?endpoint=DAHDI%2Fr11%2F339&app=AriStart&originator=1608128036.34 HTTP/1.1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#595959;mso-style-textfill-fill-color:#595959;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-US'>content-type: application/json<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#595959;mso-style-textfill-fill-color:#595959;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-US'>content-length: 149<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#595959;mso-style-textfill-fill-color:#595959;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-US'>host: 127.0.0.1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#595959;mso-style-textfill-fill-color:#595959;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-US'>connection: close<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#595959;mso-style-textfill-fill-color:#595959;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-US'>authorization: *****<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#595959;mso-style-textfill-fill-color:#595959;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#595959;mso-style-textfill-fill-color:#595959;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-US'>{"variables":{"CALLERID(subaddr-valid)":"1","CALLERID(subaddr)":"042000111","CONNECTEDLINE(subaddr-valid)":"1","CONNECTEDLINE(subaddr)":"042000111"}}<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>I have started also with PRI debugging. When I use originate to DAHDI channel I can see ‘Calling Party Subaddress’ but when usinng create/dial I don’t see it.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Originate call PRI debug:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#595959;mso-style-textfill-fill-color:#595959;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-US'>PRI Span: 1 > [6c 06 21 81 31 30 39 39]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#595959;mso-style-textfill-fill-color:#595959;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-US'>PRI Span: 1 > Calling Party Number (len= 8) [ Ext: 0  TON: National Number (2)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#595959;mso-style-textfill-fill-color:#595959;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-US'>PRI Span: 1 >                                 Presentation: Presentation allowed, User-provided, verified and passed (1)  '1099' ]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#595959;mso-style-textfill-fill-color:#595959;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-US'>PRI Span: 1 > [6d 0a 80 30 34 32 30 30 30 31 31 31]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#595959;mso-style-textfill-fill-color:#595959;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-US'>PRI Span: 1 > Calling Party Subaddress (len=12) [ Ext: 1  Type: NSAP (X.213/ISO 8348 AD2) (0)  O: 0  '042000111' ]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#595959;mso-style-textfill-fill-color:#595959;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-US'>PRI Span: 1 > [70 04 80 33 33 39]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#595959;mso-style-textfill-fill-color:#595959;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-US'>PRI Span: 1 > Called Party Number (len= 6) [ Ext: 1  TON: Unknown Number Type (0)  NPI: Unknown Number Plan (0)  '339' ]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#595959;mso-style-textfill-fill-color:#595959;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-US'>PRI Span: 1 > [71 0a 80 30 34 32 30 30 30 32 32 32]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#595959;mso-style-textfill-fill-color:#595959;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-US'>PRI Span: 1 > Called Party Subaddress (len=12) [ Ext: 1  Type: NSAP (X.213/ISO 8348 AD2) (0)  O: 0  '042000222' ]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Create channel / dial PRI debug:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#595959;mso-style-textfill-fill-color:#595959;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-US'>PRI Span: 1 > [6c 06 21 81 31 30 39 39]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#595959;mso-style-textfill-fill-color:#595959;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-US'>PRI Span: 1 > Calling Party Number (len= 8) [ Ext: 0  TON: National Number (2)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#595959;mso-style-textfill-fill-color:#595959;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-US'>PRI Span: 1 >                                 Presentation: Presentation allowed, User-provided, verified and passed (1)  '1099' ]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#595959;mso-style-textfill-fill-color:#595959;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-US'>PRI Span: 1 > [70 04 80 33 33 39]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#595959;mso-style-textfill-fill-color:#595959;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-US'>PRI Span: 1 > Called Party Number (len= 6) [ Ext: 1  TON: Unknown Number Type (0)  NPI: Unknown Number Plan (0)  '339' ]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#595959;mso-style-textfill-fill-color:#595959;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-US'>PRI Span: 1 > [71 0a 80 30 34 32 30 30 30 32 32 32]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#595959;mso-style-textfill-fill-color:#595959;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-US'>PRI Span: 1 > Called Party Subaddress (len=12) [ Ext: 1  Type: NSAP (X.213/ISO 8348 AD2) (0)  O: 0  '042000222' ]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>To me it looks like variables which I set on channel creation are somehow not forwarded to DAHDI channel.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>BR, Marin<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif'> asterisk-dev [mailto:asterisk-dev-bounces@lists.digium.com] <b>On Behalf Of </b>Joshua C. Colp<br><b>Sent:</b> Wednesday, December 16, 2020 3:54 PM<br><b>To:</b> Asterisk Developers Mailing List <asterisk-dev@lists.digium.com><br><b>Subject:</b> Re: [asterisk-dev] ARI: specifying variables on channel create doesn't work<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On Wed, Dec 16, 2020 at 10:49 AM Marin Odrljin <<a href="mailto:marin@maxcom.hr">marin@maxcom.hr</a>> wrote:<o:p></o:p></p></div><div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Hi Joshua,</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>I have tried it now, variables are successfully set on channel with create channel POST. I can read them from channel afterwards. I have tried it with all 4 variables + some new dummy vars. All of them are set fine.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Probably issue occurs somewhere later when making dial (POST /channels/{channelId}/dial).</span><o:p></o:p></p></div></div></blockquote><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Are you specifying an originator? <o:p></o:p></p></div></div><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>-- <o:p></o:p></p><div><div><div><div><div><div><div><div><div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif;color:#073763'>Joshua C. Colp</span><span style='font-family:"Tahoma",sans-serif'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif;color:#073763'>Asterisk Technical Lead</span><span style='font-family:"Tahoma",sans-serif'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif;color:#073763'>Sangoma Technologies</span><span style='font-family:"Tahoma",sans-serif'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif;color:#073763'>Check us out at <a href="http://www.sangoma.com" target="_blank">www.sangoma.com</a> and <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a></span><span style='font-family:"Tahoma",sans-serif'><o:p></o:p></span></p></div></div></div></div></div></div></div></div></div></div></div></div></div></body></html>