Hello, Raúl Alexis Betancor Santana wrote: > > Hi all!, I'm trying to develop a plugin to sems that allow us to trigger > some > actions on an already stablished call, let me explain .. > > During and stablished call throught OpenSer between 2 UAC, we whant to > trigger > some actions when anyone of the UAC's send some DTMF codes. > > Just an example: > > UAC A -> INVITE -> OpenSer -> Lookup -> t_replay -> UAC B > That stablish the call > > Now, UAC A or UAC B press * > UAC A -> SIP INFO -> OpenSer -> trigger * DTMF -> SEMS > On this moment what we want is that SEMS launch and app that will wait for > other DTMF codes and take some actions aconding to them but also if an > specific timeout is triggered, the received DTMF should be relayed to UAC > B > throught OpenSer as if they never arrived at SEMS. > > We want to do something similar to Attended transfer of Asterisk that is > triggered when you press *2 during a call, but we do not want to pass all > calls throught SEMS. > > Is this possible?, could we do this workflow with sems without having to > send > all the callflow from the first INVITE throught SEMS ? you are trying to place an intermediary into the A-B dialog after establishing it, and then filter/delay some requests - I think its complicated and you are easily breaking things, for several reasons: From the point on that you have cached an INFO message, or produced a request in that dialog, you would need to send all further in-dialog messages through that intermediary, because CSeqs don't match any more on the two sides. Then, if you get a message at that intermediary, you don't easily know which side of the dialog it came from (A or B), because its one dialog, not two. You could possibly find a lot more things that make the situation complicated, if you think about it in detail. So I think if you want to mess with the in-dialog requests (delay them, modify them, take some out, produce some more etc) there is no other/cleaner possibility than placing a b2bua in the middle.
Stefan > > -- > Saludos. > > Raúl Alexis Betancor Santana > Dimensión Virtual S.L. > _______________________________________________ > Sems mailing list > [email protected] > http://lists.iptel.org/mailman/listinfo/sems > -- Stefan Sayer VoIP services iptego GmbH Am Borsigturm 40 13507 Berlin Germany [EMAIL PROTECTED] www.iptego.com _______________________________________________ Sems mailing list [email protected] http://lists.iptel.org/mailman/listinfo/sems
