Not able create configuration for admin to add users from any network

Hi Team,

I am using ejabberd 15.09. I want to allow admin to create new users from any network.
I am creating users programmatically using smack library
I tried various options but not able make it work. Below is my configuration

access:
    register:
        admin: allow
  trusted_network:
    all: allow


mod_register:
       ip_access: trusted_network
       access_from: register
       access: register

I feel above configuration should work, but I am not able to create an account.

Regards,
Ashwin

I have enbaled debug Here is

I have enbaled debug
Here is what i get when I try to create the account .
I am able to login to admin account

<0.1475.0>@ejabberd_sm:do_route:565 sending to process <0.1525.0>
2015-12-02 14:04:27.578 [debug] <0.1525.0>@ejabberd_c2s:send_text:1907 Send XML on stream = <<"9876543210">>

Syndicate content