[Asterisk-java-devel] Originate Action with more than one variable
Brought to you by:
srt
From: Joerg L. <la...@os...> - 2005-09-15 10:15:30
|
Hi, when Originating a call via the Manager API, Asterisk 1.2_beta1 expects the variables to be set independently (each on its own line). The current OriginateAction still follows the way this is done in 1.0.x (separating via |). At least thats the way the Javadocs tell you to enter them. Currently I'm working around this, by separating the variables myself with a "\r\nvariable: ". this works fine for me and will probably continue to do so. Since I'm not sure if you want to provide support for 1.0 versions and 1.2 versions of asterisk with asterisk-java-0.2, I don't know which kind of patch world make sense. If you tell me, in which way this should be handled, I'll be glad to (try to) provide a patch for this, if you want me to. Regards, Joerg |