[Asterisk-Users] * & ISDN-BRI-PTP & DID & ISDN4Linux does not show incoming number

Sergio Serrano sergio.serrano at avanzada7.com
Wed May 5 05:03:23 MST 2004


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 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:43
Para: asterisk-users at 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 with
your
> msn

Ok, 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-------------
_______________________________________________
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