On Thu, Mar 23, 2006 at 06:46:16PM +0200, Bogdan-Andrei Iancu wrote:
Hello,
unfortunately the script is not availabel anymore on
the site. you can
send it as attachment if not too big.
I've uploaded the config and the ngrep-dump to:
http://gst.sysfrog.org/openser/
ip's in the dump:
client: 62.163.103.30
openser: 62.116.32.102
remote server: 194.221.62.206
in the flow below, the problem is that the 407 from
the remote party
must not be fwded to the client but processed by openser : got via
failure route and applied uac_auth().
basically thats what i already do in failure_route[5].
the incoming INVITEs from the client are handled in route[3]. before i
do any relaying i have a call to consume_credentials() which should
remove the credentials of the client. this works when the INVITE is
relayed for the first time. but when uac_auth() comes into play it
sends the first INVITE to the remote end with the credentials of the
client (instead of the ones which are configured).
at the end of the dump you see the "200 Ok" packets from the
remote-end. there are no replies in the dump as no record-route is
inserted for some reason - the client therefore sends the replies
directly to the remote endpoint.
bye,
/gst