Hi I have come across this challenge:
Initial invite (no to_tag) has is authenticated and has credentials. So a lookup for the username is made to determine if the customer needs backhauling, thus rtpengine needs to be engaged. On a subsequent invite (re-invite to change codec or to refresh session timer) there is a to_tag so it is being routed without sending a challenge and has no auth username. I don't use dialog on the registrar. This is another transaction. So I don't know, if I need to engage rtpengine on that DSP or not. What is the best way to find out, if rtpengine is already handling that callid? if(rtpengine_query_v("j", "$var(dummy)")) { rtpengine_manage(); } basically works, but generates a couple of ugly error messages in the log as rtpengine_query_v does not find the call. Is there a nicer way? -- 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 To unsubscribe send an email to sr-users-le...@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: