Hello,

i'm discovering FS. I hav read a lot about users and gateways.

I would like to  FS act as registrar for authenticated SIP trunking.

- Customers IPBX would register with login/password to Freeswitch.
- Incoming call would be routed to these SIP trunks in dialplan XML.

directory/users does not seem to be the solution because in dialplan, destination DID can't be defined, only user id :

<action application="bridge" data="user/myuserid"/>

gateway seems to be designed for SIP trunking to remote SIP gateway, not for FS to act as registrar.

Is it possible to FS to act as authenticated SIP trunking registrar ?

Thanks a lot,
Marc