I’m looking at originating a call using the ARI, and plan to send the channel into the dialplan at context “external”, extension “123”, priority “n”, label “testlabel”.
The problem is that the /channels parameter expects priority to be a long (i.e. numeric) value. If my dialplan uses “n” for priorities and I wish to jump to “n(testlabel)”, what do I pass for priority?
I can’t pass the string “n” since it’s non-numeric, and I can’t pass a blank since the method will default to priority 1. How do I handle this?