<div dir="ltr">Hello,<div><br></div><div style>I found my mistake, the loose route caught all the packets and the b2bua was never triggered :-/</div><div style>Now the sipp Call flow is working with the b2bua module and the topology Hiding scenario :), =&gt; (You don&#39;t have to forgot to <span style="color:rgb(0,0,0);font-family:Helvetica,Arial;font-size:12px;text-align:justify">pass </span>Route header <span style="color:rgb(0,0,0);font-family:Helvetica,Arial;font-size:12px;text-align:justify"> from the dialog of one side to the other side</span> with Custom header modparam)</div>
<div style><br></div><div style>Thanks  </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/7/8 Mehdi BOUDOU <span dir="ltr">&lt;<a href="mailto:mehdi.boudou@gmail.com" target="_blank">mehdi.boudou@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div><br></div><div>I&#39;m already testing the b2bua module with the simple topology Hiding test, with a sipp scenario of a simple call.</div>
<div>The Call is OK but I set the modparam(&quot;b2b_entities&quot;, &quot;replication_mode&quot;, 0) and the call id of new leg is the same for the new INVITE ?</div>
<div><br></div><div>Thanks in advance</div><div><br></div><div><br></div><div>Here my config file :<br></div><div><br></div><div><br></div><div><div># $Id: opensips-b2b.cfg $</div>
<div><br></div><div># Debugging mode:</div><div>debug=6</div><div>memlog= 6</div><div>fork=yes</div><div>auto_aliases=no</div><div>log_stderror=no</div><div><br></div><div>disable_dns_blacklist=yes</div><div><br></div><div>

listen=udp:<a href="http://172.17.1.251:5060" target="_blank">172.17.1.251:5060</a>   # CUSTOMIZE ME</div><div><br></div><div>disable_tcp=no</div><div>listen=tcp:<a href="http://172.17.1.251:5060" target="_blank">172.17.1.251:5060</a>   # CUSTOMIZE ME </div>

<div><br></div><div>disable_tls=yes</div><div># alias=OSIPS_REALM</div><div>#port=OSIPS_PORT</div><div><br></div><div><br></div><div>sip_warning=0</div><div>#server_header=&quot;SRV_SIGNATURE&quot;</div><div>#user_agent_header=&quot;PP_USER_AGENT&quot;</div>

<div><br></div><div>#mhomed=yes</div><div>#memlog=2</div><div>check_via=no</div><div>dns=off</div><div>rev_dns=off</div><div>children=8</div><div>disable_tcp=yes</div><div>log_facility=LOG_LOCAL1</div><div># for more info: opensips -h</div>

<div><br></div><div># ------------------ module loading ----------------------------------</div><div><br></div><div>mpath=&quot;/usr/local/src/1.9/modules/&quot;</div><div><br></div><div>loadmodule &quot;db_mysql.so&quot;</div>

<div>#loadmodule &quot;xlog.so&quot;</div><div>loadmodule &quot;sipmsgops.so&quot;</div><div>loadmodule &quot;textops.so&quot;</div><div>loadmodule &quot;maxfwd.so&quot;</div><div>loadmodule &quot;rr.so&quot;</div><div>loadmodule &quot;sl.so&quot;</div>

<div>loadmodule &quot;tm.so&quot;</div><div>loadmodule &quot;signaling.so&quot;</div><div>loadmodule &quot;b2b_entities.so&quot;</div><div>loadmodule &quot;b2b_logic.so&quot;</div><div>loadmodule &quot;usrloc.so&quot;</div>

<div>loadmodule &quot;registrar.so&quot;</div><div>loadmodule &quot;mi_fifo.so&quot;</div><div>loadmodule &quot;uac.so&quot;</div><div>loadmodule &quot;uac_auth.so&quot;</div><div><br></div><div><br></div><div># ----------------- setting module-specific parameters ---------------</div>

<div>modparam(&quot;mi_fifo&quot;, &quot;fifo_name&quot;, &quot;/tmp/opensips_fifo&quot;)</div><div><br></div><div><br></div><div>modparam(&quot;usrloc|b2b_entities|b2b_logic&quot;, &quot;db_url&quot;, &quot;mysql://opensips:opensipsrw@localhost/opensips&quot;)</div>

<div>modparam(&quot;usrloc&quot;, &quot;db_mode&quot;, 2)</div><div><br></div><div>modparam(&quot;tm&quot;, &quot;pass_provisional_replies&quot;, 1)</div><div>modparam(&quot;tm&quot;, &quot;fr_timer&quot;, 5)</div><div>modparam(&quot;tm&quot;, &quot;fr_inv_timer&quot;, 30)</div>

<div>modparam(&quot;tm&quot;, &quot;restart_fr_on_each_reply&quot;, 0)</div><div>modparam(&quot;tm&quot;, &quot;onreply_avp_mode&quot;, 1)</div><div><br></div><div>#modparam(&quot;b2b_entities&quot;, &quot;server_address&quot;, &quot;<a href="http://sip:sa@pro1ras01.ims.sfr.net:5060" target="_blank">sip:sa@pro1ras01.ims.sfr.net:5060</a>&quot;)</div>

<div>#modparam(&quot;b2b_logic&quot;, &quot;script_scenario&quot;, &quot;/usr/local/etc/opensips/scenario_script.xml&quot;)</div><div>#modparam(&quot;b2b_logic&quot;, &quot;extern_scenario&quot;, &quot;/usr/local/etc/opensips/scenario_extern.xml&quot;)</div>

<div>modparam(&quot;b2b_entities&quot;, &quot;script_req_route&quot;, &quot;b2b_request&quot;)</div><div>modparam(&quot;b2b_entities&quot;, &quot;script_reply_route&quot;, &quot;b2b_reply&quot;)</div><div>modparam(&quot;b2b_entities&quot;, &quot;replication_mode&quot;, 0)</div>

<div><br></div><div>route[b2b_request] {</div><div>  xlog(&quot;b2b_request ($ci)\n&quot;);</div><div>}</div><div><br></div><div><br></div><div>route[b2b_reply] {</div><div>  xlog(&quot;b2b_reply ($ci)\n&quot;);</div><div>

}</div><div><br></div><div><br></div><div>route {</div><div>  if (!mf_process_maxfwd_header(&quot;10&quot;)) {</div><div>    sl_send_reply(&quot;483&quot;,&quot;Too Many Hops&quot;);</div><div>    exit;</div><div>  };</div>

<div><br></div><div>  if (msg:len &gt;= 2380 ) {</div><div>    sl_send_reply(&quot;513&quot;, &quot;Message too big&quot;);</div><div>    exit;</div><div>  };</div><div><br></div><div>  #if (!method==&quot;REGISTER&quot;)</div>

<div>   # record_route();</div><div><br></div><div>  # subsequent messages withing a dialog should take the</div><div>  # path determined by record-routing</div><div>  if (loose_route()) {</div><div>    # mark routing logic in request</div>

<div>    append_hf(&quot;P-hint: rr-enforced\r\n&quot;); </div><div>    route(1);</div><div>  };</div><div><br></div><div>  if(is_method(&quot;INVITE&quot;)) /* skip Invite messages generated by the server*/</div><div>  {</div>

<div>    # DO NOT call t_newtran() on this request -&gt; it will result in the transaction never being deleted</div><div>    b2b_init_request(&quot;top hiding&quot;);</div><div>    exit; # do not forward this request, another one will be generated</div>

<div>  };</div><div><br></div><div>  if (!uri==myself) {</div><div>    # mark routing logic in request</div><div>    append_hf(&quot;P-hint: outbound\r\n&quot;); </div><div>    route(1);</div><div>  };</div><div><br></div>

<div><br></div><div>  if (uri==myself) {</div><div><br></div><div>    if (method==&quot;REGISTER&quot;) {</div><div>      save(&quot;location&quot;);</div><div>      exit;</div><div>    };</div><div><br></div><div>    # native SIP destinations are handled using our USRLOC DB</div>

<div>    if (!lookup(&quot;location&quot;)) {</div><div>      sl_send_reply(&quot;404&quot;, &quot;Not Found&quot;);</div><div>      exit;</div><div>    };</div><div>    append_hf(&quot;P-hint: usrloc applied\r\n&quot;); </div>

<div>  };</div><div><br></div><div>  route(1);</div><div>}</div><div><br></div><div><br></div><div>route[1] {</div><div>  # send it out now; use stateful forwarding as it works reliably</div><div>  # even for UDP2TCP</div>

<div><br></div><div>  if (!t_relay()) {</div><div>    sl_reply_error();</div><div>  };</div><div>  exit;</div><div>}</div><div><br></div></div></div>
</blockquote></div><br></div>