Hello luhan,
from this statement in the log "
no processor found for packet with dst port:5060"
its seems to me that something went wrong between WeSIP-java and seas in
the agreement of which packets is WeSIP interested in. you can have
seas/openser listen on many ports, but WeSIP only be receiving some
ports. At initialization WeSIP and seas agree on which ports are going
to be forwarded to WeSIP, each port is assigned a 'processor', and this
looks like configuration of WeSIP didnt include 5060 port... might be
only for TCP or UDP.
please, review your WeSIP configuration (conf/server.xml file).
it could also be a dramatic bug on my side :P, so dont hesitate on
insisting on this.
server.xml config file would also help on solving this issue.
best regards,
Elias
luhan wrote:
HI:
i setup openser1.2.0 with wesip at one PC,my OS is AS4,and get the " 500 Server Internal
Error!" response when "INVITE";
this is my debug log:
---------------------------------------------
SIP Request:
0(4768) method: <INVITE>
0(4768) uri: <sip:[EMAIL PROTECTED]>
0(4768) version: <SIP/2.0>
0(4768) parse_headers: flags=2
0(4768) end of header reached, state=5
0(4768) parse_headers: Via found, flags=2
0(4768) parse_headers: this is the first via
0(4768) After parse_msg...
0(4768) preparing to run routing scripts...
0(4768) parse_headers: flags=100
0(4768) DEBUG:maxfwd:is_maxfwd_present: value = 70
0(4768) parse_headers: flags=10
0(4768) DEBUG: add_param: tag=ea4356ed66934d1fb09cb00d2a9bbf13
0(4768) DEBUG: add_param: epid=74d96acc9e
0(4768) DEBUG:parse_to:end of header reached, state=29
0(4768) DBUG:parse_to: display={"luhan"}, ruri={sip:[EMAIL PROTECTED]
0(4768) parse_headers: flags=200
0(4768) DEBUG:parse_to:end of header reached, state=10
0(4768) DBUG:parse_to: display={}, ruri={sip:[EMAIL PROTECTED]
0(4768) DEBUG: get_hdr_field: <To> [25]; uri=[sip:[EMAIL PROTECTED]
0(4768) DEBUG: to body [<sip:[EMAIL PROTECTED]>
]
0(4768) get_hdr_field: cseq <CSeq>: <1> <INVITE>
0(4768) DEBUG: get_hdr_body : content_length=523
0(4768) found end of header
0(4768) find_first_route: No Route headers found
0(4768) loose_route: There is no Route HF
0(4768) grep_sock_info - checking if host==us: 12==12 && [192.168.7.13] ==
[192.168.7.13]
0(4768) grep_sock_info - checking if port 5060 matches port 5060
0(4768) lookup(): '8001' Not found in usrloc
0(4768) grep_sock_info - checking if host==us: 12==12 && [192.168.7.13] ==
[192.168.7.13]
0(4768) grep_sock_info - checking if port 5060 matches port 5060
0(4768) rewrite_uri: Rewriting Request-URI with 'sip:[EMAIL PROTECTED]:5061'
0(4768) parse_headers: flags=ffffffffffffffff
0(4768) DEBUG: t_newtran: T on entrance=0xffffffff
0(4768) parse_headers: flags=ffffffffffffffff
0(4768) parse_headers: flags=78
0(4768) t_lookup_request: start searching: hash=17460, isACK=0
0(4768) DEBUG: proceeding to pre-RFC3261 transaction matching
0(4768) DEBUG: t_lookup_request: no transaction found
0(4768) new INVITE
0(4768) parse_headers: flags=ffffffffffffffff
0(4768) check_via_address(192.168.7.14, 192.168.7.14, 0)
0(4768) WARNING:vqm_resize: resize(0) called
0(4768) DEBUG:tm:_reply_light: reply sent out. buf=0x81544d0: SIP/2.0 1...,
shmem=0xb617a3a8: SIP/2.0 1
0(4768) DEBUG:tm:_reply_light: finished
0(4768) no processor found for packet with dst port:5060
0(4768) parse_headers: flags=ffffffffffffffff
0(4768) check_via_address(192.168.7.14, 192.168.7.14, 0)
0(4768) DEBUG: cleanup_uac_timers: RETR/FR timers reset
0(4768) DEBUG:tm:set_timer: relative timeout is 500000
0(4768) DEBUG: add_to_tail_of_timer[4]: 0xb6178880 (64500000)
0(4768) DEBUG:tm:set_timer: relative timeout is 30
0(4768) DEBUG: add_to_tail_of_timer[0]: 0xb617889c (94)
0(4768) DEBUG:tm:_reply_light: reply sent out. buf=0x8154630: SIP/2.0 5...,
shmem=0xb617a3a8: SIP/2.0 5
0(4768) DEBUG:tm:_reply_light: finished
0(4768) DEBUG:tm:UNREF_UNSAFE: after is 0
0(4768) DEBUG:destroy_avp_list: destroying list (nil)
0(4768) receive_msg: cleaning up
0(4768) SIP Request:
0(4768) method: <ACK>
0(4768) uri: <sip:[EMAIL PROTECTED]>
0(4768) version: <SIP/2.0>
0(4768) parse_headers: flags=2
0(4768) end of header reached, state=5
0(4768) parse_headers: Via found, flags=2
0(4768) parse_headers: this is the first via
0(4768) After parse_msg...
0(4768) preparing to run routing scripts...
0(4768) DEBUG : sl_filter_ACK: to late to be a local ACK!
0(4768) parse_headers: flags=100
0(4768) DEBUG:maxfwd:is_maxfwd_present: value = 70
0(4768) parse_headers: flags=10
0(4768) DEBUG: add_param: tag=ea4356ed66934d1fb09cb00d2a9bbf13
0(4768) DEBUG: add_param: epid=74d96acc9e
0(4768) DEBUG:parse_to:end of header reached, state=29
0(4768) DBUG:parse_to: display={"luhan"}, ruri={sip:[EMAIL PROTECTED]
0(4768) parse_headers: flags=200
0(4768) DEBUG: add_param: tag=247ebaf4bad05d36e355dada7f3546d3-00ac
0(4768) DEBUG:parse_to:end of header reached, state=29
0(4768) DBUG:parse_to: display={}, ruri={sip:[EMAIL PROTECTED]
0(4768) DEBUG: get_hdr_field: <To> [67]; uri=[sip:[EMAIL PROTECTED]
0(4768) DEBUG: to body [<sip:[EMAIL PROTECTED]>]
0(4768) get_hdr_field: cseq <CSeq>: <1> <ACK>
0(4768) DEBUG: get_hdr_body : content_length=0
0(4768) found end of header
0(4768) find_first_route: No Route headers found
0(4768) loose_route: There is no Route HF
0(4768) grep_sock_info - checking if host==us: 12==12 && [192.168.7.13] ==
[192.168.7.13]
0(4768) grep_sock_info - checking if port 5060 matches port 5060
0(4768) lookup(): '8001' Not found in usrloc
0(4768) grep_sock_info - checking if host==us: 12==12 && [192.168.7.13] ==
[192.168.7.13]
0(4768) grep_sock_info - checking if port 5060 matches port 5060
0(4768) rewrite_uri: Rewriting Request-URI with 'sip:[EMAIL PROTECTED]:5061'
0(4768) parse_headers: flags=ffffffffffffffff
0(4768) DEBUG: t_newtran: T on entrance=0xffffffff
0(4768) parse_headers: flags=ffffffffffffffff
0(4768) parse_headers: flags=78
0(4768) t_lookup_request: start searching: hash=17460, isACK=1
0(4768) DEBUG: proceeding to pre-RFC3261 transaction matching
0(4768) DEBUG: non-2xx ACK matched
0(4768) DEBUG:tm:REF_UNSAFE: after is 1
0(4768) DEBUG: t_lookup_request: transaction found (T=0xb61787b8)
0(4768) DEBUG: cleanup_uac_timers: RETR/FR timers reset
0(4768) DEBUG: add_to_tail_of_timer[2]: 0xb6178800 (69)
0(4768) no processor found for packet with dst port:5060
0(4768) WARNING: t_reply: ACKs are not replied
0(4768) DEBUG:tm:UNREF_UNSAFE: after is 0
0(4768) DEBUG:destroy_avp_list: destroying list (nil)
0(4768) receive_msg: cleaning up
1(4769) DEBUG: timer routine:4,tl=0xb6178880 next=(nil), timeout=64500000
1(4769) DEBUG: timer routine:2,tl=0xb6178800 next=(nil), timeout=69
1(4769) DEBUG: wait_handler : removing 0xb61787b8 from table
1(4769) DEBUG: delete transaction 0xb61787b8
1(4769) DEBUG: wait_handler : done
--------------------------------------------------------------------------
there is my openser.cfg
____________________________
debug=9
fork=no
log_stderror=yes # (cmd line: -E)
check_via=no # (cmd. line: -v)
dns=no # (cmd. line: -r)
rev_dns=no # (cmd. line: -R)
port=5060
children=4
listen=192.168.7.13
listen=localhost
listen=127.0.0.1
mpath="/usr/local/lib/openser/modules/"
loadmodule "mi_fifo.so"
loadmodule "sl.so"
loadmodule "tm.so"
loadmodule "rr.so"
loadmodule "maxfwd.so"
loadmodule "usrloc.so"
loadmodule "registrar.so"
loadmodule "textops.so"
loadmodule "seas.so"
modparam("mi_fifo", "fifo_name", "/tmp/openser_fifo")
modparam("usrloc", "db_mode", 0)
modparam("rr", "enable_full_lr", 1)
modparam("seas", "listen_sockets", "127.0.0.1:5080")
route{
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;
};
if (!method=="REGISTER")
record_route();
if (loose_route()) {
append_hf("P-hint: rr-enforced\r\n");
route(1);
};
if (uri==myself) {
if (method=="REGISTER") {
save("location");
exit;
};
lookup("aliases");
if (!uri==myself) {
append_hf("P-hint: outbound alias\r\n");
route(1);
};
if (!lookup("location")) {
sl_send_reply("404", "Not Found");
exit;
};
append_hf("P-hint: usrloc applied\r\n");
};
route(1);
}
route[1] {
if(!as_relay_t("app_server_one")){
t_reply("500","Application Server error");
}
}
------------------------------------------------
there is my wesip configure:
____________________________________
<Server port="5005" shutdown="SHUTDOWN" debug="0">
<Service name="Tomcat-Standalone">
<Connector
className="org.apache.catalina.connector.http.HttpConnector"
port="7080" minProcessors="5" maxProcessors="75"
enableLookups="true" acceptCount="10" debug="0" />
<Connector
className="com.voztele.sipservlet.connector.SipConnector"
minProcessors="5" maxProcessors="75"
enableLookups="true" acceptCount="10" debug="10"
addresses="localhost:5060" pathName="com.voztele" >
<ExtraProperties>
<Property key="com.voztele.javax.sip.SER_ADDRESS"
value="127.0.0.1:5080" />
<Property key="javax.sip.STACK_NAME" value="app_server_one"
/>
<Property key="com.voztele.javax.sip.THREAD_POOL_SIZE"
value="10" />
<Property key="com.voztele.javax.sip.REENTRANT_LISTENER"
value="true" />
<Property key="com.voztele.javax.sip.SPIRAL_HDR"
value="true" />
</ExtraProperties>
</Connector>
<Engine name="Standalone" defaultHost="localhost" debug="10"
className="com.voztele.sipservlet.core.ConvergedEngine">
<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="localhost_5060" debug="0" appBase="wesipapps"
unpackWARs="true" port="5060" autoDeploy="true" 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"/>
<!--
<DefaultContext useNaming="true" reloadable="true">
<Resource name="pool" auth="WeSIP" type="javax.sql.DataSource"/>
<ResourceParams name="pool">
<parameter>
<name>username</name>
<value>[USERNAME_DATABASE]</value>
</parameter>
<parameter>
<name>password</name>
<value>[PASSWORD_DATABASE]</value>
</parameter>
<parameter>
<name>driverClassName</name>
<value>[DRIVER_CLASSNAME]</value>
</parameter>
<parameter>
<name>url</name>
<value>[URL]</value>
</parameter>
<parameter>
<name>maxActive</name>
<value>1</value>
</parameter>
<parameter>
<name>maxIdle</name>
<value>2</value>
</parameter>
</ResourceParams>
</DefaultContext>
-->
</Host>
</Engine>
</Service>
</Server>
-----
please help me,thank you!
------------------------------------------------------------------------
_______________________________________________
Users mailing list
Users@openser.org
http://openser.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@openser.org
http://openser.org/cgi-bin/mailman/listinfo/users