preserving the callee when dialing agents that use pstn endpoints setup

20 views
Skip to first unread message

Douglas Hubler

unread,
Jul 14, 2010, 11:43:02 PM7/14/10
to ope...@googlegroups.com
PROBLEM
I like to display the FS extension number on the agents phone when
they receive a call and configured to use pstn endpoints

SCENARIO
When a call from user "Joe" dials extension 300, where 300 is
configured as a ACD queue AND an agent logs into the system configured
to be contacted using PSTN endpoint and data. They see "Joe" as the
person calling them when they take a call off the queue. Although
this is probably the most desired response of the system, I'd actually
like the agent to see "300" because it's more helpful when an agent is
logged into multiple queues. I didn't verify this, but i think when
agents are configured with default sip_registration endpoints, they
would actually see "300". Maybe this was not intentional, but it was
desired.

COMMENTS
Dialstring being configurable thru freeswitch_media_manager is
immensely valuable, in fact so valuable, I think I want to control all
sort of parameterization. For example the FS mod command originate
has all these extra parameters an integrator would want to change
[<dialplan>] [<context>] [<cid_name>] [<cid_num>] [<timeout_sec>]
and i think cannot because they only control the <call_url> AFAIK

Jerry Browne

unread,
Jul 22, 2010, 9:58:26 AM7/22/10
to OpenACD
In the new OpenACD GUI I see some dialstring option on the media
manager setup. Is that intended to address this? If so, could
someone provide an example of how I might set that such that I get the
originally dialed number at the agent (rather than the agent ID)? So
what I really need is the callers ANI in the from field still, but the
originally dialed number in the To field. Of course the subject line
has to have the agent ID so that the call can get to the agent end
point. Follow?

Douglas Hubler

unread,
Jul 22, 2010, 11:45:11 AM7/22/10
to ope...@googlegroups.com
On Thu, Jul 22, 2010 at 9:58 AM, Jerry Browne <jerryb...@gmail.com> wrote:
> In the new OpenACD GUI I see some dialstring option on the media
> manager setup.  Is that intended to address this?  If so, could
> someone provide an example of how I might set that such that I get the
> originally dialed number at the agent (rather than the agent ID)?  So
> what I really need is the callers ANI in the from field still, but the
> originally dialed number in the To field.  Of course the subject line
> has to have the agent ID so that the call can get to the agent end
> point.  Follow?

yes, the way it is now, we can only control a section of the full dial
string sent to FS and I want to control many parameters beyond just $1
which is the agent id. $queueName. $callerId, $customOne etc. These
can be passed from FS's dial plan config or when actually placing the
call.

Jerry Browne

unread,
Jul 23, 2010, 8:44:24 AM7/23/10
to OpenACD
So does this imply that we can now set things up so that the
originally dialed number makes it down to the agent in the invite
somewhere? If so, how would I used those settings to set it up that
way?

On Jul 22, 11:45 am, Douglas Hubler <doug...@hubler.us> wrote:

Douglas Hubler

unread,
Jul 23, 2010, 9:11:16 AM7/23/10
to ope...@googlegroups.com
On Fri, Jul 23, 2010 at 8:44 AM, Jerry Browne <jerryb...@gmail.com> wrote:
> So does this imply that we can now set things up so that the
> originally dialed number makes it down to the agent in the invite
> somewhere?  If so, how would I used those settings to set it up that
> way?

First, we need a response from Andrew on how feasible this is.

Second, according to the FS documentation,
http://wiki.freeswitch.org/wiki/Mod_commands#originate

We'd be able to control all of these values
<exten> Extension you are calling from
<cid_name> CallerID name.
<cid_num> CallerID number.
Which I assume controls the From header

Aside: Andrew told me weeks ago that a cleaner way for me to setup my
system was to define a "gateway". It's possible that, that might be a
way to control the from field as well. Here's my naive attempt at what
that would look like

<gateway name="sipxecs-sales">
<param name="realm" value="$${domain}"/>
<param name="proxy" value="$${domain}"/>
<param name="register" value="false"/>
<param name="from-user" value="300"/>
</gateway>

Then in the freeswitch_media_manager I guess we would change it to

{ignore_early_media=true}/sofia/gateway/sipxecs-sales/$1

Reply all
Reply to author
Forward
0 new messages