Hello,

Ravin Suri wrote:
> Hello,
> 
> I have a requirement to configure SEMS so that a user can press the "#" key
> during the playback of the voicemail greeting and then enter a sequence of
> digits.  SEMS should stop playing greeting and immediately forward the call
> to the number entered by the user.
> 
do you want to forward the call in the way that the audio flows through 
the voicemail server, or in the way that sems is b2bua only?

> Can anyone please tell me how I can modify the voicemail application to do
> this?

  1. enable DTMF detection in onSessionStart
  2. make AnswerMachineDialog inherited from AmB2BSession (no media 
relay) or AmB2ABSession (with media relay), e.g. change
class AnswerMachineDialog : public AmSession into
  class AnswerMachineDialog : public AmB2BSession

  3. write onDtmf event handler that stops message playback, collects 
the number and calls connectCallee when the number is collected (see 
callback or examples/serviceline as an example)

Stefan


> 
> Thanks very much for you help.
> 
> - Ravin
> 
> _______________________________________________
> 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

Reply via email to