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 at from-pstn:1] *Verbose*("*DAHDI/5-1*", "*2,Incoming call from 059332640*") in new stack == Incoming call from 059332640 -- Executing [s at 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 at from-pstn:1] *Verbose*("*DAHDI/5-1*", "*2,Incoming call from *") in new stack == Incoming call from -- Executing [s at 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' *relevant part from chan_dahdi.conf* [outside-line](!) ; A template to hold common options for all phones connected outside signalling = fxs_ks ; tried ls and gs without any success callerid = asreceived ; dialtone_detect=always ringtimeout=8000 faxdetect=incoming context = from-pstn Bart Remmerie -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140526/5e5ee3d6/attachment.html>
On Mon, May 26, 2014 at 3:12 PM, Bart Remmerie <remmerie at gmail.com> 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 at from-pstn:1] *Verbose*("*DAHDI/5-1*", "*2,Incoming > call from 059332640*") in new stack > > == Incoming call from 059332640 > > -- Executing [s at 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 at from-pstn:1] *Verbose*("*DAHDI/5-1*", "*2,Incoming > call from *") in new stack > > == Incoming call from > > -- Executing [s at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140527/1e426d55/attachment.html>
On Mon, May 26, 2014 at 10:12:17PM +0200, Bart Remmerie 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 at from-pstn:1] *Verbose*("*DAHDI/5-1*", "*2,Incoming call > from 059332640*") in new stack > > == Incoming call from 059332640 > > -- Executing [s at from-pstn:2] *Dial*("*DAHDI/5-1*", "") in new stackLooking at the above, are you trying to dial out on the same channel with the inbound call? -- Shaun Ruffell Digium, Inc. | Linux Kernel Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at: www.digium.com & www.asterisk.org