[OpenSIPS-Users] Too many Hops

Schneur Rosenberg rosenberg11219 at gmail.com
Fri May 18 10:25:35 CEST 2012


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,  <duane.larson at gmail.com> 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 <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
>>
>>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>



More information about the Users mailing list