where should i enable the registration cache? on the profile assigned to calls from kamailio?
what i did was : profile1 -> from clients profile2 -> from kamailio i can verify that the calls are being assigned to the right profile but if i enable regcache on profile1, i keep on getting 404 not found. even if i force outbound proxy and next hop if i don't enable it in this profile, sems won't be saving registration details. Kelvin Chua On Fri, Sep 26, 2014 at 5:14 PM, Stefan Sayer <[email protected]> wrote: > Kelvin Chua wrote on 09/26/2014 10:45 AM: >> I am trying a setup where Sems acts as an SBC is in front of kamailio. >> >> I am having problems routing the call if the caller and callee are >> both from the same SBC. I need the call to pass through kamailio for >> CDR purposes. So when sems receives an invite from the caller, it >> passes it to kamailio, then kamailio pass it back to sems, then sems >> route it to destination. >> how do I do this? > you need to select different profiles depending on e.g. the interface > the invite was received, or the source IP, using a regex map. See the > first paragraph, "SBC profiles" of doc/Readme.sbc.txt, especially the > example. On the profile for invites from the caller, set the next_hop > to Kamailio, on the profile for invites from Kamailio, route via R-URI > (or, if registration caching is enabled, next_hop is set automatically > from the cache entry). > > hth > Stefan > >> >> >> Kelvin Chua >> _______________________________________________ >> Sems mailing list >> [email protected] >> http://lists.iptel.org/mailman/listinfo/sems >> > _______________________________________________ Sems mailing list [email protected] http://lists.iptel.org/mailman/listinfo/sems
