just an idea, will it work if i used subst_hf?Kelvin ChuaOn Tue, Mar 3, 2015 at 5:16 PM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:Hello,We need to review this in rr.Meanwhile you can use s.substr transformation to get whats after sips and prefix it with sip in r-uri.Cheers,Daniel
On Tuesday, March 3, 2015, Kelvin Chua <kelchy@gmail.com> wrote:Found the problem, on the 200 OK, I have this record route listRecord-Route: <sips:<K2 IP>:6056;transport=tls;r2=on;lr;ftag=as620b910c;did=242.fd92;nat=yes>.Record-Route: <sips:<K2 IP>:6055;r2=on;lr;ftag=as620b910c;did=242.fd92;nat=yes>.Record-Route: <sip:<K1 IP>:5080;lr=on;did=242.968>the second entry is wrong. it should be sip: and not sips:how can we force this? protocol pv is read-onlyKelvin ChuaOn Tue, Mar 3, 2015 at 2:43 PM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:Hello,
doesn't the ACK have a Route header for K1 and double Route headers for K2? K1 should use the first Route of K2 for routing, not the R-URI.
Cheers,
Daniel
On 03/03/15 05:14, Kelvin Chua wrote:
I have 2 kamailio servers and 1 asterisk server.
1. asterisk calls kamailio12. kamailio1 relays INVITE to kamailio23. kamailio2 relays INVITE to client registered using TLS4. client answers with 200 OK, sends to kamailio25. kamailio2 relays 200 OK to kamailio16. kamailio1 relays 200 OK to asterisk7. asterisk sends ACK to kamailio18. kamailio1 complains "forward_request(): forward_req: ERROR: cannot forward to af 2, proto 3 no corresponding listening socket" which is because 200 OK has a contact header with tls transport from client9. call drops in 30 secs which is expected because client never received the ACK
any ideas on a fix or workaround?
Kelvin Chua
_______________________________________________ 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
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio World Conference, May 27-29, 2015 Berlin, Germany - http://www.kamailioworld.com
_______________________________________________
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
--Daniel-Constantin Mierla - http://www.asipto.com