Re: [asterisk-users] Asterisk, Sent accountcode between 2 asterisk

2011-03-05 Thread BryantZ
On Mar 5, 2011, at 2:29 AM, Olivier CALVANO o.calv...@gmail.com wrote: Hi I have two Asterisk Server: The first server A, all phone are connected The Second server B only route call to a lot of SIP supplier the server A sent: ; Destination: Non connu dans le DialPlan - Apparaitra

Re: [asterisk-users] Help Asterisk / API / Perl

2011-03-05 Thread Захаров Антон
Hello! Try to use ${CHANNEL} instead of agi_type. It will be like this: $typ = $AGI-get_variable('CHANNEL'); @tmp_array=split(/\//, $typ); $typ = $tmp_array[0]; and $src=$AGI-get_variable('cdr(src)'); On 05.03.2011 10:25, Olivier CALVANO wrote: Hi i want use the API on my asterisk 1.6,

Re: [asterisk-users] Asterisk, Sent accountcode between 2 asterisk

2011-03-05 Thread BryantZ
On Mar 5, 2011, at 8:52 AM, brya...@zktech.com wrote: On Mar 5, 2011, at 2:29 AM, Olivier CALVANO o.calv...@gmail.com wrote: Hi I have two Asterisk Server: The first server A, all phone are connected The Second server B only route call to a lot of SIP supplier the server A

[asterisk-users] Prepaid Billing other than A2Billing

2011-03-05 Thread bilal ghayyad
Hi All; Any one advise for open source prepaid billing other than A2Billing that can work with Asterisk and it is rich by features (for large business)? Regards Bilal -- _ -- Bandwidth and Colocation Provided by

Re: [asterisk-users] Help Asterisk / API / Perl

2011-03-05 Thread Steve Edwards
On Sat, 5 Mar 2011, Olivier CALVANO wrote: i want use the API on my asterisk 1.6, but i have a small problems : $typ don't have SIP or IAX, same test without succes: $typ = $AGI-get_variable('type'); 'agi_type' is part of the AGI environment, not a channel variable. Read the documentation

Re: [asterisk-users] Asterisk, Sent accountcode between 2 asterisk

2011-03-05 Thread Steve Edwards
On Sat, 5 Mar 2011, brya...@zktech.com wrote: Send the account code as a custom header variable encode it on A and read it on B. You can send any variables you want using this method. I currently send about 10 variables on switch transfers. If you need an example ping me back and I will send

[asterisk-users] Configuration for Multiple PRI cards

2011-03-05 Thread Elliot Murdock
Hello All, How does one go about creating a dahdi configuration file for multiple PRI cards? Thanks, Elliot -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live

Re: [asterisk-users] Asterisk, Sent accountcode between 2 asterisk

2011-03-05 Thread Tilghman Lesher
On Sat, Mar 5, 2011 at 11:52 AM, Steve Edwards asterisk@sedwards.com wrote: On Sat, 5 Mar 2011, brya...@zktech.com wrote: Send the account code as a custom header variable encode it on A and read it on B. You can send any variables you want using this method. I currently send about 10

Re: [asterisk-users] Gosub and 'h' (again?)

2011-03-05 Thread Faisal Hanif
Well a solution for you to put original context name in variable and then use that variable in goto statement on h. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Andrew Thomas Sent: Friday, March 04, 2011

Re: [asterisk-users] GXW4004 - lines get stuck

2011-03-05 Thread Faisal Hanif
1-Check signaling type on gateway PSTN ports 2-Set RTP timeout in SIP trunk. From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Mike Sent: Friday, March 04, 2011 7:46 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion'

Re: [asterisk-users] Help Asterisk / API / Perl

2011-03-05 Thread Faisal Hanif
AstPP jbilling -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Steve Edwards Sent: Saturday, March 05, 2011 10:51 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users]

[asterisk-users] Early codec selection / negotiation

2011-03-05 Thread Francois Marier
Hi, This seems to be a fairly common question, but I have Googled for this quite a bit and looked at the Asterisk documentation/book and haven't been able to find an answer. My question is: Can I get my IP phone to select a different codec depending on the final destination of each call?

[asterisk-users] ignore this test

2011-03-05 Thread sean darcy
I can't seem to send anything. Let's see if this shows up. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs:

[asterisk-users] imsdroid on droidX to asterisk: No matching peer found

2011-03-05 Thread sean darcy
sip.conf: [imsdroid] type=friend ;;auth=md5 ;;defaultuser=imsdroid secret=mysecret host=dynamic context=cloud-out qualify=60 dtmfmode=auto insecure=port,invite callerid=IMSDroid client imsdroid disallow=all allow=ulaw I've tried with and without defaultuser and secret. sip show peer imsdroid:

Re: [asterisk-users] Prepaid Billing other than A2Billing

2011-03-05 Thread Pezhman Lali
I think a2billing is the best billing opensource system, but try astbill, new url http://astbss.org/ http://astbss.org/but if you want to setup a large system select enterprise system, these systems are useful for small and med networks. best On Sat, Mar 5, 2011 at 8:56 PM, bilal ghayyad

[asterisk-users] fail2ban + asterisk

2011-03-05 Thread Pezhman Lali
Dear this note is only for fresh administrators don't think about asterisk security. I found fail2ban very useful for anti asterisk hacking, so I want to share it with fresh admins. some hackers try your sip or iax2 ip with a lot of username/password, may be after 1 million try, one