SIPp / sipp

The SIPp testing tool
https://sipp.readthedocs.io
Other
916 stars 380 forks source link

set realm on tha authorization header #733

Closed davidcsi closed 4 months ago

davidcsi commented 4 months ago

Hello,

Is there any way of setting the realm on the authorization header?

Thanks!

davidcsi commented 4 months ago

anyone?

orgads commented 4 months ago

It should be supported. What did you try?

davidcsi commented 4 months ago

thanks! there's no command-line switch to set it, is there any other way? i tried setting it in the authorization header but that didn't do anything

orgads commented 4 months ago

It is read from the authorization header. Can you paste/attach the script that doesn't work, and what you expect?

davidcsi commented 4 months ago

Thanks! Will return with actual examples, but i set it as

[authentication realm=myrealm.com]

in the actua. xml.

whereas the destination host was something like

sip.myreal.me

i never saw the realm being set

davidcsi commented 4 months ago

Thanks! I added it on the XML but that wasn't workin. Adding it on the csv file did work!