[OpenSIPS-Users] Too many Hops

duane.larson at gmail.com duane.larson at gmail.com
Fri May 18 00:07:57 CEST 2012


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 <rosenberg11219 at gmail.com> 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:grattcisco2 at sip.mytcm.com SIP/2.0.

> Via: SIP/2.0/UDP 64.69.27.120:57036;branch=z9hG4bK.6d757891;rport;alias.

> From: sip:test at sip.mytcm.com>.

> To: sip:grattcisco2 at sip.mytcm.com>.

> Contact: sip:test at sip.mytcm.com>.

> Call-ID: c1661285-e48c9cf6-356 at sip.mytcm.com.

> 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:test at sip.mytcm.com>.

> To:  
> sip:grattcisco2 at sip.mytcm.com>;tag=c97b4d1cb1f3d0da549e06a8d482ef63.84af.

> Call-ID: c1661285-e48c9cf6-356 at opensips1.sosglobal.info.

> CSeq: 1898 NOTIFY.

> Server: OpenSIPS (1.7.1-notls (x86_64/linux)).

> Content-Length: 0.

> .



> _______________________________________________

> Users mailing list

> Users at lists.opensips.org

> http://lists.opensips.org/cgi-bin/mailman/listinfo/users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120517/5d723b5a/attachment.htm>


More information about the Users mailing list