Hi All, In theory if I do this; exten => s,1,Zapateller(nocallerid) exten => s,2,Privacymanager exten => s,3,Dial(a bunch of SIP extensions) My callers should only hear the anti-telemarketing tones if they call from a line that has no caller*ID and then get offered an opportunity to enter it, right? What I'm finding is that in the event of no CID the caller gets dumped into the Privacymanager which then passes the call onto the next step regardless of their input of details. At no time do I hear the tones. I tried, exten => s,1,Zapateller(answer|nocallerid) exten => s,2,Privacymanager exten => s,3,Dial(a bunch of SIP extensions) But then every call was answered regardless of CID and the tones were heard. Any ideas? G7LTT/KC2ENI Mark Phillips
If I remember correctly (and I could be wrong) I think you have to answer the line first... exten => s,1,Answer exten => s,2,Zapateller(nocallerid) exten => s,3,Privacymanager exten => s,4,Dial(a bunch of SIP extensions)> -----Original Message----- > From: Mark Phillips [mailto:kc2eni@nyc-ares.org] > Sent: Monday, April 12, 2004 2:47 PM > To: asterisk-users@lists.digium.com > Subject: [Asterisk-Users] Zapateller issues > > > Hi All, > > In theory if I do this; > > exten => s,1,Zapateller(nocallerid) > exten => s,2,Privacymanager > exten => s,3,Dial(a bunch of SIP extensions) > > My callers should only hear the anti-telemarketing tones if > they call from a line that has no caller*ID and then get > offered an opportunity to enter it, right? > > What I'm finding is that in the event of no CID the caller > gets dumped into the Privacymanager which then passes the > call onto the next step regardless of their input of > details. At no time do I hear the tones. > > I tried, > > exten => s,1,Zapateller(answer|nocallerid) > exten => s,2,Privacymanager > exten => s,3,Dial(a bunch of SIP extensions) > > But then every call was answered regardless of CID and the > tones were heard. > > Any ideas? > > > > > G7LTT/KC2ENI > Mark Phillips > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/aster> isk-users > To > UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users
On Mon, 12 Apr 2004, Mark Phillips wrote:> I tried, > > exten => s,1,Zapateller(answer|nocallerid) > exten => s,2,Privacymanager > exten => s,3,Dial(a bunch of SIP extensions) > > But then every call was answered regardless of CID and the tones were heard.I tried the sample I found at: http://www.loligo.com/asterisk/current/extensions.conf and it worked well. Look for the "inbound-analog" context.
Yeah, tried this. Seems that the Zapateller code is not written correctly. The problem is that if one does this exten => s,1,Zapateller(answer|nocallerid) Then the call is answered by Zapateller regardless of the callerID state. The tones are played if there is no caller id. The problem with this is that the call gets answered regardless of state and so the caller gets charged. If my dial plan forwards the call to my phone and the caller wants to hangup before I get to it he has to pay anyway. This is expensive especiall if calling from abroad. When the Zapateller has answered there is no longer any ringing heard whilst the calling party is waiting for a SIP extension to pick up either. I can see some advantages of having the above situation howevever. eg, one could answer the call and then dump the caller onto hold whilst the extensions are rung. If I do this exten => s,1,Zapateller(nocallerid) The call gets answered when there is no callerid info but DOES NOT play the tones which is kinda useless. I have also noticed that when the tones are played they are often trunkated; the beginning gets cut off. Could a few seconds pause be written in so that the connection has a chance to sort itself out before the tones play?> On Mon, 12 Apr 2004, Mark Phillips wrote: >> I tried, >> >> exten => s,1,Zapateller(answer|nocallerid) >> exten => s,2,Privacymanager >> exten => s,3,Dial(a bunch of SIP extensions) >> >> But then every call was answered regardless of CID and the tones were >> heard. > > I tried the sample I found at: > http://www.loligo.com/asterisk/current/extensions.conf > and it worked well. Look for the "inbound-analog" context. > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@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 >G7LTT/KC2ENI Mark Phillips