[Home]

Summary:ASTERISK-05383: [patch] [post 1.2] open up agent variables to the dialplan
Reporter:vortex_0_o (vortex_0_o)Labels:
Date Opened:2005-10-28 06:08:57Date Closed:2008-01-15 16:07:59.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/NewFeature
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) agentfunc.patch
Description:would be great if we could get:

agent name from agent number
(to use as callerid)

agent password from agent number
(to allow passwordless logout)

real channel/extension (SIP, ZAP etc) agent is logged in at from agent number
(numerous reasons example call agent directly bypassing agent channel busy issues, allows for call waiting etc)
Comments:By: Russell Bryant (russell) 2005-11-21 14:12:27.000-0600

What we need for this is an AGENT dialplan function similar to the iAXPEER or SIPPEER functions.

By: Russell Bryant (russell) 2005-11-21 21:12:53.000-0600

I have posted an AGENT dialplan function.  Please try it out!

By: vortex_0_o (vortex_0_o) 2005-12-01 15:21:48.000-0600

Fantastic this works great!

Many thanx

By: Russell Bryant (russell) 2005-12-01 16:21:17.000-0600

Great!  Thanks for testing it.  Once another committer has a chance to review this, we'll get it merged.

By: Russell Bryant (russell) 2005-12-12 23:14:26.000-0600

I am now maintaining this patch in a branch in svn.  It is available in svn/asterisk/team/russell/agent_function

By: Russell Bryant (russell) 2005-12-20 12:57:23.000-0600

I have merged this into the trunk.

By: Digium Subversion (svnbot) 2008-01-15 16:06:26.000-0600

Repository: asterisk
Revision: 7459

A   team/russell/agent_function/

------------------------------------------------------------------------
r7459 | russell | 2008-01-15 16:06:26 -0600 (Tue, 15 Jan 2008) | 2 lines

create branch for AGENT dialplan function, discussed in issue ASTERISK-5383

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=7459

By: Digium Subversion (svnbot) 2008-01-15 16:07:50.000-0600

Repository: asterisk
Revision: 7554

U   trunk/channels/chan_agent.c

------------------------------------------------------------------------
r7554 | russell | 2008-01-15 16:07:50 -0600 (Tue, 15 Jan 2008) | 2 lines

add AGENT function, similar to SIPPEER or IAXPEER (issue ASTERISK-5383)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=7554

By: Digium Subversion (svnbot) 2008-01-15 16:07:59.000-0600

Repository: asterisk
Revision: 7564

_U  team/crichter/0.3.0/
U   team/crichter/0.3.0/apps/app_chanspy.c
U   team/crichter/0.3.0/apps/app_dial.c
U   team/crichter/0.3.0/apps/app_directed_pickup.c
U   team/crichter/0.3.0/apps/app_meetme.c
U   team/crichter/0.3.0/build_tools/make_svn_branch_name
U   team/crichter/0.3.0/cdr.c
U   team/crichter/0.3.0/channel.c
U   team/crichter/0.3.0/channels/Makefile
U   team/crichter/0.3.0/channels/chan_agent.c
U   team/crichter/0.3.0/channels/chan_iax2.c
U   team/crichter/0.3.0/channels/chan_mgcp.c
U   team/crichter/0.3.0/channels/chan_sip.c
U   team/crichter/0.3.0/cli.c
U   team/crichter/0.3.0/codecs/Makefile
U   team/crichter/0.3.0/codecs/codec_gsm.c
U   team/crichter/0.3.0/doc/README.ael
U   team/crichter/0.3.0/file.c
U   team/crichter/0.3.0/frame.c
U   team/crichter/0.3.0/include/asterisk/channel.h
U   team/crichter/0.3.0/include/asterisk/frame.h
U   team/crichter/0.3.0/include/asterisk/linkedlists.h
U   team/crichter/0.3.0/include/asterisk/rtp.h
U   team/crichter/0.3.0/include/asterisk/strings.h
U   team/crichter/0.3.0/res/res_agi.c
U   team/crichter/0.3.0/rtp.c
U   team/crichter/0.3.0/utils.c

------------------------------------------------------------------------
r7564 | crichter | 2008-01-15 16:07:58 -0600 (Tue, 15 Jan 2008) | 144 lines

Merged revisions 7509,7511-7512,7514,7516,7518,7520,7522,7524,7528,7538-7542,7547-7548,7551,7554,7556 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r7509 | tilghman | 2005-12-17 02:07:44 +0100 (Sa, 17 Dez 2005) | 3 lines

Merged revisions 7508 via svnmerge from
/branches/1.2

................
r7511 | kpfleming | 2005-12-17 03:21:36 +0100 (Sa, 17 Dez 2005) | 2 lines

block a commit to a module that no longer exists in trunk

................
r7512 | kpfleming | 2005-12-17 03:22:24 +0100 (Sa, 17 Dez 2005) | 10 lines

Merged revision 7510 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7510 | kpfleming | 2005-12-16 20:20:04 -0600 (Fri, 16 Dec 2005) | 2 lines

fix some buglet when building team branch version strings

........

................
r7514 | kpfleming | 2005-12-17 04:45:25 +0100 (Sa, 17 Dez 2005) | 10 lines

Merged revisions 7513 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7513 | kpfleming | 2005-12-16 21:44:30 -0600 (Fri, 16 Dec 2005) | 2 lines

forcibly expire previous subscriptions from a peer when they resubscribe (keeps them from building up and waiting for expiration, and stops us sending unwanted NOTIFY messages to devices)

........

................
r7516 | kpfleming | 2005-12-17 04:59:27 +0100 (Sa, 17 Dez 2005) | 10 lines

Merged revisions 7515 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7515 | kpfleming | 2005-12-16 21:59:05 -0600 (Fri, 16 Dec 2005) | 2 lines

Max-Forwards headers must only be present on requests, not responses

........

................
r7518 | tilghman | 2005-12-17 18:22:24 +0100 (Sa, 17 Dez 2005) | 3 lines

Merged revisions 7517 via svnmerge from
/branches/1.2

................
r7520 | tilghman | 2005-12-17 19:58:57 +0100 (Sa, 17 Dez 2005) | 3 lines

Merged revisions 7519 via svnmerge from
/branches/1.2

................
r7522 | tilghman | 2005-12-19 06:42:55 +0100 (Mo, 19 Dez 2005) | 3 lines

Merged revisions 7521 via svnmerge from
/branches/1.2

................
r7524 | tilghman | 2005-12-19 20:08:42 +0100 (Mo, 19 Dez 2005) | 3 lines

Merged revisions 7523 via svnmerge from
/branches/1.2

................
r7528 | russell | 2005-12-20 00:41:53 +0100 (Di, 20 Dez 2005) | 4 lines

- add note on required values of sip_methods struct
- remove duplicate function prototype
- remove duplicate ast_mutex_lock (issue ASTERISK-5866)

................
r7538 | russell | 2005-12-20 08:45:05 +0100 (Di, 20 Dez 2005) | 3 lines

allow forcing the build to exclude PRI support using WITHOUT_PRI, similar to
how we already have WITHOUT_ZAPTEL (issue ASTERISK-5829)

................
r7539 | russell | 2005-12-20 09:16:53 +0100 (Di, 20 Dez 2005) | 2 lines

use the system libgsm if available (issue ASTERISK-5287, modified to still work with builtin libgsm)

................
r7540 | markster | 2005-12-20 10:39:31 +0100 (Di, 20 Dez 2005) | 2 lines

Fix reload of peer contexts (bug ASTERISK-5848)

................
r7541 | markster | 2005-12-20 10:56:55 +0100 (Di, 20 Dez 2005) | 2 lines

Fix segfault on directed pickup when no CDR is available (bug ASTERISK-5839)

................
r7542 | markster | 2005-12-20 11:26:53 +0100 (Di, 20 Dez 2005) | 2 lines

Fix choppy audio with > 20ms audio frames (bug ASTERISK-5548)

................
r7547 | markster | 2005-12-20 14:07:02 +0100 (Di, 20 Dez 2005) | 3 lines

Major peformance improvements to meetme


................
r7548 | markster | 2005-12-20 15:14:01 +0100 (Di, 20 Dez 2005) | 2 lines

Don't bother decode on muted participants

................
r7551 | markster | 2005-12-20 18:52:31 +0100 (Di, 20 Dez 2005) | 3 lines

Major RTP fixes for using inbound SDP on outbound connection, get rid of
old local rtp stuff...

................
r7554 | russell | 2005-12-20 20:56:52 +0100 (Di, 20 Dez 2005) | 2 lines

add AGENT function, similar to SIPPEER or IAXPEER (issue ASTERISK-5383)

................
r7556 | russell | 2005-12-20 21:20:04 +0100 (Di, 20 Dez 2005) | 7 lines

- move the string join() function to utils.c since it is used in both cli.c and res_agi.c
- reimplement ast_join to be of linear effieciency instead of quadratic
- remove some useless checks for "if (e)"
- reorder checks for strings starting with '_' to avoid a useless call to ast_join()
- check array bounds when parsing arguments to AGI
(issue ASTERISK-5715)

................

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=7564