CallerId in Asterisk
Hi all We use IAX2 protocol in our Asterisk 1.4 PhpAgi application. I wonder if anyone knows why my Outgoing CallerId dosn't work when i do: Set(CALLERID(name)=...) but the call goes with hidden number)? Is there any value i should put in the iax.conf to enable this? Thanks in advance. David -- בברכה, דוד רונקין ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: CallerId in Asterisk
On Thu, Jul 16, 2009 at 12:56:36PM +0300, David Ronkin wrote: Hi all We use IAX2 protocol in our Asterisk 1.4 PhpAgi application. I wonder if anyone knows why my Outgoing CallerId dosn't work when i do: Set(CALLERID(name)=...) Are you trying to set the name? number? both? Also note that the remote party may override your settings but the call goes with hidden number)? Is there any value i should put in the iax.conf to enable this? -- Tzafrir Cohen | tzaf...@jabber.org | VIM is http://tzafrir.org.il || a Mutt's tzaf...@cohens.org.il || best ICQ# 16849754 || friend ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: CallerId in Asterisk
Number Thanks! 2009/7/16 Tzafrir Cohen tzaf...@cohens.org.il On Thu, Jul 16, 2009 at 12:56:36PM +0300, David Ronkin wrote: Hi all We use IAX2 protocol in our Asterisk 1.4 PhpAgi application. I wonder if anyone knows why my Outgoing CallerId dosn't work when i do: Set(CALLERID(name)=...) Are you trying to set the name? number? both? Also note that the remote party may override your settings but the call goes with hidden number)? Is there any value i should put in the iax.conf to enable this? -- Tzafrir Cohen | tzaf...@jabber.org | VIM is http://tzafrir.org.il || a Mutt's tzaf...@cohens.org.il || best ICQ# 16849754 || friend ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- בברכה, דוד רונקין ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: CallerId in Asterisk
Un-top-posting, On Thu, Jul 16, 2009 at 01:47:53PM +0300, David Ronkin wrote: 2009/7/16 Tzafrir Cohen tzaf...@cohens.org.il On Thu, Jul 16, 2009 at 12:56:36PM +0300, David Ronkin wrote: Hi all We use IAX2 protocol in our Asterisk 1.4 PhpAgi application. I wonder if anyone knows why my Outgoing CallerId dosn't work when i do: Set(CALLERID(name)=...) Are you trying to set the name? number? both? Number So, have you tried: Set(CALLERID(num)=...) Or am I missing something obvious here? -- Tzafrir Cohen | tzaf...@jabber.org | VIM is http://tzafrir.org.il || a Mutt's tzaf...@cohens.org.il || best ICQ# 16849754 || friend ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Linux / Computer Books in Israel
2009/7/15 Shlomo Dubrowin dubrowin.l...@gmail.com: I live and work in the Jerusalem area. Generally, when I want Linux and/or other types of computer books (right now I'm learning Perl), I wait till we have family coming from the US and force them to bring the books to me here. I keep saying there must be a better way to get good books here in Israel. Is there a bookstore somewhere that already imports these kinds of books, or that can order them for me and deliver them to me via IL Post or where I can pick them up somewhere local in this part of the country? I have ordered books through a previous employer from Amazon.co.uk, but I remember it being much more expensive than getting them in the US. What are your experiences. Thank you. How about purchasing a Kindle and then ordering nothing but electronic books? I seems that in the long run it might turn out to be more beneficial then buying batches of printed books. Shlomo - Shlomo Dubrowin The Solution to the water crisis in Israel: # According to WikiPedia, the Kinneret can hold # 4 km^3, so FULL here is in cubit meters FULL=4000 while [ $LEVEL -lt $FULL ]; do cat /sea/med /sea/red |\ grep -vi salt |\ tee /sea/dead /lake/kinneret LEVEL=`du -c /sea/dead /lake/kinneret | grep total | awk '{print $1}'` done ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- Cheers, Maxim Veksler Free as in Freedom - Do u GNU ? ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: CallerId in Asterisk
Yep I tried both - probably your assumption is correct - the provider blocks it :(. Tnx again! David 2009/7/16 Tzafrir Cohen tzaf...@cohens.org.il Un-top-posting, On Thu, Jul 16, 2009 at 01:47:53PM +0300, David Ronkin wrote: 2009/7/16 Tzafrir Cohen tzaf...@cohens.org.il On Thu, Jul 16, 2009 at 12:56:36PM +0300, David Ronkin wrote: Hi all We use IAX2 protocol in our Asterisk 1.4 PhpAgi application. I wonder if anyone knows why my Outgoing CallerId dosn't work when i do: Set(CALLERID(name)=...) Are you trying to set the name? number? both? Number So, have you tried: Set(CALLERID(num)=...) Or am I missing something obvious here? -- Tzafrir Cohen | tzaf...@jabber.org | VIM is http://tzafrir.org.il || a Mutt's tzaf...@cohens.org.il || best ICQ# 16849754 || friend ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- בברכה, דוד רונקין ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: CallerId in Asterisk
In Israel, the providers forces your caller id to have only allowed numbers (and names), because the office of communication does not allow spoofing of such information. If you own the number block of the number you are trying to force, then please make sure that you do not have a caller id settings else where in Asterisk that forces the situation (like in iax.conf or something). Cheers, ido http://ik.homelinux.org/ 2009/7/16 David Ronkin dron...@gmail.com Yep I tried both - probably your assumption is correct - the provider blocks it :(. Tnx again! David 2009/7/16 Tzafrir Cohen tzaf...@cohens.org.il Un-top-posting, On Thu, Jul 16, 2009 at 01:47:53PM +0300, David Ronkin wrote: 2009/7/16 Tzafrir Cohen tzaf...@cohens.org.il On Thu, Jul 16, 2009 at 12:56:36PM +0300, David Ronkin wrote: Hi all We use IAX2 protocol in our Asterisk 1.4 PhpAgi application. I wonder if anyone knows why my Outgoing CallerId dosn't work when i do: Set(CALLERID(name)=...) Are you trying to set the name? number? both? Number So, have you tried: Set(CALLERID(num)=...) Or am I missing something obvious here? -- Tzafrir Cohen | tzaf...@jabber.org | VIM is http://tzafrir.org.il || a Mutt's tzaf...@cohens.org.il || best ICQ# 16849754 || friend ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- בברכה, דוד רונקין ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: CallerId in Asterisk
2009/7/16 ik ido...@gmail.com In Israel, the providers forces your caller id to have only allowed numbers (and names), because the office of communication does not allow spoofing of such information. If you own the number block of the number you are trying to force, then please make sure that you do not have a caller id settings else where in Asterisk that forces the situation (like in iax.conf or something). Cheers, ido http://ik.homelinux.org/ Also be sure, when sending to the PSTN, that you send the CallerID the way the provider expects it; Usually it's a fully-qualified number, minus the leading zero. For example Bituach Yashir would send 3555. This is correct, by default, for Bezeq, Cellcom Partner PRI. Don't know about others. -- Shimi ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: CallerId in Asterisk
Thanks it's very helpful! 2009/7/16 shimi linux...@shimi.net 2009/7/16 ik ido...@gmail.com In Israel, the providers forces your caller id to have only allowed numbers (and names), because the office of communication does not allow spoofing of such information. If you own the number block of the number you are trying to force, then please make sure that you do not have a caller id settings else where in Asterisk that forces the situation (like in iax.conf or something). Cheers, ido http://ik.homelinux.org/ Also be sure, when sending to the PSTN, that you send the CallerID the way the provider expects it; Usually it's a fully-qualified number, minus the leading zero. For example Bituach Yashir would send 3555. This is correct, by default, for Bezeq, Cellcom Partner PRI. Don't know about others. -- Shimi -- בברכה, דוד רונקין ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: CallerId in Asterisk
Have you tried it on a SIP trunk (Not Zap/DAHDI)? Mine works fine on my Vitelity SIP trunk to the USA, but doesn't work over Bezeq on the DAHDI lines-Bezeq overrides it. On 7/16/09 4:42 PM, David Ronkin dron...@gmail.com wrote: Thanks it's very helpful! 2009/7/16 shimi linux...@shimi.net 2009/7/16 ik ido...@gmail.com In Israel, the providers forces your caller id to have only allowed numbers (and names), because the office of communication does not allow spoofing of such information. If you own the number block of the number you are trying to force, then please make sure that you do not have a caller id settings else where in Asterisk that forces the situation (like in iax.conf or something). Cheers, ido http://ik.homelinux.org/ Also be sure, when sending to the PSTN, that you send the CallerID the way the provider expects it; Usually it's a fully-qualified number, minus the leading zero. For example Bituach Yashir would send 3555. This is correct, by default, for Bezeq, Cellcom Partner PRI. Don't know about others. -- Shimi ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
debian lenny sudden restart
Hi folks, today my main box running debian lenny made sudden restart. How can I investigate what was the reason? What log should I inspect? I use UPS so the reason might be more interesting that simple power failure. -- Shimon Panfil: Industrial Physics and Simulations http://industrialphys.com ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: debian lenny sudden restart
On Thu, 2009-07-16 at 18:21 +0300, Shimon Panfil wrote: Hi folks, today my main box running debian lenny made sudden restart. How can I investigate what was the reason? What log should I inspect? I use UPS so the reason might be more interesting that simple power failure. I have a problem, which may be related. Usually it is not restart, but the keyboard and mouse freeze in X-Window and I have to hit the Big Red Button. More rarely, the X-Window subsystem spontaneously restarts. My system is (uname -a): Linux c2 2.6.26-2-686 #1 SMP Sun Jun 21 04:57:38 UTC 2009 i686 GNU/Linux It is tainted by nvidia proprietary drivers. Usually the system gets stuck when I do something (such as opening a new page) with the browser (Iceweasel 3.0.6). Like Shimon, I would appreciate advice which log files to inspect. --- Omer -- Linux Mint is insecure by design as it won't accept contributions (bug reports) from Israelis who choose to defend themselves against suicide bombers: http://eclelef.blogspot.com/2009/05/palestine_03.html My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
CDDB Hebrew encoding
Shalom, fine folks. -- Short story: -- When ripping Hebrew CDs the data I get from CDDB (or freeCDDB, I can't tell), data encoded with Aleph as 0xC3A0, Bet as 0xC3A1 and so on. -- Longer story: -- I was able to convert it into proper utf8 [Aleph as (d7,90)] only via the pipeline: ... | iconv -f utf8 -t unicode | sed 's/\x0//g' | iconv -c -f iso88598 -t utf8 That is: C3 A0 == `iconv -f utf8 -t unicode` == 00 E0 E0 hex = 224 dec # iso88598 , but for each byte I get an extra 00. So the next part: `sed 's/\x0//g'` discard the 00 bytes. Then the: `iconv -f iso8895 -tutf8` is a trivial step but without the `-c` it complains about illegal characters. -- Some background: -- LANG=en_US.utf8 # but I had no success with any other LANG value. LC_* is undefined LANGUAGE=en_US:en KDE 4.2,4 Kubuntu 9.04 English interface (the Hebrew interface in KDE4 is currently broken) -- Questions: -- 1. Is there an encoding where Aleph is 0xC3A0, if so what is it? If not how did I end up with this it? 2. Is there a less ugly way to get to from Aleph=0xC3A0 to proper UTF8? 3. Is this a bug, or a stupidity from my end? Thanks you for your attention. __ Cheers, Chen. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: debian lenny sudden restart
Omer Zak w...@zak.co.il writes: On Thu, 2009-07-16 at 18:21 +0300, Shimon Panfil wrote: Hi folks, today my main box running debian lenny made sudden restart. How can I investigate what was the reason? What log should I inspect? I use UPS so the reason might be more interesting that simple power failure. snip Usually it is not restart, but the keyboard and mouse freeze in X-Window and I have to hit the Big Red Button. More rarely, the X-Window subsystem spontaneously restarts. snip Usually the system gets stuck when I do something (such as opening a new page) with the browser (Iceweasel 3.0.6). Like Shimon, I would appreciate advice which log files to inspect. In your case, maybe Xorg logs (/var/log/Xorg* or similar, I am not a debian user)? Shimon gives less clues, so I'd start to search for suspects in the syslog... -- Oleg Goldshmidt | p...@goldshmidt.org ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: debian lenny sudden restart
On Thursday 16 July 2009 11:21:58 am Shimon Panfil wrote: Hi folks, today my main box running debian lenny made sudden restart. How can I investigate what was the reason? What log should I inspect? I use UPS so the reason might be more interesting that simple power failure. Hi Shimon, You have a sparsely occurring intermittent -- as a matter of fact so far it's a single event. If the cause was software, it's possible you can find a clue in the logs. If I were in your shoes and there's no clue in the logs, I would just wait until the problem becomes frequent enough to be a bother. But if you want to address the problem right now, I'd suggest corrective maintenance: 1) Feel if the power supply is getting too hot, and replace it if so. 2) Vacuum out all the dust from the inside. 3) Pull off, lubricate (electronics lubricant) and reseat all cables. 4) If your motherboard batter is more than a year old, replace it. 5) Disable (open circuit) your reboot button, and replace your on/off button with a simple, non-lighted doorbell button. I learned #5 the hard way -- the reboot and power switches that come with the case can go intermittent, and not just intermittent open, but intermittently close without pushing. None of the preceding is diagnostic in nature, but given the rarity of the symptom, if the log files don't have something telling, the preceding are probably the best use of your time. HTH SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il