[Serusers] sipsak says: error: cannot handle this redirect

Nils Ohlmeier lists at ohlmeier.org
Tue Jun 20 14:38:19 CEST 2006


Hello,

On Tuesday 20 June 2006 10:11, jp at speakplease.com wrote:
> I'm quite new with this whole SIP thing (surprise surprise)
>
> I'm trying to learn and build a system but i can't seem to get even the
> most simple redirects to work. I did get it to work earlier, but then it
> stopped working and now i can't get it to work again. any help please?
> since i'm not that hack with the linux either i reinstalled it in case i
> had made stupid mistakes (couldn't get phpmyadmin to work at that point
> but that's another story...)
>
> when i do this:
>
> sipsak -vv -s sip:7770088 at 192.168.1.102
>
> sipsak says:
>
> message received:
> ** received redirect
> error: cannot handle this redirect:
> SIP/2.0 300 Redirect
> Via: SIP/2.0/UDP
> 192.168.1.111:1235;branch=z9hG4bK.457b3839;rport=1236;alias From:
> sip:sipsak at 192.168.1.111:1235;tag=4b93b8d3
> To: sip:7770088 at 192.168.1.102;tag=b27e1a1d33761e85846fc98f5f3a7e58.dd84
> Call-ID: 1267972307 at 192.168.1.111
> CSeq: 1 OPTIONS
> Contact: sip:7770088 at sip.varphonex.com:5060
> Server: Sip EXpress router (0.9.6 (i386/linux))
> Content-Length: 0
> Warning: 392 192.168.1.102:5060 "Noisy feedback tells:  pid=30758
> req_src_ip=192.168.1.111 req_src_port=1236
> in_uri=sip:7770088 at 192.168.1.102
> out_uri=sip:7770088 at sip.varphonex.com:5060 via_cnt==1"
>
>
> the redirect i'm using is the redirect example from ser documentation
> (changed the rewrite uri to 7770088 at sip.varphonex.com:5060)
>
> I'm trying to get my voip phone to connect to varphonex through ser.

The problem is that you are using a 300 response, which means their are 
multiple choices for the redirection. As sipsak is not able to followed 
multiple choices, in parallel or sequentially, it stops processing the 
request. But as your reply contains only one Contact header you should use 
301 or 302 instead of 300. Then sipsak should also be able to process it.

  Nils

> thanks in advance!
> -JP
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers



More information about the sr-users mailing list