How to use user directory integration with FS

26 views
Skip to first unread message

Marcin Gozdalik

unread,
Mar 21, 2012, 9:31:36 AM3/21/12
to ope...@googlegroups.com
Hi

I am trying to integrate agents list between OpenACD and FS. I could do it by hand (creating appropriate entries in user directory in FS and creating users with same login/password with OpenACD).
However, Getting Started document mentions integration, when OpenACD feeds FS with A1 hash, and after logging into OpenACD one can register with FS.

I can't get it to work. I see the code in src/freeswitch_media_manager.erl that does some A1 computation when "sip_auth" is put in action in some proplist. I don't see however "sip_auth" referenced anywhere else.

Is this feature implemented in v1 or is it something not finished?

Best regards

--
Marcin Gozdalik

Micah

unread,
Mar 23, 2012, 2:38:20 PM3/23/12
to ope...@googlegroups.com
This is a fail in the documentation/spec side.  It still functions in v2.

sip_auth is a valid option to pass into the start function of freeswitch_media_manager.  Enabling the manager from the admin gui presents a checkbox to enable integration.  The options are passed to the fetch handler process.  When a sip registration request comes in, Freeswitch will ask OpenACD for information.  OpenACD then checks it's list of currently logged in agents, generates an A1 hash and returns it.

The caveat is that when sip_auth is enabled on freeswitch_media_manager, registrations are rejected unless there is a matching agent logged in.

Micah

Marcin Gozdalik

unread,
Mar 29, 2012, 8:54:36 AM3/29/12
to ope...@googlegroups.com
Thanks for explanation. I got integration of agents in OpenACD with FS working.

2012/3/23 Micah <null...@gmail.com>



--
Marcin Gozdalik
Reply all
Reply to author
Forward
0 new messages