[asterisk-users] announcing inbound PSTN calls

2006-11-09 Thread Jeronimo Romero








I’m running asterisk 1.2.8. I would like PSTN inbound
calls to do the following: 

 

1-once PSTN callers enter their desired extension; they have
to record their name

2-recording then announces that it is trying to locate the
user

3-asterisk calls local extension and announces callers
recorded name

4-local recipient user can choose to take the call, send it
to voicemail or transfer it to another extension

 

Is this possible in asterisk?? . If it is possible, what is
the name of this function? Is this documented anywhere?

What is the best approach to doing this?

 

Thanks in advance

 

 

 

 






___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] announcing inbound PSTN calls

2006-11-10 Thread Marco Mouta
Hi,This is piece of cake for asterisk, but you need to do your script, or dialplan programing, asterisk has all the functions and applications to do it.But you need to get hands on it :)
On 11/10/06, Jeronimo Romero <[EMAIL PROTECTED]> wrote:













I'm running asterisk 1.2.8. I would like PSTN inbound
calls to do the following: 

 

1-once PSTN callers enter their desired extension; they have
to record their name

2-recording then announces that it is trying to locate the
user

3-asterisk calls local extension and announces callers
recorded name

4-local recipient user can choose to take the call, send it
to voicemail or transfer it to another extension

 

Is this possible in asterisk?? . If it is possible, what is
the name of this function? Is this documented anywhere?

What is the best approach to doing this?

 

Thanks in advance

 

 

 

 







___--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing listTo UNSUBSCRIBE or update options visit:   http://lists.digium.com/mailman/listinfo/asterisk-users
-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] announcing inbound PSTN calls

2006-11-10 Thread Gustavo Berman
Interesting!I think this can help for a start (but I don't know how to continue!!):[incoming]exten => s,1,Answer()exten => s,2,Backgroud(enter-ext)exten => _XXX,1,Playback(enter-name)exten => _XXX,2,Record(/tmp/prompt${EXTEN}:wav)
exten => _XXX,3,Dial(zap/1/${EXTEN})now, how to play the recorded message to the called party when he/she answers the phone?any help?On 11/10/06, 
Jeronimo Romero <[EMAIL PROTECTED]> wrote:













I'm running asterisk 1.2.8. I would like PSTN inbound
calls to do the following: 

 

1-once PSTN callers enter their desired extension; they have
to record their name

2-recording then announces that it is trying to locate the
user

3-asterisk calls local extension and announces callers
recorded name

4-local recipient user can choose to take the call, send it
to voicemail or transfer it to another extension

 

Is this possible in asterisk?? . If it is possible, what is
the name of this function? Is this documented anywhere?

What is the best approach to doing this?

 

Thanks in advance

 

 

 

 







___--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing listTo UNSUBSCRIBE or update options visit:   http://lists.digium.com/mailman/listinfo/asterisk-users
-- Gustavo BermanSysadminDepto. InformaticaUniversidad Nacional del ComahueCentro Regional Universitario Bariloche
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] announcing inbound PSTN calls

2006-11-10 Thread bails

exten => _XXX,3,Dial(zap/1/${EXTEN},,A(somefile))

bails

Gustavo Berman wrote:

Interesting!
I think this can help for a start (but I don't know how to continue!!):

[incoming]
exten => s,1,Answer()
exten => s,2,Backgroud(enter-ext)
exten => _XXX,1,Playback(enter-name)
exten => _XXX,2,Record(/tmp/prompt${EXTEN}:wav)
exten => _XXX,3,Dial(zap/1/${EXTEN})

now, how to play the recorded message to the called party when he/she 
answers the phone?

any help?

On 11/10/06, * Jeronimo Romero* <[EMAIL PROTECTED] 
> wrote:


I'm running asterisk 1.2.8. I would like PSTN inbound calls to do
the following:

 


1-once PSTN callers enter their desired extension; they have to
record their name

2-recording then announces that it is trying to locate the user

3-asterisk calls local extension and announces callers recorded name

4-local recipient user can choose to take the call, send it to
voicemail or transfer it to another extension

 


Is this possible in asterisk?? . If it is possible, what is the name
of this function? Is this documented anywhere?

What is the best approach to doing this?

 


Thanks in advance

 

 

 

 



___
--Bandwidth and Colocation provided by Easynews.com
 --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users






--
Gustavo Berman
Sysadmin
Depto. Informatica
Universidad Nacional del Comahue
Centro Regional Universitario Bariloche




___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] announcing inbound PSTN calls

2006-11-10 Thread Marco Mouta
I would recommend you to record files with a uniqueid   like var ${TIMESTAMP}[incoming]exten => s,1,Answer()exten => s,2,Backgroud(enter-ext)exten => _XXX,1,Playback(enter-name)exten => _XXX,2,Set(filename=${TIMESTAMP})
exten => _XXX,2,Record(/tmp/prompt${filename}:wav)exten => _XXX,3,Dial(zap/1/${EXTEN},A(${filename}.wav))On 11/10/06, bails <
[EMAIL PROTECTED]> wrote:exten => _XXX,3,Dial(zap/1/${EXTEN},,A(somefile))
bailsGustavo Berman wrote:> Interesting!> I think this can help for a start (but I don't know how to continue!!):>> [incoming]> exten => s,1,Answer()> exten => s,2,Backgroud(enter-ext)
> exten => _XXX,1,Playback(enter-name)> exten => _XXX,2,Record(/tmp/prompt${EXTEN}:wav)> exten => _XXX,3,Dial(zap/1/${EXTEN})>> now, how to play the recorded message to the called party when he/she
> answers the phone?> any help?>> On 11/10/06, * Jeronimo Romero* <[EMAIL PROTECTED]> 
[EMAIL PROTECTED]>> wrote:>> I'm running asterisk 1.2.8. I would like PSTN inbound calls to do> the following: 1-once PSTN callers enter their desired extension; they have to
> record their name>> 2-recording then announces that it is trying to locate the user>> 3-asterisk calls local extension and announces callers recorded name>> 4-local recipient user can choose to take the call, send it to
> voicemail or transfer it to another extension Is this possible in asterisk?? . If it is possible, what is the name> of this function? Is this documented anywhere?
>> What is the best approach to doing this? Thanks in advance>>> ___
> --Bandwidth and Colocation provided by Easynews.com>  -->> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:>   http://lists.digium.com/mailman/listinfo/asterisk-users> <
http://lists.digium.com/mailman/listinfo/asterisk-users>>> --> Gustavo Berman> Sysadmin> Depto. Informatica> Universidad Nacional del Comahue
> Centro Regional Universitario Bariloche>>> >> ___> --Bandwidth and Colocation provided by 
Easynews.com -->> asterisk-users mailing list> To UNSUBSCRIBE or update options visit:>http://lists.digium.com/mailman/listinfo/asterisk-users
___--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users-- Com os melhores cumprimentos,
Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] announcing inbound PSTN calls

2006-11-10 Thread Anselm Martin Hoffmeister
Am Freitag, den 10.11.2006, 00:07 -0500 schrieb Jeronimo Romero:
> I’m running asterisk 1.2.8. I would like PSTN inbound calls to do the
> following: 
> 
>  
> 
> 1-once PSTN callers enter their desired extension; they have to record
> their name
> 
> 2-recording then announces that it is trying to locate the user
> 
> 3-asterisk calls local extension and announces callers recorded name
> 
> 4-local recipient user can choose to take the call, send it to
> voicemail or transfer it to another extension
> 
>  
> 
> Is this possible in asterisk?? . If it is possible, what is the name
> of this function? Is this documented anywhere?
> 
> What is the best approach to doing this?

In the voip-info.org wiki, there is an example for the usage of
"M" (macro) for something similar to what you want to achieve

http://www.voip-info.org/wiki/view/Asterisk+Cmd+Dial

You might want to set a variable in the macro to some value if the
option "transfer" or "voicemail" is set, so that in the main code you
can have a "GotoIf" distinguishing those cases and doing "the right
thing"(TM).

HTH
Anselm

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users