[Asterisk-Dev] AGI: Multiple parameters through EXEC impossible?

Ben Merrills ben at griffin.com
Thu Nov 25 09:31:05 MST 2004


Try '|' instead of ','

Ben Merrills

-----Original Message-----
From: asterisk-dev-bounces at lists.digium.com
[mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of Thomas
Wittek
Sent: 25 November 2004 16:21
To: asterisk-dev at lists.digium.com
Subject: [Asterisk-Dev] AGI: Multiple parameters through EXEC
impossible?

I'm trying to write an AGI-Script and having a problem with the EXEC 
statement.

  show agi exec
  Usage: EXEC <application> <options>
         Executes <application> with given <options>.

But when I try to execute
   EXEC Dial SIP/number at sipprovider,60,tT
I get
   -- AGI Script Executing Application: (Dial) Options: 
(SIP/number at sipprovider60,tT)
   Nov 25 17:12:15 WARNING[1099680688]: chan_sip.c:1386 create_addr: No 
such host: siprovider,60,tT

It looks as all parameters usually separated by commas are passed as ONE

concatenated parameter. The same problem occurs when I try to call a 
macro. All single parameters are concatenated into one big parameter.

Is there any way around this?

*CLI> show version
Asterisk 1.0.2-BRIstuffed-0.2.0-RC2b built by 
root at server.zentrifuge.intra on a i686 running Linux

Thank you!
-Thomas
_______________________________________________
Asterisk-Dev mailing list
Asterisk-Dev at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev



More information about the asterisk-dev mailing list