Re: [asterisk-users] Priority + 101 exit

2007-01-11 Thread Anton Frolov
AFAIK, these priorities are the extensions.conf stuff. You don't have them in AGI. Just analyze the return value and do what you want. AF. Yuan LIU wrote: Many built-in applications jump to current priority + 101 upon unfavourable output. Does this apply to macros and AGI's also?

Re: [asterisk-users] Get dialed numbers in AGI

2007-01-10 Thread Anton Frolov
you could use one of the AGI libraries... then you can just call a function to get the number. AF. Ralph Liebessohn wrote: Hi, I'm trying to write a AGI in PHP to get the numbers dialed (with read()), save it into a variable to insert it into a SQL server database. But I cannot see

Re: [asterisk-users] Asterisk build for Suse 10.1

2007-01-10 Thread Anton Frolov
he is probably tried to install one of these All in one Asterisk CDs, that effectively formats the hard drive and installs everything from scratch, including the OS ;) And, yes, it will happen again, if he re-runs this CD... AF. Doug Crompton wrote: Formated your hardisk... wow that is

Re: [asterisk-users] Asterisk build for Suse 10.1

2007-01-10 Thread Anton Frolov
There is certainly an rpm. Not sure about 1.4, but at least for 1.2. AF. Robert A. Rawlinson wrote: Yes you are correct. I do NOT plan to use it again. I have downloaded the latest version and plan to do an install. I was hoping there might be an rpm for it but does not seem to be. Thanks

Re: [asterisk-users] Get dialed numbers in AGI

2007-01-10 Thread Anton Frolov
hi I never really programmed in PHP, I use Perl for my purposes. I found a good AGI library for Perl and is happy with it. It allows me to call functions instead of parsing the input. While looking for my library, I saw at least one for PHP. So why not to use it? In Perl it looks like: my

Re: [asterisk-users] Asterisk build for Suse 10.1

2007-01-10 Thread Anton Frolov
well, I'm not rpm user anymore for several years already... Isn't it http://www.rpmfind.com/ that is used to find the rpms? AF. Robert A. Rawlinson wrote: Could you point me to where it is located? I had tried Suse and sourceforge. Bob Rawlinson On Wed, 2007-01-10 at 20:18 +0100, Anton

Re: [asterisk-users] Asterisk build for Suse 10.1

2007-01-10 Thread Anton Frolov
had tried Suse and sourceforge. Bob Rawlinson On Wed, 2007-01-10 at 20:18 +0100, Anton Frolov wrote: There is certainly an rpm. Not sure about 1.4, but at least for 1.2. AF. Robert A. Rawlinson wrote: Yes you are correct. I do NOT plan to use it again. I have downloaded the latest

Re: [asterisk-users] Asterisk build for Suse 10.1

2007-01-10 Thread Anton Frolov
but some of the packages are labeled to be for SuSe 10.1 ... AF. Tzafrir Cohen wrote: On Wed, Jan 10, 2007 at 09:43:01PM +0100, Anton Frolov wrote: well, I'm not rpm user anymore for several years already... Isn't it http://www.rpmfind.com/ that is used to find the rpms? It's meant

[asterisk-users] Caller Id problem

2007-01-09 Thread Anton Frolov
Dear List, My problem is that the incoming Caller Id is not displayed on the local analog phones (connected to a TDM400 card). I receive the CID correctly from my telco, but when I place the call to the internal analog line, the CID is not propagated. An interesting point: when I try to place

Re: [asterisk-users] Caller Id problem

2007-01-09 Thread Anton Frolov
thanks, Jerry but I don't thinks it's a problem, since I correctly get the CID from external line (moreover, I do some lookup of the received number in my LDAP database and making some decisions based on it). So when I call the Dial function, the CID is present in asterisk for sure. AF. Jerry

Re: [asterisk-users] AGI Script with parameters

2006-11-28 Thread Anton Frolov
Olivier Saulnier wrote: Hello, I want to use AGI for give some information for a softphone, as: exten = 0470022762,2,AGI(/ruby/ring.rb 192.168.0.10 5010) We use Ruby langage. The line doesn't worksin as this, but works with shell command. Also, if i modify my ruby script for give in the

Re: [asterisk-users] AGI Script with parameters

2006-11-28 Thread Anton Frolov
Olivier Saulnier wrote: hello, I try: exten = 0470022762,2,agi,/ruby/ring.rb|192.168.0.10 5010 And it doesn't works again... best regards, Olivier S you should use a separator between the arguments as well. try exten = 0470022762,2,agi,/ruby/ring.rb|192.168.0.10|5010 AF.

Re: [asterisk-users] AGI and some informations

2006-11-28 Thread Anton Frolov
why don't you want to manage everything in Ruby? I would call the script with just the number called exten = 302,s,agi,script,${EXTEN} and then make all of the decisions based on the phone number inside of Ruby. When registering a softphone, you could store its IP in a database. Then your script

Re: [asterisk-users] AGI and some informations

2006-11-28 Thread Anton Frolov
it was not a real code, but just a schema. I can't write a more precise snippet of code, since I'm completely unaware of your configuration. But in any case, I would delegate all of the logic to your Ruby script and keep the minimum in the extensions.conf. AF. Olivier Saulnier wrote: Anton

Re: [asterisk-users] Caller ID issues

2006-11-27 Thread Anton Frolov
Bruce Reeves wrote: Nov 21 16:54:09 ERROR[6039] caller id.c: fsk_serie made mylen 0 (-9) Nov 21 16:54:09 WARNING[6039] chan_zap.c: CallerID feed failed: Success Nov 21 16:54:09 WARNING[6039] chan_zap.c: CallerID returned with error on channel 'Zap/1-1' I have exactly the same problem with

[asterisk-users] Caller Id not propagated to the analog line

2006-11-24 Thread Anton Frolov
Dear all, a newbie question... I have two external lines (PSTN SIP) and two internal lines. When receiving an incoming call, I correctly get the CID, but it's not propagated to the internal lines. My analog phones shows External call instead of the CID. My analog device is a TDM400P (2 FXO + 2

Re: [asterisk-users] Asterisk and TDM400P ?

2006-11-24 Thread Anton Frolov
Tzafrir Cohen wrote: And probably fxsks=3: I'm not sure whether or not KS is used in the French telco . signalling=fxs_ks works Ok in France with both: France Telecom and Freebox. AF. ___ --Bandwidth and Colocation provided by Easynews.com --

Re: [asterisk-users] Asterisk and TDM400P ?

2006-11-24 Thread Anton Frolov
Noc Phibee wrote: small question if you know the TDM400P: if the fxo module are at the slot 4, the RJ11 connector are the number 4 ? accordingly to the documentation I have, yes, it's the connector #4. btw, why don't you put your module to the first slot? In this case you would avoid this