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 --
Christian Benke wrote:> 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})Set multiple variables? One for each option maybe? -- Cheers, Matt Riddell _______________________________________________ http://www.sineapps.com/news.php (Daily Asterisk News - html) http://freevoip.gedameurope.com (Free Asterisk Voip Community) http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)
About once an hour, my Sipura 2002 rings just once. I thought it might be faulty, so I configured a second one, and it does the same thing. I updated the firmware to 3.1.5 and still have the same problem. Anybody able to shed some light on the random ringing problem? Thanks.
Listen to your voicemail.> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of > Jeremy Koski > Sent: Friday, February 03, 2006 9:23 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: [Asterisk-Users] Sipura SPA-2002 rings randomly > > > > About once an hour, my Sipura 2002 rings just once. I thought > it might be faulty, so I configured a second one, and it does > the same thing. I updated the firmware to 3.1.5 and still > have the same problem. > > Anybody able to shed some light on the random ringing problem? > > > Thanks. > > > _______________________________________________ > --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 >
At 08:07 AM 02/03/2006, you wrote:> > exten => 907,1,Set(DESTINATION1=Zap/G1/4989123456789|10|gh) > > exten => 907,n,Set(DIALSTRING=${DESTINATION1}) > > exten => 907,n,Dial(${DIALSTRING}) > >Set multiple variables? One for each option maybe?Or call a macro instead and have the macro split it apart, then the code stays the same and the macro can hide all the issues.> > exten => 907,n,Macro(parse_dial,${DIALSTRING})Ira