login
|
register
Thu 04 of Dec, 2008 [02:09 UTC]
voip-info.org
Page content
Page navigation
Page extras
Discuss [
1
]
History
Backlinks...
Asterisk functions
Asterisk func len
Created by:
murf
,Last modification on Fri 27 of Jul, 2007 [14:14 UTC] by
baji
Synopsis:
Returns the length of the argument given
Description:
LEN(<string>)
Notes
*CLI> core show function LEN
Return value
Returns integer length of the string.
Example
exten => s,1,Set(foo=${LEN(${mystring})})
See also
Asterisk variables
Asterisk functions
Asterisk - documentation of application commands
Comments
Comments Filter
Messages
1
5
10
20
50
100
All
Style
Flat
Threaded
Sort
Newest first
Oldest first
222
333check length of caller ID string using LEN
by
baji
, Friday 27 of July, 2007 [14:13:43 UTC]
;
;
exten => s,n,Set(v_CallerID=${CDR(src)})
;
exten => s,n,GotoIf($[ "${LEN(${v_CallerID})}" = "10" ]?ok:)
;
exten => s,n,Set(v_CallerID=3305551212) ; If incorrect length, use default
;
exten => s,n(ok),NoOp(${v_CallerID})
;
Page content
Page navigation
Page extras
Ads
3CX Phone System for Windows Download the Free Edition
Last modif pages
Polycom Phones
Aastra
480i CT Cordless
Aastra 480i
VOIP sites
Getting Started
Cisco 7940-7960 auto-answer config
New Software Releases
ScopServ Changelog
ScopServ
Show More…
Free
Voice & Data Convergence Newsletter
Total Telecom Magazine
eWeek Magazine
VOIP Call Center Guide
Get Help
Ask a question
Re: ports vs. channels - terminology confusion
by
heby
Sat 29 of Nov, 2008
Thanks for the explanation!
Re: ports vs. channels - terminology confusion
by
admin
Sat 29 of Nov, 2008
Usually ports are the equivalent of simultaneous connnections.
DIDs aren't usually tied to a specific port.
Whether outgoing calls take up a port depends on the provider.
Re: Disassemble a Cisco handset / receiver (7900 series)
by
lalocordova
Fri 28 of Nov, 2008
Hi snowy...
Did you find the way, I want to do it too only to check why it's so noisy, I've tested different cables but cables are not the guilty ones...
View More...
Server stats
Execution time: 0.44s
Memory usage: 2.43MB
Database queries: 39
DB time: 0.305s 69.9%
GZIP: Disabled
Server load: 1.98
Google Ads
Page content
Page navigation
Page extras
Page content
Page navigation
Page extras
Comments
333check length of caller ID string using LEN
;
exten => s,n,Set(v_CallerID=${CDR(src)})
;
exten => s,n,GotoIf($[ "${LEN(${v_CallerID})}" = "10" ]?ok:)
;
exten => s,n,Set(v_CallerID=3305551212) ; If incorrect length, use default
;
exten => s,n(ok),NoOp(${v_CallerID})
;