Re: [Asterisk-Users] A2billing warnings with new Asterisk 1.2

2005-11-19 Thread John Fraser
Om the subject of A2Billing, the only problem I have is caller ID.  
1. I need to add the same caller id to more than 1 card.
2.  It dosnt send out the assigned caller id.

When i make a call through my * box without using CC, caller ID works fine.

 Any suggestions?

 thanks
 john

On Sat, 19 Nov 2005 11:19:29 +0400, Vahan Yerkanian wrote
 Rafael R. GV wrote:
  Hi
  I have this 3 warnings running a2billling with asterisk new version:
  
a2billing.php|2:
  -- AGI Script Executing Application: (SetLanguage) Options: (en)
  Nov 18 12:06:19 WARNING[17440]: pbx.c:5435 pbx_builtin_setlanguage: 
  SetLanguage is deprecated, please use Set(LANGUAGE()=language) instead.
a2billing.php|2: UPDATE cc_card SET inuse=inuse+1 WHERE 
username='7938971'
 
 This will change in the coming versions, I hope.
 
  Nov 18 12:06:29 WARNING[17440]: file.c:583 ast_readaudio_callback: 
  Failed to write frame
  -- Playing 'prepaid-enter-dest' (language 'en')
a2billing.php|2: RES DTMF : -1
a2billing.php|2: DESTINATION :: -1
a2billing.php|2: APPLY_RULES DESTINATION :: -1
  
  Nov 18 12:06:29 WARNING[17440]: file.c:583 ast_readaudio_callback: 
  Failed to write frame
== Spawn extension (default, 19546387993, 2) exited non-zero on 
  'SIP/46836-08e03d40'
  
  The last two warnings appears every time I hungup and I this 
  non-standard stop of the application causes that the card remains in 
  'in-use'  0 status.
  
   rafael
 
 These two indicate that one leg of call is non-existent (you hangup)
 . The issue with 'in-use' goes away if you add PCNTL module to your 
 php cli version.
 
 HTH,
 Vahan
 
 ___
 --Bandwidth and Colocation sponsored by Easynews.com --
 
 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

___
--Bandwidth and Colocation sponsored by Easynews.com --

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


Re: [Asterisk-Users] A2billing warnings with new Asterisk 1.2

2005-11-19 Thread Soner Tari
I'm interested in your first problem too. If you were able to add the same 
CallerID to, say, 2 calling cards, which one is supposed to be selected 
after CallerID is acquired? Since this is not defined, the easiest solution 
is that it should not be allowed in db, hence A2Billing complains Duplicate 
key for the second attempt. Is there any other way? Perhaps Areski can 
answer this question.


Soner

- Original Message - 
From: John Fraser [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@lists.digium.com

Sent: Saturday, November 19, 2005 1:21 PM
Subject: Re: [Asterisk-Users] A2billing warnings with new Asterisk 1.2



Om the subject of A2Billing, the only problem I have is caller ID.
1. I need to add the same caller id to more than 1 card.
2.  It dosnt send out the assigned caller id.

When i make a call through my * box without using CC, caller ID works 
fine.


Any suggestions?

thanks
john

On Sat, 19 Nov 2005 11:19:29 +0400, Vahan Yerkanian wrote

Rafael R. GV wrote:
 Hi
 I have this 3 warnings running a2billling with asterisk new version:

   a2billing.php|2:
 -- AGI Script Executing Application: (SetLanguage) Options: (en)
 Nov 18 12:06:19 WARNING[17440]: pbx.c:5435 pbx_builtin_setlanguage:
 SetLanguage is deprecated, please use Set(LANGUAGE()=language) instead.
   a2billing.php|2: UPDATE cc_card SET inuse=inuse+1 WHERE

username='7938971'


This will change in the coming versions, I hope.

 Nov 18 12:06:29 WARNING[17440]: file.c:583 ast_readaudio_callback:
 Failed to write frame
 -- Playing 'prepaid-enter-dest' (language 'en')
   a2billing.php|2: RES DTMF : -1
   a2billing.php|2: DESTINATION :: -1
   a2billing.php|2: APPLY_RULES DESTINATION :: -1

 Nov 18 12:06:29 WARNING[17440]: file.c:583 ast_readaudio_callback:
 Failed to write frame
   == Spawn extension (default, 19546387993, 2) exited non-zero on
 'SIP/46836-08e03d40'

 The last two warnings appears every time I hungup and I this
 non-standard stop of the application causes that the card remains in
 'in-use'  0 status.
 
  rafael

These two indicate that one leg of call is non-existent (you hangup)
. The issue with 'in-use' goes away if you add PCNTL module to your
php cli version.

HTH,
Vahan

___
--Bandwidth and Colocation sponsored by Easynews.com --

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


___
--Bandwidth and Colocation sponsored by Easynews.com --

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 


___
--Bandwidth and Colocation sponsored by Easynews.com --

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


Re: [Asterisk-Users] A2billing warnings with new Asterisk 1.2

2005-11-19 Thread Rafael R. GV
yes! it works very well now, I used this to re-compile php with pcntl:

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
--with-mysql-sock=/tmp --with-pgsql=/usr/local/pgsql/ --with-zlib
--with-gd --enable-pcntl

thank you again Vahan

rafael
On 11/19/05, Vahan Yerkanian [EMAIL PROTECTED] wrote:
Rafael R. GV wrote: Hi I have this 3 warnings running a2billling with asterisk new version: a2billing.php|2: -- AGI Script Executing Application: (SetLanguage) Options: (en)
 Nov 18 12:06:19 WARNING[17440]: pbx.c:5435 pbx_builtin_setlanguage: SetLanguage is deprecated, please use Set(LANGUAGE()=language) instead. a2billing.php|2: UPDATE cc_card SET inuse=inuse+1 WHERE username='7938971'
This will change in the coming versions, I hope. Nov 18 12:06:29 WARNING[17440]: file.c:583 ast_readaudio_callback: Failed to write frame -- Playing 'prepaid-enter-dest' (language 'en')
 a2billing.php|2: RES DTMF : -1 a2billing.php|2: DESTINATION :: -1 a2billing.php|2: APPLY_RULES DESTINATION :: -1 Nov 18 12:06:29 WARNING[17440]: file.c:583 ast_readaudio_callback:
 Failed to write frame == Spawn extension (default, 19546387993, 2) exited non-zero on 'SIP/46836-08e03d40' The last two warnings appears every time I hungup and I this non-standard stop of the application causes that the card remains in
 'in-use'  0 status.   rafaelThese two indicate that one leg of call is non-existent (you hangup).The issue with 'in-use' goes away if you add PCNTL module to your phpcli version.
HTH,Vahan-- rrgv
___
--Bandwidth and Colocation sponsored by Easynews.com --

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

[Asterisk-Users] A2billing warnings with new Asterisk 1.2

2005-11-18 Thread Rafael R. GV
Hi
I have this 3 warnings running a2billling with asterisk new version:

 a2billing.php|2: 
 -- AGI Script Executing Application: (SetLanguage) Options: (en)
Nov 18 12:06:19 WARNING[17440]: pbx.c:5435 pbx_builtin_setlanguage:
SetLanguage is deprecated, please use Set(LANGUAGE()=language) instead.
 a2billing.php|2: UPDATE cc_card SET inuse=inuse+1 WHERE username='7938971'


Nov 18 12:06:29 WARNING[17440]: file.c:583 ast_readaudio_callback: Failed to write frame
 -- Playing 'prepaid-enter-dest' (language 'en')
 a2billing.php|2: RES DTMF : -1
 a2billing.php|2: DESTINATION :: -1
 a2billing.php|2: APPLY_RULES DESTINATION :: -1

Nov 18 12:06:29 WARNING[17440]: file.c:583 ast_readaudio_callback: Failed to write frame
 == Spawn extension (default, 19546387993, 2) exited non-zero on 'SIP/46836-08e03d40'
The last two warnings appears every time I hungup and I this
non-standard stop of the application causes that the card remains in
'in-use'  0 status.

rafael



___
--Bandwidth and Colocation sponsored by Easynews.com --

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

Re: [Asterisk-Users] A2billing warnings with new Asterisk 1.2

2005-11-18 Thread Vahan Yerkanian

Rafael R. GV wrote:

Hi
I have this 3 warnings running a2billling with asterisk new version:

  a2billing.php|2:
-- AGI Script Executing Application: (SetLanguage) Options: (en)
Nov 18 12:06:19 WARNING[17440]: pbx.c:5435 pbx_builtin_setlanguage: 
SetLanguage is deprecated, please use Set(LANGUAGE()=language) instead.

  a2billing.php|2: UPDATE cc_card SET inuse=inuse+1 WHERE username='7938971'


This will change in the coming versions, I hope.

Nov 18 12:06:29 WARNING[17440]: file.c:583 ast_readaudio_callback: 
Failed to write frame

-- Playing 'prepaid-enter-dest' (language 'en')
  a2billing.php|2: RES DTMF : -1
  a2billing.php|2: DESTINATION :: -1
  a2billing.php|2: APPLY_RULES DESTINATION :: -1

Nov 18 12:06:29 WARNING[17440]: file.c:583 ast_readaudio_callback: 
Failed to write frame
  == Spawn extension (default, 19546387993, 2) exited non-zero on 
'SIP/46836-08e03d40'


The last two warnings appears every time I hungup and I this 
non-standard stop of the application causes that the card remains in 
'in-use'  0 status.


 rafael

These two indicate that one leg of call is non-existent (you hangup). 
The issue with 'in-use' goes away if you add PCNTL module to your php 
cli version.


HTH,
Vahan

___
--Bandwidth and Colocation sponsored by Easynews.com --

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