Hello Davy (and others),

I might have a good hint for this, depending on how picky certain SIP
applications are for the CR LF at the end of line, that you normally
need in the SIP message.

Something that took me multiple hours to debug was that at a certain
moment, I got the authentication line in the SIP message ended with
<CR><CR><LF>, a double CR instead of just one (you'll only see in a true
HEX dump, not looking at the SIP text). 
I went through the code, scripts, checked OS versions, recompiled and
everything and finally found were it came from:

When SIPp reads in a DOS text file (at least on a unix machine), it
sometimes leaves the CR at the end of the line, and only removes the
subsequent LF. In my case, this was an input file with as last column
the "[authentication  username=uu password=pp]<CR><LF>". The CR of this
line made it through all the rewritings and substitutions in the program
to arrive finally in the SIP message being sent out.

Simple solutions in my case: edit the text under unix (so it is written
with only LF) or put a ";" also after the last field (parser will stop
at ;).

  Best regards,

  MarcVD

>Date: Thu, 29 Mar 2007 13:54:37 +0200 (CEST)
>From: "Mathieu DAVY" <[EMAIL PROTECTED]>
>Subject: Re: [Sipp-users] MESSAGE method
>To: [email protected]
>Message-ID: <[EMAIL PROTECTED]>
>Content-Type: text/plain;charset=iso-8859-1

>As I didn't change anything from my previous tests, I can only assume
that
>While editing the xml file with wordpad, it ads some kind of weird
content
>that makes it not really well formed for SIPp to parse it. But I really
>have no idea as I was able to launch the scenario, but it just didn't
send
>anything... If you have an idea, that might help others in the same
case!
>but in the end the MESSAGE scenario is working fine. Thanks a lot for
your
>help


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to