[asterisk-users] Strange ISDN-problem with incoming calls out of the same city

Stefan Guenther asterisk01 at in-put.de
Thu Dec 13 09:15:35 CST 2007


Hi,

Armin wrote:
 >Again, same question. How does your dialplan look like?
 >If you have a rule _XXXX. (which means 4 digits OR MORE), then there
 >is a match even if other digits follow. Make sure your dialplan
 >will accept the call only if all digits are dialed.
 >
here is the relevant part:

         ; Abschnitt fuer das Analogfax
         exten => 940325,1,ANSWER()
         exten => 940325,2,WAIT(1)
         exten => 940325,3,DIAL(CAPI/g2/${EXTEN:4},20,tr)
         exten => 940325,4,HANGUP()

; Alle weiteren Anschluesse (SIP)
         exten => _9403XX,1,ANSWER()
         exten => _9403XX,2,SET(CHANNEL(language)=de))
         exten => _9403XX,3,DIAL(${SIP${EXTEN:4}},30,tr)
         exten => _9403XX,4,HANGUP()

That's how we started. We then had incoming calls, e.g. 94033 according 
to the cdr logfile. But most of the calls come in with the correct 
number e.g. 940331.
We have one caller where the transfered number is always to short. 
Everytime he dials 930331, the number comes in as 94033. So I inserted

         exten => 940331,1,ANSWER()
         exten => 940331,2,WAIT(1)
         exten => 940331,3,DIAL(CAPI/g2/${EXTEN:4},20,tr)
         exten => 940331,4,HANGUP()

at the beginning of the file, but still the call came in as 94033.

Stefan


-- 

********************************************
in-put GbR - Das Linux-Systemhaus
Stefan-Michael Guenther
Geschaeftsfuehrer
Moltkestrasse 49     D-76133 Karlsruhe
Tel./Fax : +49 (0)721 / 83044 - 98/93
http://www.in-put.de
********************************************
      Schulungen  Installationen
          Beratung   Support
       Voice-over-IP-Loesungen
********************************************



More information about the asterisk-users mailing list