Asterisk & phones op externe locaties

Pagina: 1
Acties:

  • geerttttt
  • Registratie: Oktober 2006
  • Laatst online: 27-01 12:49

geerttttt

Manisch positief

Topicstarter
Ik heb (dmv Trixbox) een asterisk centrale opgezet. Het verloopt allemaal prima en een intern nummer e.d. werkt allemaal prima.

Ik heb 2 extensies (2 users/telefoons dus) aangemaakt, en als ik beide even hier inlog kan ik naar elkaar bellen e.d....

So far so good dus, maar als degene die het andere toestel heeft op extensie 2 inlogt (extern dus) en ik met extensie 1 hier lokaal. dan gaat het fout.

Hij kan inloggen, en kan mij bellen (en we verstaan elkaar prima) maar ik kan hem niet bellen.

We hebben STUN geprobeerd in te stellen op zijn telefoon, alle poorten open gegooid aan de server kant en ook voor zover mogelijk aan zijn kant...

Nu loop ik al uren te proberen wat het nu kan zijn, maar kan niks vinden. Iemand tips hoe dit kan komen dat het de ene weg wel wil en de andere weg niet..?

Asterisk geeft dit terug in debug mode...:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
  dialparties.agi: Starting New Dialparties.agi
  dialparties.agi: priority is 1
  dialparties.agi: Caller ID name is 'Geert-Jan' number is '102'
  dialparties.agi: Methodology of ring is  'none'
       >  dialparties.agi: USE_CONFIRMATION:  'FALSE'
       >  dialparties.agi: RINGGROUP_INDEX:   ''
    --  dialparties.agi: Added extension 101 to extension map
    --  dialparties.agi: Extension 101 cf is disabled
    --  dialparties.agi: Extension 101 do not disturb is disabled
       >  dialparties.agi: extnum: 101
       >  dialparties.agi: exthascw: 1
       >  dialparties.agi: exthascfb: 0
       >  dialparties.agi: extcfb:
       >  dialparties.agi: exthascfu: 0
       >  dialparties.agi: extcfu:
    --  dialparties.agi: dbset CALLTRACE/101 to 102
    -- AGI Script dialparties.agi completed, returning 0
    -- Executing Dial("SIP/102-086590b8", "SIP/101|15|tr") in new stack
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing GosubIf("SIP/102-086590b8", "0?docfu|1") in new stack
    -- Executing GosubIf("SIP/102-086590b8", "0?docfb|1") in new stack
    -- Executing NoOp("SIP/102-086590b8", "Voicemail is 101") in new stack
    -- Executing GotoIf("SIP/102-086590b8", "0?s-CHANUNAVAIL|1") in new stack
    -- Executing NoOp("SIP/102-086590b8", "Sending to Voicemail box 101") in new stack
    -- Executing Macro("SIP/102-086590b8", "vm|101|CHANUNAVAIL") in new stack
    -- Executing Macro("SIP/102-086590b8", "user-callerid|SKIPTTL") in new stack
    -- Executing NoOp("SIP/102-086590b8", "user-callerid: Geert-Jan 102") in new stack
    -- Executing GotoIf("SIP/102-086590b8", "0?report") in new stack
    -- Executing GotoIf("SIP/102-086590b8", "1?start") in new stack
    -- Goto (macro-user-callerid,s,5)
    -- Executing NoOp("SIP/102-086590b8", "REALCALLERIDNUM is 102") in new stack
    -- Executing Set("SIP/102-086590b8", "AMPUSER=102") in new stack
    -- Executing Set("SIP/102-086590b8", "AMPUSERCIDNAME=Geert-Jan") in new stack
    -- Executing GotoIf("SIP/102-086590b8", "0?report") in new stack
    -- Executing Set("SIP/102-086590b8", "CALLERID(all)=Geert-Jan <102>") in new stack
    -- Executing Set("SIP/102-086590b8", "REALCALLERIDNUM=102") in new stack
    -- Executing NoOp("SIP/102-086590b8", "TTL: 64 ARG1: SKIPTTL") in new stack
    -- Executing GotoIf("SIP/102-086590b8", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,21)
    -- Executing NoOp("SIP/102-086590b8", "Using CallerID "Geert-Jan" <102>") in new stack
    -- Executing Set("SIP/102-086590b8", "VMGAIN=") in new stack
    -- Executing GotoIf("SIP/102-086590b8", "1?s-CHANUNAVAIL|1") in new stack
    -- Goto (macro-vm,s-CHANUNAVAIL,1)
    -- Executing Macro("SIP/102-086590b8", "get-vmcontext|101") in new stack
    -- Executing Set("SIP/102-086590b8", "VMCONTEXT=") in new stack
    -- Executing GotoIf("SIP/102-086590b8", "1?200:300") in new stack
    -- Goto (macro-get-vmcontext,s,200)
    -- Executing Set("SIP/102-086590b8", "VMCONTEXT=default") in new stack
    -- Executing VoiceMail("SIP/102-086590b8", "101@default|u") in new stack
    -- Executing Goto("SIP/102-086590b8", "exit-FAILED|1") in new stack
    -- Goto (macro-vm,exit-FAILED,1)
    -- Executing Playback("SIP/102-086590b8", "im-sorry&an-error-has-occured") in new stack
    -- Playing 'im-sorry' (language 'en')
    -- Playing 'an-error-has-occured' (language 'en')
    -- Executing Hangup("SIP/102-086590b8", "") in new stack
  == Spawn extension (macro-vm, exit-FAILED, 2) exited non-zero on 'SIP/102-086590b8' in macro 'vm'
  == Spawn extension (macro-vm, exit-FAILED, 2) exited non-zero on 'SIP/102-086590b8' in macro 'exten-vm'
  == Spawn extension (macro-vm, exit-FAILED, 2) exited non-zero on 'SIP/102-086590b8'

Oost west, 127.0.0.1 best!


  • Sypher
  • Registratie: Oktober 2002
  • Laatst online: 01-02 19:14
SIP is - heb ik ondervonden - heel vervelend op te zetten vanaf afstand. IAX2 daarintegen heeft maar 1 poort nodig en werkt veel beter.

Indien je enkel gebruik maakt van softphones, zou ik eerder een IAX2 softphone pakken dan SIP. Als je hardphones gebruikt is dat natuurlijk een ander verhaal.

Either way, misschien heb je hier wat aan:
Het grote Asterisk topic - Deel I