[OpenSIPS-Users] top hiding and BYE problem
Anca Vamanu
anca.vamanu at gmail.com
Wed Jul 20 15:59:14 CEST 2011
Hi,
A first observation is that setting a user part in $du doesn't have any
effect. In those ifs you should have set the $ru.
Concerning the 200 OK that you said are not passed to PSTN, I suggest you to
check the OpenSIPS log to see if there is any error when processing the 200
OK. And also you can check if there isn't like a race and a BYE is received
from Asterisk almost in the same time or before so that the b2b considers
the dialog ended. Watch closely the message trace.
Regards,
Anca Vamanu
On Wed, Jul 20, 2011 at 2:00 PM, saneku <ukhov at ycc.ru> wrote:
> Hello! thanks for you replay!
> I did what you been telling me to do. But there is another issue:
> OPENSIPS keep receving "ok 200" replyes from ASTERISK server (that has been
> selected vai LB) and doesnt try send it to PSTN. I think there is one more
> little issue that i cant even think off. for any case i put cfg file. thank
> you very much.
>
> route
> {
> if (!method=="REGISTER")
> {
> xlog("+++++++++Recording route...\n");
> record_route();
> }
>
> if (loose_route())
> {
> append_hf("P-hint: rr-enforced\r\n");
> }
>
> #skip Invite messages generated by the server
> if(is_method("INVITE") && !(src_ip=="10.130.0.140"))
> {
> load_balance("1","pstn");
> xlog("\n\nPROXY 3: Selected dst: $du\n");
>
> #have $du -> sip:10.130.0.137
> #$du need to be -> sip:##0950 at 10.130.0.137
>
> if($du=="sip:10.130.0.137")
> {
> xlog("\n this is 137\n");
> $du="sip:##0950 at 10.130.0.137:5060";
> }
>
> if($du=="sip:10.130.0.136")
> {
> xlog("\n this is 136\n");
> $du="sip:##0950 at 10.130.0.136:5060";
> }
> b2b_init_request("top hiding");
> exit;
> };
> }
>
>
>
>
> --
> View this message in context:
> http://opensips-open-sip-server.1449251.n2.nabble.com/top-hiding-and-BYE-problem-tp6594249p6602208.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110720/fb202241/attachment.htm>
More information about the Users
mailing list