19 dec 2012 kl. 14:18 skrev Uriel Rozenbaum <uriel.rozenbaum@gmail.com>:

Hi Olle,

Glad to help you, man!

You can create a new synthetic transaction on the script.

I did this as part of the following tutorial to scale asterisk and kamailio:
http://kb.asipto.com/asterisk:realtime:kamailio-3.3.x-asterisk-10.7.0-astdb

Maybe it is a long shot, but it's worth trying.
Thanks for the pointer, Uriel!

Yeah, I already have Kamailio sending all kinds of crazy stuff while testing a new platform,
using the UAC module. But I wanted to be lazy and change on the fly...

Evil stuff happening here. Kamailio is a good test-tool.

Now I fail to change Contact: headers. The docs for textops say that remove_hf can remove
contact and Remove_hf(Contact) returns true - but the old contact is still there!

/O ;-)

Cheers!
Uriel


On Wed, Dec 19, 2012 at 10:04 AM, Olle E. Johansson <oej@edvina.net> wrote:
Hi!

I want to change METHOD on a SIP message from UPDATE to INVITE or REGISTER to INFO.

Seems like $rm is read-only. Any other known way to change a requests method?

/O
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users