[OpenSER-Users] Wrong R-uri in ACK
Bai Shi
baishi at nus.edu.sg
Tue Mar 25 21:21:11 CET 2008
Sorry, typo again.
Before t_relay() assign t_on_reply(n);
Then in onreply_route(1) record down $ct.
Rgds,
Bai Shi
-----Original Message-----
From: Lucio Maciel [mailto:lucio at tesatelecom.com]
Sent: 2008年3月26日 3:14
To: Klaus Darilion
Cc: Bai Shi; users at lists.openser.org
Subject: Re: [OpenSER-Users] Wrong R-uri in ACK
Thanks for the tip, but it didnt worked...
Our client will contact Siemens with a report that i've made about the
problem...
Well, thanks anyway.
On Tue, 2008-03-25 at 11:09 +0100, Klaus Darilion wrote:
> Looks like the Hipath is totally buggy.
>
> As a workaround you could try:
> - make a on_reply route
> - if reply == 200 OK, copy the content of the Contact header into a
> Record-Route header which will be added on top of the existing header
> (insert_hf(txt)).
>
> This should allowsx openser to route the ind-dialog message correct. Now
> it depends if the callee accepts the request with the additional Route
> header, but most clients do not care about received Route headers thus
> it should work.
>
> Of course you also should report this bug to Siemens.
>
> regards
> klaus
>
> Lucio Maciel schrieb:
> > Ok, here are some snips of the call
> >
> >
> > Here is the initial invite that I receive from the client...
> >
> > client -> openser
> > <cut>
> > INVITE sip:02188889999 at tesatelecom.com SIP/2.0
> > From: username01 <sip:username01 at tesatelecom.com>;tag=a8ced7257fddfcc
> > To: sip:02188889999 at tesatelecom.com
> > Via: SIP/2.0/UDP 192.168.0.61:5060;rport;branch=z9hG4bK0631b8ccb
> > Call-ID: 76b50f94a009c40
> > CSeq: 2138284261 INVITE
> > Max-Forwards: 70
> > Content-Length: 281
> > Route: <sip:ip_of_tesatelecom.com:5060;lr>
> > Allow:INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,INFO
> > Content-Type: application/sdp
> > Contact: sip:username01 at 192.168.0.61:5060
> > Supported: replaces
> > User-Agent: HiPath 3000 V7.0 M5T SIP-UA SAFE/v3.6.6.10
> > sdp follows....
> > </cut>
> >
> > I forward this to my pstn gateway, and that is the 200 OK that I forward
> > back to the client.
> >
> > gw -> openser -> client
> > <cut>
> > SIP/2.0 200 OK
> > Via: SIP/2.0/UDP
> > 192.168.0.61:5060;received=xxx.xxx.xxx.xxx;rport=5060;branch=z9hG4bKd97a7e313
> > Record-Route:
> > <sip:ip_of_tesatelecom;lr=on;ftag=a8ced7257fddfcc;nat=yes;did=fdf.0c5df845>
> > From: username01 <sip:username01 at tesatelecom.com>;tag=a8ced7257fddfcc
> > To: <sip:02188889999 at tesatelecom.com>;tag=5514406-tdb1077288600
> > Call-ID: 76b50f94a009c40
> > CSeq: 2138284262 INVITE
> > Server: PSTN Gateway
> > Contact: <sip:552188889999 at ip_of_gateway:5060;transport=udp>
> > Content-Type: application/sdp
> > Content-Length: 179
> > sdp follows...
> > </cut>
> >
> > And now the ACK for the 200ok
> > client-> openser
> > <cut>
> > ACK sip:02188889999 at tesatelecom.com SIP/2.0 <- back uri
> > From: username01 <sip:username01 at tesatelecom.com>;tag=a8ced7257fddfcc
> > To: <sip:02188889999 at tesatelecom.com>;tag=5514406-tdb1077288600
> > Via: SIP/2.0/UDP 192.168.0.61:5060;rport;branch=z9hG4bK9ea89fe86
> > Call-ID: 76b50f94a009c40
> > CSeq: 2138284262 ACK
> > Max-Forwards: 70
> > Content-Length: 0
> > Route:
> > <sip:ip_of_tesatelecom;lr=on;ftag=a8ced7257fddfcc;nat=yes;did=fdf.0c5df845>
> > User-Agent: HiPath 3000 V7.0 M5T SIP-UA SAFE/v3.6.6.10
> > </cut>
> >
> > The r-uri in the ack is wrong, it should be the contact from the 200ok,
> > and i can't route it to the rigth gateway.
> >
> > So, there is some way that i can workaround this in openser?? Since is
> > very unlikely that the client will fix this issue.
> >
> > Thanks
> >
> >
> > On Tue, 2008-03-25 at 00:54 +0800, Bai Shi wrote:
> >> Could you provide more information? Who is issuing ACK and which is not changed? After t_relay by Openser?
> >> Rgds,
> >> BS
> >>
> >> -----Original Message-----
> >> From: users-bounces at lists.openser.org [mailto:users-bounces at lists.openser.org] On Behalf Of Lucio Maciel
> >> Sent: 2008年3月24日 23:13
> >> To: users at lists.openser.org
> >> Subject: [OpenSER-Users] Wrong R-uri in ACK
> >>
> >> Hi...
> >>
> >> I'm getting some wrongs ruri's in the ACK for a final 200ok from an
> >> INVITE...
> >>
> >> It is comming as the original INVITE r-uri (number at host) and not the
> >> contact from the 200ok.
> >>
> >> There is something i can do to workaround this in openser?
> >>
> >> Thanks.
> >>
> >>
> >
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.openser.org
> > http://lists.openser.org/cgi-bin/mailman/listinfo/users
--
-------------------------
- Lúcio Fernando Maciel -
- lucio at tesatelecom.com -
- Tesa Telecom -
- R. Augusto Meyer 163 -
- sala 603/604 -
- +55 (51) 30615569 -
- +55 (51) 84733802 -
-------------------------
More information about the sr-users
mailing list