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
