Hallo Nelson,
What Kamailio version do you use?
We have implemented this feature to carrierroute because we didn't want carrierroute to send a request to an already tried host again.
Considering your use case, we could extend the module with an additional parameter to offer the option to deactivate this future. We could provide the patch this week (probably tomorrow). Would this be O.K. for you?
Greetings,
Paul
On 14.04.2015 14:09, Nelson Migliaro wrote:
Thank you in advanceIs there a better war to resolve thisbut I got error: ERROR: tm [ut.h:337]: uri2dst2(): failed to resolve "vendor_1"and instead of using the IP in rewrite_host I changed to the name: vendor_1, vendor_2. vendor_3This machine use public DNS and I tried to set up 3 entries in /etc/hostsI will use carrierroute (cr) module and in case prefix 1 fails, I should send the call to prefix 2 and so on.I have to send all calls to the same IP but I need to inlcude a prefix to allow vendor to route calls to different carriers.Hello everyone,I have a SIP provider that gives me access to different routes over the same IP address but different prefixes.
The problem I have is cr module detects that this host (public vendor ip) was already used and I am getting this warning:
NOTICE: carrierroute [cr_func.c:324]: cr_uri_already_used(): Candidate destination
public_iP vendor_1
public_iP vendor_2
public_iP vendor_3
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users