The application delimiter is now the comma in asterisk 11.5

Am getting error while trying to move from agi to context.

AGI->exec(“Goto”,“Local|s|1”);

conetxt

[Local]
exten =>s,1,Playback(vm-from)
exten =>s,2,AGI(agi-sayani2.agi)

-- AGI Script Executing Application: (Goto) Options: (Local||1)

[Oct 1 15:08:49] WARNING[9267][C-000009f1]: pbx.c:1585 pbx_exec: The application delimiter is now the comma, not the pipe. Did you forget to convert your dialplan? (Goto(Local||1))
[Oct 1 15:08:49] NOTICE[9267][C-000009f1]: pbx.c:4698 pbx_extension_helper: No such label ‘Local||1’ in extension ‘123’ in context ‘default’
[Oct 1 15:08:49] WARNING[9267][C-000009f1]: pbx.c:12075 pbx_parseable_goto: Priority ‘Local||1’ must be a number > 0, or valid label
AGI Tx >> 200 result=-1
– <SIP/100-00000011>AGI Script agi-sayani.agi completed, returning 0

There is something fishy in your AGI script. Perhaps the answer is already in the debug:

The application delimiter is now the comma, not the pipe. Did you forget to convert your dialplan?

Did you check that?

There it is described: Exchange pipe by comma for the command arguments and it shoud work (if Your AGI-api supports it correct):

AGI->exec("Goto","Local,s,1");

This change to the syntax happened between 1.4 and 1.6, so isn’t exactly new.

1.6.0 was released 5 years ago today, in fact. Happy Birthday, old code!