After looking more closely, your notify request is malformed: > Messages-Waiting: 10. > Voicemail: 10/20.
These must be in message body and not headers and you must set the Content-Length appropriately. Also, set the From and Contact headers values to the ip adress of the sending host ($srchost variable in sipsak template.) Hope this will help. Best Regards, - vma . On May 18, 2012, at 2:57 PM, Schneur Rosenberg wrote: > I dont see any loops, the request comes in once, and right away it > sends a 483, and yes the domain name is in the domain table. > > On Fri, May 18, 2012 at 1:37 PM, Vallimamod ABDULLAH > <vallimamod.abdul...@imtelecom.fr> wrote: >> 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, <duane.lar...@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 <rosenberg11...@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:grattcis...@sip.mytcm.com SIP/2.0. >>>>> >>>>> Via: SIP/2.0/UDP 64.69.27.120:57036;branch=z9hG4bK.6d757891;rport;alias. >>>>> >>>>> From: sip:t...@sip.mytcm.com>. >>>>> >>>>> To: sip:grattcis...@sip.mytcm.com>. >>>>> >>>>> Contact: sip:t...@sip.mytcm.com>. >>>>> >>>>> Call-ID: c1661285-e48c9cf6-...@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:t...@sip.mytcm.com>. >>>>> >>>>> To: >>>>> sip:grattcis...@sip.mytcm.com>;tag=c97b4d1cb1f3d0da549e06a8d482ef63.84af. >>>>> >>>>> Call-ID: c1661285-e48c9cf6-...@opensips1.sosglobal.info. >>>>> >>>>> CSeq: 1898 NOTIFY. >>>>> >>>>> Server: OpenSIPS (1.7.1-notls (x86_64/linux)). >>>>> >>>>> Content-Length: 0. >>>>> >>>>> . >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> >>>>> Users mailing list >>>>> >>>>> Users@lists.opensips.org >>>>> >>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >>>>> >>>>> >>>> _______________________________________________ >>>> Users mailing list >>>> Users@lists.opensips.org >>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >>>> >>> >>> _______________________________________________ >>> Users mailing list >>> Users@lists.opensips.org >>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >> >> _______________________________________________ >> Users mailing list >> Users@lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > _______________________________________________ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users