Skip to main content

Dialing Permissions don't work

Posted by dbenders on Thu, 03/12/2009

Hi, we are using MTE for more than 2 years and currently with version 6.0.67 and the Dialing permissions does't work.

Every time we set up an extension to "Disallow Calling to Restricted Numbers" we cannot call any place with that extension. That means no calls to the resticted route, not calls to any other route or extension. :-(

Sniffing the calls, we get a SIP message: Declined 603

Any idea what is wrong?

The test we made are:

Script: Standard Extension (IP)
Dialing permissions: Disallow calling restricted numbers

1.-Calls to an Outbound Routes :Restricted

Pattern to Match : _${DIALOUT}0999989122
Type: Restricted
Result of the call: Declined 603.

2.- Calls to an Outbound Routes : Unrestricted

Example dialing to 6639603:
Pattern to Match : _${DIALOUT}[2-9]XXXXXX
Type: Unrestricted
Result of the call: Declined 603.

3.- Internal call to another extension from the same tenant:

Result of the call: Declined 603.


Submitted by dbenders on Tue, 03/17/2009 Permalink

Hi Erik, Her is the Asterisk LOG:

[Mar 17 09:41:23] VERBOSE[31755] logger.c: -- Executing [90999989122@from-inside-restricted-netline:1] Macro("SIP/935-netline-b771c0a0", "tl-set-variables2|from-inside-redir-restricted-netline|netline") in new stack

[Mar 17 09:41:23] VERBOSE[31755] logger.c: -- Executing [s@macro-tl-set-variables2:1] Set("SIP/935-netline-b771c0a0", "__tenant=netline") in new stack

[Mar 17 09:41:23] VERBOSE[31755] logger.c: -- Executing [s@macro-tl-set-variables2:2] Set("SIP/935-netline-b771c0a0", "CDR(userfield)=netline") in new stack

[Mar 17 09:41:23] VERBOSE[31755] logger.c: -- Executing [s@macro-tl-set-variables2:3] Set("SIP/935-netline-b771c0a0", "__MOH=default-netline") in new stack

[Mar 17 09:41:23] VERBOSE[31755] logger.c: -- Executing [s@macro-tl-set-variables2:4] GotoIf("SIP/935-netline-b771c0a0", "1 ?setmoh") in new stack

[Mar 17 09:41:23] VERBOSE[31755] logger.c: -- Goto (macro-tl-set-variables2,s,6)

[Mar 17 09:41:23] VERBOSE[31755] logger.c: -- Executing [s@macro-tl-set-variables2:6] SetMusicOnHold("SIP/935-netline-b771c0a0", "default-netline") in new stack

[Mar 17 09:41:23] VERBOSE[31755] logger.c: -- Executing [s@macro-tl-set-variables2:7] Goto("SIP/935-netline-b771c0a0", "from-inside-redir-restricted-netline|90999989122|1") in new stack

[Mar 17 09:41:23] VERBOSE[31755] logger.c: -- Goto (from-inside-redir-restricted-netline,90999989122,1)

[Mar 17 09:41:23] VERBOSE[31755] logger.c: == Channel 'SIP/935-netline-b771c0a0' jumping out of macro 'tl-set-variables2'

[Mar 17 09:41:23] WARNING[31755] pbx.c: Channel 'SIP/935-netline-b771c0a0' sent into invalid extension '90999989122' in context 'from-inside-redir-restricted-netline', but no invalid handler

[Mar 17 09:41:31] VERBOSE[31758] logger.c: -- Executing [96639603@from-inside-restricted-netline:1] Macro("SIP/935-netline-b76ce0f8", "tl-set-variables2|from-inside-redir-restricted-netline|netline") in new stack

[Mar 17 09:41:31] VERBOSE[31758] logger.c: -- Executing [s@macro-tl-set-variables2:1] Set("SIP/935-netline-b76ce0f8", "__tenant=netline") in new stack

[Mar 17 09:41:31] VERBOSE[31758] logger.c: -- Executing [s@macro-tl-set-variables2:2] Set("SIP/935-netline-b76ce0f8", "CDR(userfield)=netline") in new stack

[Mar 17 09:41:31] VERBOSE[31758] logger.c: -- Executing [s@macro-tl-set-variables2:3] Set("SIP/935-netline-b76ce0f8", "__MOH=default-netline") in new stack

[Mar 17 09:41:31] VERBOSE[31758] logger.c: -- Executing [s@macro-tl-set-variables2:4] GotoIf("SIP/935-netline-b76ce0f8", "1 ?setmoh") in new stack

[Mar 17 09:41:31] VERBOSE[31758] logger.c: -- Goto (macro-tl-set-variables2,s,6)

[Mar 17 09:41:31] VERBOSE[31758] logger.c: -- Executing [s@macro-tl-set-variables2:6] SetMusicOnHold("SIP/935-netline-b76ce0f8", "default-netline") in new stack

[Mar 17 09:41:31] VERBOSE[31758] logger.c: -- Executing [s@macro-tl-set-variables2:7] Goto("SIP/935-netline-b76ce0f8", "from-inside-redir-restricted-netline|96639603|1") in new stack

[Mar 17 09:41:31] VERBOSE[31758] logger.c: -- Goto (from-inside-redir-restricted-netline,96639603,1)

[Mar 17 09:41:31] VERBOSE[31758] logger.c: == Channel 'SIP/935-netline-b76ce0f8' jumping out of macro 'tl-set-variables2'

[Mar 17 09:41:31] WARNING[31758] pbx.c: Channel 'SIP/935-netline-b76ce0f8' sent into invalid extension '96639603' in context 'from-inside-redir-restricted-netline', but no invalid handler

[Mar 17 09:41:37] VERBOSE[31796] logger.c: -- Executing [646@from-inside-restricted-netline:1] Macro("SIP/935-netline-b6f43478", "tl-set-variables2|from-inside-redir-restricted-netline|netline") in new stack

[Mar 17 09:41:37] VERBOSE[31796] logger.c: -- Executing [s@macro-tl-set-variables2:1] Set("SIP/935-netline-b6f43478", "__tenant=netline") in new stack

[Mar 17 09:41:37] VERBOSE[31796] logger.c: -- Executing [s@macro-tl-set-variables2:2] Set("SIP/935-netline-b6f43478", "CDR(userfield)=netline") in new stack

[Mar 17 09:41:37] VERBOSE[31796] logger.c: -- Executing [s@macro-tl-set-variables2:3] Set("SIP/935-netline-b6f43478", "__MOH=default-netline") in new stack

[Mar 17 09:41:37] VERBOSE[31796] logger.c: -- Executing [s@macro-tl-set-variables2:4] GotoIf("SIP/935-netline-b6f43478", "1 ?setmoh") in new stack

[Mar 17 09:41:37] VERBOSE[31796] logger.c: -- Goto (macro-tl-set-variables2,s,6)

[Mar 17 09:41:37] VERBOSE[31796] logger.c: -- Executing [s@macro-tl-set-variables2:6] SetMusicOnHold("SIP/935-netline-b6f43478", "default-netline") in new stack

[Mar 17 09:41:37] VERBOSE[31796] logger.c: -- Executing [s@macro-tl-set-variables2:7] Goto("SIP/935-netline-b6f43478", "from-inside-redir-restricted-netline|646|1") in new stack

[Mar 17 09:41:37] VERBOSE[31796] logger.c: -- Goto (from-inside-redir-restricted-netline,646,1)

[Mar 17 09:41:37] VERBOSE[31796] logger.c: == Channel 'SIP/935-netline-b6f43478' jumping out of macro 'tl-set-variables2'

[Mar 17 09:41:37] WARNING[31796] pbx.c: Channel 'SIP/935-netline-b6f43478' sent into invalid extension '646' in context 'from-inside-redir-restricted-netline', but no invalid handler

Submitted by eeman on Tue, 03/17/2009 Permalink

list

[from-inside-redir-netline]

[from-inside-redir-restricted-netling]

[from-inside-redir-internal-netline]

[outgoing-netline]

[outgoing-unrestricted-netline]

[outgoing-restricted-netline]

Submitted by dbenders on Fri, 03/20/2009 Permalink

[from-inside-redir-internal-netline]

NOT EXIST

[outgoing-restricted-netline]

NOT EXIST

[from-inside-redir-netline]

include => outgoing-netline

include => local-extensions-netline

include => feature-extensions-netline

exten => t,1,Hangup

exten => h,1,Hangup

exten => i,1,Playback(invalid)

exten => i,2,Hangup

[from-inside-redir-netline]

include => outgoing-netline

include => local-extensions-netline

include => feature-extensions-netline

exten => t,1,Hangup

exten => h,1,Hangup

exten => i,1,Playback(invalid)

exten => i,2,Hangup

[outgoing-netline]

ignorepat => ${DIALOUT}

include => outgoing-unrestricted-netline

exten => _${DIALOUT}0999989122,1,Macro(tl-dialout-1-trunk,40,SIP/5626560700,562000,2,) ; Celular Daniel Bendersky

[outgoing-unrestricted-netline]

ignorepat => ${DIALOUT}

include => outgoing-emergency-netline

exten => _${DIALOUT}656[01]000,1,Macro(tl-dialout-1-trunk,40,SIP/entretenants,562,1,) ; llamadas entre Tenants (4)

exten => _${DIALOUT}656410X,1,Macro(tl-dialout-1-trunk,40,SIP/entretenants,562,1,) ; llamadas entre Tenants (3)

exten => _${DIALOUT}6562222,1,Macro(tl-dialout-1-trunk,40,SIP/entretenants,562,1,) ; llamadas entre Tenants (1)

exten => _${DIALOUT}656200[1-2],1,Macro(tl-dialout-1-trunk,40,SIP/entretenants,562,1,) ; llamadas entre Tenants (2)

exten => _${DIALOUT}656[5-8]XXX,1,Macro(tl-dialout-1-trunk,40,SIP/entretenants,562,1,) ; llamadas entre Tenants (6)

exten => _${DIALOUT}00*xx[1-9].,1,Macro(tl-dialout-1-trunk,120,SIP/5626560700,,1) ; Ruta salida de test de terminadores

exten => _${DIALOUT}01[2-8]X,1,Macro(tl-dialout-1-trunk,40,SIP/5626560700,562169,2) ; Numeracion Nivel Soporte Carrier 0123

exten => _${DIALOUT}0962086364,1,Macro(tl-dialout-1-trunk,40,SIP/5626560700,562000,2) ; Celular Rodrigo Otarola

exten => _${DIALOUT}0976492560,1,Macro(tl-dialout-1-trunk,40,SIP/5626560700,562000,2) ; Danny Test

exten => _${DIALOUT}0981380559,1,Macro(tl-dialout-1-trunk,40,SIP/5626560700,562000,2) ; Celular Carolina Vidal

exten => _${DIALOUT}0981380560,1,Macro(tl-dialout-1-trunk,40,SIP/5626560700,562000,2) ; Celular de Eduardo Pineda

exten => _${DIALOUT}0981390077,1,Macro(tl-dialout-1-trunk,40,SIP/5626560700,562000,2) ; Celular Rodrigo Hernandez

exten => _${DIALOUT}0981390078,1,Macro(tl-dialout-1-trunk,40,SIP/5626560700,562000,2) ; Celular de Patricio Vera

exten => _${DIALOUT}0982286661,1,Macro(tl-dialout-1-trunk,40,SIP/5626560700,562000,2) ; Celular Deborah Schapira

exten => _${DIALOUT}0990388726,1,Macro(tl-dialout-1-trunk,40,SIP/5626560700,562000,2) ; Celular Manuel Suarez

exten => _${DIALOUT}0990992366,1,Macro(tl-dialout-1-trunk,40,SIP/5626560700,562000,2) ; Celular Mauricio Lopez

exten => _${DIALOUT}0992768744,1,Macro(tl-dialout-1-trunk,40,SIP/5626560700,562000,2) ; Celular Enrique Beltran

exten => _${DIALOUT}0993462365,1,Macro(tl-dialout-1-trunk,40,SIP/5626560700,562000,2) ; Celular Carlos Valenzuela (Enrique Beltran)

exten => _${DIALOUT}0994993109,1,Macro(tl-dialout-1-trunk,40,SIP/5626560700,562000,2) ; Celular Recepcion

exten => _${DIALOUT}0996191496,1,Macro(tl-dialout-1-trunk,40,SIP/5626560700,562000,2) ; Celular Jessica Krinfokai

exten => _${DIALOUT}0998740317,1,Macro(tl-dialout-1-trunk,40,SIP/5626560700,562000,2) ; Celular Francisco Alvarez

exten => _${DIALOUT}0998740328,1,Macro(tl-dialout-1-trunk,40,SIP/5626560700,562000,2) ; Celular Patricio Larrain

exten => _${DIALOUT}0998740329,1,Macro(tl-dialout-1-trunk,40,SIP/5626560700,562000,2) ; Celular soporte

exten => _${DIALOUT}0998740344,1,Macro(tl-dialout-1-trunk,40,SIP/5626560700,562000,2) ; Celular Cecilia Bitran

exten => _${DIALOUT}0998740345,1,Macro(tl-dialout-1-trunk,40,SIP/5626560700,562000,2) ; Celular Gonzalo Farias

exten => _${DIALOUT}0998740438,1,Macro(tl-dialout-1-trunk,40,SIP/5626560700,562000,2) ; Celular Ricardo Cortes

exten => _${DIALOUT}0998740441,1,Macro(tl-dialout-1-trunk,40,SIP/5626560700,562000,2) ; Celular Joel Bendersky

exten => _${DIALOUT}0998885714,1,Macro(tl-dialout-1-trunk,40,SIP/5626560700,562000,2) ; Daniel Bendersky2

exten => _${DIALOUT}0[2-9]X[1-9]X.,1,Macro(tl-dialout-1-trunk,40,SIP/5626560700,56,2) ; LDN resto de Chile

exten => _${DIALOUT}1690[1-9].,1,Macro(tl-dialout-1-trunk,40,SIP/5626560700,562,1) ; marcacion internacional

exten => _${DIALOUT}1[03]X,1,Macro(tl-dialout-1-trunk,40,SIP/5626560700,562,1) ; Acceso a llamadas de emergencia e informaciones

exten => _${DIALOUT}1[125-9]XZ.,1,Macro(tl-dialout-1-trunk,40,SIP/5626560700,562,1) ; Multiportador Contratado Nacional

exten => _${DIALOUT}600.,1,Macro(tl-dialout-1-trunk,40,SIP/5626560700,562,1) ; Numeros 600

exten => _${DIALOUT}800.,1,Macro(tl-dialout-1-trunk,40,SIP/5626560700,562,1) ; Numeracion 800

exten => _${DIALOUT}0982399586,1,Macro(tl-dialout-1-trunk,40,SIP/5626560700,56200,1,) ; Celular Mauricio Araneda

exten => _${DIALOUT}00[1-9].,1,Macro(tl-dialout-1-trunk,40,SIP/5626560000-cactus,,3) ; Numeracion Internacional por Discado Multiportador Contratado

exten => _${DIALOUT}656400X,1,Macro(tl-dialout-1-trunk,40,SIP/entretenants,562,1,) ; RUTA ENTRETENANT

exten => _${DIALOUT}65640XX,1,Macro(tl-dialout-1-trunk,40,SIP/entretenants,562,1,) ; Ruta entretenant

exten => _${DIALOUT}0998740324,1,Macro(tl-dialout-1-trunk,40,SIP/5626560000-cactus,562000,2,) ; Celular Jaime Cruz

exten => _${DIALOUT}6560[6-7]XX,1,Macro(tl-dialout-1-trunk,40,SIP/5626560000-cactus,562,1) ; llamadas entre Tenants (5)

exten => _${DIALOUT}[2-9]XXXXXX,1,Macro(tl-dialout-1-trunk,40,SIP/5626560700,562,1) ; Numeracion Local Santiago

Submitted by eeman on Fri, 03/20/2009 Permalink

everything you've created is under unrestricted. so theres nothing to restrict if you understand what Im saying.

Submitted by dbenders on Wed, 04/01/2009 Permalink

Hi Erik,

We still don't have this solved. Can you give us paid support?

Please send me your personal information (Phone and e-mail) to my e-mail (dbenders at netline dot cl) so we can talk directly.

We need to solve this quick because we have some customers that will leave if we dont fix that.