[asterisk-dev] Multiple Contacts in 302 Message

Matthew Jordan mjordan at digium.com
Wed Aug 15 08:26:51 CDT 2012


----- Original Message ----- 

> From: "Andaleeb Roomy" <andaleebcse at gmail.com>
> To: asterisk-dev at lists.digium.com
> Sent: Wednesday, August 15, 2012 6:15:59 AM
> Subject: [asterisk-dev] Multiple Contacts in 302 Message

> Hi,

> I have a question regarding multiple contacts in received 302 message
> against INVITEs.

> When my Asterisk tries to send out an INVITE, it gets a 302 response,
> redirecting the call to other (multiple) contacts.
> This 302 message has multiple contacts with q-values in its Contact
> header, like the following:
> Contact: <sip:alice at ip1:5060>;q=0.6,<sip:bob at ip2:5060>;q=0.4

> My question is, does Asterisk try all the contacts according to the
> q-values? Or does it try only the first contact in the list?

Asterisk does not support prioritized contacts in 3xx responses, nor - at a
more fundamental level - does it support the concept of having multiple
redirecting parties. As such, it will extract the first URI in the Contact header
as the redirecting party.

--
Matthew Jordan
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org



More information about the asterisk-dev mailing list