SearchSearch  Log in to check your private messagesLog in to check your private messages  recent posts Recent Posts
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
tandemtransitOffline



Joined: Jul 16, 2009
Posts: 14

Status: Offline
Posted: Dec 03, 2009 - 04:29 PM Reply with quote Back to top
I need to setup kamailio as a simple redirect server, any traffic coming in, goes out to X.X.X.X
View user's profile Send private message
tandemtransitOffline



Joined: Jul 16, 2009
Posts: 14

Status: Offline
Posted: Dec 03, 2009 - 05:43 PM Reply with quote Back to top
Quote:
#uncomment the following lines if you want to redirect the failed
#calls to a different new destination
if (t_check_status("486|408")) {
sethostport("x.x.x.x:5060");
append_branch();
# do not set the missed call flag again
t_relay();
}

I turned off all auth for the moment, but am still not getting anything to server that i am trying to redirect to
View user's profile Send private message
tandemtransitOffline



Joined: Jul 16, 2009
Posts: 14

Status: Offline
Posted: Dec 06, 2009 - 04:34 PM Reply with quote Back to top
anyone?
View user's profile Send private message
micondaOffline



Joined: Feb 02, 2007
Posts: 357
Location: Germany
Status: Offline
Posted: Dec 07, 2009 - 04:18 PM Reply with quote Back to top
If you want to update the R-URI domain:

$rd="__ip_address__";
t_relay();
exit;

If you want to keep the R-URI domain:


$du="sip:__ip_address__";
t_relay();
exit;


Anyhow, a SIP redirect server is defined by RFC and it supposed to send a 3xx reply.
View user's profile Send private message


View previous topic Printable version Log in to check your private messages View next topic

Post new topic   Reply to topic
Forum Rules and Guidelines | About VoIP User | Privacy Policy


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.