[asterisk-dev] cmd set with multiple values

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Fri Feb 3 09:22:52 MST 2006


top to bottom, not the other way around.
reply after what was previously posted, since in English we read from
you find this difficult to read?  Perhaps in the future, you ought to
in behavior that it should not be included in 1.2 release.  BTW, don't
It was fixed in trunk, but it was determined to be enough of a change

On Friday 03 February 2006 07:00, Christian Benke wrote:
> No, tried before and verified now that this doesn't work, the
> delimiters are parsed as well, giving the "ignoring entry" warning.
>
> regards
> christian
>
> On Fri, 3 Feb 2006 12:34:56 -0000
>
> "Morgan Gilroy" <morgan at telappliant.com> wrote:
> > Try
> > exten => 907,1,Set(DESTINATION1="Zap/G1/4989123456789|10|gh")
> >
> > its taking the | as extra values to SET, quoting it out might
> > help...
> >
> >  > -----Original Message-----
> >  > From: asterisk-dev-bounces at lists.digium.com
> >  > [mailto:asterisk-dev- bounces at lists.digium.com] On Behalf Of
> >  > Christian Benke
> >  > Sent: 03 February 2006 11:49
> >  > To: asterisk-users at lists.digium.com
> >  > Cc: asterisk-dev at lists.digium.com
> >  > Subject: [asterisk-dev] cmd set with multiple values
> >  >
> >  > hello!
> >  >
> >  > has this made it into 1.2.3 already:
> >  > http://bugs.digium.com/view.php?id=6128 ?
> >  >
> >  > i'm trying to set a variable that should be used as a dialstring
> >  > in
> >
> > the
> >
> >  > dial-command, including parameters seperated with the respective
> >  > delimiter, e.g. like:
> >  >
> >  > exten => 907,1,Set(DESTINATION1=Zap/G1/4989123456789|10|gh)
> >  > exten => 907,n,Set(DIALSTRING=${DESTINATION1})
> >  > exten => 907,n,Dial(${DIALSTRING})
> >  >
> >  > asterisk complains:
> >  >
> >  > Feb  3 12:39:40 WARNING[26200]: pbx.c:6010 pbx_builtin_setvar:
> >
> > Ignoring
> >
> >  > entry '10' with no = (and not last 'options' entry)
> >  >
> >  > i've tried several of the resolution-proposals mentioned in the
> >  > bugnotices, but none of them seems to work yet.
> >  > the best fit was exten =>
> >  > 907,1,Set(DESTINATION1='Zap/G1/4989123456789,10,gh') but then
> >  > the
> >
> > value
> >
> >  > included in the quotes seems to be set as a string that is not
> >  > parsed when
> >  > dialing ${DIALSTRING}, resulting in
> >  >
> >  > Called G1/4989123456789,10,gh
> >  >
> >  > is there any workaround?
> >  >
> >  > thanks
> >  > christian
> >  >
> >  > --
> >  >
> >  > _______________________________________________
> >  > --Bandwidth and Colocation provided by Easynews.com --
> >  >
> >  > asterisk-dev mailing list
> >  > To UNSUBSCRIBE or update options visit:
> >  >    http://lists.digium.com/mailman/listinfo/asterisk-dev
> >
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com --
> >
> > asterisk-dev mailing list
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-dev
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev

-- 
Tilghman



More information about the asterisk-dev mailing list