* You are viewing the archive for July 24th, 2012

Passing Arguments To Macros From Originate Command

I wanna be able to pass arguments to macros when i initiate a call through the originate command.. Is there any possible way of passing arguments to the originate command in some way ?

Echo Canceler Query

Hello

I have a question regarding Asterisk echo cancellation. I

DAHDI Problems

Is a normal functionality?
when I do
#dahdi_cfg -vvvvvv


In my Asterisk console shows this….

[Jul 24 13:39:08] NOTICE[30263]: chan_dahdi.c:9461 pri_dchannel: PRI got event: HDLC Abort (6) on Primary D-channel of span 1

If I do this a lot of times…then
[Jul 24 13:39:20] NOTICE[30263]: chan_dahdi.c:9461 pri_dchannel: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
[Jul 24 13:39:21] NOTICE[30263]: chan_dahdi.c:9461 pri_dchannel: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
[Jul 24 13:39:21] NOTICE[30263]: chan_dahdi.c:9461 pri_dchannel: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
[Jul 24 13:39:21] NOTICE[30263]: chan_dahdi.c:9461 pri_dchannel: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
[Jul 24 13:39:21] NOTICE[30263]: chan_dahdi.c:9461 pri_dchannel: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
[Jul 24 13:39:21] NOTICE[30263]: chan_dahdi.c:9461 pri_dchannel: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
[Jul 24 13:39:22] NOTICE[30263]: chan_dahdi.c:9461 pri_dchannel: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
[Jul 24 13:39:22] NOTICE[30263]: chan_dahdi.c:9461 pri_dchannel: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
[Jul 24 13:39:22] NOTICE[30263]: chan_dahdi.c:9461 pri_dchannel: PRI got event: Alarm (4) on Primary D-channel of span 1
[Jul 24 13:39:22] WARNING[30263]: chan_dahdi.c:2840 pri_find_dchan: No D-channels available! Using Primary channel 16 as D-channel anyway!
[Jul 24 13:39:22] WARNING[30264]: chan_dahdi.c:4332 handle_alarms: Detected alarm on channel 1: Yellow Alarm
…..
…..



I’m using Libpri 1.4.11
Dahdi 2.6.0
Asterisk 1.4.40

Video Call Using Asterisk

Hello,

What is the set of configuration that should be done in the Asterisk 1.0.8 using FreePBX that can allow a simple video call between two extensions?


Thanks in advance.
[http://www.ericsson.com/shared/images/Email_line.gif]
JULIO ARAUJO
TE ENGINEER MS

Ericsson ITTE & Test Environment S

Play Announcement During Dial Just Once

Hi,

I would like to perform a Dial, and play an announce ment just once to the caller. Actually very much like the A parameter, but this plays the announcement to the callee instead of the caller.

I played around with MusicOnHold, for which I can specify a timeout, but it doesn’t continue in the dialplan before it’s done. So this didn’t work:

exten => *92,1,Answer()
same => n,Playback(sgn-u-bent-verbonden-met)
same => n,MusicOnHold(advertisement,5)
same => n,Dial(SIP/Roland_Test,,A(st-test))
same => n,Wait(2)
same => n,Hangup()

So i’d just like it to play this announcement once, and then continue with the normal ringing.

RetryDial also loops the announcement.

Only thing I can think of now is to record the announcement, and add some riging audio effects in the audio file, and just repeat that sound for a while.

Any other options? Seems like a common request to me :-)

Thanks in advance!

Finding The Position Of A Character In A String

It there a native asterisk dialplan function which will tell me the position of a specific character in a given string?

eg if I wanted to find what position the ‘@’ was at in ${SIPURI}

Thanks in advance

Ish