[OpenSIPS-Users] error after ac_replace_from function: bogus event 7 in state 2

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Aug 18 16:36:59 CEST 2010


Actually if the BYE is sent by caller, it is valid from SIP point of 
view and the error is in opensips. The callee is not allowed to send a 
BYE while in early state.

Regards,
Bogdan

Fernando Ortiz wrote:
> Thanks a lot for the answer. So definitely the problem is in the uac 
> side and not in opensips.
>
> Regards
>
>
> 2010/8/16 Bogdan-Andrei Iancu <bogdan at voice-system.ro 
> <mailto:bogdan at voice-system.ro>>
>
>     Hi Fernando,
>
>     See my previous email on this topic.
>
>     Also, digging a bit on the topic, I found a thread on SIP-implementers
>     mailing list:
>
>     https://lists.cs.columbia.edu/pipermail/sip-implementors/2009-May/022756.html
>
>     Stating that a BYE from caller for an early dialog is legal:
>
>            Section 15 of RFC 3261 says - "The caller's UA MAY send a
>     BYE for eitherconfirmed or early dialogs, and the callee's UA MAY
>     send a BYE onconfirmed dialogs, but MUST NOT send a BYE on early
>     dialogs".
>
>     So, maybe we need to make the dialog module to accept BYE as CANCEL
>     also......
>
>
>     Regards,
>     Bogdan
>
>
>     Fernando Ortiz wrote:
>     > I think this error is caused by a bad implementation of a SIP
>     client.
>     > I've checked all what i could in the opensips domain and I see no
>     > error here. Any comments?
>     >
>     >
>     ------------------------------------------------------------------------
>     >
>     > _______________________________________________
>     > Users mailing list
>     > Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>     > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>     >
>
>
>     --
>     Bogdan-Andrei Iancu
>     OpenSIPS Bootcamp
>     20 - 24 September 2010, Frankfurt, Germany
>     www.voice-system.ro <http://www.voice-system.ro>
>
>
>     _______________________________________________
>     Users mailing list
>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
>
> -- 
> Fernando Ortiz
> Twitter: http://twitter.com/FernandOrtizF
>  
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   


-- 
Bogdan-Andrei Iancu
OpenSIPS Bootcamp
20 - 24 September 2010, Frankfurt, Germany
www.voice-system.ro




More information about the Users mailing list