[OpenSIPS-Users] Problem with multidomain

Jesus Rodriguez jesusr at voztele.com
Fri Jan 30 16:25:47 CET 2009


Hi Gonzalo,


> 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.


lookup() function is from registrar module.

Regards.

Saludos
JesusR.




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





Saludos
JesusR.

------------------------------------
Jesus Rodriguez
VozTelecom Sistemas, S.L.
jesusr at voztele.com
http://www.voztele.com
Tel. 902360305
-------------------------------------







More information about the Users mailing list