Jonathan Solano
2007-Feb-23 16:23 UTC
[asterisk-users] H extension don't work with parked calls
Hi all, I'm having a problem, with the h extension. I have an application, when I call it check for the line requested and then direct the call to a predefined context. In this context I play a message (the message according to the line called) and then park the call. The dialplan does some other things, but my problem is that if I hung the phone the h extension don't run, this is my dial plan office] include => check_voicemail include => parking_lot include => record_msgs exten => fax,1,macro(RecibirFax) exten => h,1,DeadAGI(end_logger.agi) exten => s,1,answer() ;; pregunte por el caller id exten => s,2,GotoIf($[${CALLERID(num)}]?4:3) ;; si no lo tiene entonces que lo cambie por 'Numero Privado' exten => s,3,Set(CALLERID(all)="Numero Privado") exten => s,n,SET(ARG1='2') exten => s,n,AGI(logger.agi) exten => s,n,hangup() exten => ACC-4,1,playback(${SOUNDS}welcome-4) exten => ACC-4,n,park(704) exten => ACC-4,n,hangup But the h extension is never called? ideas? -- =Jonathan S. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070223/8e42f078/attachment-0001.htm
Rajeev Natarajan
2007-Feb-25 11:45 UTC
[asterisk-users] H extension don't work with parked calls
have you tried looking at the CLI to double check on the call flow? do make sure that you 'set verbose 10' or something like that. On 2/24/07, Jonathan Solano <jonsol@gmail.com> wrote:> > Hi all, I'm having a problem, with the h extension. > > I have an application, when I call it check for the line requested and > then direct the call to a predefined context. > In this context I play a message (the message according to the line > called) and then park the call. > The dialplan does some other things, but my problem is that if I hung the > phone the h extension don't run, this is my dial plan > > office] > include => check_voicemail > include => parking_lot > include => record_msgs > > exten => fax,1,macro(RecibirFax) > > exten => h,1,DeadAGI(end_logger.agi) > > exten => s,1,answer() > > ;; pregunte por el caller id > exten => s,2,GotoIf($[${CALLERID(num)}]?4:3) > > ;; si no lo tiene entonces que lo cambie por 'Numero Privado' > exten => s,3,Set(CALLERID(all)="Numero Privado") > exten => s,n,SET(ARG1='2') > exten => s,n,AGI(logger.agi) > exten => s,n,hangup() > > exten => ACC-4,1,playback(${SOUNDS}welcome-4) > exten => ACC-4,n,park(704) > exten => ACC-4,n,hangup > > > But the h extension is never called? > ideas? > > -- > > => Jonathan S. > _______________________________________________ > --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 > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070225/5f179f28/attachment-0001.htm