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

Andreas Frackowiak zok at horga.de
Wed May 5 04:43:02 MST 2004


> 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-------------



More information about the asterisk-users mailing list