[asterisk-users] Re-INVITE on BYE

Kevin P. Fleming kpfleming at digium.com
Wed Feb 24 10:16:25 CST 2010


Lawrence Na (MY-RND at Vyke) wrote:

> On hangup below are the SIP flow which I’ve notice from the Asterisk
> server itself:
> 
>    1. Opensips forward the BYE to Asterisk
>    2. Asterisk response with 200 OK
>    3. Asterisk send INVITE to B
>    4. B response with 200 OK with SDP
>    5. Asterisk reply with ACK
>    6. Asterisk send BYE to B
>    7. B response with 200 OK
> 
> 
> Shouldn’t Asterisk forward the BYE to B instead of issuing a re-INVITE
> then BYE?

Asterisk does not 'forward' messages or requests, since it is not a
proxy. In this case, it is redirecting B's media back to itself in case
the dialplan contains any steps to be done with B's channel before it is
destroyed.

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kfleming at digium.com
Check us out at www.digium.com & www.asterisk.org



More information about the asterisk-users mailing list