Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] IVR for callee (called party)


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
a.olekhnovich at gmail...
Guest





PostPosted: Thu Jun 19, 2008 10:12 am    Post subject: [asterisk-users] IVR for callee (called party) Reply with quote

Hi Asterisk Users,

my apologizes for cross posting.

I'm trying to make the next scenario in Asterisk DialPlan: Alice calls Bob,
Asterisk executes Dial application with G(context^exten^pri), after that Bob
answers the call, Asterisk transfers Alice to pri, Bob to pri+1. It should
be possible for example that in that context Asterisk executes different
scenarios for Bob and Alice and then connects Alice to Bob to let them
communicate. The problem is that I can not connect both sides for
conversation, Asterisk just hangs up after executes the scenarios.

*[AnswerPrompt]
exten => s,1,Goto(10)
exten => s,2,Playback(Announce1)
exten => s,10,Playback(Announce2)

[call-number]
exten => _X.,1,Dial(SIP/${EXTEN}|G(AnswerPrompt^s^1))
exten => _X.,n,Hangup()

*
Is there any solutions? Any help will be appropriate.

On Tue, May 20, 2008 at 3:56 PM, Alexander Olekhnovich <
a.olekhnovich at gmail.com> wrote:

Quote:
Thanks a lot, that's the answer i could dream of Smile


On Tue, May 20, 2008 at 3:34 PM, Tony Mountifield <
tony at softins.clara.co.uk> wrote:

Quote:
In article <8c3b04020805200514g30422506n111aa9abacb5cb18 at mail.gmail.com>,
Alexander Olekhnovich <a.olekhnovich at gmail.com> wrote:
Quote:

Could anyone please answer my question.

I want to make the next scenario be possible.
1. Caller call another user.
2. Callee (called party) picks up and enters IVR menu. And then
depending on
Quote:
his choice he has variants to: transfer the call to another user,
transfer
Quote:
to voicemail, answer, hangup, etc...

The problem is in the second part. As I remember Asterisk has an A(x)
parameter of Dial to play the Announce to callee, but is there a
possibility
Quote:
to organize IVR for callee after he picks up the receiver?
Any help will be appropriate.

Use the G(context^ext^pri) option to Dial. This will transfer both the
calling and called parties into the dialplan when the call is answered.
Note that the calling party goes to priority pri and the called party
goes to priority pri+1, so that you can do different things for each.

Cheers
Tony
--
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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




--
Best Regards
Alexander Olekhnovich


--
Best Regards
Alexander Olekhnovich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080619/2b8a6f6a/attachment.htm
Back to top
tony at softins.clara....
Guest





PostPosted: Thu Jun 19, 2008 10:26 am    Post subject: [asterisk-users] IVR for callee (called party) Reply with quote

In article <8c3b04020806190812kf32dca3ua5a5bfd345d537a4 at mail.gmail.com>,
Alexander Olekhnovich <a.olekhnovich at gmail.com> wrote:
Quote:

I'm trying to make the next scenario in Asterisk DialPlan: Alice calls Bob,
Asterisk executes Dial application with G(context^exten^pri), after that Bob
answers the call, Asterisk transfers Alice to pri, Bob to pri+1. It should
be possible for example that in that context Asterisk executes different
scenarios for Bob and Alice and then connects Alice to Bob to let them
communicate. The problem is that I can not connect both sides for
conversation, Asterisk just hangs up after executes the scenarios.

*[AnswerPrompt]
exten => s,1,Goto(10)
exten => s,2,Playback(Announce1)
exten => s,10,Playback(Announce2)

[call-number]
exten => _X.,1,Dial(SIP/${EXTEN}|G(AnswerPrompt^s^1))
exten => _X.,n,Hangup()

*
Is there any solutions? Any help will be appropriate.

In most versions of Asterisk, the best you can do is to put both calls
into a Meetme room with a unique room number. The drawback with that is
that when one of the parties hangs up, it doesn't automatically hang up
the other party.

There have been one or two enhancements proposed in the past to allow
one channel to grab another and bridge to it, but I don't think such an
application has made it into official versions yet (1.4 or trunk).

Cheers
Tony
--
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org
Back to top
a.olekhnovich at gmail...
Guest





PostPosted: Fri Jun 20, 2008 8:17 am    Post subject: [asterisk-users] IVR for callee (called party) Reply with quote

Thanks Tony,

First of all, thanks for answer.

The possible solution to solve the problem with auto hangup is to use 'h'
extension, which can execute some commands after hanging up, here we call
MeetMeAdmin(confno,K) from either caller or callee, what will hang up call
when caller drops the call or callee.
Actually not the best solution.

Something like that:
*
[Prompt]
exten => s,1,Goto(40)
exten => s,2,Playback(hello1)
exten => s,n,MeetMe(confno|qx)
exten => s,n,Hangup()

exten => s,40,Playback(hello2)
exten => s,n,MeetMe(confno|qx)
exten => s,n,Hangup()

exten => h,1,MeetMeAdmin(confno,K)

[Main]
.....Dial(...G(Prompt^s^1)*

On Thu, Jun 19, 2008 at 6:26 PM, Tony Mountifield <tony at softins.clara.co.uk>
wrote:

Quote:
In article <8c3b04020806190812kf32dca3ua5a5bfd345d537a4 at mail.gmail.com>,
Alexander Olekhnovich <a.olekhnovich at gmail.com> wrote:
Quote:

I'm trying to make the next scenario in Asterisk DialPlan: Alice calls
Bob,
Quote:
Asterisk executes Dial application with G(context^exten^pri), after that
Bob
Quote:
answers the call, Asterisk transfers Alice to pri, Bob to pri+1. It
should
Quote:
be possible for example that in that context Asterisk executes different
scenarios for Bob and Alice and then connects Alice to Bob to let them
communicate. The problem is that I can not connect both sides for
conversation, Asterisk just hangs up after executes the scenarios.

*[AnswerPrompt]
exten => s,1,Goto(10)
exten => s,2,Playback(Announce1)
exten => s,10,Playback(Announce2)

[call-number]
exten => _X.,1,Dial(SIP/${EXTEN}|G(AnswerPrompt^s^1))
exten => _X.,n,Hangup()

*
Is there any solutions? Any help will be appropriate.

In most versions of Asterisk, the best you can do is to put both calls
into a Meetme room with a unique room number. The drawback with that is
that when one of the parties hangs up, it doesn't automatically hang up
the other party.

There have been one or two enhancements proposed in the past to allow
one channel to grab another and bridge to it, but I don't think such an
application has made it into official versions yet (1.4 or trunk).

Cheers
Tony
--
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


--
Best Regards
Alexander Olekhnovich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080620/d5eef5d4/attachment.htm
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services