o Juha Heinanen [05/12/09 16:16]:
for c++ example apps see call_timer or auth_b2b. you could use auth_b2b right away, set anonymous in auth_b2b.conf:it is (easily) possible to write an anonymizer application for sems? normally, my ivr scripts have onSessionStart function defined that establishes a sip dialog when the ivr script receives an invite from thecaller.in anonymizer application sending of 200 ok back to the caller and thus establishment of dialog should be delayed before sems receives 200 okfrom the other leg like this:ua -> invite -> sems -> anonymized invite -> ua <- ringing <- <- ringing <- <- ok <- <- ok <- can the above be done with sems ivr or dsm or do i need to use a b2bua such as sippy for this?
# Account to use on the outgoing call leg. If this is not set, # the account is taken from P-App-Param header (see Readme.auth_b2b) # # user=someuser # domain=somedomain.net # pwd=sompwdin ivr you would need to call connectCallee in onInvite with relayed_invite=True. in DSM set run_invite_event=yes in dsm.conf and do sth like
initial state start;
transition "when invite called" start - invite -> invite_state;
state invite_state
enter {
B2B.connectCallee(remote_party, remote_uri)
};
etc but i think the connectCallee has only the version with two
parameters, and not relayed_invite, so no anonymization yet.
Stefan
-- juha _______________________________________________ Sems mailing list [email protected] http://lists.iptel.org/mailman/listinfo/sems
-- Stefan Sayer VoIP Services [email protected] www.iptego.com IPTEGO GmbH Wittenbergplatz 1 10789 Berlin Germany Amtsgericht Charlottenburg, HRB 101010 Geschaeftsfuehrer: Alexander Hoffmann _______________________________________________ Sems mailing list [email protected] http://lists.iptel.org/mailman/listinfo/sems
