On Mon, May 26, 2014 at 3:12 PM, Bart Remmerie <[email protected]> wrote:

> Hi,
>
> I guess something's wrong with my chan_dahdi configuration, ... but I
> can't seem to get it.
> When I test incoming calls on a DAHDI-channel (incoming from pstn),
> asterisk seems to interpret it as a caller hangup after each ring.
>
> Any ideas.
>
> OUTPUT:
>
>     -- Starting simple switch on 'DAHDI/5-1'
>
>     -- Executing [s@from-pstn:1] *Verbose*("*DAHDI/5-1*", "*2,Incoming
> call from 059332640*") in new stack
>
>   == Incoming call from 059332640
>
>     -- Executing [s@from-pstn:2] *Dial*("*DAHDI/5-1*", "") in new stack
>
>   == Spawn extension (from-pstn, s, 2) exited non-zero on 'DAHDI/5-1'
>
>     -- Hanging up on 'DAHDI/5-1'
>
>     -- Hungup 'DAHDI/5-1'
>
>     -- Starting simple switch on 'DAHDI/5-1'
>
>     -- Executing [s@from-pstn:1] *Verbose*("*DAHDI/5-1*", "*2,Incoming
> call from *") in new stack
>
>   == Incoming call from
>
>     -- Executing [s@from-pstn:2] *Dial*("*DAHDI/5-1*", "") in new stack
>
>   == Spawn extension (from-pstn, s, 2) exited non-zero on 'DAHDI/5-1'
>
>     -- Hanging up on 'DAHDI/5-1'
>
>     -- Hungup 'DAHDI/5-1'
>

It is your dialplan that has the problem.  You are not giving anything
to the Dial application so it doesn't know what you want to do.
Read the "core show application dial" documentation.

Richard
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

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

Reply via email to