Annibal
05/04/2006, 08h52
hello,
Je vous explique mon problème :
J'ai installé dans une de mes machines asterisk une carte ISDN fritz pci (2BRI)
Tout marche au poil pour un appel sortant. Mais quand quelqu'un appel depuis l'exterieur il dois attendre 4-5 secondes avant que son interlocuteur ( un softphone en sip) puisse entendre la sonnerie. Pire celui qui appel n'a pas la tonalité pdt 2 secondes...
J'utilise les drivers du site officiel, les drivers capi4K ainsi que le chan_capi pour l'interface avec asterisk.
Je ne pense pas que se soit un problème de configuration car les appels sortant marche très bien ( et son très rapide!). Mais plutot un problème de configuration.
Y-a-t il des options ou quelque chose a changer dans mes conf de asterisk pour booster la vitesse de l'appel entrant ( sachant que c pdt le traitement sur le serveur asterisk que je pert toutes ces précisieuses secondes )
J'ai un très bon pc ( P4 3Ghz) donc ca ne peu pas etre dû a ca n'y a la ram ( +1G).
J'utilise AAH 2.7 mais je ne pense pas non plus que cela pose problème.
voici aussi un c/c de mes log CLI ->
-- CONNECT_IND (PLCI=0x101,DID=1509,CID=1001,CIP=0x10,CONTROLLER= 0x1)
== Started pbx on channel CAPI/ISDN1/1509-1b
-- Executing Goto("CAPI/ISDN1/1509-1b", "s|1") in new stack
-- Goto (from-pstn,s,1)
-- Executing GotoIf("CAPI/ISDN1/1509-1b", "1?from-pstn-reghours|s|1:") in new stack
-- Goto (from-pstn-reghours,s,1)
-- Executing GotoIf("CAPI/ISDN1/1509-1b", "0?from-pstn-reghours-nofax|s|1:2") in new stack
-- Goto (from-pstn-reghours,s,2)
-- Executing Answer("CAPI/ISDN1/1509-1b", "") in new stack
-- Executing Wait("CAPI/ISDN1/1509-1b", "1") in new stack
-- Executing SetVar("CAPI/ISDN1/1509-1b", "intype=GRP-1") in new stack
-- Executing Cut("CAPI/ISDN1/1509-1b", "intype=intype|-|1") in new stack
-- Executing GotoIf("CAPI/ISDN1/1509-1b", "0?7:9") in new stack
-- Goto (from-pstn-reghours,s,9)
-- Executing GotoIf("CAPI/ISDN1/1509-1b", "1?10:12") in new stack
-- Goto (from-pstn-reghours,s,10)
-- Executing Wait("CAPI/ISDN1/1509-1b", "3") in new stack
-- Executing Goto("CAPI/ISDN1/1509-1b", "ext-group|1|1") in new stack
-- Goto (ext-group,1,1)
-- Executing Macro("CAPI/ISDN1/1509-1b", "rg-group|ringall|30||400-401") in new stack
-- Executing Macro("CAPI/ISDN1/1509-1b", "user-callerid") in new stack
-- Executing DBget("CAPI/ISDN1/1509-1b", "AMPUSER=DEVICE/1001/user") in new stack
-- DBget: varname=AMPUSER, family=DEVICE, key=1001/user
-- DBget: Value not found in database.
-- Executing DBget("CAPI/ISDN1/1509-1b", "AMPUSERCIDNAME=AMPUSER//cidname") in new stack
-- DBget: varname=AMPUSERCIDNAME, family=AMPUSER, key=/cidname
-- DBget: Value not found in database.
-- Executing GotoIf("CAPI/ISDN1/1509-1b", "1?5") in new stack
-- Goto (macro-user-callerid,s,5)
-- Executing NoOp("CAPI/ISDN1/1509-1b", "Using CallerID 1001") in new stack
-- Executing GotoIf("CAPI/ISDN1/1509-1b", "0?4:3") in new stack
-- Goto (macro-rg-group,s,3)
-- Executing SetCIDName("CAPI/ISDN1/1509-1b", "") in new stack
-- Executing SetVar("CAPI/ISDN1/1509-1b", "RGPREFIX=") in new stack
-- Executing SetCIDName("CAPI/ISDN1/1509-1b", "") in new stack
-- Executing SetVar("CAPI/ISDN1/1509-1b", "RecordMethod=Group") in new stack
-- Executing Macro("CAPI/ISDN1/1509-1b", "record-enable|1|Group") in new stack
-- Executing GotoIf("CAPI/ISDN1/1509-1b", "0 > 0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing AGI("CAPI/ISDN1/1509-1b", "recordingcheck|20060405-045433|1144227269.49") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
-- AGI Script recordingcheck completed, returning 0
-- Executing NoOp("CAPI/ISDN1/1509-1b", "No recording needed") in new stack
-- Executing SetVar("CAPI/ISDN1/1509-1b", "RingGroupMethod=ringall") in new stack
-- Executing Macro("CAPI/ISDN1/1509-1b", "dial|30|tr|400-401") in new stack
-- Executing GotoIf("CAPI/ISDN1/1509-1b", "1?4:2") in new stack
-- Goto (macro-dial,s,4)
-- Executing AGI("CAPI/ISDN1/1509-1b", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
-- dialparties.agi: priority = 4
-- dialparties.agi: callingani2 = 0
-- dialparties.agi: accountcode =
-- dialparties.agi: channel = CAPI/ISDN1/1509-1b
-- dialparties.agi: callerid = 1001
-- dialparties.agi: context = macro-dial
-- dialparties.agi: callington = 0
-- dialparties.agi: dnid = 1509
-- dialparties.agi: request = dialparties.agi
-- dialparties.agi: calleridname = unknown
-- dialparties.agi: extension = s
-- dialparties.agi: language = fr
-- dialparties.agi: uniqueid = 1144227269.49
-- dialparties.agi: callingpres = 3
-- dialparties.agi: type = CAPI
-- dialparties.agi: rdnis = unknown
-- dialparties.agi: callingtns = 0
-- dialparties.agi: enhanced = 0.0
dialparties.agi: Caller ID name and number are '1001'
dialparties.agi: Methodology of ring is 'ringall'
-- dialparties.agi: Added extension 400 to extension map
-- dialparties.agi: Added extension 401 to extension map
-- dialparties.agi: Added extension 400 to extension map
-- dialparties.agi: Added extension 401 to extension map
-- dialparties.agi: Extension 401 cf is disabled
-- dialparties.agi: Extension 400 cf is disabled
-- dialparties.agi: Extension 401 do not disturb is disabled
-- dialparties.agi: Extension 400 do not disturb is disabled
-- dialparties.agi: Checking CW and CFB status for extension 401
== Manager 'admin' logged on from 127.0.0.1
-- dialparties.agi: Correct AMPMGRUSER and AMPMGRPASS
== Manager 'admin' logged off from 127.0.0.1
dialparties.agi: Extension 401 is available...skipping checks
-- dialparties.agi: DbSet CALLTRACE/401 to 1001
-- dialparties.agi: Checking CW and CFB status for extension 400
== Manager 'admin' logged on from 127.0.0.1
-- dialparties.agi: Correct AMPMGRUSER and AMPMGRPASS
== Manager 'admin' logged off from 127.0.0.1
dialparties.agi: Extension 400 is available...skipping checks
-- dialparties.agi: DbSet CALLTRACE/400 to 1001
-- AGI Script dialparties.agi completed, returning 0
-- Executing Dial("CAPI/ISDN1/1509-1b", "SIP/401&SIP/400|30|tr") in new stack
-- Called 401
-- Called 400
-- ISDN1: attempting ALERT in state 2
-- SIP/401-1cc9 is ringing
-- SIP/401-1cc9 is ringing
-- SIP/400-fae6 is ringing
-- SIP/400-fae6 is ringing
-- SIP/401-1cc9 is ringing
-- SIP/400-fae6 is ringing
Merci pour vos réponses et désolé pour les fautes d'ortographe
PS : si quelq'un veux des conseil pour installé une carte avec les interface capi je peu lui venir en aide
bonne journées
Je vous explique mon problème :
J'ai installé dans une de mes machines asterisk une carte ISDN fritz pci (2BRI)
Tout marche au poil pour un appel sortant. Mais quand quelqu'un appel depuis l'exterieur il dois attendre 4-5 secondes avant que son interlocuteur ( un softphone en sip) puisse entendre la sonnerie. Pire celui qui appel n'a pas la tonalité pdt 2 secondes...
J'utilise les drivers du site officiel, les drivers capi4K ainsi que le chan_capi pour l'interface avec asterisk.
Je ne pense pas que se soit un problème de configuration car les appels sortant marche très bien ( et son très rapide!). Mais plutot un problème de configuration.
Y-a-t il des options ou quelque chose a changer dans mes conf de asterisk pour booster la vitesse de l'appel entrant ( sachant que c pdt le traitement sur le serveur asterisk que je pert toutes ces précisieuses secondes )
J'ai un très bon pc ( P4 3Ghz) donc ca ne peu pas etre dû a ca n'y a la ram ( +1G).
J'utilise AAH 2.7 mais je ne pense pas non plus que cela pose problème.
voici aussi un c/c de mes log CLI ->
-- CONNECT_IND (PLCI=0x101,DID=1509,CID=1001,CIP=0x10,CONTROLLER= 0x1)
== Started pbx on channel CAPI/ISDN1/1509-1b
-- Executing Goto("CAPI/ISDN1/1509-1b", "s|1") in new stack
-- Goto (from-pstn,s,1)
-- Executing GotoIf("CAPI/ISDN1/1509-1b", "1?from-pstn-reghours|s|1:") in new stack
-- Goto (from-pstn-reghours,s,1)
-- Executing GotoIf("CAPI/ISDN1/1509-1b", "0?from-pstn-reghours-nofax|s|1:2") in new stack
-- Goto (from-pstn-reghours,s,2)
-- Executing Answer("CAPI/ISDN1/1509-1b", "") in new stack
-- Executing Wait("CAPI/ISDN1/1509-1b", "1") in new stack
-- Executing SetVar("CAPI/ISDN1/1509-1b", "intype=GRP-1") in new stack
-- Executing Cut("CAPI/ISDN1/1509-1b", "intype=intype|-|1") in new stack
-- Executing GotoIf("CAPI/ISDN1/1509-1b", "0?7:9") in new stack
-- Goto (from-pstn-reghours,s,9)
-- Executing GotoIf("CAPI/ISDN1/1509-1b", "1?10:12") in new stack
-- Goto (from-pstn-reghours,s,10)
-- Executing Wait("CAPI/ISDN1/1509-1b", "3") in new stack
-- Executing Goto("CAPI/ISDN1/1509-1b", "ext-group|1|1") in new stack
-- Goto (ext-group,1,1)
-- Executing Macro("CAPI/ISDN1/1509-1b", "rg-group|ringall|30||400-401") in new stack
-- Executing Macro("CAPI/ISDN1/1509-1b", "user-callerid") in new stack
-- Executing DBget("CAPI/ISDN1/1509-1b", "AMPUSER=DEVICE/1001/user") in new stack
-- DBget: varname=AMPUSER, family=DEVICE, key=1001/user
-- DBget: Value not found in database.
-- Executing DBget("CAPI/ISDN1/1509-1b", "AMPUSERCIDNAME=AMPUSER//cidname") in new stack
-- DBget: varname=AMPUSERCIDNAME, family=AMPUSER, key=/cidname
-- DBget: Value not found in database.
-- Executing GotoIf("CAPI/ISDN1/1509-1b", "1?5") in new stack
-- Goto (macro-user-callerid,s,5)
-- Executing NoOp("CAPI/ISDN1/1509-1b", "Using CallerID 1001") in new stack
-- Executing GotoIf("CAPI/ISDN1/1509-1b", "0?4:3") in new stack
-- Goto (macro-rg-group,s,3)
-- Executing SetCIDName("CAPI/ISDN1/1509-1b", "") in new stack
-- Executing SetVar("CAPI/ISDN1/1509-1b", "RGPREFIX=") in new stack
-- Executing SetCIDName("CAPI/ISDN1/1509-1b", "") in new stack
-- Executing SetVar("CAPI/ISDN1/1509-1b", "RecordMethod=Group") in new stack
-- Executing Macro("CAPI/ISDN1/1509-1b", "record-enable|1|Group") in new stack
-- Executing GotoIf("CAPI/ISDN1/1509-1b", "0 > 0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing AGI("CAPI/ISDN1/1509-1b", "recordingcheck|20060405-045433|1144227269.49") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
-- AGI Script recordingcheck completed, returning 0
-- Executing NoOp("CAPI/ISDN1/1509-1b", "No recording needed") in new stack
-- Executing SetVar("CAPI/ISDN1/1509-1b", "RingGroupMethod=ringall") in new stack
-- Executing Macro("CAPI/ISDN1/1509-1b", "dial|30|tr|400-401") in new stack
-- Executing GotoIf("CAPI/ISDN1/1509-1b", "1?4:2") in new stack
-- Goto (macro-dial,s,4)
-- Executing AGI("CAPI/ISDN1/1509-1b", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
-- dialparties.agi: priority = 4
-- dialparties.agi: callingani2 = 0
-- dialparties.agi: accountcode =
-- dialparties.agi: channel = CAPI/ISDN1/1509-1b
-- dialparties.agi: callerid = 1001
-- dialparties.agi: context = macro-dial
-- dialparties.agi: callington = 0
-- dialparties.agi: dnid = 1509
-- dialparties.agi: request = dialparties.agi
-- dialparties.agi: calleridname = unknown
-- dialparties.agi: extension = s
-- dialparties.agi: language = fr
-- dialparties.agi: uniqueid = 1144227269.49
-- dialparties.agi: callingpres = 3
-- dialparties.agi: type = CAPI
-- dialparties.agi: rdnis = unknown
-- dialparties.agi: callingtns = 0
-- dialparties.agi: enhanced = 0.0
dialparties.agi: Caller ID name and number are '1001'
dialparties.agi: Methodology of ring is 'ringall'
-- dialparties.agi: Added extension 400 to extension map
-- dialparties.agi: Added extension 401 to extension map
-- dialparties.agi: Added extension 400 to extension map
-- dialparties.agi: Added extension 401 to extension map
-- dialparties.agi: Extension 401 cf is disabled
-- dialparties.agi: Extension 400 cf is disabled
-- dialparties.agi: Extension 401 do not disturb is disabled
-- dialparties.agi: Extension 400 do not disturb is disabled
-- dialparties.agi: Checking CW and CFB status for extension 401
== Manager 'admin' logged on from 127.0.0.1
-- dialparties.agi: Correct AMPMGRUSER and AMPMGRPASS
== Manager 'admin' logged off from 127.0.0.1
dialparties.agi: Extension 401 is available...skipping checks
-- dialparties.agi: DbSet CALLTRACE/401 to 1001
-- dialparties.agi: Checking CW and CFB status for extension 400
== Manager 'admin' logged on from 127.0.0.1
-- dialparties.agi: Correct AMPMGRUSER and AMPMGRPASS
== Manager 'admin' logged off from 127.0.0.1
dialparties.agi: Extension 400 is available...skipping checks
-- dialparties.agi: DbSet CALLTRACE/400 to 1001
-- AGI Script dialparties.agi completed, returning 0
-- Executing Dial("CAPI/ISDN1/1509-1b", "SIP/401&SIP/400|30|tr") in new stack
-- Called 401
-- Called 400
-- ISDN1: attempting ALERT in state 2
-- SIP/401-1cc9 is ringing
-- SIP/401-1cc9 is ringing
-- SIP/400-fae6 is ringing
-- SIP/400-fae6 is ringing
-- SIP/401-1cc9 is ringing
-- SIP/400-fae6 is ringing
Merci pour vos réponses et désolé pour les fautes d'ortographe
PS : si quelq'un veux des conseil pour installé une carte avec les interface capi je peu lui venir en aide
bonne journées