[OpenSIPS-Users] inbounts calls problems

pjgonzalez pgonzalez at dgtec.net.do
Thu Jan 22 19:18:59 CET 2009


I do ti but right now the call only ring on the Softphone, User B.

thanks.



Iñaki Baz Castillo wrote:
> 
> 2009/1/22 pjgonzalez <pgonzalez at dgtec.net.do>:
>>
>> 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
> <ibc at aliax.net>
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 
> 

-- 
View this message in context: http://n2.nabble.com/inbounts-calls-problems-tp2197805p2199263.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.




More information about the Users mailing list