Salve all!

I have 2 ISDN-lines, both with the same MSN. That means that both lines
use the same number 1234 on the respective lines by my telco. If a call
arrives the telco company decides on which NT the call comes in. I can't
do anything about it.

Though my visdn setup still isn't working (yes, Daniele ethereal is on
its way...), I still don't know how to set up visdn.conf and
extensions.conf in terms of how asterisk deals with the same MSN given
in the visdn1.0 and visdn1.1 entries

Example visdn.conf:

[visdn1.0]
network_role = private
context = visdn1.0_in
tones_option = yes
outbound_called_ton = unknown
force_outbound_cli =
force_outbound_cli_ton = no
clip_enabled = Yes
clip_default_name =  NTBA1 - Telefon

clip_default_number = 1234
clip_numbers = 1234

clir_mode = off
cli_rewriting = No
overlap_sending = Yes
overlap_receiving = No
echocancel = yes

[visdn1.1]
network_role = private
context = visdn1.1_in
tones_option = yes
outbound_called_ton = unknown
force_outbound_cli =
force_outbound_cli_ton = no
clip_enabled = Yes
clip_default_name =  NTBA2 - Telefon

clip_default_number = 1234
clip_numbers = 1234

clir_mode = off
cli_rewriting = No
overlap_sending = Yes
overlap_receiving = No
echocancel = yes



Example extension.conf

...
[macro-ruf]
exten => s,1,NoOp(Executing macro ruf)
exten => s,n,Dial,${ARG1}/${ARG2}|15|r
exten => s,n,Goto,s-${DIALSTATUS}|1

exten => s-BUSY,1,voicemail,b${ARG2}
exten => s-BUSY,n,Hangup

exten => s-NOANSWER,1,voicemail,u${ARG2}
exten => s-NOANSWER,n,Hangup

exten => s-CHANUNAVAIL,1,voicemail,u${ARG2}
exten => s-CHANUNAVAIL,2,n,Hangup

[visdn1.0_in]

exten => 1234,1,macro,ruf|SIP|10

[visdn1.1_in]

exten => 1234,1,macro,ruf|SIP|10

...

Won't asterisk get some sort of confused due to the same entries in
visdn1.0_in and visdn1.1_in? Right now both ports arrive at the same SIP
extension, but I might want to change this in the future due to
work-load-reasons with my secretary. Can * keep the ports apart even
when having the same MSN assigned to it?




_______________________________________________
Visdn-hackers mailing list
[email protected]
https://mailman.uli.it/mailman/listinfo/visdn-hackers

Reply via email to