2009/1/22 pjgonzalez <[email protected]>:
>
> hi every body, im having problems when in my inbounts calls when i try to
> forward the  calls: for example.
>
> USER A(PSTN USER) calls User B (Behind Nat) then the calls is forwarded to
> User C (ON PSTN).
>
> the problem is that the calls is ringing on user B and User C so when i take
> the call its drop and hangup.
>
> i'm doing that:
>
> avp_pushto("$ru", "$avp(s:callForward)");
> append_branch();
> route(1);
>
> route[1]{
>
>        t_on_failure("1");
>        t_on_reply("1");
>        if (!t_relay()) {
>          sl_reply_error();
>        };
>        exit;
> }

If you do append_branch() then you are creating a new branch (ouh!) so
you are creating parallel forking. It's logic that both B and C ring.

-- 
Iñaki Baz Castillo
<[email protected]>

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to