The peer_tag_param should pull the To: tag from the 200. You can probably get the From tag using a regular expression.
Charles [EMAIL PROTECTED] wrote on 02/19/2008 08:48:50 AM: > Hi All > I'm running SIPp in server mode, with a scenario as follows: > > --> SUBSCRIBE > <-- 200 OK > <-- NOTIFY > --> 200 OK > > However instead of receiving a 200 OK after the NOTIFY (ie all's well), > I get a "481 Subscription Does Not Exist" message (other party uses > eXosip stack). The problem seems to be that the To: field tag is not > being added by SIPp in the NOTIFY, to form the full dialog ID. Both the > To: and From: tags already exist from the Subscribe/Ok interaction, but > [peer_tag_param] doesn't add the tag when used in this context: > > NOTIFY....etc > From: sipp <sip:[EMAIL PROTECTED]:[local_port];tag=[call_number] > To: sut <sip:[EMAIL PROTECTED]:[remote_port]>[peer_tag_param] > > I got the [peer_tag_param] command from example scenarios, but it > doesn't appear in the SIPp reference document. Without the tag, the > messages are ignored by the other party, and if the tags aren't correct > (ie To: and From: becomes From: and To:) a 481 error message results. Is > there a method of getting the From: tag from the Subscribe/Ok and using > it as a SIPp field? > > Thanks in advance, > mike > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Sipp-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sipp-users ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users
