[asterisk-bugs] [JIRA] (ASTERISK-28185) chan_pjsip: Subsequent same responses are not stopped

Julien (JIRA) noreply at issues.asterisk.org
Tue Apr 9 06:38:47 CDT 2019


    [ https://issues.asterisk.org/jira/browse/ASTERISK-28185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=246831#comment-246831 ] 

Julien commented on ASTERISK-28185:
-----------------------------------

i have made a patch in asterisk 16.3.0 : Only one 183 Session Progress will be send :

app_dial.c:
1186a1187
>       int num_AST_CONTROL_PROGRESS = 0; // JGO
1472c1473,1478
<                                                       ast_indicate(in, AST_CONTROL_PROGRESS);
---
>                                                       /* JGO Only send ONE 183 Session Progress. Because there is a bug with Pjsip that make received that event twice */
>                                                       if (num_AST_CONTROL_PROGRESS == 0)
>                                                       {
>                                                               ast_indicate(in, AST_CONTROL_PROGRESS);
>                                                               num_AST_CONTROL_PROGRESS++;
>                                                       }


Thank works fine for me. 
Can you merge this for a futur release ?
Thank you.


> chan_pjsip: Subsequent same responses are not stopped
> -----------------------------------------------------
>
>                 Key: ASTERISK-28185
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28185
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip
>    Affects Versions: 16.0.1
>            Reporter: Julien
>            Assignee: Unassigned
>            Severity: Trivial
>              Labels: pjsip
>
> If i use Pjsip, every calls with a Session Progress will be sent 2 times to the first channel.
> With ChanSip, only one Session Progress is sent (good).
> The problem is the same in Asterisk 13/15/16.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list