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
stuard1669Offline



Joined: Jul 31, 2008
Posts: 68

Status: Offline
Posted: Apr 16, 2009 - 07:03 AM Reply with quote Back to top
I'm really a fresh man on ser,please help me out. My goal is just simply distribute the in coming call to go through an asterisk, because I want to know asterisk's behaviour when dealing with the tasks that SER distrubuted. In anouther word, I just want to know how to write a config file, A (user) and B (user) registrate on opensips, and when A (user) dial to B (user), the SIP will go through opensips, but when B picks up the phone, the RTP will go through asterisk.
I have one Opensips1.4 and two asterisk1.6, I want SER to deal with SIP signals, and all the RTP flows goes through Asterisk. First, is this possible if both users are all in public network? Second, I actually haven't change anything in the original config file of opensips1.4.4, but only the route (1) [shown as below]

route[1] {
# for INVITEs enable some additional helper routes
if (is_method("INVITE")) {
t_on_branch("2");
t_on_reply("2");
t_on_failure("1");
}

if (!t_relay()) {
sl_reply_error();
};
exit;
}

Changed into this ----->

route[1] {
# for INVITEs enable some additional helper routes
if (is_method("INVITE")) {
ds_select_dst("1","4");
t_on_failure("3");
t_relay();
exit();
}


if (!t_relay()) {
sl_reply_error();
};
exit;
}


And most of the others remains the same as the original.
But when I dial on the phone, the message shows on wireshark says 482 Loop Detected, and the phone just keep on ringing, but the phone which be called never ringings, WHY? where am I wrong?
View user's profile Send private message MSN Messenger


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.