Calling a user and placing him in a conference

Hi all,
I would like to be able to call a land line (I’m using a SIP gateway provider), play a message to this person (example: “Press 1 to enter the conference, 0 to hangup”, possibly played using Festival), and connect him to an existing MeetMe conference if he presses 1.
My conf is setup and works, I can call users using a call file in /var/spool/asterisk/outgoing/, but I’m missing some glue to put things together.
Any pointer appreciated.

Thanks a lot
PlF

Got it to work

In extensions.conf:

[autoconf]
exten => s,1,Answer
exten => s,2,Festival(Press 1 to enter the conference, 0 to exit)
exten => s,3,Read(ANSWER)
exten => s,4,GotoIf(${ANSWER}?5:7)
exten => s,5,Festival(I will now place you in the conference)
exten => s,6,MeetMe(104,scT,123)
exten => s,7,Hangup

[vtwhite-out]
;dial out 10 digit numbers
exten => _NXXNXXXXXX,1,Dial(SIP/1${EXTEN}@sip.vtwhite.com,25,rTw)
;dialout 11 digit numbers
exten => _1NXXNXXXXXX,1,Dial(SIP/${EXTEN}@sip.vtwhite.com,25,rTw)

Then the calling script that will be moved to /var/spool/asterisk/outgoing/:

Channel: Local/s@autoconf
MaxRetries: 3
RetryTime: 60
WaitTime: 30
Context: vtwhite-out
Extension: 16505551234
Priority: 1

When the script is moved, the call to 16505551234 is executed, and the autoconf context is executed, placing you in the MeetMe conf

What if i want we want that two users call each other and automatically a conference is created between then … so what it is easy for the third party to enter into the bridged conference to spy or record the call…

how can we do this ?

Thanks in advance :smile: