Hello,<br><br>In openser.cfg:<br>modparam("rr", "enable_full_lr", 1)<br>modparam("rr", "append_fromtag", 1)<br><br>if (!method=="REGISTER"){<br> record_route();
<br>};<br><br>if (loose_route()) {<br> t_on_reply("1");<br> if (!t_relay()) {<br> sl_reply_error();<br> };<br> exit;<br>};<br><br>if (method=="INVITE"){
<br> ds_select_dst("2", "0");<br> #ds_select_dst("2", "4");<br> #sl_send_reply("100","Trying");<br> forward();<br>
exit;<br>};<br><br>When I make a call from Sip client registed with openser to PSTN through asterisk-b2bua, openser transfer Invite and 200 messages between Sip client and asterisk-b2bua ok. But when sip client or pstn side hang-up openser do not forward BYE message to the correct destination (forward BYE to asterisk-b2bua or to sip client), therefore the call on other side do not disconnect.
<br>Where is incorrect in openser.cfg?<br><br>Thanks and best regards<br><br><div><span class="gmail_quote">On 7/18/07, <b class="gmail_sendername">Daniel-Constantin Mierla</b> <<a href="mailto:daniel@voice-system.ro">
daniel@voice-system.ro</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<br><br>use record routing (see rr module) to ensure the right path of in-dialog
<br>requests.<br><br>Cheers.<br>Daniel<br><br><br>On 07/17/07 05:19, Ha Noi Telecommunications wrote:<br>> Hi!<br>><br>> I am using OpenSer with two Asterisk-b2bua<br>><br>> Sip<br>> client<--------->OpenSer<--------------------->Asterisk-b2bua<------->PSTN
<br>> |<br>> |<br>><br>> <----------------------------->Asterisk-b2bua<----------->PSTN<br>><br>> In OpenSer configure file I am using ds_select_dst("2", "4"); to
<br>> perform load sharing the calls to PSTN.<br>> But when Sip client hang up first, I don't konw how to make OpenSer<br>> forward the Bye message from Sip client to correct Asterisk-b2bua to<br>> hang up the call at PSTN side.
<br>><br>> Can any body can help me.<br>><br>> Thanks and best regards<br>><br>> ------------------------------------------------------------------------<br>><br>> _______________________________________________
<br>> Users mailing list<br>> <a href="mailto:Users@openser.org">Users@openser.org</a><br>> <a href="http://openser.org/cgi-bin/mailman/listinfo/users">http://openser.org/cgi-bin/mailman/listinfo/users</a><br>>
<br></blockquote></div><br>