Sorry I attached the unfiltered ethereal files Please look at these ones
> Hi, I just started using sipp and have the following problem. Ethereal Traces > and xml code is attached. > > I am using sipphone as my proxy. > The scenerio is > > UAC UAS > > SUBSCRIBE ----------------> > <------------------------ 200 OK > <----------------------- NOTIFY > 200OK -----------------> [This 200 OK is not making across the proxy] > > The Last 200 OK is not making across sipphone where the as the first 200Ok to > the SUBSCRIBE message make through the proxy just fine. > > I have attached ethereal traces from both sides and the sipp xml code > > PLEASE HELP ME OUT > > thanks > Mandeep Ahuja > > Below is the XML for UAC > scenario name="Subscribe and Notifys"> > <send retrans="500"> > <![CDATA[ > SUBSCRIBE sip:[EMAIL PROTECTED]:[local_port] SIP/2.0 > Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch] > From: [field2] <sip:[EMAIL PROTECTED]:[local_port]>;tag=50 > To: [field3] <sip:[EMAIL PROTECTED]:[local_port]> > Call-ID: [call_id] > CSeq: 1 SUBSCRIBE > Contact: [field2] <sip:[EMAIL PROTECTED]:[local_port]> > Content-Length: 0 > Expires: 180 > Max-Forwards: 70 > Allow: INIVTE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, SUBSCRIBE > Supported: timer > User-Agent: AksysnNetworks > Event: AksysPeer > ]]> > </send> > > <recv response="200" crlf="true"> > </recv> > > <recv request= "NOTIFY" rrs="true"> > </recv> > > <send retrans="500"> > <![CDATA[ > SIP/2.0 200 OK > Record-Route:[routes] > [last_Via:] > [last_From:] > [last_To:] > [last_Call-ID:] > [last_CSeq:] > Contact: <sip:[local_ip]:[local_port];transport=[transport]> > Content-Length: [len] > ]]> > </send> > > This is the code for the UAS > <scenario name="Fetch Notififer"> > <recv request="SUBSCRIBE" crlf="true" rrs="true"> > <action> > <ereg regexp="sip:[^ ]*s" > search_in="hdr" > header="Contact:" > checkit="true" > assign_to="7"/> > <!-- Save the request URI in [$1] --> > <ereg regexp="SUBSCRIBE (sip:[^ ]*)" > search_in="msg" > check_it="true" > assign_to="19,1"/> > <!-- Save the From header value in [$2] --> > <ereg regexp=".*" > search_in="hdr" > header="From:" > check_it="true" > assign_to="2"/> > <!-- Save the To header value (sans tag) in [$3] --> > <ereg regexp=".*" > search_in="hdr" > header="To:" > check_it="true" > assign_to="3"/> > <!-- Save the Expires header value in [$4] --> > <ereg regexp=".*" > search_in="hdr" > header="Expires: " > check_it="true" > assign_to="4"/> > <!-- Determine if the Expires header value is zero, assign to [$5] --> > <!-- Need to ensure it's zero alone by itself, not zero within 3600 > --> > <ereg regexp=" 00*" > search_in="hdr" > header="Expires:" > check_it="false" > assign_to="5"/> > <!-- Save the Event header value in [$6] --> > <ereg regexp=".*" > search_in="hdr" > header="Event: " > check_it="true" > assign_to="6"/> > </action> > </recv> > > <send> > <![CDATA[ > > SIP/2.0 200 OK > [last_Via:] > From: [$2] > To: [$3];tag=25 > [last_Call-ID:] > [last_CSeq:] > [last_Event:] > [last_Expires:] > Contact: <sip:[local_ip]:[local_port];transport=[transport]> > Content-Length: [len] > > ]]> > </send> > > <pause milliseconds="50"/> > > <send> > <![CDATA[ > > NOTIFY [$7] SIP/2.0 > Via: SIP/2.0/[transport] [local_ip]:[local_port] > From: [$3];tag=25 > To: [$2] > [last_Call-ID:] > CSeq: 1 NOTIFY > Event: [$6] > [last_Expires:] > Subscription-State: active;expires=[$4] > Contact: <sip:[local_ip]:[local_port];transport=[transport]> > Content-Type: application/pidf+xml > Content-Length: [len] > > <?xml version="1.0" encoding="UTF-8"?> > <presence entity="[$1]" xmlns="urn:ietf:params:xml:ns:pidf"> > <tuple id="[call_number]"> > <status> > <basic>open</basic> > </status> > </tuple> > </presence> > > ]]> > </send> > > <recv response="200" > crlf="true" > > </recv>
uac_sub_ok_sipphone.trace
Description: Binary data
uas_ok_notify_sipphone.trace
Description: Binary data
------------------------------------------------------------------------- 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
