SDA sortant

Discussion in 'Elastix 2.x' started by newnet82, Sep 21, 2009.

  1. newnet82

    Joined:
    Apr 25, 2009
    Messages:
    57
    Likes Received:
    0
    Bonjour,

    J'ai un groupement de T0. J'ai donc fait un trunk avec comme dial string misdn/g:eek:ut/$OUTNUM$

    avec, dans misdn.conf le paragraphe :

    [out]
    ports=1,2
    context=from-pstn
    msns=*

    J'ai une liste de SDA, j'ai donc créé une route entrante pour chaque SDA. J'ai une extension qui pointe sur chacune des routes.

    En entrée aucun problème. J'appelle bien l'extension en composant son SDA associé.

    Mon problème vient de la sortie. Le numéro affiché sur le poste appelé est toujours le numéro de tête.
    FT (pour ne pas les cités) me dit que ça vient de ma conf.

    Où ????

    Danardf dit avoir mis la ligne (le trunk ?) en secret ??? et que comme ça le DID de l'extension passe.

    Comment fais.je ?

    Merci
     
  2. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
    Salut newnet82 :)

    Petite rectif au niveau du sujet de ton post. Une SDA (Sélection Direct à l'Arrivée) est toujours entrante et non sortante. ;)

    Ton problème est l'envoi de l'identité (CID).
    Si F.T. a fait ce qu'il faut pour que tu puisses modifier le CID, normalement ça devrait fonctionner sans que tu touches à ton trunk (pour ma part... mais je peux me tromper, n'ayant pas d'expérience sur ce type de carte).

    Le seul paramètres que tu dois renseigner c'est le Outbout CID de l'extension et/ou le Outbound Caller ID.

    Je ne sais pas si tu as un moyen de mettre la carte en mode debug et de tracer ce que tu envoies vers l'opérateur!? (Un ficher log peut-être?)
     
  3. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
    Je n'ai pas dit le DID mais le CID.
    Le DID c'est ton n° entrant, ta SDA (en quelque sorte composé par l'appelant).
    Ne pas confondre DID et CID !!! Important
     
  4. newnet82

    Joined:
    Apr 25, 2009
    Messages:
    57
    Likes Received:
    0
    Désolé pour l'erreur d'intitulé.

    Ci après la sortie du CLI

    Code:
     -- Executing [06XXXXXXXX@from-internal:1] Set("SIP/321-b6104a00", "MOHCLASS=
    acc_1") in new stack
        -- Executing [06XXXXXXXX@from-internal:2] Macro("SIP/321-b6104a00", "user-ca
    llerid|SKIPTTL|") in new stack
        -- Executing [s@macro-user-callerid:1] Set("SIP/321-b6104a00", "AMPUSER=321"
    ) in new stack
        -- Executing [s@macro-user-callerid:2] GotoIf("SIP/321-b6104a00", "0?report"
    ) in new stack
        -- Executing [s@macro-user-callerid:3] ExecIf("SIP/321-b6104a00", "1|Set|REA
    LCALLERIDNUM=321") in new stack
        -- Executing [s@macro-user-callerid:4] Set("SIP/321-b6104a00", "AMPUSER=321"
    ) in new stack
        -- Executing [s@macro-user-callerid:5] Set("SIP/321-b6104a00", "AMPUSERCIDNA
    ME=05XXXXXX02") in new stack
        -- Executing [s@macro-user-callerid:6] GotoIf("SIP/321-b6104a00", "0?report"
    ) in new stack
        -- Executing [s@macro-user-callerid:7] Set("SIP/321-b6104a00", "AMPUSERCID=0
    5XXXXXX02") in new stack
        -- Executing [s@macro-user-callerid:8] Set("SIP/321-b6104a00", "CALLERID(all
    )="05XXXXXX02" <05XXXXXX02>") in new stack
        -- Executing [s@macro-user-callerid:9] Set("SIP/321-b6104a00", "REALCALLERID
    NUM=321") in new stack
        -- Executing [s@macro-user-callerid:10] ExecIf("SIP/321-b6104a00", "1|Set|CHANNEL(language)=fr") in new stack
        -- Executing [s@macro-user-callerid:11] GotoIf("SIP/321-b6104a00", "1?contin
    ue") in new stack
        -- Goto (macro-user-callerid,s,20)
        -- Executing [s@macro-user-callerid:20] NoOp("SIP/321-b6104a00", "Using Call
    erID "05XXXXXX02" <05XXXXXX02>") in new stack
        -- Executing [06XXXXXXXX@from-internal:3] Set("SIP/321-b6104a00", "_NODEST="
    ) in new stack
        -- Executing [06XXXXXXXX@from-internal:4] Macro("SIP/321-b6104a00", "record-
    enable|321|OUT|") in new stack
        -- Executing [s@macro-record-enable:1] GotoIf("SIP/321-b6104a00", "1?check")
     in new stack
        -- Goto (macro-record-enable,s,4)
        -- Executing [s@macro-record-enable:4] AGI("SIP/321-b6104a00", "recordingche
    ck|20090921-160132|1253541692.626") in new stack
        -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
      recordingcheck|20090921-160132|1253541692.626: Outbound recording not enabled
        -- AGI Script recordingcheck completed, returning 0
        -- Executing [s@macro-record-enable:5] MacroExit("SIP/321-b6104a00", "") in
    new stack
        -- Executing [06XXXXXXXX@from-internal:5] Macro("SIP/321-b6104a00", "dialout
    -trunk|3|06XXXXXXXX||") in new stack
        -- Executing [s@macro-dialout-trunk:1] Set("SIP/321-b6104a00", "DIAL_TRUNK=3
    ") in new stack
        -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/321-b6104a00", "0?sub-pi
    ncheck|s|1") in new stack
        -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/321-b6104a00", "0?disable
    trunk|1") in new stack
        -- Executing [s@macro-dialout-trunk:4] Set("SIP/321-b6104a00", "DIAL_NUMBER=
    06XXXXXXXX") in new stack
        -- Executing [s@macro-dialout-trunk:5] Set("SIP/321-b6104a00", "DIAL_TRUNK_O
    PTIONS=tr") in new stack
        -- Executing [s@macro-dialout-trunk:6] Set("SIP/321-b6104a00", "OUTBOUND_GRO
    UP=OUT_3") in new stack
        -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/321-b6104a00", "0?nomax")
     in new stack
        -- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/321-b6104a00", "0?chanful
    l") in new stack
        -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/321-b6104a00", "0?skipout
    cid") in new stack
        -- Executing [s@macro-dialout-trunk:10] Set("SIP/321-b6104a00", "DIAL_TRUNK_
    OPTIONS=") in new stack
        -- Executing [s@macro-dialout-trunk:11] Macro("SIP/321-b6104a00", "outbound-
    callerid|3") in new stack
        -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/321-b6104a00", "0|SetCallerPres|") in new stack
        -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/321-b6104a00", "0|Set
    |REALCALLERIDNUM=05XXXXXX02") in new stack
        -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/321-b6104a00", "1?nor
    mcid") in new stack
        -- Goto (macro-outbound-callerid,s,6)
        -- Executing [s@macro-outbound-callerid:6] Set("SIP/321-b6104a00", "USEROUTC
    ID=05XXXXXX02") in new stack
        -- Executing [s@macro-outbound-callerid:7] Set("SIP/321-b6104a00", "EMERGENC
    YCID=") in new stack
        -- Executing [s@macro-outbound-callerid:8] Set("SIP/321-b6104a00", "TRUNKOUT
    CID=") in new stack
        -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/321-b6104a00", "1?tru
    nkcid") in new stack
        -- Goto (macro-outbound-callerid,s,12)
        -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/321-b6104a00", "0|Se
    t|CALLERID(all)=") in new stack
        -- Executing [s@macro-outbound-callerid:13] GotoIf("SIP/321-b6104a00", "0?exit") in new stack
        -- Executing [s@macro-outbound-callerid:14] Set("SIP/321-b6104a00", "CALLERI
    D(all)=05XXXXXX02") in new stack
        -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/321-b6104a00", "0|Se
    tCallerPres|prohib_passed_screen") in new stack
        -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/321-b6104a00", "0|AGI|fi
    xlocalprefix") in new stack
        -- Executing [s@macro-dialout-trunk:13] Set("SIP/321-b6104a00", "OUTNUM=06XX
    XXXXXX") in new stack
        -- Executing [s@macro-dialout-trunk:14] Set("SIP/321-b6104a00", "custom=AMP"
    ) in new stack
        -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/321-b6104a00", "1|Set|DI
    AL_TRUNK_OPTIONS=M(setmusic^acc_1)") in new stack
        -- Executing [s@macro-dialout-trunk:16] Macro("SIP/321-b6104a00", "dialout-t
    runk-predial-hook|") in new stack
        -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/321-b6104
    a00", "") in new stack
        -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/321-b6104a00", "0?bypass
    |1") in new stack
        -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/321-b6104a00", "1?custom
    trunk") in new stack
        -- Goto (macro-dialout-trunk,s,21)
        -- Executing [s@macro-dialout-trunk:21] Set("SIP/321-b6104a00", "pre_num=AMP
    :misdn/g:out/") in new stack
        -- Executing [s@macro-dialout-trunk:22] Set("SIP/321-b6104a00", "the_num=OUT
    NUM") in new stack
        -- Executing [s@macro-dialout-trunk:23] Set("SIP/321-b6104a00", "post_num=")
     in new stack
        -- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/321-b6104a00", "1?outnum
    :skipoutnum") in new stack
        -- Goto (macro-dialout-trunk,s,25)
        -- Executing [s@macro-dialout-trunk:25] Set("SIP/321-b6104a00", "the_num=06X
    XXXXXXX") in new stack
        -- Executing [s@macro-dialout-trunk:26] Dial("SIP/321-b6104a00", "misdn/g:ou
    t/06XXXXXXXX|300|M(setmusic^acc_1)") in new stack
    P[ 0]  --> Group Call group: out
    P[ 1] Group [out] Port [1]
    P[ 1] portup:1
    P[ 1] channel with stid:0 not in use!
    P[ 0]  --> * NEW CHANNEL dad:06XXXXXXXX oad:(null)
    P[ 1] * Queuing chan 0x8e9a880
    P[ 1] read_config: Getting Config
    P[ 1]  --> TON: Unknown
    P[ 1]  --> LTON: Unknown
    P[ 1]  --> CTON: Unknown
    P[ 1] * CALL: g:out/06XXXXXXXX
    P[ 1]  --> * dad:06XXXXXXXX tech:mISDN/0-u696 ctx:from-pstn
    P[ 1]  --> * adding2newbc ext 06XXXXXXXX
    P[ 1]  --> * adding2newbc callerid 05XXXXXX02
    P[ 1]  --> pres: -1 screen: -1
    P[ 1]  --> pres: 0
    P[ 1]  --> PRES: Allowed (0)
    P[ 1]  --> SCREEN: Unscreened (0)
    P[ 1] NO OPTS GIVEN
    P[ 1] I SEND:SETUP oad:05XXXXXX02 dad:06XXXXXXXX pid:149
    P[ 1]  --> bc_state:BCHAN_CLEANED
    P[ 1]  --> channel:0 mode:TE cause:16 ocause:16 rad: cad:
    P[ 1]  --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
    P[ 1]  --> caps:Speech pi:0 keypad: sending_complete:0
    P[ 1]  --> screen:0 --> pres:0
    P[ 1]  --> addr:0 l3id:9006f b_stid:0 layer_id:50010180
    P[ 1]  --> facility:Fac_None out_facility:Fac_None
    P[ 1] --> new_l3id 90070
    P[ 1]  --> * SEND: State Dialing pid:149
        -- Called g:out/06XXXXXXXX
    P[ 1] Sending msg, prim:30580 addr:41000104 dinfo:90070
    P[ 0] MGMT: SSTATUS: L1_ACTIVATED
    P[ 1] MGMT: SSTATUS: L2_ESTABLISH
    P[ 1] handle_frm: frm->addr:42000103 frm->prim:30d82
    P[ 1] set_channel: bc->channel:255 channel:1
    P[ 1] I IND :NEW_CHANNEL oad:05XXXXXX02 dad:06XXXXXXXX pid:149 state:CALLING
    P[ 1]  --> channel:1 mode:TE cause:16 ocause:16 rad: cad:
    P[ 1]  --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
    P[ 1]  --> caps:Speech pi:0 keypad: sending_complete:0
    P[ 1]  --> screen:0 --> pres:0
    P[ 1]  --> addr:0 l3id:90070 b_stid:0 layer_id:50010180
    P[ 1]  --> facility:Fac_None out_facility:Fac_None
    P[ 1]  --> bc_state:BCHAN_CLEANED
    P[ 1]  --> updating channel name to [mISDN/1-u697]
    P[ 1]  --> found chan (preselected): 1
    P[ 1] set_chan_in_stack: 1
    P[ 1] setup_bc: with dsp
    P[ 1]  --> Channel is 1
    P[ 1]  --> TRANSPARENT Mode
    P[ 1] I IND :SETUP_ACKNOWLEDGE oad:05XXXXXX02 dad:06XXXXXXXX pid:149 state:CALLI
    NG
    P[ 1]  --> channel:1 mode:TE cause:16 ocause:16 rad: cad:
    P[ 1]  --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
    P[ 1]  --> caps:Speech pi:0 keypad: sending_complete:0
    P[ 1]  --> screen:0 --> pres:0
    P[ 1]  --> addr:50010102 l3id:90070 b_stid:10010100 layer_id:50010180
    P[ 1]  --> facility:Fac_None out_facility:Fac_None
    P[ 1]  --> bc_state:BCHAN_ACTIVATED
    P[ 1]  --> updating channel name to [mISDN/1-u698]
    P[ 1] BCHAN: bchan ACT Confirm pid:149
    P[ 1] handle_frm: frm->addr:42000103 frm->prim:30282
    P[ 1] set_channel: bc->channel:1 channel:1
    P[ 1] I IND :NEW_CHANNEL oad:05XXXXXX02 dad:06XXXXXXXX pid:149 state:CALLING_ACK
    NOWLEDGE
    P[ 1]  --> channel:1 mode:TE cause:16 ocause:16 rad: cad:
    P[ 1]  --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
    P[ 1]  --> caps:Speech pi:0 keypad: sending_complete:0
    P[ 1]  --> screen:0 --> pres:0
    P[ 1]  --> addr:50010102 l3id:90070 b_stid:10010100 layer_id:50010180
    P[ 1]  --> facility:Fac_None out_facility:Fac_None
    P[ 1]  --> bc_state:BCHAN_ACTIVATED
    P[ 1]  --> updating channel name to [mISDN/1-u699]
    P[ 1] $$$ bc already setup stid :10010100 (state:BCHAN_ACTIVATED)
    P[ 1] I IND :PROCEEDING oad:05XXXXXX02 dad:06XXXXXXXX pid:149 state:CALLING_ACKN
    OWLEDGE
    P[ 1]  --> channel:1 mode:TE cause:16 ocause:16 rad: cad:
    P[ 1]  --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
    P[ 1]  --> caps:Speech pi:0 keypad: sending_complete:0
    P[ 1]  --> screen:0 --> pres:0
    P[ 1]  --> addr:50010102 l3id:90070 b_stid:10010100 layer_id:50010180
    P[ 1]  --> facility:Fac_None out_facility:Fac_None
    P[ 1]  --> bc_state:BCHAN_ACTIVATED
    P[ 1]  --> updating channel name to [mISDN/1-u700]
        -- mISDN/1-u700 is proceeding passing it to SIP/321-b6104a00
    P[ 1] Jitterbuffer Underrun. Got 32 of expected 128
    P[ 1] Jitterbuffer Underrun. Got 96 of expected 128
    P[ 1] Jitterbuffer Underrun. Got 64 of expected 137
    P[ 1] Jitterbuffer Underrun. Got 38 of expected 125
    P[ 1] Jitterbuffer Underrun. Got 95 of expected 125
    P[ 1] handle_frm: frm->addr:42000103 frm->prim:30182
    P[ 1] $$$ bc already setup stid :10010100 (state:BCHAN_ACTIVATED)
    P[ 1] I IND :ALERTING oad:05XXXXXX02 dad:06XXXXXXXX pid:149 state:PROCEEDING
    P[ 1]  --> channel:1 mode:TE cause:16 ocause:16 rad: cad:
    P[ 1]  --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
    P[ 1]  --> caps:Speech pi:0 keypad: sending_complete:0
    P[ 1]  --> screen:0 --> pres:0
    P[ 1]  --> addr:50010102 l3id:90070 b_stid:10010100 layer_id:50010180
    P[ 1]  --> facility:Fac_None out_facility:Fac_None
    P[ 1]  --> bc_state:BCHAN_ACTIVATED
    P[ 1]  --> updating channel name to [mISDN/1-u701]
    P[ 1]  --> We have no inband Data, the other end must create ringing
        -- mISDN/1-u701 is ringing
    
    P[ 1] Jitterbuffer Underrun. Got 98 of expected 126
    P[ 1] * IND : HANGUP    pid:149 ctx:from-pstn dad:06XXXXXXXX oad:06XXXXXXXX Stat
    e:ALERTING
    P[ 1]  --> l3id:90070
    P[ 1]  --> cause:16
    P[ 1]  --> out_cause:16
    P[ 1]  --> state:ALERTING
    P[ 1] I SEND:DISCONNECT oad:05XXXXXX02 dad:06XXXXXXXX pid:149
    
    ...Suite du "hangup" normal.


    Si cela peut servir.

    Pour sortir plus de log (debug carte) comment fais-je ? (C'est une B410P de chez Digium)

    Merci
     
  5. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
    Le n° finissant par 02 c'est ce que tu doit envoyer ou c'est le n° de tête?
     
  6. newnet82

    Joined:
    Apr 25, 2009
    Messages:
    57
    Likes Received:
    0
    Le N° finissant par 02 est le numéro que je dois envoyer.
     
  7. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
    Ok.
    Je vois que dans les traces que tu nous transmets, ça ressemble bien à des traces RNIS on dirait.

    Seul petit truc dont j'ai le doute, c'est le format du n° émis. Là il est sur 10 digits et je ne sais pas si l'opérateur aime bien avoir 10 chiffres.
    Essayes de supprimer le 0 de manière à te retrouver avec 5xxxxxxx02.

    Il faut savoir une chose, c'est que le zéro (0) donc premier chiffres est le n° de l'opérateur direct. Ici ton 0 correspond à Orange, mais si tu veux contacter un autre opérateur, le 0 peut être remplacer par un 4. Comme aujourd'hui, la pré-sélection est partout, on peut s'y perdre!
    Donc en théorie, 9 digits serait à essayer.

    Après, peut-être qu'il y a un paramètre à rajouter dans un fichier de conf.

    D'ailleurs, vérifies que tu n'aies pas un CID=05xxxxxxxx de renseigner dans une conf misdn.conf ou autre partie de trunk.
     
  8. newnet82

    Joined:
    Apr 25, 2009
    Messages:
    57
    Likes Received:
    0
    Je viens de changer le 05...02 en 5...02 et hélas cela ne change rien.

    Après un grep de tout le répertoire /etc et de ces sous répertoires, je ne vois aucun 05XXXXXXXX.

    Donc, je penche pour un problème de conf.

    Mais où ?

    A tout hazard, voici le misdn.conf
    [general]
    misdn_init=/etc/misdn-init.conf
    debug=4
    ntdebugflags=0xffffffff
    ntdebugfile=/var/log/misdn-nt.log
    ntkeepcalls=no
    tracefile=/var/log/asterisk/misdn.log
    bridging=no
    stop_tone_after_first_digit=yes
    append_digits2exten=yes
    dynamic_crypt=no
    crypt_prefix=**
    crypt_keys=test,muh

    [default]
    method=standard
    language=fr
    musicclass=default
    senddtmf=yes
    far_alerting=no
    allowed_bearers=all
    nationalprefix=0
    internationalprefix=00
    rxgain=0
    txgain=0
    te_choose_channel=no
    pmp_l1_check=no
    reject_cause=16
    need_more_infos=no
    nttimeout=no
    method=standard
    dialplan=0
    localdialplan=0
    cpndialplan=0
    early_bconnect=yes
    incoming_early_audio=no
    nodialtone=no
    callgroup=1
    pickupgroup=1
    presentation=-1
    screen=-1
    echocancel=yes
    jitterbuffer=4000
    jitterbuffer_upper_threshold=0
    hdlc=no
    max_incoming=-1
    max_outgoing=-1

    [out]
    ports=1,2
    context=from-pstn
    msns=*


    le /etc/misdn-init.conf

    card=1,0x4
    te_ptmp=1,2
    poll=128
    dsp_poll=128
    dsp_options=0
    dtmfthreshold=100
    debug=0

    Merci
     
  9. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
    En même temps tu as un fichier peut être intéressant:
    /var/log/asterisk/misdn.log

    Il y a quelque chose là dedans d'intéressant?
     
  10. newnet82

    Joined:
    Apr 25, 2009
    Messages:
    57
    Likes Received:
    0
    Avec toujours le 5XXXXXX02 comme n° appelant (et non tête de ligne) et le 06XXXXXXXX comme n° appelé.

    Je ne vois rien d'extraordinaire (ie le n° de tête). Mais bon je ne suis qu'un newby.

    Code:
    Tue Sep 22 07:00:02 2009: P[ 0]   --> Group Call group: out
    Tue Sep 22 07:00:02 2009: P[ 1]  Group [out] Port [1]
    Tue Sep 22 07:00:02 2009: P[ 1]  portup:1
    Tue Sep 22 07:00:02 2009: P[ 1]  channel with stid:0 not in use!
    Tue Sep 22 07:00:02 2009: P[ 0]   --> * NEW CHANNEL dad:06XXXXXXXX oad:(null)
    Tue Sep 22 07:00:02 2009: P[ 1]  * Queuing chan 0x8dfcbd0
    Tue Sep 22 07:00:02 2009: P[ 1]  read_config: Getting Config
    Tue Sep 22 07:00:02 2009: P[ 1]   --> TON: Unknown
    Tue Sep 22 07:00:02 2009: P[ 1]   --> LTON: Unknown
    Tue Sep 22 07:00:02 2009: P[ 1]   --> CTON: Unknown
    Tue Sep 22 07:00:02 2009: P[ 1]  * CALL: g:out/06XXXXXXXX
    Tue Sep 22 07:00:02 2009: P[ 1]   --> * dad:06XXXXXXXX tech:mISDN/0-u709 ctx:fro
    m-pstn
    Tue Sep 22 07:00:02 2009: P[ 1]   --> * adding2newbc ext 06XXXXXXXX
    Tue Sep 22 07:00:02 2009: P[ 1]   --> * adding2newbc callerid 5XXXXXX02
    Tue Sep 22 07:00:02 2009: P[ 1]   --> pres: -1 screen: -1
    Tue Sep 22 07:00:02 2009: P[ 1]   --> pres: 0
    Tue Sep 22 07:00:02 2009: P[ 1]   --> PRES: Allowed (0)
    Tue Sep 22 07:00:02 2009: P[ 1]   --> SCREEN: Unscreened (0)
    Tue Sep 22 07:00:02 2009: P[ 1]  NO OPTS GIVEN
    Tue Sep 22 07:00:02 2009: P[ 1]  I SEND:SETUP oad:5XXXXXX02 dad:06XXXXXXXX pid:1
    52
    Tue Sep 22 07:00:02 2009: P[ 1]   --> bc_state:BCHAN_CLEANED
    Tue Sep 22 07:00:02 2009: P[ 1]   --> channel:0 mode:TE cause:16 ocause:16 rad:
    cad:
    Tue Sep 22 07:00:02 2009: P[ 1]   --> info_dad: onumplan:0 dnumplan:0 rnumplan:0
     cpnnumplan:0
    Tue Sep 22 07:00:02 2009: P[ 1]   --> caps:Speech pi:0 keypad: sending_complete:
    0
    Tue Sep 22 07:00:02 2009: P[ 1]   --> screen:0 --> pres:0
    Tue Sep 22 07:00:02 2009: P[ 1]   --> addr:0 l3id:90071 b_stid:0 layer_id:500101
    80
    Tue Sep 22 07:00:02 2009: P[ 1]   --> facility:Fac_None out_facility:Fac_None
    Tue Sep 22 07:00:02 2009: P[ 1]  --> new_l3id 90072
    Tue Sep 22 07:00:02 2009: P[ 1]   --> * SEND: State Dialing pid:152
    Tue Sep 22 07:00:02 2009: P[ 1]  Sending msg, prim:30580 addr:41000104 dinfo:900
    72
    Tue Sep 22 07:00:02 2009: P[ 0]  MGMT: SSTATUS: L1_ACTIVATED
    Tue Sep 22 07:00:02 2009: P[ 1]  MGMT: SSTATUS: L2_ESTABLISH
    Tue Sep 22 07:00:03 2009: P[ 1]  handle_frm: frm->addr:42000103 frm->prim:30d82
    Tue Sep 22 07:00:03 2009: P[ 1]  set_channel: bc->channel:255 channel:1
    Tue Sep 22 07:00:03 2009: P[ 1]  I IND :NEW_CHANNEL oad:5XXXXXX02 dad:06XXXXXXXX
     pid:152 state:CALLING
    Tue Sep 22 07:00:03 2009: P[ 1]   --> channel:1 mode:TE cause:16 ocause:16 rad:
    cad:
    Tue Sep 22 07:00:03 2009: P[ 1]   --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
    Tue Sep 22 07:00:03 2009: P[ 1]   --> caps:Speech pi:0 keypad: sending_complete:
    0
    Tue Sep 22 07:00:03 2009: P[ 1]   --> screen:0 --> pres:0
    Tue Sep 22 07:00:03 2009: P[ 1]   --> addr:0 l3id:90072 b_stid:0 layer_id:500101
    80
    Tue Sep 22 07:00:03 2009: P[ 1]   --> facility:Fac_None out_facility:Fac_None
    Tue Sep 22 07:00:03 2009: P[ 1]   --> bc_state:BCHAN_CLEANED
    Tue Sep 22 07:00:03 2009: P[ 1]   --> updating channel name to [mISDN/1-u710]
    Tue Sep 22 07:00:03 2009: P[ 1]   --> found chan (preselected): 1
    Tue Sep 22 07:00:03 2009: P[ 1]  set_chan_in_stack: 1
    Tue Sep 22 07:00:03 2009: P[ 1]  setup_bc: with dsp
    Tue Sep 22 07:00:03 2009: P[ 1]   --> Channel is 1
    Tue Sep 22 07:00:03 2009: P[ 1]   --> TRANSPARENT Mode
    Tue Sep 22 07:00:03 2009: P[ 1]  I IND :SETUP_ACKNOWLEDGE oad:5XXXXXX02 dad:06XX
    XXXXXX pid:152 state:CALLING
    Tue Sep 22 07:00:03 2009: P[ 1]   --> channel:1 mode:TE cause:16 ocause:16 rad:
    cad:
    Tue Sep 22 07:00:03 2009: P[ 1]   --> info_dad: onumplan:0 dnumplan:0 rnumplan:0
     cpnnumplan:0
    Tue Sep 22 07:00:03 2009: P[ 1]   --> caps:Speech pi:0 keypad: sending_complete:
    0
    Tue Sep 22 07:00:03 2009: P[ 1]   --> screen:0 --> pres:0
    Tue Sep 22 07:00:03 2009: P[ 1]   --> addr:50010102 l3id:90072 b_stid:10010100 l
    ayer_id:50010180
    Tue Sep 22 07:00:03 2009: P[ 1]   --> facility:Fac_None out_facility:Fac_None
    Tue Sep 22 07:00:03 2009: P[ 1]   --> bc_state:BCHAN_ACTIVATED
    Tue Sep 22 07:00:03 2009: P[ 1]   --> updating channel name to [mISDN/1-u711]
    Tue Sep 22 07:00:03 2009: P[ 1]  BCHAN: bchan ACT Confirm pid:152
    Tue Sep 22 07:00:03 2009: P[ 1]  handle_frm: frm->addr:42000103 frm->prim:30282
    Tue Sep 22 07:00:03 2009: P[ 1]  set_channel: bc->channel:1 channel:1
    Tue Sep 22 07:00:03 2009: P[ 1]  I IND :NEW_CHANNEL oad:5XXXXXX02 dad:06XXXXXXXX
     pid:152 state:CALLING_ACKNOWLEDGE
    Tue Sep 22 07:00:03 2009: P[ 1]   --> channel:1 mode:TE cause:16 ocause:16 rad:
    cad:
    Tue Sep 22 07:00:03 2009: P[ 1]   --> info_dad: onumplan:0 dnumplan:0 rnumplan:0
     cpnnumplan:0
    Tue Sep 22 07:00:03 2009: P[ 1]   --> caps:Speech pi:0 keypad: sending_complete:
    0
    Tue Sep 22 07:00:03 2009: P[ 1]   --> screen:0 --> pres:0
    Tue Sep 22 07:00:03 2009: P[ 1]   --> addr:50010102 l3id:90072 b_stid:10010100 l
    ayer_id:50010180
    Tue Sep 22 07:00:03 2009: P[ 1]   --> facility:Fac_None out_facility:Fac_None
    Tue Sep 22 07:00:03 2009: P[ 1]   --> bc_state:BCHAN_ACTIVATED
    Tue Sep 22 07:00:03 2009: P[ 1]   --> updating channel name to [mISDN/1-u712]
    Tue Sep 22 07:00:03 2009: P[ 1]  $$$ bc already setup stid :10010100 (state:BCHA
    N_ACTIVATED)
    Tue Sep 22 07:00:03 2009: P[ 1]  I IND :PROCEEDING oad:5XXXXXX02 dad:06XXXXXXXX
    pid:152 state:CALLING_ACKNOWLEDGE
    Tue Sep 22 07:00:03 2009: P[ 1]   --> channel:1 mode:TE cause:16 ocause:16 rad:
    cad:
    Tue Sep 22 07:00:03 2009: P[ 1]   --> info_dad: onumplan:0 dnumplan:0 rnumplan:0
     cpnnumplan:0
    Tue Sep 22 07:00:03 2009: P[ 1]   --> caps:Speech pi:0 keypad: sending_complete:
    0
    Tue Sep 22 07:00:03 2009: P[ 1]   --> screen:0 --> pres:0
    Tue Sep 22 07:00:03 2009: P[ 1]   --> addr:50010102 l3id:90072 b_stid:10010100 l
    ayer_id:50010180
    Tue Sep 22 07:00:03 2009: P[ 1]   --> facility:Fac_None out_facility:Fac_None
    Tue Sep 22 07:00:03 2009: P[ 1]   --> bc_state:BCHAN_ACTIVATED
    Tue Sep 22 07:00:03 2009: P[ 1]   --> updating channel name to [mISDN/1-u713]
    Tue Sep 22 07:00:03 2009: P[ 1]  Jitterbuffer Underrun. Got 93 of expected 125
    Tue Sep 22 07:00:03 2009: P[ 1]  Jitterbuffer Underrun. Got 66 of expected 128
    Tue Sep 22 07:00:05 2009: P[ 1]  Jitterbuffer Underrun. Got 122 of expected 125
    Tue Sep 22 07:00:08 2009: P[ 1]  Jitterbuffer Underrun. Got 90 of expected 124
    Tue Sep 22 07:00:09 2009: P[ 1]  handle_frm: frm->addr:42000103 frm->prim:30182
    Tue Sep 22 07:00:09 2009: P[ 1]  $$$ bc already setup stid :10010100 (state:BCHAN_ACTIVATED)
    Tue Sep 22 07:00:09 2009: P[ 1]  I IND :ALERTING oad:5XXXXXX02 dad:06XXXXXXXX pi
    d:152 state:PROCEEDING
    Tue Sep 22 07:00:09 2009: P[ 1]   --> channel:1 mode:TE cause:16 ocause:16 rad:
    cad:
    Tue Sep 22 07:00:09 2009: P[ 1]   --> info_dad: onumplan:0 dnumplan:0 rnumplan:0
     cpnnumplan:0
    Tue Sep 22 07:00:09 2009: P[ 1]   --> caps:Speech pi:0 keypad: sending_complete:
    0
    Tue Sep 22 07:00:09 2009: P[ 1]   --> screen:0 --> pres:0
    Tue Sep 22 07:00:09 2009: P[ 1]   --> addr:50010102 l3id:90072 b_stid:10010100 l
    ayer_id:50010180
    Tue Sep 22 07:00:09 2009: P[ 1]   --> facility:Fac_None out_facility:Fac_None
    Tue Sep 22 07:00:09 2009: P[ 1]   --> bc_state:BCHAN_ACTIVATED
    Tue Sep 22 07:00:09 2009: P[ 1]   --> updating channel name to [mISDN/1-u714]
    Tue Sep 22 07:00:09 2009: P[ 1]   --> We have no inband Data, the other end must
     create ringing
    Tue Sep 22 07:00:09 2009: P[ 1]  Jitterbuffer Underrun. Got 107 of expected 128
    
    Partie Hangup si quelque chose peut aider
    
    Tue Sep 22 07:00:10 2009: P[ 1]  * IND : HANGUP pid:152 ctx:from-pstn dad:06XXXX
    XXXX oad:06XXXXXXXX State:ALERTING
    Tue Sep 22 07:00:10 2009: P[ 1]   --> l3id:90072
    Tue Sep 22 07:00:10 2009: P[ 1]   --> cause:16
    Tue Sep 22 07:00:10 2009: P[ 1]   --> out_cause:16
    Tue Sep 22 07:00:10 2009: P[ 1]   --> state:ALERTING
    Tue Sep 22 07:00:10 2009: P[ 1]  I SEND:DISCONNECT oad:5XXXXXX02 dad:06XXXXXXXX
    pid:152
    Tue Sep 22 07:00:10 2009: P[ 1]   --> bc_state:BCHAN_ACTIVATED
    Tue Sep 22 07:00:10 2009: P[ 1]   --> channel:1 mode:TE cause:16 ocause:16 rad:
    cad:
    Tue Sep 22 07:00:10 2009: P[ 1]   --> info_dad: onumplan:0 dnumplan:0 rnumplan:0
     cpnnumplan:0
    Tue Sep 22 07:00:10 2009: P[ 1]   --> caps:Speech pi:0 keypad: sending_complete:
    0
    Tue Sep 22 07:00:10 2009: P[ 1]   --> screen:0 --> pres:0
    Tue Sep 22 07:00:10 2009: P[ 1]   --> addr:50010102 l3id:90072 b_stid:10010100 l
    ayer_id:50010180
    Tue Sep 22 07:00:10 2009: P[ 1]   --> facility:Fac_None out_facility:Fac_None
    Tue Sep 22 07:00:10 2009: P[ 1]   --> Channel: mISDN/1-u714 hanguped new state:C
    LEANING
    Tue Sep 22 07:00:10 2009: P[ 1]  Sending msg, prim:34580 addr:41000104 dinfo:900
    72
    Tue Sep 22 07:00:10 2009: P[ 1]  handle_frm: frm->addr:42000103 frm->prim:34d82
    Tue Sep 22 07:00:10 2009: P[ 1]  I IND :RELEASE oad:5XXXXXX02 dad:06XXXXXXXX pid
    :152 state:CLEANING
    Tue Sep 22 07:00:10 2009: P[ 1]   --> channel:1 mode:TE cause:16 ocause:16 rad:
    cad:
    Tue Sep 22 07:00:10 2009: P[ 1]   --> info_dad: onumplan:0 dnumplan:0 rnumplan:0
     cpnnumplan:0
    Tue Sep 22 07:00:10 2009: P[ 1]   --> caps:Speech pi:0 keypad: sending_complete:
    0
    Tue Sep 22 07:00:10 2009: P[ 1]   --> screen:0 --> pres:0
    Tue Sep 22 07:00:10 2009: P[ 1]   --> addr:50010102 l3id:90072 b_stid:10010100 l
    ayer_id:50010180
    Tue Sep 22 07:00:10 2009: P[ 1]   --> facility:Fac_None out_facility:Fac_None
    Tue Sep 22 07:00:10 2009: P[ 1]   --> bc_state:BCHAN_ACTIVATED
    Tue Sep 22 07:00:10 2009: P[ 1]  ast_hangup already called, so we have no ast pt
    r anymore in event(RELEASE)
    Tue Sep 22 07:00:10 2009: P[ 1]   --> No need to queue hangup
    Tue Sep 22 07:00:10 2009: P[ 1]  Cannot hangup chan, no ast
    Tue Sep 22 07:00:10 2009: P[ 1]  handle_frm: frm->addr:42000103 frm->prim:3f182
    Tue Sep 22 07:00:10 2009: P[ 1]   --> lib: RELEASE_CR Ind with l3id:90072
    Tue Sep 22 07:00:10 2009: P[ 1]   --> lib: CLEANING UP l3id: 90072
    Tue Sep 22 07:00:10 2009: P[ 1]  $$$ CLEANUP CALLED pid:152
    Tue Sep 22 07:00:10 2009: P[ 1]  $$$ Cleaning up bc with stid :10010100 pid:152
    Tue Sep 22 07:00:10 2009: P[ 1]   --> ec_disable
    Tue Sep 22 07:00:10 2009: P[ 1]  Sending Control ECHOCAN_OFF
    Tue Sep 22 07:00:10 2009: P[ 1]  ph_control: c1:2319 c2:0
    Tue Sep 22 07:00:10 2009: P[ 1]  empty_chan_in_stack: 1
    Tue Sep 22 07:00:10 2009: P[ 1]  BCHAN: MGR_DELLAYER|CNF pid:152
    Tue Sep 22 07:00:13 2009: P[ 1]  MGMT: SSTATUS: L2_RELEASED
     
  11. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
    Qu'est-ce qu'ils t-ont dit Orange pour ta ligne exactement?

    Parce que là, on voie bien que tu envoies le n° désiré. :huh:
     
  12. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
    Erratum -
     
  13. newnet82

    Joined:
    Apr 25, 2009
    Messages:
    57
    Likes Received:
    0
    Donc pour le CID j'ai remis le 0 devant. Soit 05XXXXXX02.

    Pour Orange automatiquement tout est clean chez eux (c'est la philosophie de leur réponse). Mais bon, par ailleur ils ont fait des erreurs dans l'attribution des SDA.

    Ai-je la possibilité de savoir si le problème vient de ma config ? (afin de pouvoir leur tenir tête si besoin).
     
  14. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
    Pour ma part, chez nous on les surnomment les panoupanou. :laugh:

    Comme j'ai, étant donné que je n'ai pas d'expérience avec ce type de carte, je ne sais pas s'il faut mettre quelque chose de spécial dans la config. :huh:

    Je vois comme toi que la trace montre bien que tu envoies bien l'ID de l'appelant en sortie de trunk.

    Oui, tu peux remettre le 0 devant.

    Pour Orange, rien ne t'interdit de les rappeler pour la même chose!
    Tu leurs dit qu'après avoir tracer les log de la carte, tu envoies bien le n° de l'appelant désiré et non le n° de tête.

    Mais attends comme je ne sais pas s'il y a un paramètre dans la config pour gérer l'émission du n°..... Il faudrait être sure..
     
  15. newnet82

    Joined:
    Apr 25, 2009
    Messages:
    57
    Likes Received:
    0
    Sur quel forum puis-je poser la question ? (Ca m'évitera de me faire encore remarquer)
     
  16. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
    Question comme çà. Sur Asterisk-France tu n'as pas eu d'info là dessus?
    Comme il y a pas mal d'utilisateurs Français sur Asterisk et dérivés..!!
     
  17. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
    Tu n'as rien à te reprocher. :blink:
    Bon Sur ce forum je ne sais pas qui pourra te répondre hors mis des personne non Francophone. Mais comme elles n'auront pas forcément d'expérience sur F.T!
    C'est pour çà il vaut mieux en parallèle essayer sur asterisk-france.
    Très bon forum également, mais plus généraliste au sujet d'Asterisk. (Ils ne sont pas orienté spécifiquement sur une distrib)
     
  18. newnet82

    Joined:
    Apr 25, 2009
    Messages:
    57
    Likes Received:
    0
    Merci Franck,

    L'adresse était bonne.

    La solution a été de changer le dialplan dans le misdn.conf. Par défaut il est à 0 (Unknown). Il m'a fallu le passer à 2 (National).
     
  19. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
    Ha ok.. Cool.
    Tu as trouvée la solution sur Asterisk France?
     
  20. newnet82

    Joined:
    Apr 25, 2009
    Messages:
    57
    Likes Received:
    0
    Oui.

    Pour l'instant, je n'ai pas trop graté dans les fichiers, mais ça me démange de plus en plus vu la quantité de paramètre qu'il y a.
    Je suis loin d'avoir tes compétences avec elastix mais si je peux aider ...

    Encore merci
     

Share This Page