<div>Hi all,</div>  <div>I was enabling features like call forwarding and voicemail in my openser script. I also took some idea from the call forward configuration available at Onsip.org. But I find a strange problem:</div>  <div>When the user has set his call forwarding to forwarding on no answer and if someone calls this user it rings for the request timeout period but after request timeout the invite goes again to the same user instead of the forwarded number and the phone keeps on ringing.</div>  <div>Then I jus used the onsip.org configuration and again I face the same problem.</div>  <div>Can someone help me on this please.</div>  <div>I remember that this script worked well in the 0.9.5 version of openser but now I am using 1.1.x from the cvs and I am facing this problem.</div>  <div>The problem somewhere seems to be with the append_branch function.</div>  <div>I inserted the log function&nbsp;at different places in&nbsp;the script to check the flow, it behaves as
 needed but after the append_branch() I dont know what goes wrong but the call is not forwarded somehow.</div>  <div>The blind forwarding concept works fine as it does not need any append_branch() in it.</div>  <div>The ngrep after request timeout happens is given below:</div>  <div>&nbsp;</div>  <div>202.XXX.60.XXX:5060 -&gt; 202.80.XXX.XXX:1443<BR>&nbsp; CANCEL sip:6468621545@192.168.2.18:8469 SIP/2.0..Via: SIP/2.0/UDP 202.XXX.60.XXX;branch=z9hG4bK39ec.b7193062.0..From: "jaye<BR>&nbsp; sh"&lt;sip:6468621547@202.XXX.60.XXX&gt;;tag=1b0d5617..Call-ID: <A href="mailto:83236e2f50004a44@SkFZRVNI..To">83236e2f50004a44@SkFZRVNI..To</A>: &lt;sip:6468621545@202.XXX.60.XXX&gt;..CSe<BR>&nbsp; q: 2 CANCEL..User-Agent: OpenSer (1.1.0-dev16 -notls (i386/linux))..Content-Length: 0....<BR>#<BR>U 202.XXX.60.XXX:5060 -&gt; 202.80.XXX.XXX:2650<BR>&nbsp; SIP/2.0 407 Proxy Authentication Required..Via: SIP/2.0/UDP 192.168.2.18:8466;received=202.80.XXX.XXX;branch=z9hG4bK-d8754<BR>&nbsp;
 3-c63a9f56aa2b013d-1--d87543-;rport=2650..To: &lt;sip:6468621545@202.XXX.60.XXX&gt;;tag=71ff39c351286642530928b88b3f93ba.d71b..Fr<BR>&nbsp; om: "jayesh"&lt;sip:6468621547@202.XXX.60.XXX&gt;;tag=1b0d5617..Call-ID: <A href="mailto:83236e2f50004a44@SkFZRVNI..CSeq">83236e2f50004a44@SkFZRVNI..CSeq</A>: 2 INVITE..Proxy-Authent<BR>&nbsp; icate: Digest realm="202.XXX.60.XXX", nonce="4444ecd2d1559130637b185152e48a75efecca04"..Server: OpenSer (1.1.0-dev16 -notls<BR>&nbsp;&nbsp; (i386/linux))..Content-Length: 0..Warning: 392 202.XXX.60.XXX:5060 "Noisy feedback tells:&nbsp; pid=11598 req_src_ip=202.80.61.<BR>&nbsp; 10 req_src_port=5060 in_uri=sip:<STRONG>00919833171405@202.XXX.60.XXX</STRONG> out_uri=sip:<STRONG>00919833171405@202.XXX.60.XXX</STRONG> via_cnt==2"....<BR>#<BR>U 202.80.XXX.XXX:2650 -&gt; 202.XXX.60.XXX:5060<BR>&nbsp; ACK sip:6468621545@202.XXX.60.XXX SIP/2.0..Via: SIP/2.0/UDP 192.168.2.18:8466;branch=z9hG4bK-d87543-c63a9f56aa2b013d-1--d87<BR>&nbsp; 543-;rport..To:
 &lt;sip:6468621545@202.XXX.60.XXX&gt;;tag=71ff39c351286642530928b88b3f93ba.d71b..From: "jayesh"&lt;sip:6468621547@20<BR>&nbsp; 2.80.61.10&gt;;tag=1b0d5617..Call-ID: <A href="mailto:83236e2f50004a44@SkFZRVNI..CSeq">83236e2f50004a44@SkFZRVNI..CSeq</A>: 2 ACK..Content-Length: 0....<BR>#<BR>U 202.80.XXX.XXX:2650 -&gt; 202.XXX.60.XXX:5060<BR>&nbsp; INVITE sip:6468621545@202.XXX.60.XXX SIP/2.0..Via: SIP/2.0/UDP 192.168.2.18:8466;branch=z9hG4bK-d87543-1b1c6b50b550ef43-1--<BR>&nbsp; d87543-;rport..Max-Forwards: 70..Contact: &lt;sip:6468621547@192.168.2.18:8466&gt;..To: &lt;sip:6468621545@202.XXX.60.XXX&gt;..From: "jayesh"&lt;sip:6468621547@202.XXX.60.XXX&gt;;tag=1b0d5617..Call-ID: <A href="mailto:83236e2f50004a44@SkFZRVNI..CSeq">83236e2f50004a44@SkFZRVNI..CSeq</A>: 3 INVITE..Allow: INVITE, ACK,<BR>&nbsp;&nbsp; CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO..Content-Type: application/sdp..Proxy-Authorization: Diges<BR>&nbsp; t
 username="6468621547",realm="202.XXX.60.XXX",nonce="4444ecd2d1559130637b185152e48a75efecca04",uri="sip:6468621545@202.80.<BR>&nbsp; 61.10",response="752c0923d00e9a7a4a8611835ea0c649",algorithm=MD5..Supported: eventlist..User-Agent: eyeBeam release 3010n<BR>&nbsp;&nbsp; stamp 19039..Content-Length: 235....v=0..o=- 18498030 18498049 IN IP4 192.168.2.18..s=eyeBeam..c=IN IP4 192.168.2.18..t=<BR>&nbsp; 0 0..m=audio 8470 RTP/AVP 8 18 5 101..a=alt:1 1 : 3E35CA80 000000D3 192.168.2.18 8470..a=fmtp:101 0-15..a=rtpmap:101 tele<BR>&nbsp; phone-event/8000..a=sendrecv..<BR>#<BR>U 202.XXX.60.XXX:5060 -&gt; 202.80.XXX.XXX:2650<BR>&nbsp; SIP/2.0 100 trying -- your call is important to us..Via: SIP/2.0/UDP 192.168.2.18:8466;branch=z9hG4bK-d87543-1b1c6b50b550<BR>&nbsp; ef43-1--d87543-;rport=2650;received=202.80.XXX.XXX..To: &lt;sip:6468621545@202.XXX.60.XXX&gt;..From: "jayesh"&lt;sip:6468621547@202.8<BR>&nbsp; 0.61.10&gt;;tag=1b0d5617..Call-ID: <A
 href="mailto:83236e2f50004a44@SkFZRVNI..CSeq">83236e2f50004a44@SkFZRVNI..CSeq</A>: 3 INVITE..Server: OpenSer (1.1.0-dev16 -notls (i386/linu<BR>&nbsp; x))..Content-Length: 0..Warning: 392 202.XXX.60.XXX:5060 "Noisy feedback tells:&nbsp; pid=11594 req_src_ip=202.80.XXX.XXX req_src<BR>&nbsp; _port=2650 in_uri=sip:6468621545@202.XXX.60.XXX out_uri=sip:6468621545@192.168.2.18:8469 via_cnt==1"....</div>  <div>#<BR>U 202.XXX.60.XXX:5060 -&gt; 202.80.XXX.XXX:1443<BR>&nbsp; INVITE sip:6468621545@192.168.2.18:8469 SIP/2.0..Record-Route: &lt;sip:202.XXX.60.XXX:5060;nat=yes;ftag=1b0d5617;lr=on&gt;..Via:<BR>&nbsp; SIP/2.0/UDP 202.XXX.60.XXX;branch=z9hG4bK49ec.e5a8534.0..Via: SIP/2.0/UDP 192.168.2.18:8466;received=202.80.XXX.XXX;branch=z<BR>&nbsp; 9hG4bK-d87543-1b1c6b50b550ef43-1--d87543-;rport=2650..Max-Forwards: 69..Contact: &lt;sip:6468621547@202.80.XXX.XXX:2650&gt;..To:<BR>&nbsp;&nbsp; &lt;sip:6468621545@202.XXX.60.XXX&gt;..From:
 "jayesh"&lt;sip:6468621547@202.XXX.60.XXX&gt;;tag=1b0d5617..Call-ID: <A href="mailto:83236e2f50004a44@SkFZR">83236e2f50004a44@SkFZR</A><BR>&nbsp; VNI..CSeq: 3 INVITE..Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO..Content-Type: app<BR>&nbsp; lication/sdp..Supported: eventlist..User-Agent: eyeBeam release 3010n stamp 19039..Content-Length: 236....v=0..o=- 184980<BR>&nbsp; 30 18498049 IN IP4 192.168.2.18..s=eyeBeam..c=IN IP4 202.XXX.60.XXX..t=0 0..m=audio 10108 RTP/AVP 8 18 5 101..a=alt:1 1 : 3<BR>&nbsp; E35CA80 000000D3 192.168.2.18 8470..a=fmtp:101 0-15..a=rtpmap:101 telephone-event/8000..a=sendrecv..<BR>#<BR>U 202.80.XXX.XXX:1443 -&gt; 202.XXX.60.XXX:5060<BR>&nbsp; SIP/2.0 200 OK..Via: SIP/2.0/UDP 202.XXX.60.XXX;branch=z9hG4bK39ec.b7193062.0..Contact: &lt;sip:6468621545@192.168.2.18:8469&gt;.<BR>&nbsp; .To: &lt;sip:6468621545@202.XXX.60.XXX&gt;;tag=023e0170..From: "jayesh"&lt;sip:6468621547@202.XXX.60.XXX&gt;;tag=1b0d5617..Call-ID:
 83236<BR>&nbsp; <A href="mailto:e2f50004a44@SkFZRVNI..CSeq">e2f50004a44@SkFZRVNI..CSeq</A>: 2 CANCEL..User-Agent: eyeBeam release 3010n stamp 19039..Content-Length: 0....<BR>#<BR>U 202.80.XXX.XXX:1443 -&gt; 202.XXX.60.XXX:5060<BR>&nbsp; SIP/2.0 487 Request Terminated..Via: SIP/2.0/UDP 202.XXX.60.XXX;branch=z9hG4bK39ec.b7193062.0..Via: SIP/2.0/UDP 192.168.2.1<BR>&nbsp; 8:8466;received=202.80.XXX.XXX;branch=z9hG4bK-d87543-c63a9f56aa2b013d-1--d87543-;rport=2650..To: &lt;sip:6468621545@202.80.61<BR>&nbsp; .10&gt;;tag=023e0170..From: "jayesh"&lt;sip:6468621547@202.XXX.60.XXX&gt;;tag=1b0d5617..Call-ID: <A href="mailto:83236e2f50004a44@SkFZRVNI..CSeq">83236e2f50004a44@SkFZRVNI..CSeq</A>: 2<BR>&nbsp; INVITE..User-Agent: eyeBeam release 3010n stamp 19039..Content-Length: 0....<BR>#<BR>U 202.XXX.60.XXX:5060 -&gt; 202.80.XXX.XXX:1443<BR>&nbsp; ACK sip:6468621545@192.168.2.18:8469 SIP/2.0..Via: SIP/2.0/UDP 202.XXX.60.XXX;branch=z9hG4bK39ec.b7193062.0..From: "jayesh"<BR>&nbsp;
 &lt;sip:6468621547@202.XXX.60.XXX&gt;;tag=1b0d5617..Call-ID: <A href="mailto:83236e2f50004a44@SkFZRVNI..To">83236e2f50004a44@SkFZRVNI..To</A>: &lt;sip:6468621545@202.XXX.60.XXX&gt;;tag=023<BR>&nbsp; e0170..CSeq: 2 ACK..User-Agent: OpenSer (1.1.0-dev16 -notls (i386/linux))..Content-Length: 0....<BR>#<BR>U 202.80.XXX.XXX:1443 -&gt; 202.XXX.60.XXX:5060<BR>&nbsp; SIP/2.0 180 Ringing..Via: SIP/2.0/UDP 202.XXX.60.XXX;branch=z9hG4bK49ec.e5a8534.0..Via: SIP/2.0/UDP 192.168.2.18:8466;recei<BR>&nbsp; ved=202.80.XXX.XXX;branch=z9hG4bK-d87543-1b1c6b50b550ef43-1--d87543-;rport=2650..Record-Route: &lt;sip:202.XXX.60.XXX:5060;lr;n<BR>&nbsp; at=yes;ftag=1b0d5617&gt;..Contact: &lt;sip:6468621545@192.168.2.18:8469&gt;..To: &lt;sip:6468621545@202.XXX.60.XXX&gt;;tag=f6570b78..From:<BR>&nbsp;&nbsp; "jayesh"&lt;sip:6468621547@202.XXX.60.XXX&gt;;tag=1b0d5617..Call-ID: <A href="mailto:83236e2f50004a44@SkFZRVNI..CSeq">83236e2f50004a44@SkFZRVNI..CSeq</A>: 3 INVITE..User-Agent: eyeB<BR>&nbsp; eam
 release 3010n stamp 19039..Content-Length: 0....<BR>#<BR>U 202.XXX.60.XXX:5060 -&gt; 202.80.XXX.XXX:2650<BR>&nbsp; SIP/2.0 180 Ringing..Via: SIP/2.0/UDP 192.168.2.18:8466;received=202.80.XXX.XXX;branch=z9hG4bK-d87543-1b1c6b50b550ef43-1--<BR>&nbsp; d87543-;rport=2650..Record-Route: &lt;sip:202.XXX.60.XXX:5060;lr;nat=yes;ftag=1b0d5617&gt;..Contact: &lt;sip:6468621545@202.80.61.25<BR>&nbsp; 4:1443&gt;..To: &lt;sip:6468621545@202.XXX.60.XXX&gt;;tag=f6570b78..From: "jayesh"&lt;sip:6468621547@202.XXX.60.XXX&gt;;tag=1b0d5617..Call-I<BR>&nbsp; D: <A href="mailto:83236e2f50004a44@SkFZRVNI..CSeq">83236e2f50004a44@SkFZRVNI..CSeq</A>: 3 INVITE..User-Agent: eyeBeam release 3010n stamp 19039..Content-Length: 0....</div>  <div>&nbsp;</div>  <div>The one that I have made bold is the forwarded number. It recognises but it somehow again asks for proxy authentication after the call is forwarded.</div>  <div>User 6468621545 has forwarded the call on no answer to 00919833171405.</div> 
 <div>&nbsp;</div>  <div>Please help me in this regard as many must have used that script.</div>  <div>&nbsp;</div>  <div>w/regards,</div>  <div>jayesh.<BR></div><p>
        

        
                <hr size=1> 
Jiyo cricket on <a href="http://us.rd.yahoo.com/mail/in/mailcricket/*http://in.sports.yahoo.com/cricket/">Yahoo! India cricket</a><br>
<a href="http://us.rd.yahoo.com/mail/in/mailmobilemessenger/*http://in.mobile.yahoo.com/new/messenger/">Yahoo! Messenger Mobile</a> Stay in touch with your buddies all the time.<p>
        

        
                <hr size=1> 
Jiyo cricket on <a href="http://us.rd.yahoo.com/mail/in/mailcricket/*http://in.sports.yahoo.com/cricket/">Yahoo! India cricket</a><br>
<a href="http://us.rd.yahoo.com/mail/in/mailmobilemessenger/*http://in.mobile.yahoo.com/new/messenger/">Yahoo! Messenger Mobile</a> Stay in touch with your buddies all the time.