On Tue, Mar 2, 2010 at 9:06 PM, Paul Mossman <[email protected]> wrote: > Ranga wrote: > ... >> The default sets the ITSP proxy address to be the same as >> ITSP proxy domain. You can leave the ITSP proxy address field >> blank. It is meant to be an override. If the ITSP wants you >> to send to a specific address, you put some IP address there. >> If the ITSP is good they would implement a DNS SRV record for >> SIP, for which you need only have the domain and nothing else. > > I understand, Domain and Address may be different. BT (bt.xml) is a good > example: > > itsp-proxy-domain - sip.ser-001.nat.bt.com > itsp-proxy-address - 81.144.230.5 > > Versus CallWithUs (callwithus.xml): > > itsp-proxy-domain - callwithus.com > itsp-proxy-address - <no default value> > > Versus Nortel CS1000 (cs1000.xml): > > itsp-proxy-domain - <no default value> > itsp-proxy-address - <no default value> > > > Part of the confusion seems to be that the Gateway screen's Address > field default value comes from the ITSP template "domain", and not the > "address".
There is no confusion. It should indeed come from the template "ITSP domain". In the generated sipxbridge.xml, the domain is mandatory for a given ITSP account. Please change the label to "domain" if that is causing confusion. > > Also, if Domain and Address can be different, shouldn't you be able to > configure both from sipXconfig? You are able to do that. Go to the ITSP advanced screen and you can set an address for the ITSP proxy addres. The proxy address is not mandatory. In several ITSPs ( bandwidth.com), the proxy address is determined by DNS SRV lookup. The ITSP screen should not allow you to set the domain as it is already settable in the gateway definition screen. However, it would be nice if it were displayed read-only. Note that a domain name can be an address. Hence in ITSPs such as AT&T which directly specify an IP address and do not rely on DNS, you can still enter an IP address in the gateway configuration as the "ITSP domain" and everything works fine from sipxbridge perspective. > > > It also looks like the generated forwardingrules.xml and sipxbridge.xml > always have the "itsp-proxy-domain" value from the ITSP template, > regardless of the Gateway's configured Address value. That doesn't seem > right. That is not right. The configured gateway address should be the ITSP domain. The template domain should not override that. You can even remove the domain from the template. > > If the ITSP template is missing itsp-proxy-domain, forwardingrules.xml > contains Velocity code (XX-7695), and sipxbridge.xml is missing the > corresponding XML node altogether. The domain is mandatory. If a gateway is defined without address, that is a bug. If an ITSP account is configured without a domain, that is a configuration error for sipxbridge. Please flag it as a config error in sipxconfig if possible. > > > This area appears to have a number of problems beyond XX-7695. Or am I > missing something? Ignore the domain in the template. Use the entered gateway address ( change the label to domain) to generate sipXbridge.xml. The template is only there to select the other configuration parameters and is not meant to override entered parameters. Hope that helps clear things up a bit. Ranga. > > > -Paul > [email protected] > > > > -- M. Ranganathan _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev sipXecs IP PBX -- http://www.sipfoundry.org/
