Hi,
Is there a way to specify an outbound proxy for just a few lcr gateways added in table lcr_gw ?
Thanks in advance !
Antoine
Hi
For example : I want to declare 4 GW in lcr_gw table, but 2 of them (provider3 and provider4) are only reachable via a sip proxy
[image: image.png]
Thanks in advance
Antoine
Le ven. 20 mai 2022 à 07:46, Juha Heinanen jh@tutpro.com a écrit :
Antoine DEBARRE writes:
Is there a way to specify an outbound proxy for just a few lcr gateways added in table lcr_gw ?
I didn't quite understand the question. Please give more details.
-- Juha
Kamailio - Users Mailing List - Non Commercial Discussions
- sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
thanks but there is no field in lcr_rule_target to setup the proxy for this 2 gw
Le ven. 20 mai 2022 à 09:43, Juha Heinanen jh@tutpro.com a écrit :
Antoine DEBARRE writes:
For example : I want to declare 4 GW in lcr_gw table, but 2 of them (provider3 and provider4) are only reachable via a sip proxy
Then you specify only those two as rule targets in lrc_rule_target table.
-- Juha
Kamailio - Users Mailing List - Non Commercial Discussions
- sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
Antoine DEBARRE writes:
thanks but there is no field in lcr_rule_target to setup the proxy for thi 2 gw
I think I still don't understand. LCR module is used to select which gateways to use to for different number prefixes, It is not used to select sip proxies (unless you consider those as gateways too).
-- Juha
Thanks for your reply,
I guess I could tweak something using the tag column. I already use this column to settle some attributes I get via avp(lcr_tag)
for example :
$du=$(avp(lcr_tag){param.value,du});
Le ven. 20 mai 2022 à 10:08, Juha Heinanen jh@tutpro.com a écrit :
Antoine DEBARRE writes:
thanks but there is no field in lcr_rule_target to setup the proxy for thi 2 gw
I think I still don't understand. LCR module is used to select which gateways to use to for different number prefixes, It is not used to select sip proxies (unless you consider those as gateways too).
-- Juha
Kamailio - Users Mailing List - Non Commercial Discussions
- sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: