Pss eso, alguien sabe como puedo comunicar los clientes creados en A2Billing puedan llamar a las Extensiones de Elastix ?
Llamadas entre Elastix y A2Billing
Colapsar
Anuncio
Colapsar
No hay anuncio todavía.
X
-
Si. Desde el contexto de llamadas del A2Billing incluyes al contexto que contiene las extensiones de Elastix (ext-local).dCAP Christian Cabrera R.
Para aprender a usar Asterisk, asiste a uno de mis cursos Asterisk
Si deseas asesoría pagada, por favor contáctame
-
Hola, gracias por tu respuesta Christian, mira, el contexto que usa Elastix es "from-internal" y el que usa a2billing se llama "a2billing", el contexto de a2billing se encuentra en extensions_custom.conf, y esta estructurado de este modo
Código:[a2billing] exten => _X.,1,Answer exten => _X.,n,Wait(1) exten => _X.,n,DeadAGI(a2billing.php,1) exten => _X.,n,Hangup
Código:[a2billing] exten => _X.,1,Answer exten => _X.,n,Wait(1) exten => _X.,n,DeadAGI(a2billing.php,1) exten => _X.,n,Hangup include => from-internal
Esto es lo que me sale:
Código:== Using SIP RTP TOS bits 184 == Using SIP RTP CoS mark 5 -- Executing [123@a2billing:1] Answer("SIP/2497945100-00000042", "") in new stack -- Executing [123@a2billing:2] Wait("SIP/2497945100-00000042", "1") in new stack -- Executing [123@a2billing:3] DeadAGI("SIP/2497945100-00000042", "a2billing.php,1") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php a2billing.php,1: file:a2billing.php - line:106 - uniqueid: - IDCONFIG : 1 a2billing.php,1: file:a2billing.php - line:107 - uniqueid: - MODE : standard a2billing.php,1: file:Class.A2Billing.php - line:718 - uniqueid:1378171741.66 - get_agi_request_parameter = 2497945100 ; SIP/2497945100-00000042 ; 1378171741.66 ; 2497945100 ; 123 a2billing.php,1: file:a2billing.php - line:166 - uniqueid:1378171741.66 - [NO ANSWER CALL] a2billing.php,1: file:a2billing.php - line:193 - uniqueid:1378171741.66 - [CHANNEL STATUS : 6 = Line is up] a2billing.php,1: [CREDIT : 9.95400][CREDIT MIN_CREDIT_2CALL : 0.9] a2billing.php,1: file:a2billing.php - line:396 - uniqueid:1378171741.66 - TARIFF ID -> 1 a2billing.php,1: file:Class.A2Billing.php - line:881 - uniqueid:1378171741.66 - [CALL 2 DID] a2billing.php,1: file:Class.A2Billing.php - line:896 - uniqueid:1378171741.66 - DESTINATION ::> 123 a2billing.php,1: file:Class.RateEngine.php - line:1245 - uniqueid:1378171741.66 - app_callingcard: Dialing 'SIP/Telecom/123,60,rL(51900000:61000:30000)' with timeout of '51900'. a2billing.php,1: -- AGI Script Executing Application: (DIAL) Options: (SIP/Telecom/123,60,rL(51900000:61000:30000)) == Using SIP RTP TOS bits 184 == Using SIP RTP CoS mark 5 -- Called SIP/Telecom/123 -- SIP/Telecom-00000043 answered SIP/2497945100-00000042 -- Locally bridging SIP/2497945100-00000042 and SIP/Telecom-00000043 -- Executing [h@a2billing:1] Hangup("SIP/2497945100-00000042", "") in new stack == Spawn extension (a2billing, h, 1) exited non-zero on 'SIP/2497945100-00000042' a2billing.php,1: file:Class.RateEngine.php - line:1274 - uniqueid:1378171741.66 - DIAL SIP/Telecom/123,60,rL(51900000:61000:30000) a2billing.php,1: file:Class.RateEngine.php - line:959 - uniqueid:1378171741.66 - :[sessiontime:35 - id_cc_package_offer:-1 - package2apply:] a2billing.php,1: a2billing.php,1: a2billing.php,1: file:Class.RateEngine.php - line:1107 - uniqueid:1378171741.66 - [CC_asterisk_stop : SQL: DONE : result=1] -- <SIP/2497945100-00000042>AGI Script a2billing.php completed, returning 4 == Spawn extension (a2billing, 123, 3) exited non-zero on 'SIP/2497945100-00000042'
Editado por última vez por milocheri; https://asteriskmx.org/foros/member/1420-milocheri en 09-02-2013, 08:30 PM.
Comentario
Nube de Etiquetas
Colapsar
Principales Usuarios Activos
Colapsar
No hay usuarios activos superiores.
Comentario