Hi Asif, I'm not sure what you're trying to do here. Can you please clarify?
Is it that you have a domain 'a.cw-ngv.com', and you want: * Requests to 'a.cw-ngv.com' to be routed equally to 'b.cw-ngv.com', 'c.cw-ngv.com', 'd.cw-ngv.com', 'e.cw-ngv.com', 'f.cw-ngv.com' * If any of the b-f domains are unresponsive, then don't route requests to them. If this is the case, you can do this using SIP NAPTR/SRV. The docs to set this up are at: https://github.com/Metaswitch/clearwater-docs/wiki/Clearwater-DNS-Usage In short, you will want to set up an enum rule such that all requests that you want to go to the SIP trunks are sent to 'a.cw-ngv.com' - e.g.: *<number range to route to> IN NAPTR 1 1 "u" "E2U+sip" "!(^.*$)!sip:\\[email protected]!" . You then need to add DNS records for your SIP trunks, e.g.: ; Per-node records b.cw-ngv.com IN A 1.0.0.1 c.cw-ngv.com IN A 1.0.0.2 (and so on for d-f) ; ; Cluster A and AAAA records a.cw-ngv.com IN A 1.0.0.1 a.cw-ngv.com IN A 1.0.0.2 ; ; NAPTR and SRV records a.cw-ngv.com IN NAPTR 1 1 "S" "SIP+D2T" "" _sip._<tcp/udp>.a.cw-ngv.com _sip._<tcp/udp>.a.cw-ngv.com IN SRV 0 0 <port> b.cw-ngv.com _sip._<tcp/udp>.a.cw-ngv.com IN SRV 0 0 <port> c.cw-ngv.com ; The SIP resolver code will greylist any SIP trunks that are unresponsive for 30 seconds (meaning that they will only send requests to that trunk if there are no other options). Ellie Ellie From: [email protected] [mailto:[email protected]] On Behalf Of Mohammad Asif Khan Sent: 09 April 2014 15:19 To: [email protected] Subject: [Clearwater] SIP multiple trunk Hi we want to configure 5 sip trunk with one uplink provider.so what will be the regex in enum.jason, and what if one of the trunk is down than how the traffic will routed to other trunk Asif
_______________________________________________ Clearwater mailing list [email protected] http://lists.projectclearwater.org/listinfo/clearwater
