Hi Matteo, There was a similar report on the IRC channel.
Question: I guess you do t_relay for the sequential requests also, right? Anyhow, I will run some tests to see what about - in the mean while you can open a bug report on the tracker just to be sure I do not forget about it :) Thanks and regards, Bogdan [email protected] wrote: > Hi all. > Introducing in the script the siptrace module, I noticed that if I use the > function sip_trace(), in the table of DB, are stored the requests and the > replies (407, 100, 200, etc. ...), but using the trace_dialog(), there are > only the requests (invite , ack and bye). This happens because something is > wrong in the configuration script or other? > > These are the parts of the interessed routes: > > # ----- siptrace params ----- > modparam("siptrace", "db_url", > "mysql://opensips:opensip...@localhost/opensips") > modparam("siptrace", "trace_on", 1) > modparam("siptrace", "traced_user_avp", "$avp(s:user)") > modparam("siptrace", "enable_ack_trace", 1) > > 1)sip_trace(): > > route { > xlog("L_INFO", "New request - M=$rm RURI=$ru F=$fu T=$tu IP=$si > ID=$ci\n"); > $avp(s:user)="sip:" + $fU + "@" + $(fu{uri.domain}); > sip_trace(); > ...... > ...... > ...... > } > > > 2)trace_dialog(): > > route { > xlog("L_INFO", "New request - M=$rm RURI=$ru F=$fu T=$tu IP=$si > ID=$ci\n"); > $avp(s:user)="sip:" + $fU + "@" + $(fu{uri.domain}); > ..... > ..... > > if(is_method("INVITE")) { > route(3); > } > ........ > ........ > } > > # Request route 'base-route-invite' > route[3] { > if (!proxy_authorize("", "subscriber")) { > xlog("L_INFO", "Proxy authentication failed - M=$rm RURI=$ru > F=$fu T=$tu IP=$si ID=$ci\n"); > proxy_challenge("", "0"); > exit; > } > if (!check_from()) { > xlog("L_INFO", "Spoofed From-URI detected - M=$rm RURI=$ru > F=$fu T=$tu IP=$si ID=$ci\n"); > sl_send_reply("403","Forbidden auth ID"); > exit; > } > consume_credentials(); > > create_dialog(); > set_dlg_flag("4"); > trace_dialog(); > route(4); > } > > Thanks in advance. > > Matteo Marzuola > > > > > ---------------------------------------------------------------------------- > 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 > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
