The To header for the last SEND message doesn't have a tag parameter. Joy
--- tzieleniewski <[EMAIL PROTECTED]> wrote: > Hi ALL!! > > Im am trying to write my own uas service xml file > and test it with the biult in uac scenario. I did > everything as it is written in the reference page > and whenever i run the client i receive the > following error:No valid To: header in reply. > I invoke uas with the following command: > ./sipp -sf uas_invite.xml -m 5 -trace_err > -trace_logs 127.0.0.1 > and uac > ./sipp -sn uac 127.0.0.1 > > ive put my uas scenario file in the attachment > i kindly ask for your help > bests > tomasz > > <?xml version="1.0" encoding="ISO-8859-1" ?> > <scenario name="UAS INVITE responder"> > > <recv request="INVITE" crlf="true" rrs="true"> > <action> > <log message="INVITE received"/> > <ereg regexp=".*" search_in="hdr" header="To:" > check_it="true" assign_to="1" /> > <log message="To: [$1]"/> > </action> > </recv> > > <send> > <action> > <log message="SIP/2.0 180 RINGING sent"/> > <log message="[last_Via:]"/> > <log message="[last_From:]"/> > <log message="[last_To:]"/> > <log message="[last_Call_ID:]"/> > <log message="[last_CSeq:]"/> > </action> > <![CDATA[ > > SIP/2.0 180 Ringing > [last_Via:] > [last_From:] > [last_To:];tag=[call_number] > [last_Call-ID:] > [last_CSeq:] > Contact: > <sip:[local_ip]:[local_port];transport=[transport]> > Content-Length: 0 > > ]]> > </send> > > <send retrans="5"> > <action> > <log message="SIP/2.0 200 OK sent"/> > <log message="[last_Via:]"/> > <log message="[last_From:]"/> > <log message="[last_To:]"/> > <log message="[last_Call_ID:]"/> > <log message="[last_CSeq:]"/> > </action> > <![CDATA[ > > SIP/2.0 200 OK > [last_Via:] > [last_From:] > [last_To:];tag=[call_number] > [last_Call-ID:] > [last_CSeq:] > Contact: > <sip:[local_ip]:[local_port];transport=[transport]> > Content-Type: application/sdp > Content-Length: [len] > > v=0 > o=user1 53655765 2353687637 IN IP[local_ip_type] > [local_ip] > s=- > c=IN IP[media_ip_type] [media_ip] > t=0 0 > m=audio [media_port] RTP/AVP 0 > a=rtpmap:0 PCMU/8000 > > ]]> > </send> > > <recv request="ACK" > optional="true" > rtd="true" > crlf="true"> > <action> > <action> > <log message="ACK received"/> > <log message="[last_Via:]"/> > <log message="[last_From:]"/> > <log message="[last_To:]"/> > <log message="[last_Call_ID:]"/> > <log message="[last_CSeq:]"/> > </action> > </recv> > > <recv request="BYE"> > <action> > <log message="BYE received"/> > <log message="[last_Via:]"/> > <log message="[last_From:]"/> > <log message="[last_To:]"/> > <log message="[last_Call_ID:]"/> > <log message="[last_CSeq:]"/> > </action> > </recv> > > <send> > <action> > <log message="SIP/2.0 200 OK sent"/> > <log message="[last_Via:]"/> > <log message="[last_From:]"/> > <log message="[last_To:]"/> > <log message="[last_Call_ID:]"/> > <log message="[last_CSeq:]"/> > </action> > <![CDATA[ > > SIP/2.0 200 OK > [last_Via:] > [last_From:] > [last_To:] > [last_Call-ID:] > [last_CSeq:] > Contact: > <sip:[local_ip]:[local_port];transport=[transport]> > Content-Length: 0 > > ]]> > </send> > > </scenario> > > ------------------------------------------------------------------------- > 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 > ____________________________________________________________________________________ Want to start your own business? Learn how on Yahoo! Small Business. http://smallbusiness.yahoo.com/r-index ------------------------------------------------------------------------- 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
