Voice Over IP in UK - Asterisk, Dial() and bridging...

This is Interesting: Free IT Magazines  
Home > Archive > Voice Over IP in UK > June 2006 > Asterisk, Dial() and bridging...





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Asterisk, Dial() and bridging...
Martin Lukasik

2006-06-28, 1:11 pm

Hi,

I want to dial asterisk box via, let's say, Zap/1-1.
Then I hang up. After that asterisk calls using Zap/1-8 on number 123456.
Plays sound file and exits.
But when I hang up it hangs up and it's not going to next "exten". When I
don't hang up, it is creating a bridge between Zap/1-1 and Zap/1-2.

Anyone know how to help me?

Thanks in advance,
Martin


Jon Farmer

2006-06-29, 1:11 am

Martin Lukasik wrote:
> Hi,
>
> I want to dial asterisk box via, let's say, Zap/1-1.
> Then I hang up. After that asterisk calls using Zap/1-8 on number 123456.
> Plays sound file and exits.
> But when I hang up it hangs up and it's not going to next "exten". When I
> don't hang up, it is creating a bridge between Zap/1-1 and Zap/1-2.
>
> Anyone know how to help me?
>
> Thanks in advance,
> Martin
>
>


Err can you post your dialplan. What you post above makes little sense
with out seeing what you are trying to acheive through the dialplan

Regards

Jon
Martin Lukasik

2006-06-29, 7:11 am

> Err can you post your dialplan. What you post above makes little sense
> with out seeing what you are trying to acheive through the dialplan


Nothing really to post ;-)
I'm connected to asterisk via PSTN. Then it goes into the context and
executes Dial(Zap/1-1/123456) to call person at 123456, play announcement
and disconnect.
But if I use Dial() it bridges the channels (the one, which I'm calling from
and the one from Dial() [Zap/1-1]).
I found out I can use /var/lib/asterisk/outgoing to put some files in and
asterisk will pick them and execute it.
I've done that and seems okay, but the problem is that asterisk says call is
connected when the phone is still ringing. And I don't know how to fix this
problem... Trying with BackgroundDetect() now...

m.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com