Re: [asterisk-users] function call out of AGI script
The documentation says that the exec() command exists to execute applications, not functions. How would I convert an dialplan extension like exten = 11,1,Set(count_naptr=${ENUMLOOKUP(4961369993473,ALL,c)}) into an exec call like $AGI-exec($app, $options) ? On 18/01/07, William Piper [EMAIL PROTECTED] wrote: It is called exec. http://www.google.com/search?hl=enq=asterisk+agi+exec On 1/18/07, Thomas Hecker [EMAIL PROTECTED] wrote: Hi everyone, Is it possible to call an asterisk function out an AGI script? How do I do this? Thank you, Thomas ___ --Bandwidth and Colocation provided by Easynews.comhttp://easynews.com/-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] function call out of AGI script
Hi everyone, Is it possible to call an asterisk function out an AGI script? How do I do this? Thank you, Thomas ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Using the SIPAddHeader Application
Ok, this works pretty fine! Thank you very much! On 17/01/07, Steve Langstaff [EMAIL PROTECTED] wrote: My *guess* is that the semicolon is being interpreted as a commend marker, so you might need to escape it with a '\'. I had problems with this, however, when using it via the [EMAIL PROTECTED] management interface, because the '\' is stripped on display and so lost if you view and save a working config file - I never did find a solution to this. -- *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Thomas Hecker *Sent:* 17 January 2007 07:43 *To:* asterisk-users@lists.digium.com *Subject:* [asterisk-users] Using the SIPAddHeader Application Hi, I'm trying to use the SIPAddHeader application to add a header containing to semicolon separated strings like this: exten = 12, 1, SIPAddHeader(X-TestHeader:a=test1;b=test2) But in the resulting INVITE message only the first part (X-TestHeader:a=test1) is added. Setting into quotation mark doesn't change anything. exten = 12, 1, SIPAddHeader(X-TestHeader:a=test1;b=test2) Do you have an idea how to achieve it? Thank you, Thomas ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Using the SIPAddHeader Application
Hi, I'm trying to use the SIPAddHeader application to add a header containing to semicolon separated strings like this: exten = 12, 1, SIPAddHeader(X-TestHeader:a=test1;b=test2) But in the resulting INVITE message only the first part (X-TestHeader:a=test1) is added. Setting into quotation mark doesn't change anything. exten = 12, 1, SIPAddHeader(X-TestHeader:a=test1;b=test2) Do you have an idea how to achieve it? Thank you, Thomas ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users