you uncommented the wrong lines.
you have to uncomment these lines

    # authenticate if from local subscriber (uncomment to enable auth)
    # authenticate all initial non-REGISTER request that pretend to be
    # generated by local subscriber (domain from FROM URI is local)
##if (!(method=="REGISTER") && from_uri==myself) /*no multidomain version*/ ##if (!(method=="REGISTER") && is_from_local()) /*multidomain version*/
    ##{
    ##    if (!proxy_authorize("", "subscriber")) {
    ##        proxy_challenge("", "0");
    ##        exit;
    ##    }
    ##    if (!db_check_from()) {
    ##        sl_send_reply("403","Forbidden auth ID");
    ##        exit;
    ##    }
    ##
    ##    consume_credentials();
    ##    # caller authenticated
    ##}


Il 21/05/2010 16:21, Premalatha Kuppan ha scritto:
I hv attached my opensips.cfg file




On Fri, May 21, 2010 at 7:37 PM, Premalatha Kuppan <[email protected] <mailto:[email protected]>> wrote:

    Yes
    I created using opensipsctrl add 200 200

    But, even in log file i cudn't see nything :(

    Iam Opensips running on RHEL, and MySQL on seperate machine.
    Xlite from one Machine A, i changed the /etc/hosts also.



    On Fri, May 21, 2010 at 7:28 PM, Stefano Pisani
    <[email protected] <mailto:[email protected]>>
    wrote:

        did you create the user?
        post your opensips.cfg

        s

        Il 21/05/2010 15:48, Premalatha Kuppan ha scritto:
        Hi,

        When i run /etc/int.d/opensips it show running,

        /etc/init.d/opensips start
Starting opensips: [ OK ]

        But, cudn't register xlite to Opensips. No info can be found
        in the log file.

        Please help.

        [r...@204548-4 ~]# tail -f /var/log/messages
        May 21 09:34:05 204548-4 /usr/local/sbin/opensips[8938]:
        INFO:sl:mod_init: Initializing StateLess engine
        May 21 09:34:05 204548-4 /usr/local/sbin/opensips[8938]:
        INFO:tm:mod_init: TM - initializing...
        May 21 09:34:05 204548-4 /usr/local/sbin/opensips[8938]:
        INFO:maxfwd:mod_init: initializing...
        May 21 09:34:05 204548-4 /usr/local/sbin/opensips[8938]:
        INFO:usrloc:ul_init_locks: locks array size 512
        May 21 09:34:05 204548-4 /usr/local/sbin/opensips[8938]:
        INFO:registrar:mod_init: initializing...
        May 21 09:34:05 204548-4 /usr/local/sbin/opensips[8938]:
        INFO:textops:mod_init: initializing...
        May 21 09:34:05 204548-4 /usr/local/sbin/opensips[8938]:
        INFO:xlog:mod_init: initializing...
        May 21 09:34:05 204548-4 /usr/local/sbin/opensips[8938]:
        INFO:acc:mod_init: initializing...
        May 21 09:34:05 204548-4 /usr/local/sbin/opensips[8938]:
        INFO:auth:mod_init: initializing...
        May 21 09:34:05 204548-4 /usr/local/sbin/opensips[8938]:
        INFO:auth_db:mod_init: initializing...

        Thanks,
        Prem


        _______________________________________________
        Users mailing list
        [email protected]  <mailto:[email protected]>
        http://lists.opensips.org/cgi-bin/mailman/listinfo/users

        _______________________________________________
        Users mailing list
        [email protected] <mailto:[email protected]>
        http://lists.opensips.org/cgi-bin/mailman/listinfo/users




_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to