Using the "|" character in AGI EXEC arguments breaks Asterisk 1.6 compatibility
-
rosa
- Title changed from could you tell me why use "|" instead of "," in exec method? thank you! to could you tell me why using "|" instead of "," in exec method? thank you!
-
Jay Phillips
Hmm, it seems that Asterisk 1.6 removes the pipe-delimiter for arguments.
Can you confirm these two points:
1. This breaks basically all AGI methods in Adhearsion for the 1.6 betas, and...
2. Changing the "|" to "," in your copy of Adhearsion it fixes it?
Also, I highly recommend you upgrade to 0.8.0. Any changes I make will be to that version.
Jay Phillips
-
Jay Phillips
- State changed from new to open
- Title changed from could you tell me why using "|" instead of "," in exec method? thank you! to Using the "|" character in AGI EXEC arguments breaks Asterisk 1.6 compatibility
-
rosa
yes,I am sure that it fix it after changing the "|" to ",".
I will try to upgrade to adh 0.8.0.
-
Jay Phillips
- Tag set to agi
- State changed from open to resolved
-
Ben Klang
I just checked and this issue appears to still be present in both Adhearsion 0.8.3 and the clone from git://github.com/jicksta/adhearsion.git
For example in adhearsion/lib/adhearsion/voip/asterisk/commands.rb on line 98:
result = raw_response("EXEC #{application} #{arguments * '|'}")This causes trouble with Asterisk 1.6.0 and later throwing the message:
[Mar 5 22:36:57] WARNING[26463]: pbx.c:1344 pbx_exec: The application delimiter is now the comma, not the pipe. Did you forget to convert your dialplan? (NoOp(Exten Test|4044754832)) -
Ben Klang
- State changed from resolved to hold
- Assigned user changed from Jay Phillips to Ben Klang
A patch to address this issue has been committed. We are waiting for the patch to be merged into the official Adhearsion repository.
-
Ben Klang
- Milestone set to 0.8.4
- State changed from hold to resolved
The delimiter will be a configurable option starting with the 0.8.4 release.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.