Re: [asterisk-users] callback without agi

2006-09-15 Thread Kai Ober




exten => 333,n,Authenticate(1234)
.
.
exten => 333,n+101,NoOp(Is this ok??)


Or i have to explicitly enumerate the priority? ... i'm searching for 
doc about this.
as far as i know Auth( ) does not jump to n+101 if you dont use 
Auth..(123,j)


enumrations are easier if you use somthing like  Goto(s,4) , with n you 
dont know where you wanna go.


regards
KAi

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] callback without agi

2006-09-14 Thread Pato Valarezo

Jean-Michel Hiver wrote:

Patricio Valarezo a écrit :

Hi, it's possible to implement a callback without agi?, i'm trying 
this but * exits without dialing (if I hungup during s,3 wait) but if 
it hungs in s,4 it dials, so is there an explanation to this behavior? 
there is an alternative to do it? just for learning



Sorry to ask, but what's wrong with AGI?

Cheers,
Jean-Michel.


Thanks for the answers, I just thougt than using AGI is like killing 
flyes with a cannon ;-), i've implemented a new approach with AGI 
anyway, i'm in a deeplearning process.


I've another question: when you enumerate the extensions priority  with 
'n' what's the better aproach to handle the n+101 extensions?


ie:

exten => 333,n,Authenticate(1234)
.
.
exten => 333,n+101,NoOp(Is this ok??)


Or i have to explicitly enumerate the priority? ... i'm searching for 
doc about this.


thanks a lot


--
patoVala
Linux User#280504
Hablando en http://www.elprimoalcahuete.com
"El que a todos saluda, pronto rompe su cabeza. "
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] callback without agi

2006-09-14 Thread Jean-Michel Hiver

Patricio Valarezo a écrit :

Hi, it's possible to implement a callback without agi?, i'm trying 
this but * exits without dialing (if I hungup during s,3 wait) but if 
it hungs in s,4 it dials, so is there an explanation to this behavior? 
there is an alternative to do it? just for learning


Sorry to ask, but what's wrong with AGI?

Cheers,
Jean-Michel.
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] callback without agi

2006-09-13 Thread Eric \"ManxPower\" Wieling

You can't dial from exten => h

You could use an AGI with a .call file, or you could create the .call 
file from inside the Asterisk dialplan.  Heck, you could do it with 
System() commands.  See sample.call in the asterisk source directory. as 
well as docs/ in the asterisk source directory.


Patricio Valarezo wrote:
Hi, it's possible to implement a callback without agi?, i'm trying this 
but * exits without dialing (if I hungup during s,3 wait) but if it 
hungs in s,4 it dials, so is there an explanation to this behavior? 
there is an alternative to do it? just for learning


thanks for your answers

[followme]
exten => s,1,NoOp(Followme me sigue)
exten => s,2,NoOp(El CID es ${CALLERID(num)})
exten => s,3,Wait(4)
exten => s,4,Hangup()

; al cortar debera iniciar la secuencia
exten => h,1,NoOp("${CALLERID(num)} ha cortado")
exten => h,n,NoOp(channel es ${CHANNEL})
exten => h,n,Wait(10)
exten => h,n,NoOp("aqui podriamos marcar")
exten => h,n,Dial(${CANAL}/${CALLERID(num)})
exten => s,n,Hangup()


PV.
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users



___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] callback without agi

2006-09-13 Thread Patricio Valarezo
Hi, it's possible to implement a callback without agi?, i'm trying this 
but * exits without dialing (if I hungup during s,3 wait) but if it 
hungs in s,4 it dials, so is there an explanation to this behavior? 
there is an alternative to do it? just for learning


thanks for your answers

[followme]
exten => s,1,NoOp(Followme me sigue)
exten => s,2,NoOp(El CID es ${CALLERID(num)})
exten => s,3,Wait(4)
exten => s,4,Hangup()

; al cortar debera iniciar la secuencia
exten => h,1,NoOp("${CALLERID(num)} ha cortado")
exten => h,n,NoOp(channel es ${CHANNEL})
exten => h,n,Wait(10)
exten => h,n,NoOp("aqui podriamos marcar")
exten => h,n,Dial(${CANAL}/${CALLERID(num)})
exten => s,n,Hangup()


PV.
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users