WeSIP Click2call problem??

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

WeSIP Click2call problem??

arundeking
Hi all,

I am using openser-1.3.4 and Wesip, i configuration in openser.cfg file as well as server.xml in wesip.


I upload the click2call-08_11_06.sar file inside wesipapps folder.

Its working properly and started the wesip and its coming this.

debian:/usr/local/src/wesip/bin# HttpConnector[main] - The HttpConnector [all:8081] has been created
ExpressConnector [main] - SEAS module successfully connected at 192.168.1.144:5080

but when i am opening the browser with http://192.168.1.144:8081 the blank page is opening.

Please tell how can i solve it..


Thanks in advance

Arun singh



Reply | Threaded
Open this post in threaded view
|

Re: WeSIP Click2call problem??

Ginés Gómez
Hi Arun,

        could you please attach your server.xml and openser.cfg files ? There  
must be some misconfiguration issue

Regards

Ginés

>
> Hi all,
>
> I am using openser-1.3.4 and Wesip, i configuration in openser.cfg  
> file as
> well as server.xml in wesip.
>
>
> I upload the click2call-08_11_06.sar file inside wesipapps folder.
>
> Its working properly and started the wesip and its coming this.
>
> debian:/usr/local/src/wesip/bin# HttpConnector[main] - The  
> HttpConnector
> [all:8081] has been created
> ExpressConnector [main] - SEAS module successfully connected at
> 192.168.1.144:5080
>
> but when i am opening the browser with http://192.168.1.144:8081 the  
> blank
> page is opening.
>
> Please tell how can i solve it..
>
>
> Thanks in advance
>
> Arun singh
>
>
>
>
> --
> View this message in context: http://n2.nabble.com/WeSIP-Click2call-problem---tp2245222p2245222.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: WeSIP Click2call problem??

arundeking
Hi Ginés Gómez,

Sorry for late replay,

I solve the issue, and while calling from wesip Its working fine i am using x-lite soft phone.

 the voice is transferring properly.

The new issue has come. I am using voip provider for call the mobile phone no. through the wesip for one leg call.
One user is x-lite and other is mobile phone no.

When giving  origin and destination no in wesip then it is ringing the x-lite first after pick up the a call the call is going to mobile phone when i pickup the call in mobile phone . the scenario is like this..

X-lit to............................Voice is coming...................................... mobile phone no.    

Mobile phone ...................................voice is not coming.............................X-lite.

openser.cfg  file is:


>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

debug=3            
fork=yes
log_stderror=yes   # (cmd line: -E)
sip_warning=yes
log_facility=LOG_LOCAL0
children=4


port=5080


# ------------------ module loading ----------------------------------
#set module path
mpath="/usr/lib/opensips/modules/"
# Uncomment this if you want to use SQL database

loadmodule "db_mysql.so"
loadmodule "sl.so"
loadmodule "tm.so"
loadmodule "rr.so"
loadmodule "maxfwd.so"
loadmodule "usrloc.so"
loadmodule "registrar.so"
loadmodule "textops.so"
loadmodule "uri.so"
loadmodule "uri_db.so"
loadmodule "permissions.so"
loadmodule "group.so"
loadmodule "mi_fifo.so"
loadmodule "lcr.so"
loadmodule "avpops.so"
loadmodule "xlog.so"
loadmodule "dialog.so"
loadmodule "nat_traversal.so"
loadmodule "nathelper.so"

#loadmodule "mediaproxy.so"
loadmodule "acc.so"


 # added for WeSIP
 loadmodule "seas.so"

 # end added for WeSIP


# ----------------- setting module-specific parameters ---------------
/* uncomment next lines for MySQL based authentication support
   NOTE: a DB (like mysql) module must be also loaded */

loadmodule "auth.so"
loadmodule "auth_db.so"

/* uncomment next line for aliases support
   NOTE: a DB (like mysql) module must be also loaded */
#loadmodule "alias_db.so"

/* uncomment next line for multi-domain support
   NOTE: a DB (like mysql) module must be also loaded
   NOTE: be sure and enable multi-domain support in all used modules
         (see "multi-module params" section ) */
loadmodule "domain.so"

/* uncomment the next two lines for presence server support
   NOTE: a DB (like mysql) module must be also loaded */
#loadmodule "presence.so"
#loadmodule "presence_xml.so"
#loadmodule "presence_mwi.so"
/*loading pua modules */
#loadmodule "pua.so"
#loadmodule "pua_mi.so"

/* loading resource list modules*/
#loadmodule "rls.so"

/* Loading mi_xmlrpc module */
#loadmodule "mi_xmlrpc.so"


# ----------------- setting module-specific parameters ---------------


# ----- mi_fifo params -----
modparam("mi_fifo", "fifo_name", "/tmp/opensips_fifo")


# ----- rr params -----
# add value to ;lr param to cope with most of the UAs
modparam("rr", "enable_full_lr", 1)
# do not append from tag to the RR (no need for this script)
modparam("rr", "append_fromtag", 0)


# ----- rr params -----
modparam("registrar", "method_filtering", 1)
/* uncomment the next line to disable parallel forking via location */
# modparam("registrar", "append_branches", 0)
/* uncomment the next line not to allow more than 10 contacts per AOR */
#modparam("registrar", "max_contacts", 10)


# ----- uri_db params -----
/* by default we disable the DB support in the module as we do not need it
   in this configuration */
modparam("uri_db", "use_uri_table", 0)
modparam("uri_db", "db_url", "mysql://opensips:opensipsrw@localhost/opensips")


# ----- acc params -----
/* what sepcial events should be accounted ? */
modparam("acc", "db_url", "mysql://opensips:opensipsrw@localhost/opensips")
modparam("acc", "early_media", 1)
modparam("acc", "report_ack", 1)
modparam("acc", "report_cancels", 1)

/* by default ww do not adjust the direct of the sequential requests.
   if you enable this parameter, be sure the enable "append_fromtag"
   in "rr" module */
modparam("acc", "detect_direction", 0)

/* account triggers (flags) */

modparam("acc", "failed_transaction_flag", 3)
modparam("acc", "log_flag", 1)
modparam("acc", "log_missed_flag", 2)

/* uncomment the following lines to enable DB accounting also */
modparam("acc", "db_flag", 1)
modparam("acc", "db_missed_flag", 2)


# ----- usrloc params -----
modparam("usrloc", "db_mode",   0)
/* uncomment the following lines if you want to enable DB persistency
   for location entries */
modparam("usrloc", "db_mode",   2)
modparam("usrloc", "db_url", "mysql://opensips:opensipsrw@localhost/opensips")


# ----- auth_db params -----
/* uncomment the following lines if you want to enable the DB based
   authentication */
modparam("auth_db", "calculate_ha1", yes)
modparam("auth_db", "password_column", "password")
modparam("auth_db", "db_url", "mysql://opensips:opensipsrw@localhost/opensips")
modparam("auth_db", "load_credentials", "")


# ----- alias_db params -----
/* uncomment the following lines if you want to enable the DB based
   aliases */
#modparam("alias_db", "db_url",
# "mysql://openser:openserrw@localhost/openser")


# ----- domain params -----
/* uncomment the following lines to enable multi-domain detection
   support */
modparam("domain", "db_url", "mysql://opensips:opensipsrw@localhost/opensips")
modparam("domain", "db_mode", 1)   # Use caching


# ----- multi-module params -----
/* uncomment the following line if you want to enable multi-domain support
   in the modules (dafault off) */
modparam("alias_db|auth_db|usrloc|uri_db", "use_domain", 1)


#--------------LCR params
#modparam("lcr", "dm_flag", 25)
modparam("lcr", "flags_avp", "$avp(i:712)")
modparam("lcr", "fr_inv_timer_avp", "$avp(i:704)")
modparam("lcr", "gw_uri_avp", "$avp(i:709)")
modparam("lcr", "ruri_user_avp", "$avp(i:500)")
modparam("lcr", "contact_avp", "$avp(i:711)")
modparam("^auth$|lcr", "rpid_avp", "$avp(i:302)")

#---------------avpops param
modparam("avpops", "avp_url", "mysql://opensips:opensipsrw@localhost/opensips")
modparam("avpops", "avp_table", "usr_preferences")


#-----------------------------Permission params
modparam("permissions", "db_mode", 1)
modparam("permissions", "db_url", "mysql://opensips:opensipsrw@localhost/opensips")
modparam("permissions", "trusted_table", "trusted")


#-------------------------Dialog Params---------------------------
modparam("dialog", "dlg_flag", 4)

#----------------Media proxy params

modparam("nathelper","natping_interval", 0)
modparam("usrloc", "nat_bflag", 3)
modparam("nathelper","received_avp", "$avp(i:42)")
#modparam("mediaproxy","natping_interval",20)
modparam("nathelper", "sipping_bflag", 7)
modparam("nathelper", "rtpproxy_sock", "udp:127.0.0.1:8899")
modparam("nathelper", "force_socket", "udp:localhost:8899")
#modparam("mediaproxy","mediaproxy_socket", "/var/run/mediaproxy.sock")
#modparam("mediaproxy","sip_asymmetrics","/etc/openser/sip-clients")
#modparam("mediaproxy","rtp_asymmetrics","/ect/openser/rtp-clients")

# ----- presence params -----
/* uncomment the following lines if you want to enable presence */
#modparam("presence|pua|rls", "db_url","mysql://openser:openserrw@localhost/openser")
#modparam("presence", "server_address", "sip:192.168.1.144:5060")
#modparam("presence", "presentity_table", "presentity")
#modparam("presence", "active_watchers_table", "active_watchers")
#modparam("presence", "watchers_table", "watchers")
#modparam("presence", "fallback2db", 1)

#-----------xcap params------------
#modparam("presence_xml", "xcap_server", "192.168.1.144:443")
#modparam("presence_xml", "db_url", "mysql://openser:openserrw@localhost/openser")
#modparam("presence_xml", "force_active", 0)
#modparam("presence_xml", "xcap_table", "xcap")
#modparam("presence_xml", "pidf_manipulation", 1)
#modparam("presence_xml", "integrated_xcap_server", 1)

# -- rls params --

#modparam("rls","db_url", "mysql://openser:openserrw@localhost/openser")
#modparam("rls", "integrated_xcap_server", 1)
#modparam("rls", "xcap_root", "http://192.168.1.144/xcap-root:443")
#modparam("rls", "to_presence_code", 10)
#modparam("rls", "xcap_table", "xcap")
#modparam("rls", "rls_event", "dialog;sla")

#------------------mi_xmlrpc---------------
#modparam("mi_xmlrpc", "log_file", "/var/log/openser-xmlrpc.log")
#modparam("mi_xmlrpc", "port", 9000)


#---------------------Radius params------------------
#modparam("acc", "radius_config", "/etc/radiusclient-ng/radiusclient.conf")
#modparam("acc", "radius_flag", 2)
#modparam("acc", "radius_missed_flag", 3)
#modparam("acc", "service_type", 15)
#modparam("auth_radius|group_radius|avp_radius", "radius_config","/etc/radiusclient-ng/radiusclient.conf")
#modparam("avp_radius", "radius_config", "/etc/radiusclient-ng/radiusclient.conf")
#modparam("acc", "radius_extra", "User-Name=$Au; \
#       Calling-Station-Id=$from; \
#       Called-Station-Id=$to; \
#       Sip-Translated-Request-URI=$ruri; \
#                               Sip-RPid=$avp(s:rpid); \
#                               Source-IP=$si; \
#                               Source-Port=$sp; \
#                               Canonical-URI=$avp(s:can_uri); \
#                               Billing-Party=$avp(s:billing_party); \
#                               Divert-Reason=$avp(s:divert_reason); \
#                               X-RTP-Stat=$hdr(X-RTP-Stat); \
#                               Contact=$hdr(contact); \
#                              Event=$hdr(event); \
#                               SIP-Proxy-IP=$avp(s:sip_proxy_ip); \
#                               ENUM-TLD=$avp(s:enum_tld)")


# -- group_radius params --
#modparam("group_radius", "use_domain", 1)
#modparam("group_radius", "radius_config", "/etc/radiusclient-ng/radiusclient.conf")


# -- avpops params --
#modparam("avpops", "avp_aliases", "day=i:101;time=i:102")
#modparam("avpops", "avp_url", "mysql://openser:openserrw@localhost/openser")
#modparam("avpops", "avp_table", "usr_preferences")


 


modparam("seas","listen_sockets","210.24.31.133:5090")

reply_to_via=1
listen = tcp:210.24.31.133:5080
listen = udp:210.24.31.133:5080




# -------------------------  request routing logic -------------------
# main routing logic

route[15]{
if(is_present_hf("X-WeSIP-SPIRAL")){
 #account, log, register, or whatever
                t_relay();
       }else{
               as_relay_t("app_server_1");

      } }


route{


     $avp(s:can_uri) = $ru;


    log(1,"*******************--ENTERING--*********\n");

    #xlog("L_INFO", "\nrequest method: [$rm], from URI: [$fu], To URI: [$tu]\n");
    #xlog("L_INFO", "\nUser-Name=$Au; \n Calling-Station-Id=$from; \n Called-Station-Id=$to; \n \
    #              Sip-Translated-Request-URI=$ruri;\n Sip-RPid=$avp(s:rpid); \n Source-IP=$si; \n \
    #              Source-Port=$sp; \n Canonical-URI=$avp(s:can_uri); \n Billing-Party=$avp(s:billing_party); \n \
    #             Divert-Reason=$avp(s:divert_reason); \n X-RTP-Stat=$hdr(X-RTP-Stat); \n \
    #              Contact=$hdr(contact); \n Event=$hdr(event); \n SIP-Proxy-IP=$avp(s:sip_proxy_ip); \n \
    #              ENUM-TLD=$avp(s:enum_tld) \n");
    #
    # -- 1 -- Request Validation
    #
    if (!mf_process_maxfwd_header("10")) {
        sl_send_reply("483","Too Many Hops");
        exit;
    };
    if (msg:len >=  2048 ) {
        sl_send_reply("513", "Message too big");
        exit;
    };
    #
    # -- 2 -- Routing Preprocessing
    #
    ## Record-route all except Register
    ## Mark packets with nat=yes
    ## This mark will be used to identify the request in the loose  
    ## route section
    if(!is_method("REGISTER")){
        if(nat_uac_test("19")){
            record_route(";nat=yes");
        } else {
            record_route();
        };
    };


##---------------------------Presence related info

     #  if(is_method("PUBLISH")) {
     #   xlog("L_INFO", "$rm $hdr(event) for $fu ($ua)");
     #   if (!t_newtran()) {
     #       sl_reply_error();
     #       exit;
     #   };
     #   handle_publish();
     # t_release();

    #} else if( is_method("NOTIFY"))
        #{
        # rls_handle_notify();
        # t_release();
       
    #} else if( is_method("SUBSCRIBE")) {
     #   log(1,"\n****************I AM SUBSCRIBE");
      #  xlog("L_INFO", "$rm $hdr(event) from $fu to $ru ($ua)");
       # if (!t_newtran()) {
        #    sl_reply_error();
         #   exit;
        #};

        #$var(ret_code)= rls_handle_subscribe();
        #if($var(ret_code)== 10) {
         #       log(1,"\n*********************** I AM HANDLING SUBSCRIBE");
        # handle_subscribe();
        #}

        #t_release();

   # }


####---------------------------------------------------------------




    ##Loose_route packets
    if (has_totag()) {
        #sequential request withing a dialog should
        # take the path determined by record-routing
        if (loose_route()) {
#---------------------------RADIUS LOGING----------------------------------------#
        # if(method=="BYE") {
    # #Account BYE transactions
        #                log(1,"\nFLAG IS SET TO 2\n");
    # setflag(2);
        # };

#------------------------END OF RADIUS LOGING------------------------------------#


            #Check authentication of re-invites
            if(method=="INVITE" && (!allow_trusted())) {
                if (!proxy_authorize("","subscriber")) {
                   proxy_challenge("","1");
                   exit;
                } else if (!check_from()) {
                   sl_send_reply("403", "Forbidden, use From=ID");
                   exit;
                };
            };
            if(method=="BYE" || method=="CANCEL") {
                 unforce_rtp_proxy();
        #end_media_session();
            };
            ##Detect requests in the dialog behind NA, flag with 6
            if(nat_uac_test("19") || search("^Route:.*;nat=yes")){
                append_hf("P-hint: LR|fixcontact,setflag6\r\n");
                fix_contact();
                setbflag(6);
            };
            route(1);
        } else {
            sl_send_reply("404","Not here");
        }
        exit;
    }
    #CANCEL processing
    if (is_method("CANCEL")) {
        if (t_check_trans()) {
            unforce_rtp_proxy();
            #end_media_session();
            t_relay();
        };  
            exit;
      }
    t_check_trans();
    #
    # -- 3 -- Determine Request Target
    #
    if (method=="REGISTER") {
    log(1,"--------REGISTER LOOP IN MAIN ROUTE\n");
        route(2);
    } else {
        route(3);
    };
}
route[1] {
    #
    # -- 4 -- Forward request to target
    #
    # Forward statefully
    log(1,"\n************************** FORWARDING THE REPLY TO 66.33.157.119");
    t_on_reply("1");
    t_on_failure("1");
    if (!t_relay()) {
        sl_reply_error();
    };
    exit;
}
route[2] {
   
    ## Register request handler
    if (is_uri_host_local()) {
        if (!www_authorize("", "subscriber")) {
            www_challenge("", "1");
            exit;
        };
        if (!check_to()) {
            sl_send_reply("403", "Forbidden");
            exit;
        };
        if(!search("^Contact:[ ]*\*") && client_nat_test("7")) {
            log(1,"-------NAT Checking\n");
            setbflag(6);
            fix_nated_register();
            force_rport();
        };
        save("location");
        exit;
    } else if {
     sl_send_reply("403", "Forbidden");
    };
}
route[3] {
    ## Requests handler
#------------------------------RADIUS HANDLER IN INVITE----------------------------------------#
        #if (method=="INVITE") {
  # # Account INVITE packets
        #        log(1,"\nFLAG IS SET FOR 2 in INVITE ROUTE\n");
      # setflag(2);
      # # Account Missed calls
         #       log(1,"\nFLAG SET FOR 3 for missed calls\n");
      # setflag(3);
      # Radius Extra
      # $avp(s:sip_proxy_ip)="192.168.1.144";
         #       log(1,"\n SIP_PROXY_IP is $avp(s:sip_proxy_ip) \n");
        #};


#---------------------------------END OF RADIUS LOGGING-----------------------------------------#

    if (is_from_local()){
        # From an internal domain -> check the credentials and the FROM
        if(!allow_trusted()){
            if (!proxy_authorize("","subscriber")) {
                proxy_challenge("","0");
                exit;
            } else if(!check_from()) {
          sl_send_reply("403", "Forbidden, use From=ID");
          exit;
        };
        };
        if (client_nat_test("3")) {
            append_hf("P-hint: setflag7|forcerport|fix_contact\r\n");
            setbflag(7);
            force_rport();
            fix_contact();
        };
        #unconditional call forward
        if(avp_db_load("$ru/username","$avp(s:callfwd)")) {
            avp_pushto("$ru", "$avp(s:callfwd)");
            route(1);
            exit;
        }
            consume_credentials();
    #verify aliases, if found replace R-URI.
    lookup("aliases");
   
    if (is_uri_host_local()) {
        # -- Inbound to Inbound
        route(10);
    } else {
        # -- Inbound to outbound
        route(11);
    };
} else {
    #From an external domain ->do not check credentials
       #Verify aliases, if found replace R-URI.
        lookup("aliases");
            if (is_uri_host_local()) {
                #-- Outbound to inbound
                route(12);
            } else {
                # -- Outbound to outbound
                route(13);
            };
    };
}
route[4] {
/*    # routing to the public network
    if (!load_gws()) {
        sl_send_reply("503", "Unable to load gateways");
   exit;
    }
        if(!next_gw()){
        sl_send_reply("503", "Unable to find a gateway");
   exit;
    }
    t_on_failure("2");
    if (!t_relay()) {
        sl_reply_error();
    };
    exit;*/
    log(1,"\n********************* REWRITING THE HOST PORT\n");
    rewritehostport("66.33.157.119");
    route(1);
}
route[6] {
    #
    # -- NAT handling --
    #
    if (isbflagset(6) || isbflagset(7)) {
        append_hf("P-hint: Route[6]: mediaproxy \r\n");
        force_rtp_proxy();
        #use_media_proxy();
    };
}
route[10] {
    #from an internal domain -> inbound
    #Native SIP destinations are handled using the location table
    #Gateway destinations are handled by regular expressions
    append_hf("P-hint: inbound->inbound \r\n");
   
    log(1,"***************************ENTERING THE PSTN block*********\n");
    if (uri=~"^sip:00[0-9]{10,25}@") {
        log(1,"\n******************** IAM A LOCAL CALL");
        if (is_user_in("credentials","local")) {
             strip(2);
             route(6);
             log(1,"\n*********************** I AM GOING TO ENTER ROUTE 4");
             route(4);
             exit;
        } else {
            sl_send_reply("403", "No permissions for local calls");
            exit;
        };
    };      
    if (uri=~"^sip:1[2-9][0-9]{9}@") {
        if (is_user_in("credentials","ld")) {
            strip(1);
            prefix("+1");
            route(6);
            route(4);
            exit;
        } else {
            sl_send_reply("403", "No permissions for long distance");
            exit;
        };
    };
    if (uri=~"^sip:011[0-9]*@") {
        if (is_user_in("credentials","int")) {
            strip(3);
            prefix("+");
            route(6);
            route(4);
            exit;
                    } else {
            sl_send_reply("403", "No permissions for  
                          international calls");
        };
    };
           
    if (!lookup("location")) {
        if (does_uri_exist()) {
            ## User not registered at this time.
            ## Use the IP Address of your e-mail server
            revert_uri();
            prefix("u");
            rewritehostport("192.168.1.171"); #Use the IP address of your voicemail server
            route(6);
       route(1);
        } else {
            sl_send_reply("404", "Not Found");
       exit;
        }  
        sl_send_reply("404", "Not Found");
        exit;
            };
    route(6);
    route(1);
}
route[11] {
     # from an internal domain -> outbound
     # Simply route the call outbound using DNS search
     append_hf("P-hint: inbound->outbound \r\n");
     route(1);
}
route[12] {
     # From an external domain -> inbound
     # Verify aliases, if found replace R-URI.
     lookup("aliases");
     if (!lookup("location")) {
          sl_send_reply("404", "Not Found");
          exit;
     };
     route(1);
}
route[13] {
     #From an external domain outbound
     #we are not accepting these calls
     append_hf("P-hint: outbound->inbound \r\n");
     sl_send_reply("403", "Forbidden");
     exit;
}
failure_route[1] {
        ##--
        ##-- If cancelled, exit.
        ##--
        if (t_was_cancelled()) {
            exit;
        };
        ##--
        ##-- If busy send to the e-mail server, prefix the "b"
        ##-- character to indicate busy.
        ##--
        if (t_check_status("486")) {
            revert_uri();
            prefix("b");
            rewritehostport("192.168.1.171");
            append_branch();
            route(1);
            exit;
        };
                ##--
        ##-- If timeout (408) or unavailable temporarily (480),
        ##-- prefix the uri with the "u"character to indicate
        ##-- unanswered and send to the e-mail
        ##-- sever
        ##--
        if (t_check_status("408") || t_check_status("480")) {
           revert_uri();
           prefix("u");
           rewritehostport("192.168.1.171");
           append_branch();
           route(1);
           exit;
        };
}
failure_route[2] {
    if(!next_gw()) {
        t_reply("503", "Service not available, no more gateways");
        exit;
    };
    t_on_failure("2");
    t_relay();
}



onreply_route[1] {
#
#-- On-replay block routing --
#
    if (client_nat_test("1")) {
        append_hf("P-hint: Onreply-route - fixcontact \r\n");
        fix_contact();
    };
    if ((isbflagset(6) || isbflagset(7)) && (status=~"(180)|(183)|2[0-9][0-9]")) {
        if (search("^Content-Type:[ ]*application/sdp")) {
            append_hf("P-hint: onreply_route|usemediaproxy \r\n");
            force_rtp_proxy();
            #use_media_proxy();
        };
    };
    exit;
}
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

The server.xml file is like this:

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<,

<Server port="5006" shutdown="SHUTDOWN" debug="0">
        <Service name="WeSIP-Standalone">
      <Connector className="org.apache.catalina.connector.http.HttpConnector"
          port="8084" minProcessors="5" maxProcessors="10"
          enableLookups="true" acceptCount="10" debug="0" />
 
                <Connector className="com.voztele.sipservlet.connector.SipConnector"
          minProcessors="5" maxProcessors="10"
          enableLookups="true" acceptCount="10" debug="0"
          addresses="120.32.121.35:5080" pathName="com.voztele" protocol="udp" >
                  <ExtraProperties>
                          <Property key="com.voztele.javax.sip.SER_ADDRESS" value="120.32.121.35" />
                          <Property key="com.voztele.javax.sip.SER_PORT" value="5090" />
                          <Property key="com.voztele.STATISTICS" value="false" />
                                        <Property key="javax.sip.STACK_NAME" value="wesipapp" />
                                        <Property key="javax.sip.STACK_NAME" value="app_server_1" />
                                     
                                        <Property key="javax.sip.THREAD_POOL_SIZE" value="100" />
                                        <Property key="com.voztele.javax.sip.THREAD_POOL_SIZE" value="100" />   
            <Property key="com.voztele.javax.sip.REENTRANT_LISTENER" value="true" />
                                        <Property key="javax.sip.AUTOMATIC_DIALOG_SUPPORT" value="false" />
                                        <Property key="com.voztele.javax.sip.TRACE_LEVEL" value="0" /> 
                  </ExtraProperties>
          </Connector>

         
      <Engine name="Standalone" defaultHost="localhost" debug="0" className="com.voztele.sipservlet.core.ConvergedEngine">
         
                        <Mapper className="org.apache.catalina.core.StandardEngineMapper" protocol="HTTP/1.1"/>
                        <Mapper className="org.apache.catalina.core.StandardEngineMapper" protocol="HTTP/1.0"/>
          <Mapper className="com.voztele.sipservlet.core.EngineSipMapper" protocol="SIP/2.0"/>
                        <Logger className="org.apache.catalina.logger.FileLogger" timestamp="true"/>
                        <Realm className="org.apache.catalina.realm.MemoryRealm" />
         
                     
                        <Host name="localhost" nameSip="120.32.121.35_5080" debug="0"  appBase="wesipapps"                         className="com.voztele.sipservlet.core.ConvergedHost">
                               
                                <Logger className="org.apache.catalina.logger.FileLogger" timestamp="true"/>
                                <Mapper className="com.voztele.sipservlet.core.SipHostMapper" protocol="SIP/2.0"/>
                                <Mapper className="org.apache.catalina.core.HttpHostMapper" protocol="HTTP/1.1"/>
                                <Mapper className="org.apache.catalina.core.HttpHostMapper" protocol="HTTP/1.0"/>
                               
              </Host>
   
    </Engine>
        </Service>
</Server>
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Can you tell me where i am wrong and or how can i solve this issue..

Thank in advance

Arun singh





Ginés Gómez wrote
Hi Arun,

        could you please attach your server.xml and openser.cfg files ? There  
must be some misconfiguration issue

Regards

Ginés

>
> Hi all,
>
> I am using openser-1.3.4 and Wesip, i configuration in openser.cfg  
> file as
> well as server.xml in wesip.
>
>
> I upload the click2call-08_11_06.sar file inside wesipapps folder.
>
> Its working properly and started the wesip and its coming this.
>
> debian:/usr/local/src/wesip/bin# HttpConnector[main] - The  
> HttpConnector
> [all:8081] has been created
> ExpressConnector [main] - SEAS module successfully connected at
> 192.168.1.144:5080
>
> but when i am opening the browser with http://192.168.1.144:8081 the  
> blank
> page is opening.
>
> Please tell how can i solve it..
>
>
> Thanks in advance
>
> Arun singh
>
>
>
>
> --
> View this message in context: http://n2.nabble.com/WeSIP-Click2call-problem---tp2245222p2245222.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
>
> _______________________________________________
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>


_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users