[asterisk-bugs] [JIRA] (ASTERISK-22791) asterisk sends Re-INVITE after receiving a BYE
Walter Doekes (JIRA)
noreply at issues.asterisk.org
Thu Oct 9 15:09:29 CDT 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-22791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=222953#comment-222953 ]
Walter Doekes commented on ASTERISK-22791:
------------------------------------------
Good question. I think I'm using the latest github version: https://github.com/SIPp/sipp/commits/master
But I see the problem. I'm running without pcapplay:
{noformat}
#ifdef PCAPPLAY
char *begin = dest;
while (begin > msg_buffer) {
if (*begin == '\n') {
break;
}
begin--;
}
if (begin == msg_buffer) {
ERROR("Can not find beginning of a line for the media port!\n");
}
if (strstr(begin, "audio")) {
if (media_ip_is_ipv6) {
(_RCAST(struct sockaddr_in6 *, &(play_args_a.from)))->sin6_port = port;
} else {
(_RCAST(struct sockaddr_in *, &(play_args_a.from)))->sin_port = port;
}
} else if (strstr(begin, "video")) {
if (media_ip_is_ipv6) {
(_RCAST(struct sockaddr_in6 *, &(play_args_v.from)))->sin6_port = port;
} else {
(_RCAST(struct sockaddr_in *, &(play_args_v.from)))->sin_port = port;
}
} else {
ERROR("media_port keyword with no audio or video on the current line (%s)", begin);
}
#endif
{noformat}
No pcapplay, no problem. I'll see if I can get that fixed.
Could you try the asterisk patch in the mean time?
> asterisk sends Re-INVITE after receiving a BYE
> ----------------------------------------------
>
> Key: ASTERISK-22791
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-22791
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Channels/chan_sip/General, Channels/chan_sip/T.38, Resources/res_fax
> Affects Versions: 11.6.0
> Reporter: Paolo Compagnini
> Severity: Trivial
> Attachments: debug, messages, scrubed_messages, sip.conf
>
>
> i am receiving faxes with receiveFAX().
> after transmitting the document with t38 asterisk changes back to g711.
> Sometimes it happens that even after receiving a BYE asterisk is sending these Re-INVITEs.
> i can provide a sip trace but i don't wanna share it in public.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list