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
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.
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