VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
remmerie at gmail.com Guest
|
Posted: Mon May 26, 2014 3:13 pm Post subject: [asterisk-users] dahdi "hungup" after each ring |
|
|
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'
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 |
|
Back to top |
|
|
rmudgett at digium.com Guest
|
Posted: Tue May 27, 2014 9:17 am Post subject: [asterisk-users] dahdi "hungup" after each ring |
|
|
On Mon, May 26, 2014 at 3:12 PM, Bart Remmerie <remmerie@gmail.com (remmerie@gmail.com)> wrote:
Quote: | 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 |
|
Back to top |
|
|
sruffell at digium.com Guest
|
Posted: Tue May 27, 2014 9:54 am Post subject: [asterisk-users] dahdi "hungup" after each ring |
|
|
On Mon, May 26, 2014 at 10:12:17PM +0200, Bart Remmerie wrote:
Quote: | 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
|
Looking 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
--
_____________________________________________________________________
-- 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 |
|
Back to top |
|
|
remmerie at gmail.com Guest
|
Posted: Wed May 28, 2014 5:22 pm Post subject: [asterisk-users] dahdi "hungup" after each ring |
|
|
OMG, I simplified the Dial application arguments to avoid too many phones ringing while I was testing what went wrong ...Thanks for the help, I'll go back hitting my head against the wall now.
Bart
On Tue, May 27, 2014 at 4:16 PM, Richard Mudgett <rmudgett@digium.com (rmudgett@digium.com)> wrote:
Quote: |
On Mon, May 26, 2014 at 3:12 PM, Bart Remmerie <remmerie@gmail.com (remmerie@gmail.com)> wrote:
Quote: | 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
|
--
Bart Remmerie
+32 (0477) 78.88.76
remmerie@gmail.com (remmerie@gmail.com) |
|
Back to top |
|
|
|
|
|
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
|