Katty Xiong wrote: > Thanks, Monica. > > Yes, callee can send a BYE request to caller through proxy using your > suggested approach. But I cannot do end-to-end bye request. SIPp > always sends BYE through SER even if SER does not do record-route. Is > this expected?
Yes, because all the messages from a SIPp script are sent and received to and from the same remote party. If you want to receive a message from a proxy and send to another party, you can use the 3PCC functionality of SIPp: http://sipp.sourceforge.net/doc/reference.html#3PCC Monica > > thanks, Joy > > > --- Monica Sarbu <[EMAIL PROTECTED]> wrote: > >> Katty Xiong wrote: >>> Hi all, >> Hi Katty, >> >>> Can a callee send a BYE request? I tried several >> ways and it didn't >>> work properly. The SUT I am using is SER. >> Do you want to send the BYE end-to-end or via the proxy? If via >> proxy, you need to set a Route header to it, respecting the >> Record-Route. Also, keep in mind that you have to copy the From tag >> from the INVITE to the To tag of the BYE. >> >> Here is an example: >> >> <recv request="INVITE" rrs="true"> <action> <ereg regexp=".*" >> search_in="hdr" header="Record-Route:" occurence="1" assign_to="1" >> /> >> >> <ereg regexp="tag=([[:alnum:]._]*)" search_in="hdr" header="From:" >> assign_to="10" /> </action> >> >> </recv> >> >> ... >> >> <send retrans="500"> <![CDATA[ BYE [next_url] SIP/2.0 [last_Via:] >> Max-Forwards: 70 Route:[$1] From: "Alice" >> <sip:[EMAIL PROTECTED]>;tag=to_[call_id] To: "Bob" >> <sip:[EMAIL PROTECTED]>;[$10] [last_Call-ID:] Contact: >> <sip:[EMAIL PROTECTED]:[local_port]> Cseq: 10 BYE Content-Length: 0 >> ]]> </send> >> >> Monica >> >> -- Dipl. Ing. Monica Sarbu http://www.iptel.org/~monica >> > > > > > ____________________________________________________________________________________ > Be a PS3 game guru. Get your game face on with the latest PS3 news > and previews at Yahoo! Games. > http://videogames.yahoo.com/platform?platform=120121 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users
