I need openser to respond back to my client on a port other than 5060 (5070 for example). How can i do this? Adding :5070 to contact and/or from in the headers does nothing.
fcois93
Joined: Oct 02, 2007
Posts: 104
Location: france
Status: Offline
Posted:
Dec 23, 2009 - 07:39 AM
change something like $rd=IP:5070;
no?
variab1e
Joined: May 24, 2007
Posts: 5
Status: Offline
Posted:
Dec 23, 2009 - 06:27 PM
well I want it to be dynamic, so if the end device says it is on 5070 then I want openser to respond back on the same.
fcois93
Joined: Oct 02, 2007
Posts: 104
Location: france
Status: Offline
Posted:
Dec 24, 2009 - 07:31 AM
first, if the device call through 5070, openser have to listen in 5070
second, you can read and search in the body, headers... to know which port you have to use
miconda
Joined: Feb 02, 2007
Posts: 356
Location: Germany
Status: Offline
Posted:
Jan 04, 2010 - 08:46 AM
using force_rport() in the config file will make kamailio to ignore the ip/port in the Via and reply to source ip and port.
All logos and trademarks in this site are property of their respective owner. Comments and posts are property of the poster, all the rest (c) 2003-2008 VoIP User Limited.
VoIP User Limited is incorporated in England and Wales under Company Number 6694577.
No part of this site may be reproduced without our prior consent.