Hi

Publishing what think I have found while trying out different ways:

After calling:  t_load_contacts()

$cnt($xavp(tm_contacts)) contains the total number loaded contacts + 1

After calling: t_next_contacts()

$cnt($xavp(tm_contacts)) contains 1 (maybe if there contacts?)

$branch(count) contains the number of _additional_ branches with
matching Q Value and $null if only the main branch exists.

So I can check for $branch(count) != $null to remove PRACK.

-- 
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