o Peter Loeppky [01/13/09 17:23]:
Is there s nice way to bridge two incoming calls and then get out of the
rtp stream?
connect the two calls e.g. in a conference channel, or with
amaudiobridge. Then reinvite one side with the SDP from the INVITE of
the other side, and then reinvite the other side with the reply,
replacing the origin in the SDP with SEMS' origin and version plus 1. it
is not completely clean (e.g. if dynamic payload IDs conflict), but
should work in most cases (especially if you know your UAs); if you
restrict codecs to static types, you can get it more proper. For
relaying the SDPs from one leg to the other, have a look at
AmB2BSession, I would do it the same way (send events), or simply use
AmB2BSession as base class for your sessions, then you can use relaySip etc.
You can also reinvite one side, and reinvite the other side with the
reply, and then reinvite the first again, this has the advantage that
you can again take over the call later, if you want (because you are
sure SEMS understands the negotiated codec).
Stefan
Peter
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems
--
Stefan Sayer
VoIP Services
[email protected]
www.iptego.com
IPTEGO GmbH
Am Borsigturm 40
13507 Berlin
Germany
Amtsgericht Charlottenburg, HRB 101010
Geschaeftsfuehrer: Alexander Hoffmann
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems