search for: func_strings

Displaying 16 results from an estimated 16 matches for "func_strings".

2011 Jan 23
3
FUNC_ODBC and ARRAY
...from table1 WHERE keycol = '${ARG1}' and here's the full log: [Jan 22 20:12:50] VERBOSE[32348] pbx.c: -- Executing [123 at dolookup:8] Set("SIP/sip1-inbound-00000f99", "ARRAY(var1,var2,var3)=96829,-3,Name Unavailabl") in new stack [Jan 22 20:12:50] DEBUG[32348] func_strings.c: array (var1,var2,var3=96829) [Jan 22 20:12:50] DEBUG[32348] func_strings.c: array set value (var1=96829) [Jan 22 20:12:50] DEBUG[32348] func_strings.c: array set value (var2=(null)) [Jan 22 20:12:50] DEBUG[32348] func_strings.c: array set value (var3=(null)) [Jan 22 20:12:50] WARNING[32348] pbx....
2011 Jan 28
3
Disabling Music On Hold
...e me any pointers or tell me how to disable moh completely and send re-invites for call hold? thanks for any help Urs My easiest configuration with Asterisk 1.6.2.7: modules.conf ---------------------------------------------------------- [modules] autoload=yes ; res_phoneprov requires func_strings.so to be loaded: preload => func_strings.so noload => pbx_gtkconsole.so noload => res_musiconhold.so extensions.conf: ----------------------------------------------------------- [general] [default] ;SIP extensions exten => _XXXX,1,Macro(stddial,SIP/${EXTEN}) [macro-stddial...
2009 Oct 12
2
SPRINTF option : format %1$s not supported
...a shortened string if a format specifier is not recognized. I'm trying use sprintf option allowing to swap argument display according format string. More precisely, I'm trying to this "%1$s" specifier (which means "use 1st argument"). Then, the reply is : ERROR[3185]: func_strings.c:547 acf_sprintf: Format type not supported: '%1$' with argument '1234' Though the message is clear, before giving up, I thought I should ask here if someone could successfully use the "%1$s" specifier (which is very useful when you want to localize some messages or outp...
2013 Mar 04
2
Asterisk 11 - How to trim the number of modules to minimum ?
...load => res_agi.so load => res_clioriginate.so load => res_fax.so load => res_musiconhold.so load => res_timing_timerfd.so load => func_callerid.so load => func_cdr.so load => func_channel.so load => func_cut.so load => func_math.so load => func_rand.so load => func_strings.so load => func_global.so load => cdr_csv.so Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130304/4dd71bd5/attachment.htm>
2007 May 25
1
Matching "+" at the beginning of the line
Hello, I'm trying to match a number in international format, like +49XXXX... The regexp string "^\+49" doesn't work. Both in $["+49..." : "^\+49"] and ${REGEX("^\+49" ${NUMBER})}. The error is: WARNING[12486]: func_strings.c:138 regex: Malformed input REGEX(): Invalid preceding regular expression. The regexp expression "^49\+" works. Does Asterisk have problems matching the plus at the beginning of the string, or am I escaping something incorrectly? Eugene -- Eugen Rogoza VoIP Services --------------...
2008 Apr 19
2
func_curl.so Error on load
...try to start up Asterisk (with -cvvv) I get an error regarding func_curl.so (lines omitted) ... == Registered custom function STRFTIME == Registered custom function STRPTIME == Registered custom function EVAL == Registered custom function KEYPADHASH == Registered custom function SPRINTF func_strings.so => (String handling dialplan functions) == Registered application 'ADSIProg' app_adsiprog.so => (Asterisk ADSI Programming Application) asterisk: symbol lookup error: /usr/lib/asterisk/modules/func_curl.so: undefined symbol: curl_global_init This is on CentOS 5.1, kernel 2.6.18...
2015 Mar 20
0
Asterisk on OpenWrt (first time user)
...ound] deny=0.0.0.0/0.0.0.0 permit=86.64.162.35 [acl_ekiga_outbound] deny=0.0.0.0/0.0.0.0 Only load necessary modules: [modules] autoload=no load => chan_sip.so load => res_rtp_asterisk.so load => app_dial.so load => pbx_config.so load => app_cdr.so load => cdr_csv.so load => func_strings load => func_groupcount.so Any tips/hints/suggestions appreciated. Thanks for reading! Kind regards, Sebastian
2006 May 16
2
Using REGEX function
...owever, this doesn't solve the problem.&nbsp; When I execute the above dialplan (with the modified line 1 I just listed), I get this:<br> <br> May 16 10:49:10 WARNING[27970]: pbx.c:1366 ast_func_read: Can't find trailing parenthesis?<br> May 16 10:49:10 WARNING[27970]: func_strings.c:105 builtin_function_regex: Malformed input REGEX("[2-9][0-9]{2): braces not balanced<br> &nbsp;&nbsp;&nbsp; -- Executing Set("SIP/1000-efb2", "isnum=0[2-9][0-9]{6}" 1234567890)}") in new stack<br> May 16 10:49:10 WARNING[27970]: ast_expr2.fl:...
2011 Jan 28
0
asterisk-users Digest, Vol 78, Issue 66
...6.005D9DA7 at ln.ascom.ch> Content-Type: text/plain; charset="us-ascii" > On 11-01-28 07:37 AM, Urs Buob wrote: > > modules.conf > > ---------------------------------------------------------- > > [modules] > > autoload=yes > > ; res_phoneprov requires func_strings.so to be loaded: > > preload => func_strings.so > > noload => pbx_gtkconsole.so > > noload => res_musiconhold.so > > > This is the correct method. But you are saying even if you stop and > start Asterisk res_musiconhold.so is still loads? > > I just tes...
2010 Jul 13
3
STRFTIME function declared in globals context
I'm trying to declare a few date-related global variables to ease my dialplan. When I declare the following in the [globals] context of extensions.conf, I get unexpected results: YEAR = ${STRFTIME(${EPOCH},,%Y)} MONTH = ${STRFTIME(${EPOCH},,%m)} DAY = ${STRFTIME(${EPOCH},,%d)} TIMESTAMP = ${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)} If I evaluate these variables in the dialplan later, using exten
2009 Mar 19
0
Can I tell if a call picked up on PSTN extension... for example?
...=default auth=rsa inkeys=freeworlddialup [demo] type=peer username=asterisk secret=supersecret host=216.207.245.47 [XXXX] type=user insecure=very context=default context=default disallow=all allow=ulaw allow=alaw allow=gsm # cat /etc/asterisk/modules.conf [modules] autoload=yes preload => func_strings.so noload => pbx_gtkconsole.so load => res_musiconhold.so noload => chan_alsa.so # cat /etc/asterisk/musiconhold.conf [general] [default] mode=files directory=/var/lib/asterisk/moh # cat /etc/asterisk/phone.conf [interfaces] mode=fxo ;mode=immediate format=slinear echocancel=mediu...
2007 May 15
1
Asterisk 1.4.4 reproducibly dumps core on Solaris 10
...symbols from /opt/asterisk/lib/modules/func_realtime.so...done. Loaded symbols for /opt/asterisk/lib/modules/func_realtime.so Reading symbols from /opt/asterisk/lib/modules/func_sha1.so...done. Loaded symbols for /opt/asterisk/lib/modules/func_sha1.so Reading symbols from /opt/asterisk/lib/modules/func_strings.so...done. Loaded symbols for /opt/asterisk/lib/modules/func_strings.so Reading symbols from /opt/asterisk/lib/modules/func_timeout.so...done. Loaded symbols for /opt/asterisk/lib/modules/func_timeout.so Reading symbols from /opt/asterisk/lib/modules/func_uri.so...done. Loaded symbols for /opt/aste...
2007 Jul 26
0
Asterisk 1.4.9 reproducibly dumps core on Solaris 10
...sterisk/lib/modules/func_realtime.so...done. > Loaded symbols for /opt/asterisk/lib/modules/func_realtime.so > Reading symbols from /opt/asterisk/lib/modules/func_sha1.so...done. > Loaded symbols for /opt/asterisk/lib/modules/func_sha1.so > Reading symbols from /opt/asterisk/lib/modules/func_strings.so...done. > Loaded symbols for /opt/asterisk/lib/modules/func_strings.so > Reading symbols from /opt/asterisk/lib/modules/func_timeout.so...done. > Loaded symbols for /opt/asterisk/lib/modules/func_timeout.so > Reading symbols from /opt/asterisk/lib/modules/func_uri.so...done. > Loa...
2009 Nov 25
0
asterisk + res_config_ldap = asterisk.core
...ccountCanCallForward defaultuser = AstAccountDefaultUser regserver = AstAccountRegistrationServer lastms = AstAccountLastQualifyMilliseconds additionalFilter = (objectClass=AsteriskSIPUser) -------------------------------------------------------- modules.conf: [modules] autoload=yes preload => func_strings.so noload => pbx_gtkconsole.so load => res_musiconhold.so noload => chan_alsa.so noload => chan_oss.so noload => chan_console.so noload => chan_ooh323.so noload => chan_skinny.so noload => chan_h323.so noload => cdr_odbc.so noload => res_config_sqlite.so noload => r...
2009 Sep 02
1
AMI Originate Commands executed in sequential Order problem
.../usr/src/asterisk-1.4.20.1/funcs' for x in func_base64.so func_callerid.so func_cdr.so func_channel.so func_cut.so func_db.so func_enum.so func_env.so func_global.so func_groupcount.so func_language.so func_logic.so func_math.so func_md5.so func_moh.so func_rand.so func_realtime.so func_sha1.so func_strings.so func_timeout.so func_uri.so; do /usr/bin/install -c -m 755 $x /usr/lib/asterisk/modules ; done make[1]: Leaving directory `/usr/src/asterisk-1.4.20.1/funcs' make[1]: Entering directory `/usr/src/asterisk-1.4.20.1/main' for x in ; do /usr/bin/install -c -m 755 $x /usr/lib/asterisk/modules...
2017 Jul 14
45
[PATCH 00/27] Reimplement many daemon APIs in OCaml.
Previously posted as part of the mega utilities/inspection series here: https://www.redhat.com/archives/libguestfs/2017-June/msg00232.html What I've done is to extract just the parts related to rewriting daemon APIs in OCaml, rebase them on top of the current master, fix a few things, and recompile and test everything. Rich.