Mas perdido que el barco del arroz XD

Discussion in 'Elastix 2.x' started by MikeOne, Mar 3, 2009.

  1. MikeOne

    Joined:
    Mar 3, 2009
    Messages:
    11
    Likes Received:
    0
    Hola a todos. Estoy entusiasmado con el tema voip y ayer se me ocurrió empezar a hacerme instalaciones del asterix y elastix.

    Como digo en el membrete ando muy perdido xD

    a ver si soy capaz de explicarme:

    Tengo creada una extension:

    Miguel <6000>
    Extension: 6000

    Tengo creada una ruta saliente:

    Con este patron de llamadas: 9|.
    Entiendo que debo usar el 9 para poder usar esta ruta saliente. Esta ruta tiene asignado un troncal.

    Tengo un troncal:
    En el troncal tengo configurado mi host, usuario, contraseña.

    Además de todo ésto tengo un X-lite como terminal SIP, se supone que si marco:

    9 Numero de telefono internacional . Ej: 900349xxxxxxxx

    ¿No deberia salir la llamada por el troncal de mi proveedor voip?

    Un saludo

    Y gracias de antemano
     
  2. ramoncio

    Joined:
    May 12, 2010
    Messages:
    1,663
    Likes Received:
    0
    La extensión 6000 tienes que configurarla en el x-lite y los datos del proveedor sip en la troncal.
    Leete Elastix without tears para empezar.
    Desde la consola de asterisk deberías poder ver con
    # sip show peers
    si la extensión y la trocal están correctamente registradas.
     
  3. MikeOne

    Joined:
    Mar 3, 2009
    Messages:
    11
    Likes Received:
    0
    Hola Ramoncio,

    Gracias por la ayuda, he estado leyendo el manual y algo he conseguido.

    Tengo 3 extensiones SIP, 2 de ellas conectadas con softphones y ya puedo llamarme de una a la otra.

    Lo que no me funciona es el Troncal, lo tengo puesto solo para salida con el host, user, password, type=peer , cuando voy a la freepbx y voy al system status, no me aparace el troncal como registrado.

    ¿Que habria que poner en los patrones de marcados de las rutas salientes y el unico troncal que tengo para que todas las llamadas salgan por ese troncal?

    Dejarlos en blanco?
     
  4. ramoncio

    Joined:
    May 12, 2010
    Messages:
    1,663
    Likes Received:
    0
    ¿Que proveedor tienes y como has configurado la troncal?
    Pon la configuracion del peer que has puesto en freePBX.
    ¿Has probado configurar la cuenta de tu proveedor de voip directamente en el x-lite y has podido sacar llamadas?
    Eso es lo primero que deberías intentar.
     
  5. MikeOne

    Joined:
    Mar 3, 2009
    Messages:
    11
    Likes Received:
    0
    Ramoncio, el tema es que tengo varias configuraciones ahora mismo funcionando con el asterix.

    La de Elastix me da error para actualizar los modulos del freepbx (no encuentra el servidor)

    En la otra version que tengo funcionando la freepbx es mas moderna y si me funciona el troncal con la misma informacion que le tengo puesto a la de elastix.

    Host=sip.justvoip.com
    Username=XXXX
    Secret=xxxx
    type=peer

    He puesto como patron de llamadas 0|. en la ruta saliente y sin patron en el troncal. Ahora ya no me rechaza la llamada rapidamente, intenta conectarse pero al rato me dice que el interlocutor esta ocupado. He comprobado y tengo el troncal registrado y la extension tambien.

    Creo que el hecho de que no me registre el troncal en el elastix es porque no me deja actualizar los modulos, porque en el asterixnow con freepbx 2.5.1.1 si me funciona con la misma informacion.
     
  6. ramoncio

    Joined:
    May 12, 2010
    Messages:
    1,663
    Likes Received:
    0
    Ojo.
    Justvoip sólo te permite registrar una cuenta desde cada ip. Sólo permiten una línea y una llamada simultáneas.
    Si apagas el otro ordenador con freepbx seguramente el trunk del elastix se registre.
     
  7. MikeOne

    Joined:
    Mar 3, 2009
    Messages:
    11
    Likes Received:
    0
    Bueno, tenia solo abierto elastix y no registraba, he abierto la asterixnow y si me registra, aunque creo que el problema debe ser lo de la actualizacion de paquetes.

    ¿Porque no se actualizará? hay algun bug conocido?

    En cualquier caso no se porque intenta hacer la llamada pero al final la rechaza, algo debo hacer mal. Seguiré probando xD
     
  8. ramoncio

    Joined:
    May 12, 2010
    Messages:
    1,663
    Likes Received:
    0
    Un consejo.
    Siempre que pidas ayuda pega los logs de la consola de asterisk durante la llamada con el debug activado y el verbose al máximo:

    sip set debug 99
    sip set verbose 99


    Así se puede ver lo que realmente pasa.
     
  9. ramoncio

    Joined:
    May 12, 2010
    Messages:
    1,663
    Likes Received:
    0
    Lo de la actualización de módulos supongo que será temporal. Inténtalo mañana otra vez a ver si funciona.
     
  10. MikeOne

    Joined:
    Mar 3, 2009
    Messages:
    11
    Likes Received:
    0
    Gracias de nuevo Ramoncio.

    Me recomiendas algun proveedor para usar con Elastix que sea economico a moviles españoles y admita varias llamadas simultaneas?
     
  11. ramoncio

    Joined:
    May 12, 2010
    Messages:
    1,663
    Likes Received:
    0
    Estoy buscando lo mismo.
    Hasta ahora usaba justvoip, pero ahora quiero poder llamar a 2 móviles a la vez.
    He probado con calleasy.com y ha sido un robo. Ni se te ocurra.
    En su tarifa pone 0,04
     
  12. MikeOne

    Joined:
    Mar 3, 2009
    Messages:
    11
    Likes Received:
    0
    Tenia esa de calleasy.com ya a la vista, pero lei un post tuyo esta tarde sobre el tema, vaya plan.

    Hay una que no tiene mala pinta es www.smartvoip.com a 0,05 sin impuestos y tambien es de Betamax, lo que no se si permitirá hacer varias llamadas simultaneas.

    Un saludo
     
  13. MikeOne

    Joined:
    Mar 3, 2009
    Messages:
    11
    Likes Received:
    0
    He vuelto a probar y me sigue dando linea ocupada. Supongo que algo estará mal configurado.

    Marco el 0 para coger el troncal de Justvoip y luego el numero en formato internacional.

    El log:

    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [00034600800109@from-internal:1] Macro("SIP/3000-086e5dd8", "user-callerid|SKIPTTL|") in new stack
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-user-callerid:1] Set("SIP/3000-086e5dd8", "AMPUSER=3000") in new stack
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: Set
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-user-callerid:2] GotoIf("SIP/3000-086e5dd8", "0?report") in new stack
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: GotoIf
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-user-callerid:3] ExecIf("SIP/3000-086e5dd8", "1|Set|REALCALLERIDNUM=3000") in new stack
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: ExecIf
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-user-callerid:4] Set("SIP/3000-086e5dd8", "AMPUSER=3000") in new stack
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: Set
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-user-callerid:5] Set("SIP/3000-086e5dd8", "AMPUSERCIDNAME=Administracion") in new stack
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: Set
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-user-callerid:6] GotoIf("SIP/3000-086e5dd8", "0?report") in new stack
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: GotoIf
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-user-callerid:7] Set("SIP/3000-086e5dd8", "AMPUSERCID=3000") in new stack
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: Set
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-user-callerid:8] Set("SIP/3000-086e5dd8", "CALLERID(all)="Administracion" <3000>") in new stack
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: Set
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-user-callerid:9] Set("SIP/3000-086e5dd8", "REALCALLERIDNUM=3000") in new stack
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: Set
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-user-callerid:10] ExecIf("SIP/3000-086e5dd8", "0|Set|CHANNEL(language)=") in new stack
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: ExecIf
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-user-callerid:11] GotoIf("SIP/3000-086e5dd8", "1?continue") in new stack
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Goto (macro-user-callerid,s,20)
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: GotoIf
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-user-callerid:20] NoOp("SIP/3000-086e5dd8", "Using CallerID "Administracion" <3000>") in new stack
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: Noop
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [00034600800109@from-internal:2] Set("SIP/3000-086e5dd8", "_NODEST=") in new stack
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [00034600800109@from-internal:3] Macro("SIP/3000-086e5dd8", "record-enable|3000|OUT|") in new stack
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-record-enable:1] GotoIf("SIP/3000-086e5dd8", "1?check") in new stack
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Goto (macro-record-enable,s,4)
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: GotoIf
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-record-enable:4] AGI("SIP/3000-086e5dd8", "recordingcheck|20090304-001346|1236122026.42") in new stack
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: recordingcheck|20090304-001346|1236122026.42: Outbound recording not enabled
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- AGI Script recordingcheck completed, returning 0
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: AGI
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-record-enable:5] MacroExit("SIP/3000-086e5dd8", "") in new stack
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [00034600800109@from-internal:4] Macro("SIP/3000-086e5dd8", "dialout-trunk|2|0034600800109||") in new stack
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-dialout-trunk:1] Set("SIP/3000-086e5dd8", "DIAL_TRUNK=2") in new stack
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: Set
    [Mar 4 00:13:46] DEBUG[4567] func_db.c: DB: AMPUSER/3000/pinless not found in database.
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/3000-086e5dd8", "0?sub-pincheck|s|1") in new stack
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: GosubIf
    [Mar 4 00:13:46] DEBUG[4567] func_db.c: DB: AMPUSER/3000/pinless not found in database.
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/3000-086e5dd8", "0?disabletrunk|1") in new stack
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: GotoIf
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-dialout-trunk:4] Set("SIP/3000-086e5dd8", "DIAL_NUMBER=0034600800109") in new stack
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: Set
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-dialout-trunk:5] Set("SIP/3000-086e5dd8", "DIAL_TRUNK_OPTIONS=tr") in new stack
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: Set
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-dialout-trunk:6] Set("SIP/3000-086e5dd8", "OUTBOUND_GROUP=OUT_2") in new stack
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: Set
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/3000-086e5dd8", "0?nomax") in new stack
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: GotoIf
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/3000-086e5dd8", "0?chanfull") in new stack
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: GotoIf
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/3000-086e5dd8", "0?skipoutcid") in new stack
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: GotoIf
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-dialout-trunk:10] Set("SIP/3000-086e5dd8", "DIAL_TRUNK_OPTIONS=") in new stack
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: Set
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-dialout-trunk:11] Macro("SIP/3000-086e5dd8", "outbound-callerid|2") in new stack
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/3000-086e5dd8", "0|SetCallerPres|") in new stack
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: ExecIf
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/3000-086e5dd8", "0|Set|REALCALLERIDNUM=3000") in new stack
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: ExecIf
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/3000-086e5dd8", "1?normcid") in new stack
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Goto (macro-outbound-callerid,s,6)
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: GotoIf
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-outbound-callerid:6] Set("SIP/3000-086e5dd8", "USEROUTCID=") in new stack
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: Set
    [Mar 4 00:13:46] DEBUG[4567] func_db.c: DB: DEVICE/3000/emergency_cid not found in database.
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-outbound-callerid:7] Set("SIP/3000-086e5dd8", "EMERGENCYCID=") in new stack
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: Set
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-outbound-callerid:8] Set("SIP/3000-086e5dd8", "TRUNKOUTCID=") in new stack
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: Set
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/3000-086e5dd8", "1?trunkcid") in new stack
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Goto (macro-outbound-callerid,s,12)
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: GotoIf
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/3000-086e5dd8", "0|Set|CALLERID(all)=") in new stack
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: ExecIf
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-outbound-callerid:13] GotoIf("SIP/3000-086e5dd8", "1?exit") in new stack
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Goto (macro-outbound-callerid,s,11)
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: GotoIf
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-outbound-callerid:11] MacroExit("SIP/3000-086e5dd8", "") in new stack
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: Macro
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/3000-086e5dd8", "0|AGI|fixlocalprefix") in new stack
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: ExecIf
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-dialout-trunk:13] Set("SIP/3000-086e5dd8", "OUTNUM=0034600800109") in new stack
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: Set
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-dialout-trunk:14] Set("SIP/3000-086e5dd8", "custom=SIP/Justvoip") in new stack
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: Set
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/3000-086e5dd8", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: ExecIf
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-dialout-trunk:16] Macro("SIP/3000-086e5dd8", "dialout-trunk-predial-hook|") in new stack
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/3000-086e5dd8", "") in new stack
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: Macro
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/3000-086e5dd8", "0?bypass|1") in new stack
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: GotoIf
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/3000-086e5dd8", "0?customtrunk") in new stack
    [Mar 4 00:13:46] DEBUG[4567] app_macro.c: Executed application: GotoIf
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Executing [s@macro-dialout-trunk:19] Dial("SIP/3000-086e5dd8", "SIP/Justvoip/0034600800109|300|") in new stack
    [Mar 4 00:13:46] VERBOSE[4567] logger.c: -- Called Justvoip/0034600800109
    [Mar 4 00:14:18] NOTICE[3478] chan_sip.c: Auto-congesting SIP/Justvoip-086c5ac8
    [Mar 4 00:14:18] VERBOSE[4567] logger.c: -- SIP/Justvoip-086c5ac8 is circuit-busy
    [Mar 4 00:14:18] VERBOSE[4567] logger.c: == Everyone is busy/congested at this time (1:0/1/0)
    [Mar 4 00:14:18] DEBUG[4567] app_macro.c: Executed application: Dial
    [Mar 4 00:14:18] VERBOSE[4567] logger.c: -- Executing [s@macro-dialout-trunk:20] Goto("SIP/3000-086e5dd8", "s-CONGESTION|1") in new stack
    [Mar 4 00:14:18] VERBOSE[4567] logger.c: -- Goto (macro-dialout-trunk,s-CONGESTION,1)
    [Mar 4 00:14:18] DEBUG[4567] app_macro.c: Executed application: Goto
    [Mar 4 00:14:18] VERBOSE[4567] logger.c: -- Executing [s-CONGESTION@macro-dialout-trunk:1] GotoIf("SIP/3000-086e5dd8", "1?noreport") in new stack
    [Mar 4 00:14:18] VERBOSE[4567] logger.c: -- Goto (macro-dialout-trunk,s-CONGESTION,3)
    [Mar 4 00:14:18] DEBUG[4567] app_macro.c: Executed application: GotoIf
    [Mar 4 00:14:18] VERBOSE[4567] logger.c: -- Executing [s-CONGESTION@macro-dialout-trunk:3] NoOp("SIP/3000-086e5dd8", "TRUNK Dial failed due to CONGESTION - failing through to other trunks") in new stack
    [Mar 4 00:14:18] DEBUG[4567] app_macro.c: Executed application: Noop
    [Mar 4 00:14:18] VERBOSE[4567] logger.c: -- Executing [00034600800109@from-internal:5] Macro("SIP/3000-086e5dd8", "outisbusy|") in new stack
    [Mar 4 00:14:18] VERBOSE[4567] logger.c: -- Executing [s@macro-outisbusy:1] Playback("SIP/3000-086e5dd8", "all-circuits-busy-now|noanswer") in new stack
    [Mar 4 00:14:18] VERBOSE[4567] logger.c: -- <SIP/3000-086e5dd8> Playing 'all-circuits-busy-now' (language 'en')
    [Mar 4 00:14:20] VERBOSE[4567] logger.c: == Spawn extension (macro-outisbusy, s, 1) exited non-zero on 'SIP/3000-086e5dd8' in macro 'outisbusy'
    [Mar 4 00:14:20] VERBOSE[4567] logger.c: == Spawn extension (from-internal, 00034600800109, 5) exited non-zero on 'SIP/3000-086e5dd8'
    [Mar 4 00:14:20] VERBOSE[4567] logger.c: -- Executing [h@from-internal:1] Macro("SIP/3000-086e5dd8", "hangupcall") in new stack
    [Mar 4 00:14:20] VERBOSE[4567] logger.c: -- Executing [s@macro-hangupcall:1] ResetCDR("SIP/3000-086e5dd8", "w") in new stack
    [Mar 4 00:14:20] DEBUG[4567] app_macro.c: Executed application: ResetCDR
    [Mar 4 00:14:20] VERBOSE[4567] logger.c: -- Executing [s@macro-hangupcall:2] NoCDR("SIP/3000-086e5dd8", "") in new stack
    [Mar 4 00:14:20] DEBUG[4567] app_macro.c: Executed application: NoCDR
    [Mar 4 00:14:20] VERBOSE[4567] logger.c: -- Executing [s@macro-hangupcall:3] GotoIf("SIP/3000-086e5dd8", "1?skiprg") in new stack
    [Mar 4 00:14:20] VERBOSE[4567] logger.c: -- Goto (macro-hangupcall,s,6)
    [Mar 4 00:14:20] DEBUG[4567] app_macro.c: Executed application: GotoIf
    [Mar 4 00:14:20] VERBOSE[4567] logger.c: -- Executing [s@macro-hangupcall:6] GotoIf("SIP/3000-086e5dd8", "1?skipblkvm") in new stack
    [Mar 4 00:14:20] VERBOSE[4567] logger.c: -- Goto (macro-hangupcall,s,9)
    [Mar 4 00:14:20] DEBUG[4567] app_macro.c: Executed application: GotoIf
    [Mar 4 00:14:20] VERBOSE[4567] logger.c: -- Executing [s@macro-hangupcall:9] GotoIf("SIP/3000-086e5dd8", "1?theend") in new stack
    [Mar 4 00:14:20] VERBOSE[4567] logger.c: -- Goto (macro-hangupcall,s,11)
    [Mar 4 00:14:20] DEBUG[4567] app_macro.c: Executed application: GotoIf
    [Mar 4 00:14:20] VERBOSE[4567] logger.c: -- Executing [s@macro-hangupcall:11] Hangup("SIP/3000-086e5dd8", "") in new stack
    [Mar 4 00:14:20] VERBOSE[4567] logger.c: == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/3000-086e5dd8' in macro 'hangupcall'
    [Mar 4 00:14:20] VERBOSE[4567] logger.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/3000-086e5dd8'
    [Mar 4 00:14:23] VERBOSE[4570] logger.c: == Parsing '/etc/asterisk/manager.conf': [Mar 4 00:14:23] VERBOSE[4570] logger.c: Found
    [Mar 4 00:14:23] VERBOSE[4570] logger.c: == Parsing '/etc/asterisk/manager_additional.conf': [Mar 4 00:14:23] VERBOSE[4570] logger.c: Found
    [Mar 4 00:14:23] VERBOSE[4570] logger.c: == Parsing '/etc/asterisk/manager_custom.conf': [Mar 4 00:14:23] VERBOSE[4570] logger.c: Found
    [Mar 4 00:14:23] VERBOSE[4570] logger.c: == Manager 'admin' logged on from 127.0.0.1
     
  14. ramoncio

    Joined:
    May 12, 2010
    Messages:
    1,663
    Likes Received:
    0
    Pega una traza sip de la llamada.

    Desde la consola de linux ejecuta:

    ngrep -d any -P ' ' -W byline -T port 5060 >> trazasip.txt

    Y cuando acabes la llamada sales con CTRL+C

    Adjunta con el post el archivo trazasip.txt
     
  15. MikeOne

    Joined:
    Mar 3, 2009
    Messages:
    11
    Likes Received:
    0
    No me encuentra el comando ngrep :laugh:
     
  16. ramoncio

    Joined:
    May 12, 2010
    Messages:
    1,663
    Likes Received:
    0
  17. MikeOne

    Joined:
    Mar 3, 2009
    Messages:
    11
    Likes Received:
    0
    Bien, ya lo hice todo, ahora el tema es como saco el archivo trazasip.txt del linux :laugh:

    Uso VMWare y ni idea de los comandos de linux, hay alguna forma de enviarlo por email o algo asi desde linea de comandos?
     
  18. security

    Joined:
    May 14, 2007
    Messages:
    299
    Likes Received:
    0
    bueno aca te dejo unas ayudas

    http://winscp.net/eng/docs/lang:es (desde windows puedes conectarte y sacar la informacion)

    o desde consola escribe esto

    cat archivo | mail -s "Sujeto" direccion@dominio.com

    y despues typeas . (la tecla punto y despues enter), con eso el correo sale.

    :eek:hmy: :eek:hmy: :eek:hmy: espero te sirva
     
  19. MikeOne

    Joined:
    Mar 3, 2009
    Messages:
    11
    Likes Received:
    0
  20. MikeOne

    Joined:
    Mar 3, 2009
    Messages:
    11
    Likes Received:
    0
    Ramoncio,

    He encontrado un proveedor SIP/H323 interesante:

    www.Siptraffic.com


    Tiene 3 Rutas posibles (Bronce, Plata y Oro)

    Con la misma cuenta puedes usar cualquiera de ellas, todo depende de lo que quieras, si calidad o precio.

    Con la misma cuenta puedes hacer todas las llamadas simultaneas que quieras.

    He puesto un apply a ver si empiezo a usarlo.

    Un saludo
     

Share This Page