mISDN not recognize DDIs

fdiogo

Joined
Sep 7, 2008
Messages
52
Likes
0
Points
0
#1
Hi all,

i have a BRI card (Openvox b400p) that is working fine. i have 10 DDIs with the ISDN line but i can't make incoming rules work.

let me explain better.

i have 10 numbers for example 21344450,21344451,21344452,....,21344459

regardless of which i call it will go to rule "Any DID/ Any CID". i have for example 21344451 go to ext. 21 but it always ring in 22 ( rule for Any DID/ Any CID ).

this is my /etc/asterisk/misdn.conf

[general]
debug = 2
method=standard
bridging=no
stop_tone_after_first_digit=yes
append_digits2exten=yes
dynamic_crypt=no
crypt_prefix=**
crypt_keys=test,muh

[default]
context=misdn
language=en
musicclass=default
senddtmf=yes
far_alerting=no
allowed_bearers=all
nationalprefix=0
internationalprefix=00
rxgain=0
txgain=0
te_choose_channel=no
pmp_l1_check=no
reject_cause=16
need_more_infos=no
nttimeout=no
method=standard
dialplan=0
localdialplan=4
cpndialplan=0
early_bconnect=yes
incoming_early_audio=no
nodialtone=no
callgroup=1
pickupgroup=1
presentation=0
screen=0
echocancel=yes
jitterbuffer=4000
jitterbuffer_upper_threshold=0
hdlc=no

[isdn]
ports=1ptp,2,3
context=from-pstn
msns=*
;immediate=yes

[GSM]
ports=4
context=from-pstn
msns=*


if i put msns=21344450,21344451,21344452,....,21344459, i stop receiving calls....

it seems that asterisk does not recognize the number.....

any ideas...

thansk in advance.

Diogo
 

viti

Joined
Jun 30, 2009
Messages
9
Likes
0
Points
0
#2
Substitute these lines

national prefix=0
internationalprefix=00

for these

nationalprefix=
internationalprefix=

With the first configuration you should be receiving DIDs prefixed with 0... so it wouldn't match with your original DID in the dialplan. Hope it helps!
 

fdiogo

Joined
Sep 7, 2008
Messages
52
Likes
0
Points
0
#3
thanks but i allready found the problem.



the mISDN was only receiving the last digit, so the incoming rule has to be with the number "1" and not with "21344451".



it seems when you have 10 phone numbers you only create rules with the last digit, if you have 3 phone number you have to create the rule with the complete telephone number.



here stays the information for anyone with the same problem!!! :)



best regards,



Diogo
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,915
Messages
130,920
Members
17,595
Latest member
feparra121
Top