Summary:ASTERISK-02538: notification msg during a blind transfer does not include the registrar's IP address
Reporter:Seshu (saysontech)Labels:
Date Opened:2004-10-05 17:53:35Date Closed:2004-10-09 00:30:14
Versions:Frequency of
Environment:Attachments:( 0) sipfix.txt
( 1) transfer.log
Description:I performed the following test case for a blind transfer with the SIP protocol that we developed using the SIP standard.
1. from sip end point 1 call sip end point 2
2. from sip end point 2 answer the call
3. from sip end point 1 perform a blind (cold) transfer the call with end point 2 to end point 3

While performing step 3 the Asterisk PBX sends a notify packet to the sip end point 1. But in the To header field
(see line 883 of the attached log file) does not include the IP address/domain name of the registrar and a subsequent BYE request that asterisk PBX sends does not contain the IP address/domain name in the BYE (see line 897 of the attached log file) header either.


Please see the attached log file for more details.
the phone with extension number:
7111 is sip end point 1,
5857501515 is sip end point 2 and
7112 is sip end point 3
Comments:By: Seshu (saysontech) 2004-10-05 17:56:13

This problem is reproducable in the asterisk build version 1.0.0 available from http://freshmeat.net/redir/asterisk/442/url_tgz/asterisk-1.0.0.tar.gz .
I used the release candidate for version 1.0.0 and we did not have this issue
with this release candidate

By: Mark Spencer (markster) 2004-10-05 18:01:53

Please read the bug guidelines before placing further bugs.

By: Mark Spencer (markster) 2004-10-05 18:15:29

Do you have pedantic SIP checking turned on?  Why are the tags different?

By: Seshu (saysontech) 2004-10-05 18:54:17

I am sorry I did not get you. What do you mean by pedantic SIP checking turned on?
I am using Linux Red Hat version 9.0 distribution. I use the SIP stack obtained
from another party. Thanks for your time.

By: Mark Spencer (markster) 2004-10-06 00:38:29

pedantic sip checking is an option in SIP.

Try this patch on 1.0.1 or use latest CVS head and see if that fixes it for you.


By: Seshu (saysontech) 2004-10-06 11:49:12

Thank you very much for the immediate response. The addition of the line into the chan_sip.c file (see the attached file sipfix.txt) had solved the problem that I mentioned in this posting. However, I was wondering if this was a known issue. If it wasn't it is strange that if was not discovered until late. Also out of curiosity why does the asterisk PBX send a FORBIDDEN packet to the phone that is
doing the blind transfer right after sending the BYE packet. Please see the attached file, trasnferAfterPatch.log for the packets that were sent by the asterisk PBX. Thanks again for your time. I very much appreciate it.

By: Seshu (saysontech) 2004-10-07 12:19:37

Actually this patch did not work. Somehow it seemed like it was working when
I tested version 1.0.1 with the patch (I guess the install did not update some
files that I had from the 1.0.0 release candidate). I removed all the files
in the modules directory and installed asterisk 1.0.1 with the patch.

I was wondering if anybody out there has the same problem that we are facing with
the blind transfer (see the transfer.log file for details).  Thanks.

edited on: 10-07-04 14:15

By: Mark Spencer (markster) 2004-10-07 14:30:01

Yes, that bug fix was actually incorrect.  However, the correct one should be now in CVS :)