[Asterisk-Users] Disa - how it returns on user not dialing anynumbers ?

Robert Rozman rozman at fri.uni-lj.si
Sun Jun 5 16:50:25 MST 2005


----- Original Message ----- 
From: "C F" <shmaltz at gmail.com>
To: "Asterisk Users Mailing List - Non-Commercial Discussion" 
<asterisk-users at lists.digium.com>
Sent: Monday, June 06, 2005 1:27 AM
Subject: Re: [Asterisk-Users] Disa - how it returns on user not dialing 
anynumbers ?


Try the t extension (stands for timeout).



Hi, thanks for advice. But it seems that t extension doesn't get executed. I 
have it in context from where I call DISA and also in DISA context, but no 
go....

After dialing nothing and some time it just gets hungup, no t extension 
triggering .....

Any advice ?

Thanks in advance,

regards,

Rob.


I have :

exten => s,14,DigitTimeout(5)
exten => s,15,ResponseTimeout(20)
exten => s,16,DBget(temp=USER/${CALLERIDNUM})
exten => s,17,SetAccount(${temp})
exten => s,18,DISA(no-password|from-bri-user-disa)


exten => t,1,DBget(temp=DYNAMIC/${CALLERIDNUM})
exten => t,2,DBdel(DYNAMIC/${CALLERIDNUM})
exten => t,3,Dial(Local/${temp}@ext-local/n)

exten => t,102,Goto(from-pstn,s,1)   ;


[from-bri-user-disa]
include => outbound-allroutes-custom
include => outrt-001-Mednarodni
include => ext-local
include => outrt-003-zunanja

exten => s,1,NoOp(DISA: Waiting for BRI user to enter number)
exten => s,2,DigitTimeout(5) ; Vhodni
exten => s,3,ResponseTimeout(20) ;

exten => t,1,DBget(temp=DYNAMIC/${CALLERIDNUM})
exten => t,2,DBdel(DYNAMIC/${CALLERIDNUM})
exten => t,3,Dial(Local/${temp}@ext-local/n)

exten => t,102,Goto(from-pstn,s,1)   ;








On 6/5/05, Robert Rozman <rozman at fri.uni-lj.si> wrote:
> Hi,
>
> I'd like to use DISA properly for my case - I'd like to handle it right, 
> if
> user when in DISA doesn't dial any number - how does Asterisk return from
> DISA cmd ?
>
> I'd like to dial some default number if user doesn't dial anything or give
> him some message - but I don't know what gets executed after DISA if 
> nothing
> is dialed ....
>
> I'm reading this on wiki, but don't understand what following sentence
> means. Any help  ?
>
> "... If login is successful, the application parses the dialed number in
> the specified (or default) context, and returns 0 with the new extension
> context filled-in and the priority set to 1, so that the PBX may
> re-apply the routing tables to it and complete the call normally. ... "
>
>
> Thanks in advance,
>
> regards,
>
> Rob.
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users 




More information about the asterisk-users mailing list