markster
e4ea679094
Unbreak expression handling from addition of function variables
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5146 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-05 05:21:45 +00:00
markster
8ba4898a1e
Rework channel structure to eliminate "pvt" portion of channel (bug #3573 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5137 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-04 06:47:24 +00:00
markster
b0180cc4f6
Add registerable functional variables (bug #3636 , with doc mods)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5136 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-04 06:36:18 +00:00
markster
304c14a1d2
Fix SetVar (bug #3668 ) and g + transfer ( #3650 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5083 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-26 03:57:10 +00:00
markster
b83a2a470f
Add execiftime, remove duplicate agent logoff CLI
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5074 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-25 00:25:28 +00:00
markster
6898f073de
Merge anthm's CDR updates (bug #3595 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5068 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-23 22:48:47 +00:00
markster
69e94fc659
Add "show hints" to CLI (bug #3631 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5064 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-21 06:31:01 +00:00
markster
9b334db0b4
Fix ${CALLINGSUBADDR}
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5044 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-17 19:41:23 +00:00
markster
4ff9c9455b
Fix colon expansion (bug #3572 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5023 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-13 20:57:52 +00:00
markster
69a8cf9826
Fix (in an admittedly icky way) the CALL variable broken issues (bug #3549 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5001 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-10 16:38:39 +00:00
markster
a1eaf77b39
Optimize variable lookups (bug #3541 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4991 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-09 21:10:41 +00:00
markster
7b5357fca1
Include uniqueid in response for ManagerOriginate stuff (bug #3439 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4948 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-02 02:54:15 +00:00
markster
d2d81ca374
Allow hints to have names (bug #3471 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4938 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-01 01:53:25 +00:00
russell
7288b1ced0
update copyright headers for 2005
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4868 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-21 07:06:25 +00:00
markster
9678f49d85
Implement eswitch for evalulating variables at runtime (bug #3168 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4780 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-13 05:14:56 +00:00
markster
382619b006
Restore functionality of "show dialplan" with no arguments
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4768 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-12 16:28:25 +00:00
markster
8b6c2c43bb
Improve show dialplan support to support patterns and also to select contexts (bug #3230 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4738 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-09 20:28:47 +00:00
markster
7e69743ca3
List improvements from kpfleming (bugs #3166,#3140)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4629 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-01 21:26:37 +00:00
markster
9a906e13bb
Increase max stack size for context searches (bug #3182 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4617 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-31 00:37:55 +00:00
markster
15c76b6dac
Log execution stack if option_debug is enabled (bug #3177 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4598 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-29 23:40:54 +00:00
markster
54d64330bd
Allow Answer(delay) to create delay after answering (bug #3160 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4586 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-29 12:49:35 +00:00
markster
6c1f07a585
Fix pbx.c to be able to display hints (bug #3074 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4575 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-28 22:52:40 +00:00
anthm
cf400ba462
fix transfer goto issue
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4572 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-28 20:31:37 +00:00
markster
8f2fabe64f
Speed up ast_list macros (bug #3135 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4546 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-23 15:11:46 +00:00
markster
793ee756c3
Fix AGI to know about "builtin" variables, too (bug #2737 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4538 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-23 02:47:01 +00:00
markster
62d1e370ab
SMS fix, pbx optimization (bug #3098 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4482 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-19 17:16:39 +00:00
markster
253322596d
Fix comment issues (bug #3089 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4479 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-18 22:04:07 +00:00
markster
d20fb05b7a
Make sure context is passed properly on _exec (bug #2969 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4423 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-11 03:50:19 +00:00
russell
4ca9b2228a
Show some counters with 'show dialplan' (bug #2968 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4422 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-11 03:08:12 +00:00
anthm
4cc903ca28
fix bug 2994 (off by 1 error)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4404 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-08 18:24:04 +00:00
markster
4d714a5488
Big diet for struct ast_channel
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4399 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-07 20:38:43 +00:00
anthm
7742cd11fa
fix small goto logic issue
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4369 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-02 18:08:11 +00:00
markster
71c01cee9b
Print number of applications (bug #2961 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4361 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-01 01:28:07 +00:00
markster
39dc8be053
Merge tony's ampersand patch (bug #2934 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4330 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-25 02:57:34 +00:00
markster
858a683291
Make realtime pbx understand patterns.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4326 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-24 03:07:08 +00:00
anthm
728e18f777
fix inherited softhangup issue in ast_goto_if_exists()
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4325 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-23 20:25:02 +00:00
markster
a9aa387ccb
Little dial typo fix and make WaitExten continue if nothing entered and there is a step n+1
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4318 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-22 22:40:06 +00:00
markster
0858b61595
Add improved macro functionality (bug #2905 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4317 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-22 22:11:10 +00:00
markster
5ac18d7092
Add incremental/decremental priorities (bug #2906 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4292 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-19 05:18:10 +00:00
markster
5ecd714a29
Add "ImportVar" application
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4272 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-17 04:48:58 +00:00
markster
3d14276e73
Documentation fixup (thanks, drumkilla)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4260 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-16 03:13:05 +00:00
markster
0cb7e1d121
Big agent / queue fixes
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4231 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-13 22:44:33 +00:00
markster
51927b490c
Allow dashes in extensions (bug #2835 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4218 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-12 02:54:17 +00:00
markster
388f4545c9
Make timing stuff generic (bug #2839 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4213 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-11 21:23:45 +00:00
markster
008b39e849
Make channel variables inheritable by _ (bug #928 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4141 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-01 02:23:28 +00:00
anthm
64df6364cb
even more paranoid serialize code
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4108 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-27 02:26:17 +00:00
anthm
159d653855
add more paranoid handling to pbx_builtin_serialize_variables
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4107 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-27 01:34:06 +00:00
markster
5cb692d65f
Add "Loopback" switch
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4070 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-24 02:53:24 +00:00
anthm
5646726039
This patch adds a new api call:
...
int pbx_builtin_serialize_variables(struct ast_channel *chan, char *buf, size_t size);
takes a chan and a char * 'buf' assumed to be 'size' bytes.
The function fills 'buf' with a <CR>('\n') delimited list of name,value pairs in turn delimeted by '='
eg:
SIPCALLID=f30e4e72-f715193f@1.2.3.4
SIPUSERAGENT=Sipura/SPA2000-2.0.6(c)
SIPDOMAIN=1.2.3.4
It returns the acutal number of variables encountered.
If the attempt to fill 'buf' goes beyond 'size' bytes the operation is halted and the incomplete string is returned as is.
To demonstrate a use for this, the "show channel <channame>" command has been retrofitted with the call so it also dumps all of the chan's vars
*CLI> show channel Zap/5-1
-- General --
Name: Zap/5-1
Type: Zap
UniqueID: 1098480666.17
Caller ID: 4999
Caller ID Name: Tony
DNID Digits: (N/A)
State: Up (6)
Rings: 0
NativeFormat: 68
WriteFormat: 4
ReadFormat: 4
1st File Descriptor: 22
Frames in: 41969
Frames out: 83240
Time to Hangup: 0
Elapsed Time: 0h13m54s
-- PBX --
Context: phone1
Extension: 4994
Priority: 2
Call Group: 2
Pickup Group: 2
Application: Dial
Data: IAX2/ulaw@cube1/00010014994@croip
Stack: 0
Blocking in: ast_waitfor_nandfds
Variables:
DIALEDPEERNUMBER=ulaw@cube1/00010014994@croip
DIALEDPEERNAME=IAX2/cube1/3
CALLTYPE=SPEECH
tempvar=tempval
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4051 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-22 20:59:38 +00:00
markster
3a7aff1f3b
Thread fixes, vm fix (bug #2665 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4030 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-17 22:13:05 +00:00