Hi, Do you see any loop on opensips for the notify request ? Is it forwarded back to your opensips until the Max-Forward reaches 0 ? If so, opensips doesn't recognize the request as local so it tries to forward it (to himself.) Check if the domain sip.mytcm.com is actually declared in the domain table.
Best Regards, - vma . On May 18, 2012, at 10:25 AM, Schneur Rosenberg wrote: > It returns a -1, as you can see in the sip trace the Max-Forwards is 70 > > May 18 08:22:20 server /sbin/opensips[1777]: -1 retcode > > > On Fri, May 18, 2012 at 12:07 AM, <[email protected]> wrote: >> Maybe you are getting a -2 return code from your mf_process_maxfwd_header >> function >> >> http://www.opensips.org/html/docs/modules/1.4.x/maxfwd.html#id227234 >> >> Before the sl_send_reply("483","Too Many Hops"); in your code do an xlog and >> print out $retcode to see what its value is. >> >> >> >> >> >> >> On , Schneur Rosenberg <[email protected]> wrote: >>> I'm trying to manipulate MWI with sipsak, problem is that I get a >>> >>> SIP/2.0 483 Too Many Hops, I'm probably sending the packet wrong, here >>> >>> is the packet and response. >>> >>> >>> >>> U 64.69.27.120:57036 -> 75.98.168.213:5060 >>> >>> NOTIFY sip:[email protected] SIP/2.0. >>> >>> Via: SIP/2.0/UDP 64.69.27.120:57036;branch=z9hG4bK.6d757891;rport;alias. >>> >>> From: sip:[email protected]>. >>> >>> To: sip:[email protected]>. >>> >>> Contact: sip:[email protected]>. >>> >>> Call-ID: [email protected]. >>> >>> CSeq: 1898 NOTIFY. >>> >>> Event: message-summary. >>> >>> Content-Type: application/simple-message-summary. >>> >>> Max-Forwards: 70. >>> >>> Content-Length: 0. >>> >>> Messages-Waiting: 10. >>> >>> Voicemail: 10/20. >>> >>> . >>> >>> >>> >>> >>> >>> U 75.98.168.213:5060-> 64.69.27.120:57036 >>> >>> SIP/2.0 483 Too Many Hops. >>> >>> Via: SIP/2.0/UDP >>> >>> >>> 64.69.47.111:57036;received=64.69.47.111;branch=z9hG4bK.6d757891;rport=57036;alias. >>> >>> From: sip:[email protected]>. >>> >>> To: >>> sip:[email protected]>;tag=c97b4d1cb1f3d0da549e06a8d482ef63.84af. >>> >>> Call-ID: [email protected]. >>> >>> CSeq: 1898 NOTIFY. >>> >>> Server: OpenSIPS (1.7.1-notls (x86_64/linux)). >>> >>> Content-Length: 0. >>> >>> . >>> >>> >>> >>> _______________________________________________ >>> >>> Users mailing list >>> >>> [email protected] >>> >>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >>> >>> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
