Hello!

I am currently testing Freeswitch which, as you probably are aware, 
relies on Sofia-SIP.

To conduct tests, I am using a Callcentric account.

Callcentric uses DNS SRV records as a way to direct traffic to their SIP 
proxies. A 'srv' 'dig' of '_sip._udp.callcentric.com' returns:

_sip._udp.callcentric.com. 10025 IN     SRV     20 7 5080 
alpha6.callcentric.com.
_sip._udp.callcentric.com. 10025 IN     SRV     20 7 5080 
alpha7.callcentric.com.
_sip._udp.callcentric.com. 10025 IN     SRV     20 7 5080 
alpha1.callcentric.com.
_sip._udp.callcentric.com. 10025 IN     SRV     20 7 5080 
alpha3.callcentric.com.

Based on this information, Sofia-SIP appears to correctly round robin 
all available IP addresses. There is a situation, however, in which this 
round robin causes problems: in the middle of authorizations.

For example, in a registration, Sofia-SIP sends a packet to 
alpha1.callcentric.com. Callcentric then challenges Sofia-SIP with a 
Proxy Authorization request. Sofia-SIP then sends the packet with the 
requested credentials but not necessarily to alpha1.callcentric.com. 
Sofia-SIP round robins and sends the second packet to one of the other 
proxies. However, Callcentric proxies don't appear to share a common 
authorization database and in most cases authorizarion fails. This 
continues for a little while and eventually, by chance, the second 
packet is sent to the initial Callcentric proxy.

This situation appears to be a Callcentric "bug". However, it would be 
nice if Sofia-SIP could handle such a scenario by sticking with the 
original proxy when challenged for authentication even if this behavior 
deviates slightly from the specs. Is this something that could be 
implemented, perhaps controlled by a flag?

Thanks!

Carlos Antunes
Nowthor Corporation


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to