Hello All! 2008/10/23 Raúl Alexis Betancor Santana <[EMAIL PROTECTED]>: > Hi all, I'm trying to build a MoH server using sems, I've been thinking > about using the playing preencoded sample app for that, but I don't know > how to "detect" on SEMS that a call leg have put the other one on Hold, > I know how that occurs at SIP level, but not on SEMS.
If you catch (Re)INVITE with both From- and To-tags, then you may suppose that this is music-on-hold :). After that just check SDP part of message for existence of "a=recvonly" or "c=IN IP4 0.0.0.0" or something else (IP6 probably) - if they exists then you may bet this is MoH. Probably there are some others techniques. BTW why not to try rtpproxy instead? It has (to some degree) such functionality already. -- With best regards! _______________________________________________ Sems mailing list [email protected] http://lists.iptel.org/mailman/listinfo/sems
