<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><div id="yiv2018587860">Thanks Jesus; I was not able to find the reason why, but I used another config file from Flavio's book and is working fine. What I would like to know is if the lookup funtion belong to any specific module.<br><br>Saludos,<br><br>Gonzalo<br><br>--- On <b>Fri, 1/30/09, Jesus Rodriguez <i><jesusr@voztele.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">From: Jesus Rodriguez <jesusr@voztele.com><br>Subject: Re: [OpenSIPS-Users] Problem with multidomain<br>To: gonzovoip@yahoo.com<br>Cc: users@lists.opensips.org, mmarzuola@interfree.it<br>Date: Friday, January 30, 2009, 12:49 PM<br><br><pre>Hello Gonzalo,<br><br>Which number are you dialling? Does it match the<br>"^sip:1[2-9][1-9]{9}@" regexp?.<br><br>Regards.<br><br>Saludos<br>JesusR.<br><br><br>> My issue
is on the following routing config I can make local calls and<br>international calls, but when I try to make long distance calls like 1xxxxxxxxxx<br>I receive 404 Not Found from<br> the lookup funtion. Any Idea where the issue could<br>be?<br>> <br>> if (uri=~"^sip:[2-9][0-9]{9}@") {<br>> if (is_user_in("credentials","local")) {<br>> route(4);<br>> exit;<br>> } else {<br>> sl_send_reply("403", "No permissions for local<br>calls");<br>> exit;<br>> };<br>> };<br>> <br>> if (uri=~"^sip:1[2-9][1-9]{9}@") {<br>> if (is_user_in("credentials","ld")) {<br>> route(4);<br>> exit;<br>> } else {<br>> sl_send_reply("403", "No permissions for long<br>distance");<br>> exit;<br>> };<br>> };<br>> <br>> if (uri=~"^sip:011[0-9]*@") {<br>>
if (is_user_in("credentials","int")) {<br>> route(4);<br>> exit;<br>> } else {<br>> sl_send_reply("403", "No permissions<br> for<br>international calls");<br>> };<br>> };<br>> <br>> if (!lookup("location")) {<br>> sl_send_reply("404", "Not Found");<br>> exit;<br>> };<br>> route(1);<br>> }<br>> <br>> <br>> <br>> --- On Wed, 1/28/09, mmarzuola@interfree.it <mmarzuola@interfree.it><br>wrote:<br>> From: mmarzuola@interfree.it <mmarzuola@interfree.it><br>> Subject: Re: [OpenSIPS-Users] Problem with multidomain<br>> To: users@lists.opensips.org<br>> Date: Wednesday, January 28, 2009, 8:31 AM<br>> <br>> Hi.<br>> I had already tried this<br>> solution and it works.<br>> But in the log there was critical messagges and I wanted to know if there<br>are<br>> another ways.<br>> <br>>
Regards.<br>> Matteo<br>> <br>> <br>> >Hi Matteo,<br>> <br>> >I'll try to answer your question.<br>> <br>> >Just try setting parameter "use_domain" to<br> 0 for the usrloc<br>> module. >The registrar module will derive the use_domain parameter from<br>the<br>> usrloc module and won't use the domain part to find the user.<br>> <br>> >Just make sure your usernames in your username column are unique and<br>> you'll get the expected behaviour.<br>> <br>> <br>> >Regards,<br>> >Robert.<br>> <br>> -----Original Message-----<br>> From: users-bounces@lists.opensips.org<br>> [mailto:users-bounces@lists.opensips.org] On Behalf Of<br>mmarzuola@interfree.it<br>> Sent: Tuesday, January 27, 2009 7:09 PM<br>> To: users@lists.opensips.org<br>> Subject: [OpenSIPS-Users] Problem with multidomain<br>> <br>> <br>> Hi all.<br>> I have a problem with multidomain:<br>> I
am using two domains<br>> (mysip.com and mysip2.com) and I would call an user<br>> registered as 1003@mysip.com whith an other user registered as<br>1000@mysip2.com<br>><br> composing only 1003.<br>> I have inserted in the domain table this domains and I have enabled<br>multidomain<br>> with:<br>> <br>> # ----- domain params -----<br>> modparam("domain", "db_url",<br>> "mysql://opensips:opensipsrw@localhost/opensips")<br>> modparam("domain", "db_mode", 1) # Use caching<br>> <br>> # ----- multi-module params -----<br>> /* uncomment the following line if you want to enable multi-domain support<br>> in the modules (dafault off) */<br>> modparam("auth_db|usrloc", "use_domain", 1)<br>> <br>> I am using subscriber and not uri_db:<br>> <br>> # ----- uri_db params -----<br>> /* by default we disable the DB support in the module as we do not need it<br>> in this configuration */<br>>
modparam("uri_db", "use_uri_table", 0)<br>> modparam("uri_db", "db_url", "")<br>> <br>> These are the params for usrloc, rr and registrar:<br>> <br>> # -- usrloc<br>> <br> params --<br>> modparam("usrloc", "db_mode", 2)<br>> modparam("usrloc",<br>><br>"db_url","mysql://opensips:opensipsrw@localhost/opensips")<br>> modparam("usrloc", "nat_bflag", 6)<br>> <br>> # -- rr params --<br>> modparam("rr", "enable_full_lr", 1)<br>> <br>> # -- registrar params --<br>> modparam("registrar", "method_filtering", 1)<br>> modparam("registrar", "received_avp",<br>> "$avp(s:received_uri)")<br>> modparam("registrar", "default_expires", 300)<br>> <br>> When I make the call, I get the error 404 not found and the function<br>> lookup("location") returns -3<br>> <br>> This is the content of the table:<br>> <br>> <br>> id 43         user 1000 domain mysip2.com contact sip:1000@10.10.45.102:1024<br>>
received sip:10.10.45.102:1024 path NULL         expire 2009-01-27 18:15:27         q<br>-1.00<br>> callid ACE3E392-1DD1-11B2-923E-99432E86F31D@10.10.45.102 cseq 7<br>>         last_modified<br> 2009-01-27 18:10:27 flags 0         cflags 64         user_agent<br>> SJphone/1.60.299a/L (SJ Labs) socket udp:10.10.45.158:5060         method<br>> NULL<br>> <br>> id 41 user 1003 domain mysip.com contact sip:1003@10.10.45.78:5060 <br>received<br>> sip:10.10.45.78:5060 path NULL         expire 2009-01-27 18:40:36 q -1.00<br>        callid<br>> 3660CA95518650956177FF642B8094A3@mysip.com cseq 37234          last_modified<br>> 2009-01-27 18:10:36         flags 0         cflags 64 user_agent X-Lite release 1105d<br>> socket udp:10.10.45.158:5060         method NULL<br>> <br>> It seems as if the function lookup not extracts the username from<br>Request-URI<br>> to find all contacts for the username in usrloc.<br>> <br>> Any suggestion?<br>> <br>> Thanks in advance.<br>>
<br>> Matteo Marzuola.<br>> <br>> This is a portion of the log:<br>> <br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3164]: New request -<br>> M=INVITE<br> RURI=sip:1002@mysip2.com F=sip:1000@mysip2.com T=sip:100$<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3164]:<br>> DBG:maxfwd:is_maxfwd_present: value = 70<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3164]:<br>> DBG:core:parse_headers:<br>> flags=80<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3164]: Nat test<br>success<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3164]:<br>> DBG:core:parse_headers: flags=80<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3164]: flag 5<br>settato<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3164]:<br>> DBG:core:parse_headers: flags=78<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3164]:<br>>
DBG:tm:t_lookup_request: start searching: hash=32447, isACK=0<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3164]:<br>> DBG:tm:matching_3261: RFC3261 transaction matching<br> failed<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3164]:<br>> DBG:tm:t_lookup_request: no transaction found<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3164]:<br>> DBG:core:parse_headers: flags=10000<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3164]:<br>> DBG:core:get_hdr_field: found end of header<br>> Jan 27<br>> 17:50:32 opensips-lab /usr/local/sbin/opensips[3164]: DBG:auth:pre_auth:<br>> credentials with given realm not found<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3164]:<br>> DBG:auth:reserve_nonce_index: second= 10, sec_monit= 0, index= 17<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3164]:<br>> DBG:tm:t_lookup_request: start searching:
hash=32447, isACK=0<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3164]:<br>> DBG:tm:matching_3261: RFC3261 transaction matching failed<br>> Jan 27 17:50:32 opensips-lab<br> /usr/local/sbin/opensips[3164]:<br>> DBG:tm:t_lookup_request: no transaction found<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3164]:<br>> DBG:core:parse_headers: flags=10000<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3164]:<br>> DBG:core:get_hdr_field: found end of header<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3164]:<br>DBG:auth:pre_auth:<br>> credentials with given realm not found<br>> Jan 27<br>> 17:50:32 opensips-lab /usr/local/sbin/opensips[3164]:<br>> DBG:auth:reserve_nonce_index: second= 10, sec_monit= 0, index= 17<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3164]:<br>> DBG:auth:build_auth_hf: nonce index= 17<br>> Jan 27 17:50:32 opensips-lab
/usr/local/sbin/opensips[3164]:<br>> DBG:auth:build_auth_hf: 'Proxy-Authenticate: Digest<br>> realm="mysip2.com", nonce="$<br>> Jan 27 17:50:32 opensips-lab<br> /usr/local/sbin/opensips[3164]:<br>> DBG:core:parse_headers: flags=ffffffffffffffff<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3164]:<br>> DBG:core:check_via_address: params 10.10.45.102, 10.10.45.102, 0<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3164]:<br>> DBG:sl:run_sl_callbacks: callback id 0 entered<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3164]:<br>> DBG:core:destroy_avp_list: destroying list 0xb5b7aae8<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3164]:<br>> DBG:core:receive_msg: cleaning<br>> up<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3164]:<br>> DBG:auth:build_auth_hf: nonce index= 17<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3164]:<br>>
DBG:auth:build_auth_hf: 'Proxy-Authenticate: Digest<br>> realm="mysip2.com", nonce="$<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3164]:<br>><br> DBG:core:parse_headers: flags=ffffffffffffffff<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3164]:<br>> DBG:core:check_via_address: params 10.10.45.102, 10.10.45.102, 0<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3164]:<br>> DBG:sl:run_sl_callbacks: callback id 0 entered<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3164]:<br>> DBG:core:destroy_avp_list: destroying list 0xb5b7aae8<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3164]:<br>> DBG:core:receive_msg: cleaning up<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3166]:<br>> DBG:core:parse_msg: SIP Request:<br>> Jan 27 17:50:32<br>> opensips-lab /usr/local/sbin/opensips[3166]:<br>> DBG:core:parse_msg: method:<br>> Jan 27
17:50:32 opensips-lab /usr/local/sbin/opensips[3166]:<br>> DBG:core:parse_msg: uri:<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3166]:<br>><br> DBG:core:parse_msg: version:<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3166]:<br>> DBG:core:parse_headers: flags=2<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3166]:<br>> DBG:core:parse_via_param: found param type 235, = ; state=6<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3166]:<br>> DBG:core:parse_via_param: found param type 232, =<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3166]:<br>> DBG:core:parse_msg: SIP Request:<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3166]:<br>> DBG:core:parse_msg: method:<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3166]:<br>> DBG:core:parse_msg: uri:<br>> Jan 27 17:50:32 opensips-lab<br>>
/usr/local/sbin/opensips[3166]:<br>> DBG:core:parse_msg: version:<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3166]:<br>> DBG:core:parse_headers: flags=2<br>> Jan 27<br> 17:50:32 opensips-lab /usr/local/sbin/opensips[3166]:<br>> DBG:core:parse_via_param: found param type 235, = ; state=6<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3166]:<br>> DBG:core:parse_via_param: found param type 232, =<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3166]:<br>> DBG:core:parse_via: end of header reached, state=5<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3166]:<br>> DBG:core:parse_headers: via found, flags=2<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3166]:<br>> DBG:core:parse_headers: this is the first via<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3166]:<br>> DBG:core:receive_msg: After parse_msg...<br>> Jan 27 17:50:32
opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:parse_msg: SIP Request:<br>> Jan<br>> 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:parse_msg: <br> method:<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:parse_msg: uri:<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3166]:<br>> DBG:core:parse_via: end of header reached, state=5<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3166]:<br>> DBG:core:parse_headers: via found, flags=2<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3166]:<br>> DBG:core:parse_headers: this is the first via<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3166]:<br>> DBG:core:receive_msg: After parse_msg...<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:parse_msg: SIP Request:<br>> Jan 27 17:50:32 opensips-lab
/usr/local/sbin/opensips[3165]:<br>> DBG:core:parse_msg: method:<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:parse_msg: uri:<br>> Jan 27 17:50:32 opensips-lab<br>> <br> /usr/local/sbin/opensips[3165]:<br>> DBG:core:parse_msg: version:<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:parse_headers: flags=2<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:parse_via_param: found param type 235, = ; state=6<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:parse_via_param: found param type 232, =<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:parse_via: end of header reached, state=5<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3166]:<br>> DBG:core:receive_msg: preparing to run routing scripts...<br>> Jan 27 17:50:32 opensips-lab
/usr/local/sbin/opensips[3166]:<br>> DBG:core:parse_headers: flags=8<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3166]:<br>> DBG:core:get_hdr_field: content_length=0<br>> Jan 27 17:50:32<br> opensips-lab /usr/local/sbin/opensips[3166]:<br>> DBG:core:get_hdr_field: cseq :<br>> <1><br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3166]:<br>> DBG:core:parse_to_param: tag=fe03088e2d7abcfd2739f643a16e6cd0.08b8<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3166]:<br>DBG:core:parse_to:<br>> end of header reached, state=29<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3166]:<br>DBG:core:parse_to:<br>> display={}, ruri={sip:1002@mysip2.com}<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3166]:<br>> DBG:core:get_hdr_field: [65]; uri=[sip:1002@mysip2.com]<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3166]:<br>>
DBG:core:get_hdr_field: to body []<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3166]:<br>> DBG:sl:sl_filter_ACK: local ACK found -> dropping it!<br>> Jan 27 17:50:32 opensips-lab<br> /usr/local/sbin/opensips[3166]:<br>> DBG:core:destroy_avp_list: destroying list (nil)<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3166]:<br>> DBG:core:receive_msg: cleaning up<br>> Jan 27<br>> 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:parse_headers: via found, flags=2<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:parse_headers: this is the first via<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:receive_msg: After parse_msg...<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:receive_msg: preparing to run routing scripts...<br>> Jan 27 17:50:32 opensips-lab
/usr/local/sbin/opensips[3166]:<br>> DBG:sl:sl_filter_ACK: local ACK found -> dropping it!<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3166]:<br>> DBG:core:destroy_avp_list: destroying list<br> (nil)<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3166]:<br>> DBG:core:receive_msg: cleaning up<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:parse_headers: via found, flags=2<br>> Jan 27 17:50:32 opensips-lab<br>> /usr/local/sbin/opensips[3165]:<br>> DBG:core:parse_headers: this is the first via<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:receive_msg: After parse_msg...<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:receive_msg: preparing to run routing scripts...<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:parse_headers: flags=10<br>> Jan 27
17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:get_hdr_field: content_length=366<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:get_hdr_field: cseq :<br> <2><br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:parse_to_param: tag=421261147379284226<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>DBG:core:parse_to:<br>> end of header reached, state=29<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:parse_to:<br>> display={"Sjphone laptop_User"}, ruri={sip:1000@mysip2.com}<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:parse_headers: flags=8<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:parse_headers: flags=10<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:get_hdr_field:
content_length=366<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:get_hdr_field: cseq : <2><br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>><br> DBG:core:parse_to_param: tag=421261147379284226<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>DBG:core:parse_to:<br>> end of header reached, state=29<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>DBG:core:parse_to:<br>> display={"Sjphone laptop_User"}, ruri={sip:1000@mysip2.com}<br>> Jan 27 17:50:32 opensips-lab<br>> /usr/local/sbin/opensips[3165]:<br>> DBG:core:parse_headers: flags=8<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>DBG:core:parse_to:<br>> end of header reached, state=10<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>DBG:core:parse_to:<br>> display={}, ruri={sip:1002@mysip2.com}<br>> Jan 27 17:50:32
opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:get_hdr_field: [23]; uri=[sip:1002@mysip2.com]<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:get_hdr_field: to body<br> [^M ]<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]: New request -<br>> M=INVITE RURI=sip:1002@mysip2.com F=sip:1000@mysip2.com T=sip:100$<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:maxfwd:is_maxfwd_present: value = 70<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:parse_headers: flags=80<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:parse_to:<br>> end of header reached, state=10<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>DBG:core:parse_to:<br>> display={}, ruri={sip:1002@mysip2.com}<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>>
DBG:core:get_hdr_field: [23]; uri=[sip:1002@mysip2.com]<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:get_hdr_field: to body [^M ]<br>> Jan 27 17:50:32 opensips-lab<br> /usr/local/sbin/opensips[3165]: New request -<br>> M=INVITE RURI=sip:1002@mysip2.com F=sip:1000@mysip2.com T=sip:100$<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:maxfwd:is_maxfwd_present: value = 70<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:parse_headers: flags=80<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]: Nat test<br>success<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:parse_headers: flags=80<br>> Jan 27 17:50:32<br>> opensips-lab /usr/local/sbin/opensips[3165]: flag 5 settato<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:parse_headers:
flags=78<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:tm:t_lookup_request: start searching: hash=32444, isACK=0<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>><br> DBG:tm:matching_3261: RFC3261 transaction matching failed<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:tm:t_lookup_request: no transaction found<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]: Nat test<br>success<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:parse_headers: flags=80<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]: flag 5<br>settato<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:parse_headers: flags=78<br>> Jan 27 17:50:32 opensips-lab<br>> /usr/local/sbin/opensips[3165]:<br>> DBG:tm:t_lookup_request: start searching: hash=32444, isACK=0<br>> Jan
27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:tm:matching_3261: RFC3261 transaction matching failed<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:tm:t_lookup_request: no<br> transaction found<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:parse_headers: flags=10000<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:auth:check_nonce: comparing<br>[497f3b760000001137b183f526733cc477b4d8aa276231$<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:db_new_result: allocate 28 bytes for result set at 0x8198740<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:db_mysql:db_mysql_get_columns: 1 columns returned from the query<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:db_allocate_columns: allocate 4<br>> bytes for result names
at 0x81982c8<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:db_allocate_columns: allocate 4 bytes for result types at<br>0x8198428<br>> Jan 27 17:50:32 opensips-lab<br> /usr/local/sbin/opensips[3165]:<br>> DBG:db_mysql:db_mysql_get_columns: allocate 8 bytes for RES_NAMES[0] at<br>0x81982$<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:parse_headers: flags=10000<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:auth:check_nonce: comparing<br>[497f3b760000001137b183f526733cc477b4d8aa276231$<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:db_new_result: allocate 28 bytes for result set at 0x8198740<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:db_mysql:db_mysql_get_columns: 1 columns returned from the query<br>> Jan 27 17:50:32 opensips-lab
/usr/local/sbin/opensips[3165]:<br>> DBG:core:db_allocate_columns: allocate 4 bytes<br>> for result names at 0x81982c8<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:db_allocate_columns:<br> allocate 4 bytes for result types at<br>0x8198428<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:db_mysql:db_mysql_get_columns: allocate 8 bytes for RES_NAMES[0] at<br>0x81982$<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x8198278)[0]=[password]<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:db_mysql:db_mysql_convert_rows: allocate 8 bytes for rows at 0x8198290<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>>
DBG:db_mysql:db_mysql_convert_row: allocate 20 bytes for row values at<br>0x819843$<br>> Jan 27 17:50:32 opensips-lab<br>> /usr/local/sbin/opensips[3165]:<br>> DBG:db_mysql:db_mysql_str2val: converting STRING [1000]<br>> Jan 27<br> 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:auth_db:get_ha1: HA1 string calculated:<br>54de2c48ccc2ec4c1c3893602ea372bd<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:auth:check_response: our result =<br>'43e77353889808f2a3589d641618d0d4'<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x8198278)[0]=[password]<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:db_mysql:db_mysql_convert_rows: allocate 8 bytes for rows at
0x8198290<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:db_mysql:db_mysql_convert_row: allocate 20 bytes for row values at<br>0x819843$<br>> Jan 27 17:50:32 opensips-lab<br>> <br> /usr/local/sbin/opensips[3165]:<br>> DBG:db_mysql:db_mysql_str2val: converting STRING [1000]<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:auth_db:get_ha1: HA1 string calculated:<br>54de2c48ccc2ec4c1c3893602ea372bd<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:auth:check_response: our result =<br>'43e77353889808f2a3589d641618d0d4'<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:auth:check_response: authorization is OK<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:auth:post_auth: nonce index= 17<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:db_free_columns:
freeing 1 columns<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:db_free_columns: freeing RES_NAMES[0] at 0x8198278<br>> Jan 27 17:50:32 opensips-lab<br> /usr/local/sbin/opensips[3165]:<br>> DBG:core:db_free_columns: freeing result names at 0x81982c8<br>> Jan 27<br>> 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:db_free_columns: freeing result types at 0x8198428<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:db_free_rows: freeing 1 rows<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:auth:check_response: authorization is OK<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:auth:post_auth: nonce index= 17<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:db_free_columns: freeing 1 columns<br>> Jan 27 17:50:32 opensips-lab
/usr/local/sbin/opensips[3165]:<br>> DBG:core:db_free_columns: freeing RES_NAMES[0] at 0x8198278<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:db_free_columns: freeing<br> result names at 0x81982c8<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:db_free_columns: freeing result types at 0x8198428<br>> Jan 27 17:50:32 opensips-lab<br>> /usr/local/sbin/opensips[3165]:<br>> DBG:core:db_free_rows: freeing 1 rows<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:db_free_row: freeing row values at 0x8198438<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:db_free_rows: freeing rows at 0x8198290<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:db_free_result: freeing result set at 0x8198740<br>> Jan 27 17:50:32 opensips-lab
/usr/local/sbin/opensips[3165]:<br>> DBG:uri_db:check_username: Digest username and URI username match<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]: caller<br>autenticato<br>> Jan 27 17:50:32 opensips-lab<br> /usr/local/sbin/opensips[3165]: Recording<br>Route<br>> info<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:parse_headers: flags=200<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:db_free_row: freeing row values at 0x8198438<br>> Jan<br>> 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:db_free_rows: freeing rows at 0x8198290<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:db_free_result: freeing result set at 0x8198740<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:uri_db:check_username: Digest username and URI username match<br>> Jan
27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]: caller<br>autenticato<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]: Recording<br>Route<br>> info<br>> Jan 27 17:50:32 opensips-lab<br> /usr/local/sbin/opensips[3165]:<br>> DBG:core:parse_headers: flags=200<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:get_hdr_field: found end of header<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:rr:find_first_route: No Route headers found<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:rr:loose_route: There is no<br>> Route HF<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:registrar:lookup: '1002@mysip2.com' Not found in usrloc<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]: no contact<br>found<br>> Jan 27 17:50:32 opensips-lab
/usr/local/sbin/opensips[3165]:<br>DBG:tm:t_newtran:<br>> transaction on entrance=(nil)<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:parse_headers: flags=ffffffffffffffff<br>> Jan 27 17:50:32 opensips-lab<br> /usr/local/sbin/opensips[3165]:<br>> DBG:core:db_free_row: freeing row values at 0x8198438<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:db_free_rows: freeing rows at 0x8198290<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:db_free_result: freeing result set at 0x8198740<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:uri_db:check_username: Digest username and URI username match<br>> Jan 27 17:50:32<br>> opensips-lab /usr/local/sbin/opensips[3165]: caller autenticato<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]: Recording<br>Route<br>> info<br>> Jan 27
17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:parse_headers: flags=200<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:get_hdr_field: found end of header<br>> Jan 27 17:50:32 opensips-lab<br> /usr/local/sbin/opensips[3165]:<br>> DBG:rr:find_first_route: No Route headers found<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:rr:loose_route: There is no Route HF<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:registrar:lookup: '1002@mysip2.com' Not found in usrloc<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]: no contact<br>found<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>DBG:tm:t_newtran:<br>> transaction on entrance=(nil)<br>> Jan 27 17:50:32 opensips-lab<br>> /usr/local/sbin/opensips[3165]:<br>> DBG:core:parse_headers: flags=ffffffffffffffff<br>> Jan 27
17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:tm:t_lookup_request: start searching: hash=32444, isACK=0<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:tm:matching_3261: RFC3261 transaction matching<br> failed<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:tm:t_lookup_request: no transaction found<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:tm:run_reqin_callbacks: trans=0xb5b7abf8, callback type 1, id 0<br>entered<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:parse_headers: flags=ffffffffffffffff<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:check_via_address: params 10.10.45.102, 10.10.45.102, 0<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:_shm_resize: resize(0) called<br>> Jan 27 17:50:32<br>>
opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:tm:cleanup_uac_timers: RETR/FR timers reset<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>DBG:tm:set_timer:<br>> relative timeout is 500000<br>> Jan 27 17:50:32 opensips-lab<br> /usr/local/sbin/opensips[3165]:<br>> DBG:tm:insert_timer_unsafe: [4]: 0xb5b7acc0 (41900000)<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>DBG:tm:set_timer:<br>> relative timeout is 30<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:tm:insert_timer_unsafe: [0]: 0xb5b7acdc (71)<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:tm:_reply_light: reply sent out. buf=0x81984c0: SIP/2.0 4...,<br>shmem=0xb5b7c$<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:core:_shm_resize: resize(0) called<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>>
DBG:tm:cleanup_uac_timers: RETR/FR timers reset<br>> Jan 27 17:50:32 opensips-lab<br>> /usr/local/sbin/opensips[3165]: DBG:tm:set_timer:<br>> relative timeout is 500000<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>><br> DBG:tm:insert_timer_unsafe: [4]: 0xb5b7acc0 (41900000)<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>DBG:tm:set_timer:<br>> relative timeout is 30<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:tm:insert_timer_unsafe: [0]: 0xb5b7acdc (71)<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:tm:_reply_light: reply sent out. buf=0x81984c0: SIP/2.0 4...,<br>shmem=0xb5b7c$<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]:<br>> DBG:tm:_reply_light: finished<br>> Jan 27 17:50:32 opensips-lab /usr/local/sbin/opensips[3165]: internal<br>error<br>> Jan 27 17:50:32 opensips-lab
/usr/local/sbin/opensips[3165]:<br>DBG:tm:t_unref:<br>> UNREF_UNSAFE: after is 0<br>> <br>> <br>> <br>><br>----------------------------------------------------------------------------<br>> Vuoi essere<br>> presente online?<br>> Vuoi dare voce alla<br> tua attivita`?<br>> Acquista un dominio su domini.interfree.it.<br>> A partire da 18,59 euro<br>><br>----------------------------------------------------------------------------<br>> <br>> <br>> _______________________________________________<br>> Users mailing list<br>> Users@lists.opensips.org<br>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br>> <br>> <br>> <br>> <br>> <br>><br>----------------------------------------------------------------------------<br>> Vuoi essere presente online?<br>> Vuoi dare voce alla tua attivita`?<br>> Acquista un dominio su domini.interfree.it.<br>> A partire da 18,59
euro<br>><br>----------------------------------------------------------------------------<br>> <br>> <br>> _______________________________________________<br>> Users mailing list<br>> Users@lists.opensips.org<br>><br> http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br>> <br>> _______________________________________________<br>> Users mailing list<br>> Users@lists.opensips.org<br>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br><br><br><br><br><br>Saludos<br>JesusR.<br><br>------------------------------------<br>Jesus Rodriguez<br>VozTelecom Sistemas, S.L.<br>jesusr@voztele.com<br>http://www.voztele.com<br>Tel. 902360305<br>-------------------------------------<br><br><br><br><br></pre></blockquote></div></td></tr></table><br>