Inline.
On Monday 26 September 2005 10:40, Ángel Gómez wrote:
I´m trying to test my SER server, but... wen i use sipsak to test it, with this comand:
sipsak -s sip:ninguna@10.22.1.249 -vvv -f mensage.txt
I got this output with sipsak:
fqdnhostname: local our Via-Line: Via: SIP/2.0/UDP local:2288;rport
New message with Via-Line: MESSAGE sip:prueba@10.22.1.249 SIP/2.0 Via: SIP/2.0/UDP local:2288;rport From: sip:prueba@10.22.1.249 To: sip:ninguna@10.22.1.249 Call-ID: 917549908@local CSeq: 2 MESSAGE Content-Type: text/plain Content-Length: 48 Max-Forwards: 7 User-Agent: sipsak 0.8.9_pre
usrloc test message from SIPsak for user ninguna0.sending message to ninguna... ** request ** MESSAGE sip:prueba@10.22.1.249 SIP/2.0 Via: SIP/2.0/UDP local:2288;rport From: sip:prueba@10.22.1.249 To: sip:ninguna@10.22.1.249 Call-ID: 917549908@local CSeq: 2 MESSAGE Content-Type: text/plain Content-Length: 48 Max-Forwards: 7 User-Agent: sipsak 0.8.9_pre
usrloc test message from SIPsak for user ninguna0.sending message to ninguna...
message received: SIP/2.0 483 Too Many Hops Via: SIP/2.0/UDP local:2288;received=10.22.1.5;rport=2288 From: sip:prueba@10.22.1.249 To: sip:ninguna@10.22.1.249;tag=b27e1a1d33761e85846fc98f5f3a7e58.191f Call-ID: 917549908@local CSeq: 2 MESSAGE Server: Sip EXpress router (0.9.3 (i386/linux)) Content-Length: 0 Warning: 392 10.22.1.249:5060 "Noisy feedback tells: pid=1649 req_src_ip=10.22. 1.249 req_src_port=5060 in_uri=sip:prueba@10.22.1.249 out_uri=sip:prueba@10.22.1 .249 via_cnt==8"
As you can see from the Warning header of the 483 the message is looping through your server (via_cnt==8 means the request had 8 Via headers when the reply was generated). Either there is something wrong with your SER config, or it does not recognize 10.22.1.249 as its local domain.
Nils
** reply received after 0.000 ms ** SIP/2.0 483 Too Many Hops final received
And the incoerence is because in ser.cfg I have THIS line (I think):
if (!mf_process_maxfwd_header("16")) { sl_send_reply("483","Too Many Hops"); break; };
the mensage isn´t looping (or i thing so), i have alias in the config file and both user of the mensage (from and to) are registered in the server.
Can some one help me???
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers