Hi all,
ich habe hier ein Problem mit oben genannter Patton, eventuell hat ja jemand eine Idee.
Problem: Es gibt eine Kopfnummer und einige Durchwahl Nummer, nun wird leider bei jeder Druchwahl Nummer lediglich auf die Kopf Nummer gemappt und ich weiß grade nicht mehr woran es liegen kann.
Also es wird (in diesem Beispiel) 111113 gewählt und man landet immer bei der 1111
Hier mal der Abschnitt
ich habe hier ein Problem mit oben genannter Patton, eventuell hat ja jemand eine Idee.
Problem: Es gibt eine Kopfnummer und einige Durchwahl Nummer, nun wird leider bei jeder Druchwahl Nummer lediglich auf die Kopf Nummer gemappt und ich weiß grade nicht mehr woran es liegen kann.
Also es wird (in diesem Beispiel) 111113 gewählt und man landet immer bei der 1111
Hier mal der Abschnitt
Code:
context cs switch
digit-collection timeout 5 set-address-complete-indication
digit-collection terminating-char # set-address-complete-indication
national-prefix 0
international-prefix 00
routing-table called-e164 RT_TO_SIP
route .T5 dest-interface azv_sip_interface ADD-PREFIX
routing-table called-e164 RT_TO_ISDN
route default dest-interface s0 REM-PREFIX
mapping-table calling-e164 to calling-e164 ADD-PREFIX
map ^1111$ to 4955551111
map ^055551111$ to 4955551111
map ^11110$ to 49555511110
map ^0555511110$ to 49555511110
map ^111110$ to 495555111110
map ^05555111110$ to 495555111110
map ^111111$ to 495555111111
map ^05555111111$ to 495555111111
map ^111112$ to 495555111112
map ^05555111112$ to 495555111112
map ^111113$ to 495555111113
map ^05555111113$ to 495555111113
map ^111114$ to 495555111114
map ^05555111114$ to 495555111114
map ^111115$ to 495555111115
map ^05555111115$ to 495555111115
map ^111120$ to 495555111120
map ^05555111120$ to 495555111120
map ^111121$ to 495555111121
map ^05555111121$ to 495555111121
map ^111122$ to 495555111122
map ^05555111122$ to 495555111122
map ^111123$ to 495555111123
map ^05555111123$ to 495555111123
map ^111124$ to 495555111124
map ^05555111124$ to 495555111124
map ^111130$ to 495555111130
map ^05555111130$ to 495555111130
map ^111131$ to 495555111131
map ^05555111131$ to 495555111131
map ^111133$ to 495555111133
map ^05555111133$ to 495555111133
map ^111100$ to 495555111100
map ^05555111100$ to 495555111100
map ^[0-9]+$ to <!--primary-->
mapping-table called-e164 to called-e164 REM-PREFIX
map default to s0
map ^4955551111$ to 1111
map ^49555511110$ to 11110
map ^495555111110$ to 111110
map ^495555111111$ to 111111
map ^495555111112$ to 111112
map ^495555111113$ to 111113
map ^495555111114$ to 111114
map ^495555111115$ to 111115
map ^495555111120$ to 111120
map ^495555111121$ to 111121
map ^495555111122$ to 111122
map ^495555111123$ to 111123
map ^495555111124$ to 111124
map ^495555111130$ to 111130
map ^495555111131$ to 111131
map ^495555111133$ to 111133
map ^495555111100$ to 111100
map ^[0-9]+$ to <!--primary-ln-->
interface isdn s0
route call dest-table RT_TO_SIP
isdn-date-time
interface sip azv_sip_interface
bind context sip-gateway azv
route call dest-table RT_TO_ISDN
remote sip.domain.de
local sip.domain.de
early-disconnect
privacy
context cs switch
no shutdown