And because it's static string for on-hook members, it's hard to set dynamically. For now, I'm using a callback way - whenever the sip client answered the call, it fetch the real connected number from a http server. That's not ideal because not only it add the complexity but also the callee have no idea what the number is before answer.

The problem for on-hook agent is that it call the agent first, and then get one customer from the fifo queue, so it is not possible to let the agent know the real caller-id before answer. Ideas?

2009/11/24 Anthony Minessale <anthony.minessale@gmail.com>
if you add {origination_caller_id_name=foo,origination_caller_id_number=123} before the static entries for the on hook agent it will prevail over the default one.

If you are using 1.0.4, this feature is only available in trunk or one of the 1.0.5 pre releases.


On Mon, Nov 23, 2009 at 4:49 PM, Adam Ford <lists@redbonez.net> wrote:

Is there any way to set the origination_caller_id for a FIFO outbound call to an on-hook agent?  I can’t find anything in the wiki about a FIFO or member variable to set this. It seems to be set to ‘Queue’ by default, and appears to be hardcoded in the module source.  It would be nice to be able to change per FIFO queue.  That way agents that handle multiple companies can more easily see which queue is calling and answer accordingly.

 

It is not a big deal, since it does automatically set the origination_caller_id_number to ‘fifo+<fifo name>’.  However, depending on the phone, the caller ID number is not always readily shown, and must be looked for.

 

Thanks to anyone who has some insight on this,

-Adam

  





--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org