Hi Gang

I use: lookup_to_dset(), t_load_contacts(), t_next_contacts() to gather
contacts for parallel forking (like for a hunt group).

After that I use $cnt($xavp(tm_contacts)) to find the number of
branches which would be created.

But $cnt($xavp(tm_contacts)) seems to always be 1 no matter how many
branches I get in route(RELAY).

What am I doing wrong? Is there another PV I could use?

Background:

When a 100rel is supported by the originating device, the destination
devices might all reply 180 RINGING with 100required, same rseq but
different ToTags.

The originating device would require to reply PRACK to each of those
ringing and it looks like MANY originating devices (especially
commercial SBC) do NOT consider the ToTag but ignore any subsequent 180
RINGING with same CallID and rseq causing such forked calls fail.

So if I have > 1 branches, I would like to

                exclude_hf_value("Allow", "PRACK");
                exclude_hf_value("Supported", "100rel");

-- 
Mit freundlichen Grüssen

-Benoît Panizzon- @ HomeOffice und normal erreichbar
-- 
I m p r o W a r e   A G    -    Leiter Commerce Kunden
______________________________________________________

Zurlindenstrasse 29             Tel  +41 61 826 93 00
CH-4133 Pratteln                Fax  +41 61 826 93 01
Schweiz                         Web  http://www.imp.ch
______________________________________________________
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- 
[email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to