[Asterisk-Users] * & ISDN-BRI-PTP & DID & ISDN4Linux does not show incoming number
Sergio Serrano
sergio.serrano at avanzada7.com
Wed May 5 04:28:53 MST 2004
Try to put in your default context before s extension an extension with your
msn
Regrads,
srsergio
-----Mensaje original-----
De: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com]En nombre de Andreas
Frackowiak
Enviado el: miercoles, 05 de mayo de 2004 13:20
Para: asterisk-users at 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 at 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
More information about the asterisk-users
mailing list