Sonnerie apres raccrochage

Discussion in 'Elastix 2.x' started by fredo69, Nov 18, 2008.

  1. fredo69

    Joined:
    Nov 7, 2008
    Messages:
    13
    Likes Received:
    0
    Bonjour,
    j'ai un petit soucis quand je passe un appel externe avec mon extension sip (X-Lite):
    A la fine de la conversation, Si c'est mon correspondant qui raccroche en premier pas de soucis.
    Si c'est moi qui raccroche en premier, quelque secondes après j'ai mon X-Lite qui re-sonne un coup !
    quelqu'un a-t-il déjà rencontré ce prob ?
    merci
     
  2. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
    Non, je n'ai pas ce problème.

    Tu peux nous indiquer un exemple de configuration côté Elastix pour une extension Xlite?
     
  3. fredo69

    Joined:
    Nov 7, 2008
    Messages:
    13
    Likes Received:
    0
    j'ai pas compris, tu veux le sip.conf par exemple ?
     
  4. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
    Non, la partie de ta configuration de l'extension qui correspond à ton Xlite.
    Tu trouveras çà dans sip_additional.conf.
    tu as des zones avec crochets.
    [100] par exemple.
    Donnes moi uniquement ce qui concerne ton extension Xlite.
     
  5. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
    Ha... tant que j'y suis, donne moi la configuration de ton trunk.
    Car il est possible que si c'est toi qui appelle, que tu prennes 2 lignes sortantes en même temps (dans le cas d'un faisceau "trunk" sip par exemple).
    Dans ce cas , il est possible que si tu raccroches, la 2eme ligne fait une sorte de rappel de sonnerie, puis se libère.
    Juste une hypothèse. :huh:

    Fais une comm. et regardes ce que tu prends comme ligne.
    CLI>sip show channels.
     
  6. vanadium2

    Joined:
    Sep 18, 2008
    Messages:
    22
    Likes Received:
    0
    Bonjour,

    Sip_general_custom.conf :
    language=fr
    defaultexpirey=1800
    dtmfmode=auto

    sip_nat.conf :

    bindport=5060
    bindaddr=0.0.0.0
    srvlookup=yes
    nat=yes
    canreinvite=yes
    insecure=very
    dtmfmode=rfc2833
    qualify=yes
    externip=xx.xx.xx.xx (ip externe)
    tos=0x68
    localnet=192.168.1.0/255.255.255.0

    sip_aditional.conf :

    [keyyo]
    disallow=all
    username=33xxxxxxxxx
    type=peer
    secret=xxxxxxx
    qualify=yes
    qualify=800
    insecure=port,invite
    host=keyyo.net
    fromuser=33xxxxxxxxx
    fromdomain=keyyo.net
    canreinvite=no
    allow=alaw
    auth=md5
    accountcode=33xxxxxxxxx

    [keyyo-in]
    type=friend
    secret=xxxxxxx
    qualify=no
    nat=yes
    host=dynamic
    context=from-trunk
    canreinvite=no


    [100]
    disallow=all
    type=friend
    secret=xxxxxx
    qualify=yes
    port=5060
    pickupgroup=1
    nat=no
    mailbox=100@default
    host=dynamic
    dtmfmode=rfc2833
    dial=SIP/100
    context=from-internal
    canreinvite=no
    callgroup=1
    callerid=device <100>
    allow=alaw
    accountcode=
    call-limit=50



    Voici ce que j'ai capturé:

    -- Executing [s@macro-hangupcall:7] NoOp("SIP/1.b2bua.sip.internal-b750b278", "Cleaning Up Block VM Flag: BLKVM/600/SIP/1.b2bua.sip.internal-b750b278") in new stack
    -- Executing [s@macro-hangupcall:8] DBdel("SIP/1.b2bua.sip.internal-b750b278", "BLKVM/600/SIP/1.b2bua.sip.internal-b750b278") in new stack
    -- DBdel: family=BLKVM, key=600/SIP/1.b2bua.sip.internal-b750b278
    -- DBdel: Error deleting key from database.
    -- Executing [s@macro-hangupcall:9] GotoIf("SIP/1.b2bua.sip.internal-b750b278", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,11)
    -- Executing [s@macro-hangupcall:11] Hangup("SIP/1.b2bua.sip.internal-b750b278", "") in new stack
    == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/1.b2bua.sip.internal-b750b278' in macro 'hangupcall'
    == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/1.b2bua.sip.internal-b750b278'
    -- Executing [33XXXXXXXXX@from-sip-external:1] NoOp("SIP/1.b2bua.sip.internal-b7510820", "Received incoming SIP connection from unknown peer to 33XXXXXXXXX") in new stack
    -- Executing [33XXXXXXXXX@from-sip-external:2] Set("SIP/1.b2bua.sip.internal-b7510820", "DID=33XXXXXXXXX") in new stack
    -- Executing [33XXXXXXXXX@from-sip-external:3] Goto("SIP/1.b2bua.sip.internal-b7510820", "s|1") in new stack
    -- Goto (from-sip-external,s,1)
    -- Executing [s@from-sip-external:1] GotoIf("SIP/1.b2bua.sip.internal-b7510820", "1?from-trunk|33XXXXXXXXX|1") in new stack
    -- Goto (from-trunk,33XXXXXXXXX,1)
    -- Executing [33XXXXXXXXX@from-trunk:1] Set("SIP/1.b2bua.sip.internal-b7510820", "__FROM_DID=33XXXXXXXXX") in new stack
    -- Executing [33XXXXXXXXX@from-trunk:2] Gosub("SIP/1.b2bua.sip.internal-b7510820", "app-blacklist-check|s|1") in new stack
    -- Executing [s@app-blacklist-check:1] LookupBlacklist("SIP/1.b2bua.sip.internal-b7510820", "") in new stack
    -- Executing [s@app-blacklist-check:2] GotoIf("SIP/1.b2bua.sip.internal-b7510820", "0?blacklisted") in new stack
    -- Executing [s@app-blacklist-check:3] Return("SIP/1.b2bua.sip.internal-b7510820", "") in new stack
    -- Executing [33XXXXXXXXX@from-trunk:3] ExecIf("SIP/1.b2bua.sip.internal-b7510820", "0 |Set|CALLERID(name)=336XXXXXXXX") in new stack
    -- Executing [33XXXXXXXXX@from-trunk:4] Set("SIP/1.b2bua.sip.internal-b7510820", "FAX_RX=disabled") in new stack
    -- Executing [33XXXXXXXXX@from-trunk:5] Set("SIP/1.b2bua.sip.internal-b7510820", "__CALLINGPRES_SV=allowed_not_screened") in new stack
    -- Executing [33XXXXXXXXX@from-trunk:6] SetCallerPres("SIP/1.b2bua.sip.internal-b7510820", "allowed_not_screened") in new stack
    -- Executing [33XXXXXXXXX@from-trunk:7] Goto("SIP/1.b2bua.sip.internal-b7510820", "timeconditions|1|1") in new stack
    -- Goto (timeconditions,1,1)
    -- Executing [1@timeconditions:1] GotoIfTime("SIP/1.b2bua.sip.internal-b7510820", "08:00-21:00|*|*|*?ext-group|600|1") in new stack
    -- Goto (ext-group,600,1)
    -- Executing [600@ext-group:1] Macro("SIP/1.b2bua.sip.internal-b7510820", "user-callerid|") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/1.b2bua.sip.internal-b7510820", "AMPUSER=336XXXXXXXX") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/1.b2bua.sip.internal-b7510820", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/1.b2bua.sip.internal-b7510820", "1|Set|REALCALLERIDNUM=336XXXXXXXX") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/1.b2bua.sip.internal-b7510820", "AMPUSER=") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/1.b2bua.sip.internal-b7510820", "AMPUSERCIDNAME=") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/1.b2bua.sip.internal-b7510820", "1?report") in new stack
    -- Goto (macro-user-callerid,s,10)
    -- Executing [s@macro-user-callerid:10] GotoIf("SIP/1.b2bua.sip.internal-b7510820", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/1.b2bua.sip.internal-b7510820", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:12] GotoIf("SIP/1.b2bua.sip.internal-b7510820", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] NoOp("SIP/1.b2bua.sip.internal-b7510820", "Using CallerID "+336XXXXXXXX" <336XXXXXXXX>") in new stack
    -- Executing [600@ext-group:2] GotoIf("SIP/1.b2bua.sip.internal-b7510820", "1?skipdb") in new stack
    -- Goto (ext-group,600,4)
    -- Executing [600@ext-group:4] Set("SIP/1.b2bua.sip.internal-b7510820", "__NODEST=") in new stack
    -- Executing [600@ext-group:5] Set("SIP/1.b2bua.sip.internal-b7510820", "__BLKVM_OVERRIDE=BLKVM/600/SIP/1.b2bua.sip.internal-b7510820") in new stack
    -- Executing [600@ext-group:6] Set("SIP/1.b2bua.sip.internal-b7510820", "__BLKVM_BASE=600") in new stack
    -- Executing [600@ext-group:7] Set("SIP/1.b2bua.sip.internal-b7510820", "DB(BLKVM/600/SIP/1.b2bua.sip.internal-b7510820)=TRUE") in new stack
    -- Executing [600@ext-group:8] Set("SIP/1.b2bua.sip.internal-b7510820", "RRNODEST=") in new stack
    -- Executing [600@ext-group:9] Set("SIP/1.b2bua.sip.internal-b7510820", "__NODEST=600") in new stack
    -- Executing [600@ext-group:10] Set("SIP/1.b2bua.sip.internal-b7510820", "RecordMethod=Group") in new stack
    -- Executing [600@ext-group:11] Macro("SIP/1.b2bua.sip.internal-b7510820", "record-enable|100-101-102-103-104-105-106-107-108-109|Group") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/1.b2bua.sip.internal-b7510820", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("SIP/1.b2bua.sip.internal-b7510820", "recordingcheck|20081124-141307|1227532387.132") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] MacroExit("SIP/1.b2bua.sip.internal-b7510820", "") in new stack
    -- Executing [600@ext-group:12] Set("SIP/1.b2bua.sip.internal-b7510820", "RingGroupMethod=ringall") in new stack
    -- Executing [600@ext-group:13] Macro("SIP/1.b2bua.sip.internal-b7510820", "dial|60|m(attente)t|100-101-102-103-104-105-106-107-108-109") in new stack
    -- Executing [s@macro-dial:1] GotoIf("SIP/1.b2bua.sip.internal-b7510820", "1?dial") in new stack
    -- Goto (macro-dial,s,3)
    -- Executing [s@macro-dial:3] AGI("SIP/1.b2bua.sip.internal-b7510820", "dialparties.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
    dialparties.agi: Starting New Dialparties.agi
    == Parsing '/etc/asterisk/manager.conf': Found
    == Parsing '/etc/asterisk/manager_additional.conf': Found
    == Parsing '/etc/asterisk/manager_custom.conf': Found
    == Manager 'admin' logged on from 127.0.0.1
    dialparties.agi: Caller ID name is '+336XXXXXXXX' number is '336XXXXXXXX'
    dialparties.agi: USE_CONFIRMATION: 'FALSE'
    dialparties.agi: RINGGROUP_INDEX: ''
    dialparties.agi: Methodology of ring is 'ringall'
    -- dialparties.agi: Added extension 100 to extension map
    -- dialparties.agi: Added extension 101 to extension map
    -- dialparties.agi: Added extension 102 to extension map
    -- dialparties.agi: Added extension 103 to extension map
    -- dialparties.agi: Added extension 104 to extension map
    -- dialparties.agi: Added extension 105 to extension map
    -- dialparties.agi: Added extension 106 to extension map
    -- dialparties.agi: Added extension 107 to extension map
    -- dialparties.agi: Added extension 108 to extension map
    -- dialparties.agi: Added extension 109 to extension map
    -- dialparties.agi: Extension 100 cf is disabled
    -- dialparties.agi: Extension 101 cf is disabled
    -- dialparties.agi: Extension 102 cf is disabled
    -- dialparties.agi: Extension 103 cf is disabled
    -- dialparties.agi: Extension 104 cf is disabled
    -- dialparties.agi: Extension 105 cf is disabled
    -- dialparties.agi: Extension 106 cf is disabled
    -- dialparties.agi: Extension 107 cf is disabled
    -- dialparties.agi: Extension 108 cf is disabled
    -- dialparties.agi: Extension 109 cf is disabled
    -- dialparties.agi: Extension 100 do not disturb is disabled
    -- dialparties.agi: Extension 101 do not disturb is disabled
    -- dialparties.agi: Extension 102 do not disturb is disabled
    -- dialparties.agi: Extension 103 do not disturb is disabled
    -- dialparties.agi: Extension 104 do not disturb is disabled
    -- dialparties.agi: Extension 105 do not disturb is disabled
    -- dialparties.agi: Extension 106 do not disturb is disabled
    -- dialparties.agi: Extension 107 do not disturb is disabled
    -- dialparties.agi: Extension 108 do not disturb is disabled
    -- dialparties.agi: Extension 109 do not disturb is disabled
    > dialparties.agi: extnum 100 has: cw: 1; hascfb: 0 [] hascfu: 0 []
    -- dialparties.agi: dbset CALLTRACE/100 to 336XXXXXXXX
    > dialparties.agi: extnum 101 has: cw: 1; hascfb: 0 [] hascfu: 0 []
    -- dialparties.agi: dbset CALLTRACE/101 to 336XXXXXXXX
    > dialparties.agi: extnum 102 has: cw: 1; hascfb: 0 [] hascfu: 0 []
    -- dialparties.agi: dbset CALLTRACE/102 to 336XXXXXXXX
    > dialparties.agi: extnum 103 has: cw: 0; hascfb: 0 [] hascfu: 0 []
    > dialparties.agi: ExtensionState: 4
    dialparties.agi: Extension 103 has ExtensionState: 4
    -- dialparties.agi: Checking CW and CFB status for extension 103
    -- dialparties.agi: dbset CALLTRACE/103 to 336XXXXXXXX
    > dialparties.agi: extnum 104 has: cw: 0; hascfb: 0 [] hascfu: 0 []
    > dialparties.agi: ExtensionState: 0
    dialparties.agi: Extension 104 has ExtensionState: 0
    -- dialparties.agi: Checking CW and CFB status for extension 104
    -- dialparties.agi: dbset CALLTRACE/104 to 336XXXXXXXX
    > dialparties.agi: extnum 105 has: cw: 1; hascfb: 0 [] hascfu: 0 []
    -- dialparties.agi: dbset CALLTRACE/105 to 336XXXXXXXX
    > dialparties.agi: extnum 106 has: cw: 1; hascfb: 0 [] hascfu: 0 []
    -- dialparties.agi: dbset CALLTRACE/106 to 336XXXXXXXX
    > dialparties.agi: extnum 107 has: cw: 1; hascfb: 0 [] hascfu: 0 []
    -- dialparties.agi: dbset CALLTRACE/107 to 336XXXXXXXX
    > dialparties.agi: extnum 108 has: cw: 1; hascfb: 0 [] hascfu: 0 []
    -- dialparties.agi: dbset CALLTRACE/108 to 336XXXXXXXX
    > dialparties.agi: extnum 109 has: cw: 1; hascfb: 0 [] hascfu: 0 []
    -- dialparties.agi: dbset CALLTRACE/109 to 336XXXXXXXX
    -- dialparties.agi: Filtered ARG3: 100-101-102-103-104-105-106-107-108-109
    > dialparties.agi: NODEST: 600 adding M(auto-blkvm) to dialopts: m(attente)tM(auto-blkvm)
    > dialparties.agi: NODEST: 600 blkvm enabled macro already in dialopts: m(attente)tM(auto-blkvm)
    == Manager 'admin' logged off from 127.0.0.1
    -- AGI Script dialparties.agi completed, returning 0
    -- Executing [s@macro-dial:7] Dial("SIP/1.b2bua.sip.internal-b7510820", "SIP/100&SIP/101&SIP/102&SIP/103&SIP/104&SIP/105&SIP/106&SIP/107&SIP/108&SIP/109|60|m(attente)tM(auto-blkvm)") in new stack
    Extension Changed 100[ext-local] new state Ringing for Notify User 107
    -- Called 100
    -- Called 104
    -- Called 105
    -- Called 107
    -- Started music on hold, class 'attente', on SIP/1.b2bua.sip.internal-b7510820
    -- SIP/100-08520160 is ringing
    -- SIP/107-08513d48 is ringing
    -- SIP/104-084fada8 is ringing
    -- Stopped music on hold on SIP/1.b2bua.sip.internal-b7510820
    Extension Changed 100[ext-local] new state Idle for Notify User 107
    == Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/1.b2bua.sip.internal-b7510820' in macro 'dial'
    == Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/1.b2bua.sip.internal-b7510820'
    -- Executing [h@macro-dial:1] Macro("SIP/1.b2bua.sip.internal-b7510820", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] ResetCDR("SIP/1.b2bua.sip.internal-b7510820", "w") in new stack
    -- Executing [s@macro-hangupcall:2] NoCDR("SIP/1.b2bua.sip.internal-b7510820", "") in new stack
    -- Executing [s@macro-hangupcall:3] GotoIf("SIP/1.b2bua.sip.internal-b7510820", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,6)
    -- Executing [s@macro-hangupcall:6] GotoIf("SIP/1.b2bua.sip.internal-b7510820", "0?skipblkvm") in new stack
    -- Executing [s@macro-hangupcall:7] NoOp("SIP/1.b2bua.sip.internal-b7510820", "Cleaning Up Block VM Flag: BLKVM/600/SIP/1.b2bua.sip.internal-b7510820") in new stack
    -- Executing [s@macro-hangupcall:8] DBdel("SIP/1.b2bua.sip.internal-b7510820", "BLKVM/600/SIP/1.b2bua.sip.internal-b7510820") in new stack
    -- DBdel: family=BLKVM, key=600/SIP/1.b2bua.sip.internal-b7510820
    -- Executing [s@macro-hangupcall:9] GotoIf("SIP/1.b2bua.sip.internal-b7510820", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,11)
    -- Executing [s@macro-hangupcall:11] Hangup("SIP/1.b2bua.sip.internal-b7510820", "") in new stack
    == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/1.b2bua.sip.internal-b7510820' in macro 'hangupcall'
    == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/1.b2bua.sip.internal-b7510820'


    Merci pour vos lumières ;-)
     

Share This Page