Hi All, Maybe someone knows this, im using dahdi in combination with a TDM400, where 2 analog PSTN lines are connected. The weird thing is tho that when someone calls the analog lines it goes perfectly fine, the line comes in and all works ok. Except: Sometimes the callerid from the caller is not the complete number, but only a few random numbers from that phonenumber, and sometimes its complete. My personal guess its something with the timing or so, but no clue exactly where to look on that part. The versions im using: Asterisk 1.6.1.12 Dahdi 2.2.0.2 \-- Echo Cancelling engine: MG2 Maybe someone has an idea, i really dont atm. Its btw a dutch phoneline. Regards, Evert
evert at disruptor.nl wrote:> Except: > Sometimes the callerid from the caller is not the complete number, but >Just a guess, try an Answer(1) Doug
On Mon, 18 Jan 2010, evert at disruptor.nl wrote:> Hi All, > > Maybe someone knows this, im using dahdi in combination with a TDM400, > where 2 analog PSTN lines are connected. > The weird thing is tho that when someone calls the analog lines it goes > perfectly fine, the line comes in and all works ok. > Except: > Sometimes the callerid from the caller is not the complete number, but > only a few random numbers from that phonenumber, and sometimes its > complete. > My personal guess its something with the timing or so, but no clue exactly > where to look on that part. > > The versions im using: > > Asterisk 1.6.1.12 > Dahdi 2.2.0.2 > \-- Echo Cancelling engine: MG2 > > Maybe someone has an idea, i really dont atm. > Its btw a dutch phoneline.Dutch caller ID - it's weird. Seems to be transmitted in DTMF before the line rings, so answering it isn't going to help at all, and by the time you get the ring, it's too late anyway. I can't find anything definitive (and am not going to look more), but searching found this: http://www.ainslie.org.uk/callerid/cli_faq.htm which led to this - which is for the Danish system, but it suggests it's not too different from the Dutch system. http://www.blichfeldt.dk/faq/clip.htm "The Danish implementation of CLIP uses simple DTMF-signalling, transmitting the A-subscriber number (from the exchange) to the B-subscriber, just before ringing." I'd start by looking at the configs and making sure you have the correct settings in the configs to make sure the line impedances, etc. are set right for you. E.G. in the UK, I want to see that my FXS device is using UK signalling and the way I do it is by putting options wctdm opermode=UK in a file in /etc/modprobe.d and setting the right values in /etc/dahdi/system.conf: loadzone=uk defaultzone=uk Work out what's right for .nl and it'll be a good start. Gordon
At 09:13 AM 1/18/2010, you wrote:>Maybe someone knows this, im using dahdi in combination with a TDM400, >where 2 analog PSTN lines are connected. >The weird thing is tho that when someone calls the analog lines it goes >perfectly fine, the line comes in and all works ok. >Except: >Sometimes the callerid from the caller is not the complete number, but >only a few random numbers from that phonenumber, and sometimes its >complete.Add a WAIT(1) as the first line of the incoming context and see if that helps. Ira
Ira wrote:> At 09:13 AM 1/18/2010, you wrote: > > Add a WAIT(1) as the first line of the incoming context and see if > that helps. >Answer(1) is the same as WAIT(1) Doug
Not necessarily unless WAIT(1) does an Answer if not already done. According to CLI Show application answer, answer will pick up the line on the first instance, and just wait on subsequent ones. Wait only waits... -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Doug Lytle Sent: Monday, January 18, 2010 1:42 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Dahdi/callerid issue Ira wrote:> At 09:13 AM 1/18/2010, you wrote: > > Add a WAIT(1) as the first line of the incoming context and see if > that helps. >Answer(1) is the same as WAIT(1) Doug -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Hey Ira, It seems after a several testing, that the wait(1) seems to solve the issue. Only now weirdly enough the phone keeps ringing if the caller hangs up before i picked up the phone (pstn call) Regards, Evert> > Add a WAIT(1) as the first line of the incoming context and see if that > helps. > > Ira > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Hey Doug, According to the commands its: Answer(ms) Wait(s) So it seems not the same. Regards, Evert> Ira wrote: >> At 09:13 AM 1/18/2010, you wrote: >> >> Add a WAIT(1) as the first line of the incoming context and see if >> that helps. >> > > Answer(1) is the same as WAIT(1) > > Doug > > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
evert at disruptor.nl wrote:> Hey Doug, > > According to the commands its: > > Answer(ms) > Wait(s) > > So it seems not the same. >I should have been more specific. They both will wait 1 second. Doug
On Mon, 18 Jan 2010, Doug Lytle wrote:> Ira wrote: >> At 09:13 AM 1/18/2010, you wrote: >> >> Add a WAIT(1) as the first line of the incoming context and see if >> that helps. >> > > Answer(1) is the same as WAIT(1)Not in my book... Answer will answer a call, then optionally wait. Wait will simply wait for the time without answering the call. Looks like the OP has solved the issue anyway - maybe those Dutch need the wait before answering to make sure the caller Id gets read in... Phone lines make out of liquorice or something ;-) Gordon
On Mon, 18 Jan 2010, Gordon Henderson wrote:> Phone lines make out of liquorice or something ;-)Been hitting the sake early today? -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000