Andreas Frackowiak
2004-May-05 04:20 UTC
[Asterisk-Users] * & ISDN-BRI-PTP & DID & ISDN4Linux does not show incoming number
Hi,
I am using Asterisk on a DSS1 ISDN-BRI with ISDN4Linux (and a Fritz Card PnP).
The ISDN-BRI is in PTP-Mode (Point to Point "german:
Anlagenanschluss")
which is enabled within I4L with "hisaxctrl fcpcipnp0 7 1".
Everything works fine except that I can not see the called number/MSN
of incoming calls within Asterisk and because of this I can not route
incoming calls directly to the correct extension (DID).
The number is received via D-Channel from the telco by isdn4linux
(I can see it in /var/log/messages (generated by isdnlog,isdn_tty,isdn_net)),
but I can not see it on Asterisk-console (even with verbose/debug enabled).
For testing purposes I included the first two lines in extension.conf:
--- part of extension.conf------------snip-------------
exten => _234.,1,Dial(SIP/zok1,1) ; "234" is local number without
extension
exten => _211234.,1,Dial(SIP/zok2,1) ; area(city) code + local number without
extension. just in case
exten => s,1,Wait,1
exten => s,2,Answer
exten => s,3,DigitTimeout,5
exten => s,4,ResponseTimeout,10
exten => s,5,Playback(willkommen)
exten => s,6,BackGround(zugangscode)
--- part of extension.conf------------snap-------------
So, whenever a call is received it should directly dial on of the
two SIP-Phones (only for testing purposes). But it never dials them,
Asterisk alway executes extension "s", when an ISDN-call comes in.
Any Help or Ideas ?
Advanced Thanks
Andreas
P.S. I can not use the CAPI-channel because there is no CAPI
for the Fritz-card that supports ISDN-Mode PTP.
Here ist what Asterisk shows on the console, when a call comes in:
---------------snip----------
Asterisk Ready.
*CLI>
*CLI> -- Executing Wait("Modem[i4l]/ttyI0", "1") in
new stack
-- Executing Answer("Modem[i4l]/ttyI0", "") in new stack
-- Executing DigitTimeout("Modem[i4l]/ttyI0", "5") in
new stack
-- Set Digit Timeout to 5
-- Executing ResponseTimeout("Modem[i4l]/ttyI0", "10")
in new stack
-- Set Response Timeout to 10
-- Executing Playback("Modem[i4l]/ttyI0", "willkommen")
in new stack
-- Playing 'willkommen' (language 'en')
May 5 11:26:07 NOTICE[1107327920]: sched.c:218 sched_settime: Request to
schedule in the past?!?!
-- Executing BackGround("Modem[i4l]/ttyI0",
"zugangscode") in new stack
-- Playing 'zugangscode' (language 'en')
...
---------------snap----------
Here is the modem.conf
---------------------------snip-----------
context=remote
driver=i4l
language=en
type=autodetect
stripmsd=1
dialtype=tone
mode=immediate
group=1
msn=0
incomingmsn=*
device => /dev/ttyI0
device => /dev/ttyI1
---------------------------snap-----------
Sergio Serrano
2004-May-05 04:28 UTC
[Asterisk-Users] * & ISDN-BRI-PTP & DID & ISDN4Linux does not show incoming number
Try to put in your default context before s extension an extension with your
msn
Regrads,
srsergio
-----Mensaje original-----
De: asterisk-users-admin@lists.digium.com
[mailto:asterisk-users-admin@lists.digium.com]En nombre de Andreas
Frackowiak
Enviado el: miercoles, 05 de mayo de 2004 13:20
Para: asterisk-users@lists.digium.com
Asunto: [Asterisk-Users] * & ISDN-BRI-PTP & DID & ISDN4Linux does
not
show incoming number
Hi,
I am using Asterisk on a DSS1 ISDN-BRI with ISDN4Linux (and a Fritz Card
PnP).
The ISDN-BRI is in PTP-Mode (Point to Point "german:
Anlagenanschluss")
which is enabled within I4L with "hisaxctrl fcpcipnp0 7 1".
Everything works fine except that I can not see the called number/MSN
of incoming calls within Asterisk and because of this I can not route
incoming calls directly to the correct extension (DID).
The number is received via D-Channel from the telco by isdn4linux
(I can see it in /var/log/messages (generated by
isdnlog,isdn_tty,isdn_net)),
but I can not see it on Asterisk-console (even with verbose/debug enabled).
For testing purposes I included the first two lines in extension.conf:
--- part of extension.conf------------snip-------------
exten => _234.,1,Dial(SIP/zok1,1) ; "234" is local number without
extension
exten => _211234.,1,Dial(SIP/zok2,1) ; area(city) code + local number
without extension. just in case
exten => s,1,Wait,1
exten => s,2,Answer
exten => s,3,DigitTimeout,5
exten => s,4,ResponseTimeout,10
exten => s,5,Playback(willkommen)
exten => s,6,BackGround(zugangscode)
--- part of extension.conf------------snap-------------
So, whenever a call is received it should directly dial on of the
two SIP-Phones (only for testing purposes). But it never dials them,
Asterisk alway executes extension "s", when an ISDN-call comes in.
Any Help or Ideas ?
Advanced Thanks
Andreas
P.S. I can not use the CAPI-channel because there is no CAPI
for the Fritz-card that supports ISDN-Mode PTP.
Here ist what Asterisk shows on the console, when a call comes in:
---------------snip----------
Asterisk Ready.
*CLI>
*CLI> -- Executing Wait("Modem[i4l]/ttyI0", "1") in
new stack
-- Executing Answer("Modem[i4l]/ttyI0", "") in new stack
-- Executing DigitTimeout("Modem[i4l]/ttyI0", "5") in
new stack
-- Set Digit Timeout to 5
-- Executing ResponseTimeout("Modem[i4l]/ttyI0", "10")
in new stack
-- Set Response Timeout to 10
-- Executing Playback("Modem[i4l]/ttyI0", "willkommen")
in new stack
-- Playing 'willkommen' (language 'en')
May 5 11:26:07 NOTICE[1107327920]: sched.c:218 sched_settime: Request to
schedule in the past?!?!
-- Executing BackGround("Modem[i4l]/ttyI0",
"zugangscode") in new stack
-- Playing 'zugangscode' (language 'en')
...
---------------snap----------
Here is the modem.conf
---------------------------snip-----------
context=remote
driver=i4l
language=en
type=autodetect
stripmsd=1
dialtype=tone
mode=immediate
group=1
msn=0
incomingmsn=*
device => /dev/ttyI0
device => /dev/ttyI1
---------------------------snap-----------
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Andreas Frackowiak
2004-May-05 04:43 UTC
[Asterisk-Users] * & ISDN-BRI-PTP & DID & ISDN4Linux does not show incoming number
> Try to put in your default context before s extension an extension with your > msnOk, now the new part of extension.conf (all is in default-context) looks like: ---------snip--------- ; 211 - city-area code ; 234 - local-number ; 111 - extension (one of them, extensions are 3-digit) exten => _234.,1,Dial(SIP/zok1,1) ; "234" is local number without extension exten => _211234.,1,Dial(SIP/zok2,1) ; area(city) code + local number without extension. just in case exten => 234111,1,Dial(SIP/zok1,1) ; local number (234) with extension (111) exten => 111,1,Dial(SIP/zok1,1) ; only extension (111) exten => s,1,Wait,1 exten => s,2,Answer exten => s,3,DigitTimeout,5 exten => s,4,ResponseTimeout,10 exten => s,5,Playback(willkommen) exten => s,6,BackGround(zugangscode) ---------snap--------- But nothing has changed when a call comes in. Thanks Andreas> Everything works fine except that I can not see the called number/MSN > of incoming calls within Asterisk and because of this I can not route > incoming calls directly to the correct extension (DID). > > For testing purposes I included the first two lines in extension.conf: > --- part of extension.conf------------snip------------- > exten => _234.,1,Dial(SIP/zok1,1) ; "234" is local number without extension > exten => _211234.,1,Dial(SIP/zok2,1) ; area(city) code + local number > without extension. just in case > > exten => s,1,Wait,1 > exten => s,2,Answer > exten => s,3,DigitTimeout,5 > exten => s,4,ResponseTimeout,10 > exten => s,5,Playback(willkommen) > exten => s,6,BackGround(zugangscode) > --- part of extension.conf------------snap-------------
Sergio Serrano
2004-May-05 05:03 UTC
[Asterisk-Users] * & ISDN-BRI-PTP & DID & ISDN4Linux does not show incoming number
I have a FRITZ with CAPI and all works fine. Try this: [default] exten=>msn,1,Dial(SIP/XXX) exten=>s,.... look at exten with msn is without underscore. Regards, srsergio -----Mensaje original----- De: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com]En nombre de Andreas Frackowiak Enviado el: miercoles, 05 de mayo de 2004 13:43 Para: asterisk-users@lists.digium.com Asunto: Re: [Asterisk-Users] * & ISDN-BRI-PTP & DID & ISDN4Linux does not show incoming number> Try to put in your default context before s extension an extension withyour> msnOk, now the new part of extension.conf (all is in default-context) looks like: ---------snip--------- ; 211 - city-area code ; 234 - local-number ; 111 - extension (one of them, extensions are 3-digit) exten => _234.,1,Dial(SIP/zok1,1) ; "234" is local number without extension exten => _211234.,1,Dial(SIP/zok2,1) ; area(city) code + local number without extension. just in case exten => 234111,1,Dial(SIP/zok1,1) ; local number (234) with extension (111) exten => 111,1,Dial(SIP/zok1,1) ; only extension (111) exten => s,1,Wait,1 exten => s,2,Answer exten => s,3,DigitTimeout,5 exten => s,4,ResponseTimeout,10 exten => s,5,Playback(willkommen) exten => s,6,BackGround(zugangscode) ---------snap--------- But nothing has changed when a call comes in. Thanks Andreas> Everything works fine except that I can not see the called number/MSN > of incoming calls within Asterisk and because of this I can not route > incoming calls directly to the correct extension (DID). > > For testing purposes I included the first two lines in extension.conf: > --- part of extension.conf------------snip------------- > exten => _234.,1,Dial(SIP/zok1,1) ; "234" is local number withoutextension> exten => _211234.,1,Dial(SIP/zok2,1) ; area(city) code + local number > without extension. just in case > > exten => s,1,Wait,1 > exten => s,2,Answer > exten => s,3,DigitTimeout,5 > exten => s,4,ResponseTimeout,10 > exten => s,5,Playback(willkommen) > exten => s,6,BackGround(zugangscode) > --- part of extension.conf------------snap-------------_______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
ePyron Felix Deierlein
2004-May-05 06:33 UTC
[Asterisk-Users] * & ISDN-BRI-PTP & DID & ISDN4Linux does not show incoming number
Hi,> I am using Asterisk on a DSS1 ISDN-BRI with ISDN4Linux (and a > Fritz Card PnP). > The ISDN-BRI is in PTP-Mode (Point to Point "german: > Anlagenanschluss") which is enabled within I4L with > "hisaxctrl fcpcipnp0 7 1".are you shure, that the capi does not support PTP? I have an AVM C4 card, but it should be the same with the fritz.. Regards Felix
Andreas Frackowiak
2004-May-05 10:55 UTC
[Asterisk-Users] * & ISDN-BRI-PTP & DID & ISDN4Linux does not show incoming number
Hi Sergio,> I have a FRITZ with CAPI and all works fine. Try this:Is your ISDN-BRI really in Point-to-Point Mode ? If yes, how do you switched the CAPI to this mode ? I think, CAPI and the (old) ISDN4Linux (which I use) are very different. Does anyone uses Asterisk with ISDN4Linux in ISDN-BRI-PTP-Mode ? Thanks Andreas
Andreas Frackowiak
2004-May-05 11:07 UTC
[Asterisk-Users] * & ISDN-BRI-PTP & DID & ISDN4Linux does not show incoming number
Hi Felix,> > I am using Asterisk on a DSS1 ISDN-BRI with ISDN4Linux (and a > > Fritz Card PnP). > > The ISDN-BRI is in PTP-Mode (Point to Point "german: > > Anlagenanschluss") which is enabled within I4L with > > "hisaxctrl fcpcipnp0 7 1". > are you shure, that the capi does not support PTP? > I have an AVM C4 card, but it should be the same with the fritz..Well, I am not sure, but AVM says in: http://www.avm.de/de/Service/FAQs/FAQ_Sammlung/2671.php3 that only the B1-family of cards and the C2 and C4 Controllers support PTP. I would be very happy if someone has a Fritz with CAPI working with a PTP und could proove that I am wrong. I also would be very happy if someone could help me with the original question, why I4L does not give the called number / MSN to Asterisk (and help me fix it, of course :) Thanks Andreas
ePyron Felix Deierlein
2004-May-06 06:01 UTC
[Asterisk-Users] * & ISDN-BRI-PTP & DID & ISDN4Linux does not show incoming number
Hallo Andreas, it seems that the FAQ only describes windows & co. Just try to use the capi driver, I guess you would get much more support for capi here... Bye Felix> -----Original Message----- > From: asterisk-users-admin@lists.digium.com > [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of > Andreas Frackowiak > Sent: Wednesday, May 05, 2004 8:08 PM > To: asterisk-users@lists.digium.com > Subject: Re: [Asterisk-Users] * & ISDN-BRI-PTP & DID & > ISDN4Linux does not show incoming number > > Hi Felix, > > > > I am using Asterisk on a DSS1 ISDN-BRI with ISDN4Linux > (and a Fritz > > > Card PnP). > > > The ISDN-BRI is in PTP-Mode (Point to Point "german: > > > Anlagenanschluss") which is enabled within I4L with "hisaxctrl > > > fcpcipnp0 7 1". > > are you shure, that the capi does not support PTP? > > I have an AVM C4 card, but it should be the same with the fritz.. > > Well, I am not sure, but AVM says in: > http://www.avm.de/de/Service/FAQs/FAQ_Sammlung/2671.php3 > that only the B1-family of cards and the C2 and C4 > Controllers support PTP. > > I would be very happy if someone has a Fritz with CAPI > working with a PTP und could proove that I am wrong. > > I also would be very happy if someone could help me with the > original question, why I4L does not give the called number / > MSN to Asterisk (and help me fix it, of course :) > > Thanks > Andreas > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >