Doesnt the outgoing request have to be built with the following info (in my case, where I want the sipp script to be uas and create a BYE request and my sipp script has UAS when the dialog is set up): * Requestline - Should be whatever is in the Contact header in the request that started the dialog (unless there are some Route headers which it is not in my case) * To header - should be the same as the incoming From header * From header - should be the same as incoming To header + the tag created by B when sending responses to the first request
If I use for example the <send bye> from the uac example, the requestln contians [service] and to/form has [local_ip]/[remote_ip]. That wont work since that is not how the incoming request that creates the dialog looks like. The incoming request to sipp script looks like this: INVITE sip:[EMAIL PROTECTED] SIP/2.0 Call-ID: [EMAIL PROTECTED] CSeq: 1 INVITE From: <sip:[EMAIL PROTECTED]>;tag=1a3da3c6 To: <sip:[EMAIL PROTECTED]> Via: SIP/2.0/UDP 10.10.8.122:5060;branch=z9hG4bK87cda52f07c481e5a8778b4d6666ed75 Max-Forwards: 70 Contact: <sip:[EMAIL PROTECTED]:5060;transport=udp> Content-Type: application/sdp Content-Length: 177 < sdp not shown> I'm guessing that I have the same problem creating this BYE as I would have had if I wanted the B side to create a re-Invite. Maybe there are some examples on creating reInvites from B side? Regards, // Andreas -----Ursprungligt meddelande----- Från: Charles P Wright [mailto:[EMAIL PROTECTED] Skickat: den 28 maj 2008 14:07 Till: Andreas Byström (Polystar T & M) Kopia: [email protected]; [EMAIL PROTECTED] Ämne: Re: [Sipp-users] Sending requests from inital UAS There shouldn't be any magic to it. Just copy the request from the UAC scenario to the UAS and the recv from the UAS to the UAC. Charles [EMAIL PROTECTED] wrote on 05/28/2008 05:59:22 AM: > Hi, > > I'm trying to write a scenario where sipp should act as B side and I > want to send BYE from sipp > > A -> invite -> sipp > A <- 100 trying <- sipp > A <- 180 Ringing <- sipp > A <- 200 OK <- sipp > A -> ACK -> sipp > A <- BYE <- sipp > A -> 200 OK -> sipp > > However I'm stuck with getting the correct To/From headers ( and > requestln) when creating the BYE request. Anyone that know of an > example where the initial uas side should act as auc and send a request? > > Attached are my scenario sofar ( call setup but no BYE from B) > > Regards, > // Andreas > > > [attachment "b_scenario.sipp.xml" deleted by Charles P Wright/Watson/IBM] > ------------------------------------------------------------------------- > 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
