Summary: | ASTERISK-06166: [request) Support of "SIP/2.0 300 Multiple choice" response to REGISTER request | ||
Reporter: | Peter Whisker (whiskerp) | Labels: | |
Date Opened: | 2006-01-23 06:00:29.000-0600 | Date Closed: | 2006-01-25 01:43:43.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Channels/chan_sip/Interoperability |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | I am now seeing "SIP/2.0 300 Multiple choice" responses when registering with certain providers. Asterisk does not seem to handle these properly and persists with attempting to register with the IP address first found by DNS rather than one of the ones in the Contact: reponse. Thus, it is unable to register. Example below. Additionally, I don't think that "parse_moved_contact" will properly parse a multi-address list and select one to continue with. ****** ADDITIONAL INFORMATION ****** REGISTER 12 headers, 0 lines Reliably Transmitting (NAT) to 194.221.62.201:5060: REGISTER sip:voipbuster.com SIP/2.0 Via: SIP/2.0/UDP 83.67.204.141:5052;branch=z9hG4bK44a0cc22;rport From: <sip:whiskerp@sip1.voipbuster.com>;tag=as15d1b6ed To: <sip:whiskerp@sip1.voipbuster.com> Call-ID: 47aad45e103187283f35712a08abf13b@voipbuster.com CSeq: 110 REGISTER User-Agent: Asterisk PBX Max-Forwards: 70 Expires: 1200 Contact: <sip:s@83.67.204.141:5052> Event: registration Content-Length: 0 --- network*CLI> --- (10 headers 0 lines)--- Destroying call '740775c0177ffb4a0427b2292109edb2@sipdiscount.com' network*CLI> <-- SIP read from 194.221.62.201:5060: SIP/2.0 300 Multiple choice Via: SIP/2.0/UDP 83.67.204.141:5052;branch=z9hG4bK44a0cc22;rport From: <sip:whiskerp@sip1.voipbuster.com>;tag=as15d1b6ed To: <sip:whiskerp@sip1.voipbuster.com> Contact: sip:194.120.0.211:5060,sip:194.221.62.211:5060,sip:80.239.235.211:5060 Call-ID: 47aad45e103187283f35712a08abf13b@voipbuster.com CSeq: 110 REGISTER User-Agent: (Very nice Sip Registrar Server) Allow: ACK,BYE,CANCEL,INVITE,REGISTER,OPTIONS Content-Length: 0 | ||
Comments: | By: Olle Johansson (oej) 2006-01-23 06:07:50.000-0600 No, this is not supported by the current version of Asterisk. We'll treat this as a feature request, you might want to set up a bounty for adding this functionality or contact a consultant that can create the necessary code. By: Olle Johansson (oej) 2006-01-25 01:43:43.000-0600 Closing this as a feature request. We do no support either 302 redirects or 300 multiple choice in response to REGISTER at this time. It would be a good feature. If it's really needed, post a bounty or find a developer that can fix this on a contractual basis. Thanks, /Olle |