Displaying 2 results from an estimated 2 matches for "firstleg".
Did you mean:
firstlan
2019 Dec 17
2
ARI strange bug on version 13.29.2
...->
HOST: x.x.x.x:8088
content-type: application/json
authorization: Basic xxxx
content-length: 265
body:
{
"context": "from-itc-dialer",
"extension": "secondleg",
"priority": 1,
"timeout": 60,
"endpoint": "Local/firstleg at from-itc-dialer/n",
"variables": {
"AGENT": "506655579",
"DESTINATION": "18662225555",
"CLI": "442031502032"
}
}
[2019-12-17 02:10:06] ERROR[24851]: json.c:870 ast_json_vpack: Error building JSON from ...
2011 Apr 09
1
asterisk-users Digest, Vol 81, Issue 27
...p][l][e].
>>
>> And call it like some-example:info1:info2 and use cut to extract the info1
>> and info2 values. Not real pretty but as this is computer generated calls
>> it gets the job done.
>
> Still not sure why you guys need this...Here's my example
>
> [firstleg]
> exten => 200,1,Set(__myvar=foo) ; Don't forget you don't want quotes!)
> exten => 200,n,Dial(Local/123 at test_orig)
> [test_orig]
> exten => 123,1,Noop(${myvar})
> same => n,Set(dbtest=${ODBC_TESTQUERY(myvar)})
>
> --
> Sherwood McGowan <sherwood.m...