@herlesupreeth commented on this pull request.
int app_id = 0, vendor_id = 0;
+ // 1. Destination-Host routing to adjacent peer
+ avp = AAAFindMatchingAVP(m, 0, AVP_Destination_Host, 0, AAA_FORWARD_SEARCH);
+ if(avp)
+ destination_host = avp->data;
+
+ if(destination_host.len) {
cant we remove this check here as its already done in `get_peer_by_fqdn` ??
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3914#pullrequestreview-2176473764
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3914/review/2176473764(a)github.com>