[OpenSIPS-Users] Handling decline in branches

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Oct 23 08:45:44 EDT 2018


Hello Wilhelm,

The normal behavior is to have the remaining branches still on ringing 
(after one branch gets a decline) - what is the reply code used by the 
branch to decline ? is it a 6XX reply by chance ?

Best regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   http://www.opensips-solutions.com
OpenSIPS Bootcamp 2018
   http://opensips.org/training/OpenSIPS_Bootcamp_2018/

On 10/19/2018 04:39 PM, Wilhelm Lundgren wrote:
> Hi,
>
> Im running opensips:
> version: opensips 2.2.1 (x86_64/linux)
> flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, 
> F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
> ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, 
> MAX_URI_SIZE 1024, BUF_SIZE 65535
> poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
> git revision: 68ace2e
> main.c compiled on 17:27:11 Nov  8 2017 with gcc 4.7
>
> and i have some issues. When calling a number, i am branching to a set 
> of predefined numbers so the invite gets sent to them all. When 
> someone picks up, the call is connected and the branches that did not 
> pick upp will get the cancel message and stop ringing, and this works 
> just fine. However, this also applies to a deny, a hangup. So if 
> anyone of the predefined numbers just press hangup directly, a decline 
> is sent and then this call will stop for all numbers. I would like to 
> be able to have one user send decline and keep it ringing on the other 
> users.
>
> Ex:
> Number A calls number B, which is also branched to number C. Number C 
> just hangs up directly. Now i want the call to continue for number B, 
> until it hangs up or answers, and nothing should be sent to number A 
> until B has responded. And after that number A should get notified of 
> the action.
>
> Any ideas?
>
> Thanks
> Wilhelm
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20181023/5a8599b6/attachment.html>


More information about the Users mailing list