Hi,

 

I want to create a dialer. Application should call A and play a wav
file. A will punch 1 or 9 which will hit dialer as DTMF. If DTMF is 9,
call should be dropped. If DTMF is 1, application should place call B
and connect A to B and SEMS should not be in media channel after this
point. Database table is like this:

 

| PhonenumberA |  Wavfilename |  PhonenumberB |

| 14161111111    |  Bank.wav     |   14162222222   |

| 14161111111    |Realstate.wav |   14167777777   |

| 14162222222    |Realstate.wav |   14165555555   |

 

In my code, I used run() to query database and place calls out
(AmUAC::dialout)  in a loop. In onSessionStart() I am going to play
files to A. The issue that I have here is that I don't know which file I
should play. If you notice to column PhonenumberA, there  are two phone
number that are same. I wished I could add extra information in SIP
message when I am dialing out and I could retrive them when I am in
onSessionStart(). 

 

1-    Is there any better way for dialer using sems?

2-       Am I doing it in a right way?

3-       Can SEMS generate CDR?

 

 

Thanks

Ali
--------------------------------------------------------

 This electronic message contains information from Primus Telecommunications 
Canada Inc. ("PRIMUS") , which may be legally privileged and confidential. The 
information is intended to be for the use of the individual(s) or entity named 
above. If you are not the intended recipient, be aware that any disclosure, 
copying, distribution or use of the contents of this information is prohibited. 
If you have received this electronic message in error, please notify us by 
telephone or e-mail (to the number or address above) immediately. Any views, 
opinions or advice expressed in this electronic message are not necessarily the 
views, opinions or advice of PRIMUS. It is the responsibility of the recipient 
to ensure that any attachments are virus free and PRIMUS bears no 
responsibility for any loss or damage arising in any way from the use 
thereof.The term "PRIMUS" includes its affiliates.
--------------------------------------------------------

 Pour la version en francais de ce message, veuillez voir
http://www.primustel.ca/fr/legal/cs.htm
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to