Hello, o Jeremy A on 02/19/2014 10:07 AM: > I'm thinking of setting up Kamailio with SEMS acting as an SBC. This is > because of an issue I have using a simpler Kamailio / rtpproxy setup > hosting an internal phone network to a PSTN gateway. > > The problem I am trying to solve is transfer of a call from the PSTN > from one internal extension to another. The present call transfer > arrangement results in a REFER request being sent by the initial > internal phone to the the remote PSTN phone - which refuses to honour it. > > What I'm hoping to do is use the SEMS SBC app to land the PSTN call and > then direct it to the appropriate internal extension. When an internal > call transfer request is made I would like the SBC module to handle the > REFER itself rather than relay it to the remote phone. > > Is this an option with the sbc module? If so, are there any examples of > how to configure it?
this is now possible with the extended call control API of the sbc module, which can do things like disconnect the call legs internally, connect two other call lgs with each other, or connect with a new call leg. To be able to implement applications on top of that more easily, there is now the option to implement it as DSM script. There's not yet much documentation about it available, just only a reference: http://git.sip-router.org/cgi-bin/gitweb.cgi?p=sems;a=blob_plain;f=doc/dsm/dsm_sbc_syntax.txt;hb=HEAD relevant events are: sipRequest(#method=="REFER") and B2B.otherRequest, and the actions needed sbc.disconnect(...) and sbc.addCallee(...). Note also that the two transfers (attended and unattended) need to be handled pretty differently. Stefan > > Thanks > _______________________________________________ Sems mailing list [email protected] http://lists.iptel.org/mailman/listinfo/sems
