[Frage] Szenario möglich? (asterisk – Fritzbox[voip] - Client/openvpn)

hyde

Neuer User
Mitglied seit
29 Mai 2005
Beiträge
54
Punkte für Reaktionen
0
Punkte
6
Wieso so umständlich wenn es vielleicht auch einfacher geht?! Bisher versuchte ich meinen asterisk Server direkt bei 1&1 zu registrieren.
Siehe hier: http://www.ip-phone-forum.de/showthread.php?t=256572&p=1892263#post1892263
Wäre es möglich den asterisk-Server direkt an der Fritzbox anstelle von 1&1 anzumelden?
Das smartphone verbindet über openvpn mit dem asterisk-Server, zur Kommunikation wird hier das iax Protokoll benutzt.
Eigentlich hatte ich noch ne Skizze parat. Der Upload schlug allerdings ständig fehl. Werde es später nochmals versuchen hochzuladen.
 
Hier nun die Skizze
 

Anhänge

  • freepbx.png
    freepbx.png
    16.5 KB · Aufrufe: 69
Müßte eigentlich gehen, das Ganze.
Habe auch eine Anleitung gefunden, an der ich mich weiterhangle.
http://linux.kundp.de/archives/90-Trixbox-CE-an-Fritz!Box-als-Nebenstelle-anmelden.html

Leider schaffe ich es nicht nach draussen zu telefonieren. Ich bekomme immer eine Meldung: "The number you have dialed is not in service. Please check the number and try again". Einkommende Anrufe kann ich entgegen nehmen.

Müssen vielleicht irgendwelche Nat-Einstellungen vorgenommen werden? (nutze freepbx)
Oder bedarf es einer Portweiterleitung? Wo liegt "der Hund begraben"?

Hier meine Einstellungen für den Sip-Trunk

Outgoing Settings
Username=620
fromdomain=fritz.box
fromuser=620
type=peer
secret=<passwort>
qualify=yes
nat=no
insecure=port,invite
host=192.168.178.1
dtmfmode=rfc2833
dtmf=auto
disallow=all
context=from-trunk
canreinvite=no
authuser=620
allow=ilbc&g729&g726aal2&gsm&alaw&ulaw

Incoming Settings
username=620
type=user
secret=<passwort>
nat=no
insecure=very
host=192.168.178.1
fromuser=620
fromdomain=fritz.box
context=from-trunk

620:<passwort>@192.168.178.1/620


Wo komme ich übrigens an die debug Dateien? Unter /log/var/asterisk gibt es einige Dateien..
welche genau hat die relevanten Informationen?
 
Zuletzt bearbeitet:
sip debug:
Code:
<------------>
   == Spawn extension (from-trunk, s, 4) exited non-zero on 
'SIP/620-00000004'
     -- Executing [h@from-trunk:1] Macro("SIP/620-00000004", 
"hangupcall,") in new stack
     -- Executing [s@macro-hangupcall:1] GotoIf("SIP/620-00000004", 
"1?theend") in new stack
     -- Goto (macro-hangupcall,s,3)
     -- Executing [s@macro-hangupcall:3] ExecIf("SIP/620-00000004", 
"0?Set(CDR(recordingfile)=)") in new stack
     -- Executing [s@macro-hangupcall:4] Hangup("SIP/620-00000004", "") 
in new stack
   == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 
'SIP/620-00000004' in macro 'hangupcall'
   == Spawn extension (from-trunk, h, 1) exited non-zero on 
'SIP/620-00000004'
Really destroying SIP dialog '[email protected]' Method: BYE
Really destroying SIP dialog '[email protected]' Method: REGISTER
Reliably Transmitting (no NAT) to 192.168.178.1:5060:
OPTIONS sip:192.168.178.1 SIP/2.0
Via: SIP/2.0/UDP 192.168.178.29:5060;branch=z9zG4bK5d96c453
Max-Forwards: 70
From: "Unknown" <sip:[email protected]>;tag=as44b1cb37
To: <sip:192.168.178.1>
Contact: <sip:[email protected]:5060>
Call-ID: [email protected]:5060
CSeq: 102 OPTIONS
User-Agent: FPBX-2.11.0beta2(11.1.2)
Date: Wed, 06 Feb 2013 21:37:14 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, 
INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0

Muß ich vielleicht einen Dial Plan anlegen?
Wenn ich übrigens '620' wähle, dann kommt ein Klingelzeichen...
Muß ich bei den Ports etwas beachten/freischalten?
 
Ich komme nicht weiter!
Registrierung bekomme ich hin, aber sobald ich raustelefonieren möchte kommt die Meldung "The number you have dialed is not in service".

Kann mir bitte jemand weiterhelfen?
Debug + Bilder im Anhang..
 

Anhänge

  • debug.txt
    16.3 KB · Aufrufe: 2
  • extension1.jpg
    extension1.jpg
    35.5 KB · Aufrufe: 33
  • extension2.jpg
    extension2.jpg
    40.1 KB · Aufrufe: 29
  • fritz2.jpg
    fritz2.jpg
    52.7 KB · Aufrufe: 18
  • fritz3.jpg
    fritz3.jpg
    41.8 KB · Aufrufe: 18
  • fritz4.jpg
    fritz4.jpg
    49.9 KB · Aufrufe: 22
  • fritz5.jpg
    fritz5.jpg
    113.1 KB · Aufrufe: 19
  • outboundroute.jpg
    outboundroute.jpg
    41.1 KB · Aufrufe: 26
  • sipsettings1.jpg
    sipsettings1.jpg
    37 KB · Aufrufe: 26
  • sipsettings2.jpg
    sipsettings2.jpg
    46.1 KB · Aufrufe: 18
  • status.jpg
    status.jpg
    63.8 KB · Aufrufe: 19
  • trunk1.jpg
    trunk1.jpg
    65.2 KB · Aufrufe: 24
  • trunk2.jpg
    trunk2.jpg
    42.8 KB · Aufrufe: 23
  • fritz1.jpg
    fritz1.jpg
    45.6 KB · Aufrufe: 29
Zuletzt bearbeitet:
Hallo,

habe auch gerade FreePBX hinter der Fritzbox am laufen.
(bei mir 621 also entsprechend anpassen)
Im Trunk habe ich
als Outbound CallerID

<621>

unter Peerdetails:

username=621
type=peer
[noparse]secret=DAS PASSWORT[/noparse]
qualify=yes
insecure=invite,port
host=fritz.fonwlan.box

Unter User Details :

type=user
secret=DAS PASSWORT
context=from-trunk

Als Register String :

[noparse]621:DAS [email protected]:5060/621[/noparse]

Denke du solltest die Netzwerkeinstellungen unter den SIP Einstellungen evtl. auch anpassen.
Habe bei mir dort Nat aus und unter externe IP den von der Fritzbox registrierten DynDNS Namen.

Grüße
spueli99
 
Zuletzt bearbeitet:
Hallo hyde,

Dein Szenario ist definitiv möglich, weil wir hier was ganz ähnliches haben.

Wenn Du mit Deinem SIP-Telefon (FritzBox) raustelefonieren willst, dann wirst Du wohl einen Dialplan brauchen. Dein ganzes Config-Zeugs sähe dann ungefähr so aus:

sip.conf:
Code:
register => 620:PASSWORT@IP_DER_FRITZBOX/620

[620]
type = peer
username = 620
host = IP_DER_FRITZBOX
dtmfmode=rfc2833
secret=PASSWORT
qualify = yes
fromdomain = fritz.box
fromuser = 620
nat = no
canreinvite = no
context = DEIN_KOMMENDER_KONTEXT
insecure=port,invite

extensions.conf:

Code:
[fritzbox-gehend]
; Alle deutschen Festnetznummern

exten => _0[2-9].,1,Dial(SIP/${EXTEN}@620,120,r)
exten => _0[2-9].,n,Congestion()
exten => _0[2-9].,102,Busy
exten => _0[2-9].,103,Wait(10)
exten => _0[2-9].,104,Hangup

So rennt es bei mir.

Und was Deinen SIP/IAX-Client per OpenVPN angeht, das läuft bei mir ohne Probleme:

1x Asterisken per IAX
1x FritzBox per SIP
1x SmartPhone (Android) per IAX
1x Windows-PC per IAX über

Alle Verbindungen sind per OpenVPN getunnelt. Der OpenVPN-Server ist eine Ubuntu-Kiste.


Hoffe, das hilft.

Hawedieehre.
Fant.
 
Recht herzlichen Dank für eure Unterstützung!

Bin erstmal chronologisch vorgegangen und habe die Einstellungen gemäß spueli99 abgeändert, allerdings klappte die Registrierung zur Fritzbox nicht mehr.

Also habe ich fants Ratschläge befolgt.
Erstellte einen Dialplan in den Outbound Routes, so daß meine extension.conf folgendes anzeigte:
Code:
exten => _0[2-9],1,Macro(user-callerid,LIMIT,)
exten => _0[2-9],n,Set(MOHCLASS=${IF($["${MOHCLASS}"=""]?default:${MOHCLASS})})
exten => _0[2-9],n,Set(_NODEST=)
exten => _0[2-9],n,Gosub(sub-record-check,s,1(out,${EXTEN},))
exten => _0[2-9],n,Macro(dialout-trunk,1,${EXTEN:1},,off)
exten => _0[2-9],n,Macro(outisbusy,)

Leider bekam ich wieder die "not in Service" Meldung.
@fant
Bist du bei den Netzwerkeinstellungen gleich vorgegangen wie spueli99? Ohne NAT und mit einer dyndns Addresse?
@beide
Habt ihr was bei "bind address", "bind port" definiert? Irgendwelches Portforwarding auf der Fritzbox eingestellt? Oder vielleicht sogar geändert zumal die Fritzbox intern den 5060er Port benutzt?..
Was habt ihr auf der Fritzbox (sofern vorhanden) eingestellt? Habt ihr tatsächlich unter "Eigene Rufnummern" und "Telefoniegeräte" Einträge ergänzt zur Verbindung mit dem asterisk Server?

Viele Grüße
Michael
 
Das wichtigste von dem was fant geschrieben hat, ist fromdomain "fritz.box". Ohne diese Erweiterung (wortwörtlich!) kannst Du nicht vom Asterisk aus über die Fritzbox telefonieren. Hast Du das beachtet?

Nachtrag, da ja bei Dir wohl beides lokal steht, muss bei der 620 nat=no gesetzt werden.

Noch ein Nachtrag, was steht im System - Ereignisse der Fritzbox unter Telefonie, wenn der Anruf fehlgeschlagen ist? Die vollständige Nummer oder was anderes?
 
Zuletzt bearbeitet:
Nat=no - okay, war bereits eingestellt. dyndns macht eigentilch keinen Sinn in meinem Fall, oder? Mein Verbindungspartner ist ja die Fritzbox und nicht das Internet.

..gute Idee mit der Fritzbox-Log. Daran hatte ich noch überhaupt nicht gedacht. Der Reiter "Telefonie" gibt aus:
Code:
Anmeldung der Internetrufnummer 620 war nicht erfolgreich. Ursache: Gegenstelle antwortet nicht. Zeitüberschreitung.
Komischerweise zeigt das "Statuslämpchen" unter "Eigene Rufnummern" grün an. Auch freepbx meldet 2 online Verbindungen. (siehe meine Bilder weiter oben)
 
Jetzt verwirrst Du mich. Wie kann es für die "620" unter "Eigene Rufnummern" ein grünes Lämpchen geben? Die "620" ist doch ein "LAN/WLAN" Gerät und taucht nur unter "Telefoniegeräte" auf.
 
Lies doch bitte mal genau was ich geschrieben zuvor geschrieben habe und auch was dir die anderen ob als Tipp gegeben haben. Dein Asteriskserver meldet sich als SIP-Client per "register" als Nebenstelle 620 der Fritzbox ("LAN/WLAN") an und nutzt deren SIP-Provider zum telefonieren. Nicht umgekehrt. Entsprechend kann und darf dort auch nichts grün leuchten - denn das ist die FALSCHE Richtung!
 
Ah! Okay. Verzeihung! Hab ich nun korregiert.
fromdomain=fritz.box habe ich beachtet.

Wie sieht mein Dialplan aus? Passt der so? Wenn ich die .config anschaue, dann passt das so mit fants Beschreibung überein (_0[2-9]).
 

Anhänge

  • outboundroute2.jpg
    outboundroute2.jpg
    11.7 KB · Aufrufe: 22
  • fritz6.jpg
    fritz6.jpg
    30.5 KB · Aufrufe: 16
  • fritz7.jpg
    fritz7.jpg
    34.6 KB · Aufrufe: 17
Zuletzt bearbeitet:
Hier mein aktueller Debug-Log
Code:
<--- Transmitting (no NAT) to 192.168.178.26:42712 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP
192.168.178.26:42712;branch=z9hG4bKe0732997f722fbc5a73d0b19a51913e6343935;received=192.168.178.26;rport=42712
From: "620" <sip:[email protected]>;tag=2828091086
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 8642 INVITE
Server: FPBX-2.11.0beta2(11.1.2)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: <sip:[email protected]:5060>
Content-Length: 0


<------------>
     -- Executing [+49711123456@from-sip-external:1]
NoOp("SIP/192.168.178.29-0000000a", "Received incoming SIP connection from unknown peer to +49711123456") in new stack
     -- Executing [+49711123456@from-sip-external:2]
Set("SIP/192.168.178.29-0000000a", "DID=+49711123456") in new stack
     -- Executing [+49711123456@from-sip-external:3]
Goto("SIP/192.168.178.29-0000000a", "s,1") in new stack
     -- Goto (from-sip-external,s,1)
     -- Executing [s@from-sip-external:1] GotoIf("SIP/192.168.178.29-0000000a", "1?checklang:noanonymous") in new stack
     -- Goto (from-sip-external,s,2)
     -- Executing [s@from-sip-external:2] GotoIf("SIP/192.168.178.29-0000000a",
"1?setlanguage:from-trunk,+49711123456,1") in new stack
     -- Goto (from-sip-external,s,3)
     -- Executing [s@from-sip-external:3] Set("SIP/192.168.178.29-0000000a", "CHANNEL(language)=de") in new stack
     -- Executing [s@from-sip-external:4] Goto("SIP/192.168.178.29-0000000a", "from-trunk,+49711123456,1") in new stack
     -- Goto (from-trunk,+49711123456,1)
     -- Executing [+49711123456@from-trunk:1] Set("SIP/192.168.178.29-0000000a", "__FROM_DID=+49711123456") in new stack
     -- Executing [+49711123456@from-trunk:2] NoOp("SIP/192.168.178.29-0000000a", "Received an unknown call with DID set to +49711123456") in new stack
     -- Executing [+49711123456@from-trunk:3] Goto("SIP/192.168.178.29-0000000a", "s,a2") in new stack
     -- Goto (from-trunk,s,2)
     -- Executing [s@from-trunk:2] Answer("SIP/192.168.178.29-0000000a",
"") in new stack
Audio is at 16242
Adding codec 100003 (ulaw) to SDP
Adding codec 100004 (alaw) to SDP
Adding codec 100002 (gsm) to SDP
Adding non-codec 0x1 (telephone-event) to SDP

<--- Reliably Transmitting (no NAT) to 192.168.178.26:42712 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP
192.168.178.26:42712;branch=z9hG4bKe0732997f722fbc5a73d0b19a51913e6343935;received=192.168.178.26;rport=42712
From: "620" <sip:[email protected]>;tag=2828091086
To: <sip:[email protected]>;tag=as5e523a17
Call-ID: [email protected]
CSeq: 8642 INVITE
Server: FPBX-2.11.0beta2(11.1.2)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: <sip:[email protected]:5060>
Content-Type: application/sdp
Content-Length: 311

v=0
o=root 339045425 339045425 IN IP4 192.168.178.29 s=Asterisk PBX 11.1.2 c=IN IP4 192.168.178.29
t=0 0
m=audio 16242 RTP/AVP 0 8 3 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv

<------------>

<--- SIP read from UDP:192.168.178.26:42712 ---> ACK sip:[email protected]:5060 SIP/2.0
Call-ID: [email protected]
CSeq: 8642 ACK
Via: SIP/2.0/UDP
192.168.178.26:42712;branch=z9hG4bKf03895ee0558f5de5a2830f85f1cabdb343935
From: "620" <sip:[email protected]>;tag=2828091086
To: <sip:[email protected]>;tag=as5e523a17
Max-Forwards: 70
Content-Length: 0

<------------->
--- (8 headers 0 lines) ---
     -- Executing [s@from-trunk:3] Wait("SIP/192.168.178.29-0000000a",
"2") in new stack
     -- Executing [s@from-trunk:4]
Playback("SIP/192.168.178.29-0000000a", "ss-noservice") in new stack
     -- <SIP/192.168.178.29-0000000a> Playing 'ss-noservice.ulaw' 
(language 'de')

<--- SIP read from UDP:192.168.178.26:42712 ---> BYE sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP
192.168.178.26:42712;branch=z9hG4bKbe73e1107f569ca2bf66e1938694f0b3343935
CSeq: 8643 BYE
From: "620" <sip:[email protected]>;tag=2828091086
To: <sip:[email protected]>;tag=as5e523a17
Call-ID: [email protected]
Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,REFER,SUBSCRIBE,NOTIFY,INFO,PUBLISH
Supported: replaces,timer
Max-Forwards: 70
Content-Length: 0

<------------->
--- (10 headers 0 lines) ---
Sending to 192.168.178.26:42712 (no NAT) Scheduling destruction of SIP dialog '[email protected]' in 32000 ms (Method: BYE)

<--- Transmitting (no NAT) to 192.168.178.26:42712 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP
192.168.178.26:42712;branch=z9hG4bKbe73e1107f569ca2bf66e1938694f0b3343935;received=192.168.178.26
From: "620" <sip:[email protected]>;tag=2828091086
To: <sip:[email protected]>;tag=as5e523a17
Call-ID: [email protected]
CSeq: 8643 BYE
Server: FPBX-2.11.0beta2(11.1.2)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0


<------------>
[2013-02-11 22:12:56] WARNING[6420][C-0000000a]: file.c:827
ast_readaudio_callback: Failed to write frame
   == Spawn extension (from-trunk, s, 4) exited non-zero on 'SIP/192.168.178.29-0000000a'
     -- Executing [h@from-trunk:1] Macro("SIP/192.168.178.29-0000000a",
"hangupcall,") in new stack
     -- Executing [s@macro-hangupcall:1] GotoIf("SIP/192.168.178.29-0000000a", "1?theend") in new stack
     -- Goto (macro-hangupcall,s,3)
     -- Executing [s@macro-hangupcall:3] ExecIf("SIP/192.168.178.29-0000000a", "0?Set(CDR(recordingfile)=)") in new stack
     -- Executing [s@macro-hangupcall:4] Hangup("SIP/192.168.178.29-0000000a", "") in new stack
   == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/192.168.178.29-0000000a' in macro 'hangupcall'
   == Spawn extension (from-trunk, h, 1) exited non-zero on 'SIP/192.168.178.29-0000000a'
Kann hier jemand etwas auffälliges herauslesen?
 
Statt "+49711123456" -> "0049711123456" oder "0711123456". Ersetzen oder entsprechend wählen.
 
Mangels Zeit hab ich den ganzen Thread nur überflogen, aber mir kommt da einiges verdreht vor.

Du möchtest die Fritzbox bei 1und1 registrieren und den Asterisk als Client an der Fritzbox betreiben, richtig?

Dazu musst Du in der Fritzbox die 1und1 Nummer ganz normal einrichten, die sollte dann auch schon mal mit gründer Lampe angezeigt werden. Dann brauchst Du ein "Telefon über LAN/WLAN", das von der Box eine Nummer 62x bekommt, als ankommende und abgehende Nummer die 1und1 Rufnummer.
(auf den ersten Blick passt das soweit)
Eine "eigene Telefonnummer" 620 oder ähnliches muss weg.

Im Asterisk GUI brauchst Du einen Trunk, der weder NAT noch sonst irgendwelche Einstellungen braucht. Da muss nur als Benutzername 62x rein, Kennwort wie in der Fritzbox vergeben, und als Host die lokale IP-Adresse der Fritzbox. Outbound CID muss 62x sein, insecure ggf. auf invite stellen.

In den ankommenden Routen brauchst Du eine für die ankommende Nummer 62x mit Ziel Smartphone, als abgehende Route etwas allgemeingültiges (zB. X.) über obigen Trunk. Wenn die CID hier eingestellt wird, dann eben hier 62x.
Wenn Du mit +49 wählen willst, brauchst Du dafür auch noch eine Route +X., oder Du wählst wie ktw2003 schreibt mit 0.

Von wo nach wo wolltest Du bei obigem Log rufen? Die Meldung Received "incoming SIP connection from unknown peer to +49711123456" und der angesprungene Context machen in dem Zusammenhang wenig Sinn.
 
Hallo rentier-s,

das ist mal ein prima Überblick! Recht herzlichen Dank! Habe schon viel recherchiert, aber je mehr ich darüber lese, desto verwirrter bin ich, da ich keinen gemeinsamen Nenner gefunden habe. Auch durch allgemeine asterisk Anleitungen konnte ich keine Rückschlüsse auf meinen Fall ziehen.

'Ja', du hast hast es richtig zusammengefasst. Mein asterisk Server soll als Client an der Fritzbox hängen.
In der Zwischenzeit glaubte ich schon an einen Erfolg, als ich rein- und raustelefonieren konnte, allerdings fiel mir dann auf, daß ich auf meinem Handyclient den falschen Server angegeben habe (sipdroid: 620;192.168.178.1;UDP;5060..). Statt dem asterisk Server (192.168.178.29) hatte ich die IP der Fritzbox eingetragen. Trotzdem hatte ich ein Manko mit den raustelefonieren. Mein Gesprächspartner konnte ich hören, aber mein Gesprächspartner konnte mich nicht hören. Es kamen nur Rausch- und Klickgeräusche? Kann man aus diesem Vorfall etwas ableiten, wenn man nicht mal „direkt“, ohne asterisk Server zwischengeschaltet, nach draussen verbinden kann?!

Werde jedenfalls heute Abend anhand deines Plans die Einstellungen neu vornehmen. Sicherlich gibt es irgendwo eine Option, alle Einstellungen zurückzusetzen.
 
Teilerfolg!

Jetzt hab ich das ganze mit nem Kumpel gestest.
Ich kann Telefonate empfangen, aber es gehen keine hinaus. Es klingelt zwar, aber die Gegenstelle hört nichts.
Der Log (Ausschnitt):
Code:
    -- Executing [s@macro-user-callerid:25] Set("SIP/620-0000002e", "CALLERID(number)=620") in new stack
    -- Executing [s@macro-user-callerid:26] Set("SIP/620-0000002e", "CALLERID(name)=michl") in new stack
    -- Executing [s@macro-user-callerid:27] Set("SIP/620-0000002e", "CDR(cnum)=620") in new stack
    -- Executing [s@macro-user-callerid:28] Set("SIP/620-0000002e", "CDR(cnam)=michl") in new stack
    -- Executing [s@macro-user-callerid:29] Set("SIP/620-0000002e", "CHANNEL(language)=de") in new stack
    -- Executing [s@macro-exten-vm:2] Set("SIP/620-0000002e", "RingGroupMethod=none") in new stack
    -- Executing [s@macro-exten-vm:3] Set("SIP/620-0000002e", "__EXTTOCALL=620") in new stack
    -- Executing [s@macro-exten-vm:4] Set("SIP/620-0000002e", "__PICKUPMARK=620") in new stack
    -- Executing [s@macro-exten-vm:5] Set("SIP/620-0000002e", "RT=") in new stack
    -- Executing [s@macro-exten-vm:6] Gosub("SIP/620-0000002e", "sub-record-check,s,1(exten,620,)") in new stack
    -- Executing [s@sub-record-check:1] GotoIf("SIP/620-0000002e", "1?check") in new stack
    -- Goto (sub-record-check,s,6)
    -- Executing [s@sub-record-check:6] Set("SIP/620-0000002e", "__MON_FMT=wav") in new stack
    -- Executing [s@sub-record-check:7] GotoIf("SIP/620-0000002e", "1?next") in new stack
    -- Goto (sub-record-check,s,10)
    -- Executing [s@sub-record-check:10] ExecIf("SIP/620-0000002e", "0?Return()") in new stack
    -- Executing [s@sub-record-check:11] GotoIf("SIP/620-0000002e", "0?exten,1") in new stack
    -- Executing [s@sub-record-check:12] Set("SIP/620-0000002e", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [s@sub-record-check:13] ExecIf("SIP/620-0000002e", "0?Set(__REC_POLICY_MODE=)") in new stack
    -- Executing [s@sub-record-check:14] Set("SIP/620-0000002e", "NOW=1361009110") in new stack
    -- Executing [s@sub-record-check:15] Set("SIP/620-0000002e", "__DAY=16") in new stack
    -- Executing [s@sub-record-check:16] Set("SIP/620-0000002e", "__MONTH=02") in new stack
    -- Executing [s@sub-record-check:17] Set("SIP/620-0000002e", "__YEAR=2013") in new stack
    -- Executing [s@sub-record-check:18] Set("SIP/620-0000002e", "__TIMESTR=20130216-110510") in new stack
    -- Executing [s@sub-record-check:19] Set("SIP/620-0000002e", "__FROMEXTEN=620") in new stack
    -- Executing [s@sub-record-check:20] Set("SIP/620-0000002e", "__CALLFILENAME=exten-620-620-20130216-110510-1361009109.46") in new stack
    -- Executing [s@sub-record-check:21] Goto("SIP/620-0000002e", "exten,1") in new stack
    -- Goto (sub-record-check,exten,1)
    -- Executing [exten@sub-record-check:1] GotoIf("SIP/620-0000002e", "0?callee") in new stack
    -- Executing [exten@sub-record-check:2] Set("SIP/620-0000002e", "__REC_POLICY_MODE=dontcare") in new stack
    -- Executing [exten@sub-record-check:3] GotoIf("SIP/620-0000002e", "1?caller") in new stack
    -- Goto (sub-record-check,exten,10)
    -- Executing [exten@sub-record-check:10] Set("SIP/620-0000002e", "__REC_POLICY_MODE=dontcare") in new stack
    -- Executing [exten@sub-record-check:11] GosubIf("SIP/620-0000002e", "0?record,1(exten,620,620)") in new stack
    -- Executing [exten@sub-record-check:12] Return("SIP/620-0000002e", "") in new stack
    -- Executing [s@macro-exten-vm:7] Macro("SIP/620-0000002e", "dial-one,,tr,620") in new stack
    -- Executing [s@macro-dial-one:1] Set("SIP/620-0000002e", "DEXTEN=620") in new stack
    -- Executing [s@macro-dial-one:2] Set("SIP/620-0000002e", "DIALSTATUS_CW=") in new stack
    -- Executing [s@macro-dial-one:3] GosubIf("SIP/620-0000002e", "0?screen,1()") in new stack
    -- Executing [s@macro-dial-one:4] GosubIf("SIP/620-0000002e", "0?cf,1()") in new stack
    -- Executing [s@macro-dial-one:5] GotoIf("SIP/620-0000002e", "1?skip1") in new stack
    -- Goto (macro-dial-one,s,8)
    -- Executing [s@macro-dial-one:8] GotoIf("SIP/620-0000002e", "0?nodial") in new stack
    -- Executing [s@macro-dial-one:9] GotoIf("SIP/620-0000002e", "0?continue") in new stack
    -- Executing [s@macro-dial-one:10] Set("SIP/620-0000002e", "EXTHASCW=ENABLED") in new stack
    -- Executing [s@macro-dial-one:11] GotoIf("SIP/620-0000002e", "0?next1:cwinusebusy") in new stack
    -- Goto (macro-dial-one,s,23)
    -- Executing [s@macro-dial-one:23] GotoIf("SIP/620-0000002e", "1?next3:continue") in new stack
    -- Goto (macro-dial-one,s,24)
    -- Executing [s@macro-dial-one:24] ExecIf("SIP/620-0000002e", "1?Set(DIALSTATUS_CW=BUSY)") in new stack
    -- Executing [s@macro-dial-one:25] GotoIf("SIP/620-0000002e", "0?nodial") in new stack
    -- Executing [s@macro-dial-one:26] GosubIf("SIP/620-0000002e", "1?dstring,1():dlocal,1()") in new stack
    -- Executing [dstring@macro-dial-one:1] Set("SIP/620-0000002e", "DSTRING=") in new stack
    -- Executing [dstring@macro-dial-one:2] Set("SIP/620-0000002e", "DEVICES=620") in new stack
    -- Executing [dstring@macro-dial-one:3] ExecIf("SIP/620-0000002e", "0?Return()") in new stack
    -- Executing [dstring@macro-dial-one:4] ExecIf("SIP/620-0000002e", "0?Set(DEVICES=20)") in new stack
    -- Executing [dstring@macro-dial-one:5] Set("SIP/620-0000002e", "LOOPCNT=1") in new stack
    -- Executing [dstring@macro-dial-one:6] Set("SIP/620-0000002e", "ITER=1") in new stack
    -- Executing [dstring@macro-dial-one:7] Set("SIP/620-0000002e", "THISDIAL=SIP/620") in new stack
    -- Executing [dstring@macro-dial-one:8] GosubIf("SIP/620-0000002e", "1?zap2dahdi,1()") in new stack
    -- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/620-0000002e", "0?Return()") in new stack
    -- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/620-0000002e", "NEWDIAL=") in new stack
    -- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/620-0000002e", "LOOPCNT2=1") in new stack
    -- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/620-0000002e", "ITER2=1") in new stack
    -- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/620-0000002e", "THISPART2=SIP/620") in new stack
    -- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/620-0000002e", "0?Set(THISPART2=DAHDI/620)") in new stack
    -- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/620-0000002e", "NEWDIAL=SIP/620&") in new stack
    -- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/620-0000002e", "ITER2=2") in new stack
    -- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/620-0000002e", "0?begin2") in new stack
    -- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/620-0000002e", "THISDIAL=SIP/620") in new stack
    -- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/620-0000002e", "") in new stack
    -- Executing [dstring@macro-dial-one:9] Set("SIP/620-0000002e", "DSTRING=SIP/620&") in new stack
    -- Executing [dstring@macro-dial-one:10] Set("SIP/620-0000002e", "ITER=2") in new stack
    -- Executing [dstring@macro-dial-one:11] GotoIf("SIP/620-0000002e", "0?begin") in new stack
    -- Executing [dstring@macro-dial-one:12] Set("SIP/620-0000002e", "DSTRING=SIP/620") in new stack
    -- Executing [dstring@macro-dial-one:13] Return("SIP/620-0000002e", "") in new stack
    -- Executing [s@macro-dial-one:27] GotoIf("SIP/620-0000002e", "0?nodial") in new stack
    -- Executing [s@macro-dial-one:28] GotoIf("SIP/620-0000002e", "0?skiptrace") in new stack
    -- Executing [s@macro-dial-one:29] GosubIf("SIP/620-0000002e", "1?ctset,1():ctclear,1()") in new stack
    -- Executing [ctset@macro-dial-one:1] Set("SIP/620-0000002e", "DB(CALLTRACE/620)=620") in new stack
    -- Executing [ctset@macro-dial-one:2] Return("SIP/620-0000002e", "") in new stack
    -- Executing [s@macro-dial-one:30] Set("SIP/620-0000002e", "D_OPTIONS=tr") in new stack
    -- Executing [s@macro-dial-one:31] ExecIf("SIP/620-0000002e", "0?SIPAddHeader(Alert-Info: )") in new stack
    -- Executing [s@macro-dial-one:32] ExecIf("SIP/620-0000002e", "0?SIPAddHeader()") in new stack
    -- Executing [s@macro-dial-one:33] ExecIf("SIP/620-0000002e", "0?Set(CHANNEL(musicclass)=)") in new stack
    -- Executing [s@macro-dial-one:34] GosubIf("SIP/620-0000002e", "0?qwait,1()") in new stack
    -- Executing [s@macro-dial-one:35] Set("SIP/620-0000002e", "__CWIGNORE=") in new stack
    -- Executing [s@macro-dial-one:36] Set("SIP/620-0000002e", "__KEEPCID=TRUE") in new stack
    -- Executing [s@macro-dial-one:37] GotoIf("SIP/620-0000002e", "0?usegoto,1") in new stack
    -- Executing [s@macro-dial-one:38] GotoIf("SIP/620-0000002e", "0?godial") in new stack
    -- Executing [s@macro-dial-one:39] Set("SIP/620-0000002e", "CONNECTEDLINE(name,i)=michl") in new stack
    -- Executing [s@macro-dial-one:40] Set("SIP/620-0000002e", "CONNECTEDLINE(num)=620") in new stack
    -- Executing [s@macro-dial-one:41] Set("SIP/620-0000002e", "D_OPTIONS=trI") in new stack
    -- Executing [s@macro-dial-one:42] Dial("SIP/620-0000002e", "SIP/620,,trI") in new stack
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
Audio is at 12638
Adding codec 100003 (ulaw) to SDP
Adding codec 100004 (alaw) to SDP
Adding codec 100002 (gsm) to SDP
Adding codec 100008 (g729) to SDP
Adding codec 100010 (ilbc) to SDP
Adding codec 100005 (g726aal2) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (no NAT) to 192.168.178.26:43877:
INVITE sip:[email protected]:43877;transport=udp SIP/2.0
Via: SIP/2.0/UDP 192.168.178.29:5060;branch=z9hG4bK5b0c8444
Max-Forwards: 70
From: "michl" <sip:[email protected]>;tag=as1b9db7b0
To: <sip:[email protected]:43877;transport=udp>
Contact: <sip:[email protected]:5060>
Call-ID: [email protected]:5060
CSeq: 102 INVITE
User-Agent: FPBX-2.11.0beta2(11.1.2)
Date: Sat, 16 Feb 2013 10:05:10 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 441

v=0
o=root 1612114647 1612114647 IN IP4 192.168.178.29
s=Asterisk PBX 11.1.2
c=IN IP4 192.168.178.29
t=0 0
m=audio 12638 RTP/AVP 0 8 3 18 97 112 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=rtpmap:112 AAL2-G726-32/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv

---
    -- Called SIP/620

<--- Transmitting (no NAT) to 192.168.178.26:43877 --->
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.178.26:43877;branch=z9hG4bK26672;received=192.168.178.26;rport=43877
From: <sip:[email protected]>;tag=z9hG4bK67323229
To: <sip:[email protected]>;tag=as537171c2
Call-ID: [email protected]
CSeq: 2 INVITE
Server: FPBX-2.11.0beta2(11.1.2)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: <sip:[email protected]:5060>
Content-Length: 0


<------------>
    -- Connected line update to SIP/620-0000002e prevented.
Retransmitting #1 (no NAT) to 192.168.178.26:43877:
INVITE sip:[email protected]:43877;transport=udp SIP/2.0
Via: SIP/2.0/UDP 192.168.178.29:5060;branch=z9hG4bK5b0c8444
Max-Forwards: 70
From: "michl" <sip:[email protected]>;tag=as1b9db7b0
To: <sip:[email protected]:43877;transport=udp>
Contact: <sip:[email protected]:5060>
Call-ID: [email protected]:5060
CSeq: 102 INVITE
User-Agent: FPBX-2.11.0beta2(11.1.2)
Date: Sat, 16 Feb 2013 10:05:10 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 441

v=0
o=root 1612114647 1612114647 IN IP4 192.168.178.29
s=Asterisk PBX 11.1.2
c=IN IP4 192.168.178.29
t=0 0
m=audio 12638 RTP/AVP 0 8 3 18 97 112 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=rtpmap:112 AAL2-G726-32/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv

---

<--- SIP read from UDP:192.168.178.26:43877 --->
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.178.26:43877;rport;branch=z9hG4bK26672
Max-Forwards: 70
To: <sip:[email protected]>
From: <sip:[email protected]>;tag=z9hG4bK67323229
Call-ID: [email protected]
CSeq: 2 INVITE
Contact: <sip:[email protected]:43877;transport=udp>
Expires: 3600
User-Agent: Sipdroid/2.9 beta/Nexus One
Authorization: Digest username="620", realm="asterisk", nonce="62567fd0", uri="sip:[email protected]", algorithm=MD5, response="bdd36c544418af09c95b70ee25f41226"
Content-Length: 390
Content-Type: application/sdp

v=0
[email protected] 0 0 IN IP4 192.168.178.26
s=Session SIP/SDP
c=IN IP4 192.168.178.26
t=0 0
m=audio 21000 RTP/AVP 9 8 0 97 3 106 101
a=rtpmap:9 G722/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:97 speex/8000
a=rtpmap:3 GSM/8000
a=rtpmap:106 BV16/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
m=video 21070 RTP/AVP 103
a=rtpmap:103 h263-1998/90000
<------------->
--- (13 headers 16 lines) ---
Ignoring this INVITE request

<--- Transmitting (no NAT) to 192.168.178.26:43877 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.178.26:43877;branch=z9hG4bK26672;received=192.168.178.26;rport=43877
From: <sip:[email protected]>;tag=z9hG4bK67323229
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 2 INVITE
Server: FPBX-2.11.0beta2(11.1.2)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: <sip:[email protected]:5060>
Content-Length: 0


<------------>
Retransmitting #2 (no NAT) to 192.168.178.26:43877:
INVITE sip:[email protected]:43877;transport=udp SIP/2.0
Via: SIP/2.0/UDP 192.168.178.29:5060;branch=z9hG4bK5b0c8444
Max-Forwards: 70
From: "michl" <sip:[email protected]>;tag=as1b9db7b0
To: <sip:[email protected]:43877;transport=udp>
Contact: <sip:[email protected]:5060>
Call-ID: [email protected]:5060
CSeq: 102 INVITE
User-Agent: FPBX-2.11.0beta2(11.1.2)
Date: Sat, 16 Feb 2013 10:05:10 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 441

v=0
o=root 1612114647 1612114647 IN IP4 192.168.178.29
s=Asterisk PBX 11.1.2
c=IN IP4 192.168.178.29
t=0 0
m=audio 12638 RTP/AVP 0 8 3 18 97 112 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=rtpmap:112 AAL2-G726-32/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv

Kurios. Nachdem ich auflege, klingelt kurze Zeit später mein Telefon und ich werde von der 620 kurz angeklingelt (beendet sofort nach 1x Klingeln).
Das dürfte die Stelle sein:
Code:
v=0
[email protected] 0 0 IN IP4 192.168.178.26
s=Session SIP/SDP
c=IN IP4 192.168.178.26
t=0 0
m=audio 21000 RTP/AVP 9 8 0 97 3 106 101
a=rtpmap:9 G722/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:97 speex/8000
a=rtpmap:3 GSM/8000
a=rtpmap:106 BV16/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
m=video 21070 RTP/AVP 103
a=rtpmap:103 h263-1998/90000
<------------->
--- (13 headers 16 lines) ---
Ignoring this INVITE request

<--- Transmitting (no NAT) to 192.168.178.26:43877 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.178.26:43877;branch=z9hG4bK26672;received=192.168.178.26;rport=43877
From: <sip:[email protected]>;tag=z9hG4bK67323229
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 2 INVITE
Server: FPBX-2.11.0beta2(11.1.2)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: <sip:[email protected]:5060>
Content-Length: 0


<------------>

<--- SIP read from UDP:192.168.178.26:43877 --->
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.178.26:43877;rport;branch=z9hG4bK26672
Max-Forwards: 70
To: <sip:[email protected]>
From: <sip:[email protected]>;tag=z9hG4bK67323229
Call-ID: [email protected]
CSeq: 2 INVITE
Contact: <sip:[email protected]:43877;transport=udp>
Expires: 3600
User-Agent: Sipdroid/2.9 beta/Nexus One
Authorization: Digest username="620", realm="asterisk", nonce="62567fd0", uri="sip:[email protected]", algorithm=MD5, response="bdd36c544418af09c95b70ee25f41226"
Content-Length: 390
Content-Type: application/sdp

v=0
[email protected] 0 0 IN IP4 192.168.178.26
s=Session SIP/SDP
c=IN IP4 192.168.178.26
t=0 0
m=audio 21000 RTP/AVP 9 8 0 97 3 106 101
a=rtpmap:9 G722/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:97 speex/8000
a=rtpmap:3 GSM/8000
a=rtpmap:106 BV16/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
m=video 21070 RTP/AVP 103
a=rtpmap:103 h263-1998/90000
<------------->
--- (13 headers 16 lines) ---
Ignoring this INVITE request

<--- Transmitting (no NAT) to 192.168.178.26:43877 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.178.26:43877;branch=z9hG4bK26672;received=192.168.178.26;rport=43877
From: <sip:[email protected]>;tag=z9hG4bK67323229
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 2 INVITE
Server: FPBX-2.11.0beta2(11.1.2)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: <sip:[email protected]:5060>
Content-Length: 0


<------------>

<--- SIP read from UDP:192.168.178.26:43877 --->
CANCEL sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.178.26:43877;rport;branch=z9hG4bK26672
Max-Forwards: 70
To: <sip:[email protected]>
From: <sip:[email protected]>;tag=z9hG4bK67323229
Call-ID: [email protected]
CSeq: 2 CANCEL
Contact: <sip:[email protected]:43877;transport=udp>
Expires: 3600
User-Agent: Sipdroid/2.9 beta/Nexus One
Content-Length: 0

<------------->
--- (11 headers 0 lines) ---
Sending to 192.168.178.26:43877 (no NAT)
Scheduling destruction of SIP dialog '[email protected]:5060' in 32000 ms (Method: INVITE)
  == Spawn extension (macro-dial-one, s, 42) exited non-zero on 'SIP/620-0000002e' in macro 'dial-one'
  == Spawn extension (macro-exten-vm, s, 7) exited non-zero on 'SIP/620-0000002e' in macro 'exten-vm'
  == Spawn extension (from-did-direct, 620, 2) exited non-zero on 'SIP/620-0000002e'
    -- Executing [h@from-did-direct:1] Macro("SIP/620-0000002e", "hangupcall,") in new stack

<--- Reliably Transmitting (no NAT) to 192.168.178.26:43877 --->
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP 192.168.178.26:43877;branch=z9hG4bK26672;received=192.168.178.26;rport=43877
From: <sip:[email protected]>;tag=z9hG4bK67323229
To: <sip:[email protected]>;tag=as537171c2
Call-ID: [email protected]
CSeq: 2 INVITE
Server: FPBX-2.11.0beta2(11.1.2)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0


<------------>

<--- Transmitting (no NAT) to 192.168.178.26:43877 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.178.26:43877;branch=z9hG4bK26672;received=192.168.178.26;rport=43877
From: <sip:[email protected]>;tag=z9hG4bK67323229
To: <sip:[email protected]>;tag=as537171c2
Call-ID: [email protected]
CSeq: 2 CANCEL
Server: FPBX-2.11.0beta2(11.1.2)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0


<------------>
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/620-0000002e", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,3)
    -- Executing [s@macro-hangupcall:3] ExecIf("SIP/620-0000002e", "0?Set(CDR(recordingfile)=)") in new stack
    -- Executing [s@macro-hangupcall:4] Hangup("SIP/620-0000002e", "") in new stack
  == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/620-0000002e' in macro 'hangupcall'
  == Spawn extension (from-did-direct, h, 1) exited non-zero on 'SIP/620-0000002e'
Retransmitting #1 (no NAT) to 192.168.178.26:43877:
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP 192.168.178.26:43877;branch=z9hG4bK26672;received=192.168.178.26;rport=43877
From: <sip:[email protected]>;tag=z9hG4bK67323229
To: <sip:[email protected]>;tag=as537171c2
Call-ID: [email protected]
CSeq: 2 INVITE
Server: FPBX-2.11.0beta2(11.1.2)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0


---
Retransmitting #2 (no NAT) to 192.168.178.26:43877:
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP 192.168.178.26:43877;branch=z9hG4bK26672;received=192.168.178.26;rport=43877
From: <sip:[email protected]>;tag=z9hG4bK67323229
To: <sip:[email protected]>;tag=as537171c2
Call-ID: [email protected]
CSeq: 2 INVITE
Server: FPBX-2.11.0beta2(11.1.2)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0


---
Retransmitting #3 (no NAT) to 192.168.178.26:43877:
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP 192.168.178.26:43877;branch=z9hG4bK26672;received=192.168.178.26;rport=43877
From: <sip:[email protected]>;tag=z9hG4bK67323229
To: <sip:[email protected]>;tag=as537171c2
Call-ID: [email protected]
CSeq: 2 INVITE
Server: FPBX-2.11.0beta2(11.1.2)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0


---
Really destroying SIP dialog '[email protected]' Method: REGISTER
Retransmitting #6 (no NAT) to 192.168.178.26:43877:
INVITE sip:[email protected]:43877;transport=udp SIP/2.0
Via: SIP/2.0/UDP 192.168.178.29:5060;branch=z9hG4bK5b0c8444
Max-Forwards: 70
From: "michl" <sip:[email protected]>;tag=as1b9db7b0
To: <sip:[email protected]:43877;transport=udp>
Contact: <sip:[email protected]:5060>
Call-ID: [email protected]:5060
CSeq: 102 INVITE
User-Agent: FPBX-2.11.0beta2(11.1.2)
Date: Sat, 16 Feb 2013 10:05:10 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 441

v=0
o=root 1612114647 1612114647 IN IP4 192.168.178.29
s=Asterisk PBX 11.1.2
c=IN IP4 192.168.178.29
t=0 0
m=audio 12638 RTP/AVP 0 8 3 18 97 112 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=rtpmap:112 AAL2-G726-32/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv

---
Retransmitting #4 (no NAT) to 192.168.178.26:43877:
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP 192.168.178.26:43877;branch=z9hG4bK26672;received=192.168.178.26;rport=43877
From: <sip:[email protected]>;tag=z9hG4bK67323229
To: <sip:[email protected]>;tag=as537171c2
Call-ID: [email protected]
CSeq: 2 INVITE
Server: FPBX-2.11.0beta2(11.1.2)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0


---

<--- SIP read from UDP:192.168.178.26:43877 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.178.29:5060;branch=z9hG4bK5b0c8444
To: <sip:[email protected]:43877;transport=udp>
From: "michl" <sip:[email protected]>;tag=as1b9db7b0
Call-ID: [email protected]:5060
CSeq: 102 INVITE
Server: Sipdroid/2.9 beta/Nexus One
Content-Length: 0

<------------->
--- (8 headers 0 lines) ---
Reliably Transmitting (no NAT) to 192.168.178.26:43877:
CANCEL sip:[email protected]:43877;transport=udp SIP/2.0
Via: SIP/2.0/UDP 192.168.178.29:5060;branch=z9hG4bK5b0c8444
Max-Forwards: 70
From: "michl" <sip:[email protected]>;tag=as1b9db7b0
To: <sip:[email protected]:43877;transport=udp>
Call-ID: [email protected]:5060
CSeq: 102 CANCEL
User-Agent: FPBX-2.11.0beta2(11.1.2)
Content-Length: 0


---
Scheduling destruction of SIP dialog '[email protected]:5060' in 32000 ms (Method: INVITE)
Retransmitting #1 (no NAT) to 192.168.178.26:43877:
CANCEL sip:[email protected]:43877;transport=udp SIP/2.0
Via: SIP/2.0/UDP 192.168.178.29:5060;branch=z9hG4bK5b0c8444
Max-Forwards: 70
From: "michl" <sip:[email protected]>;tag=as1b9db7b0
To: <sip:[email protected]:43877;transport=udp>
Call-ID: [email protected]:5060
CSeq: 102 CANCEL
User-Agent: FPBX-2.11.0beta2(11.1.2)
Content-Length: 0


---

<--- SIP read from UDP:192.168.178.26:43877 --->
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.178.29:5060;branch=z9hG4bK5b0c8444
To: <sip:[email protected]:43877;transport=udp>;tag=110851c82220ef54
From: "michl" <sip:[email protected]>;tag=as1b9db7b0
Call-ID: [email protected]:5060
CSeq: 102 INVITE
Server: Sipdroid/2.9 beta/Nexus One
Content-Length: 190
Content-Type: application/sdp

v=0
[email protected] 0 0 IN IP4 192.168.178.26
s=Session SIP/SDP
c=IN IP4 192.168.178.26
t=0 0
m=audio 21000 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
<------------->
--- (9 headers 8 lines) ---
list_route: no route
Found RTP audio format 0
Found RTP audio format 101
Found audio description format PCMU for ID 0
Found audio description format telephone-event for ID 101
Capabilities: us - (gsm|ulaw|alaw|g729|ilbc|g726aal2), peer - audio=(ulaw)/video=(nothing)/text=(nothing), combined - (ulaw)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|)
Peer audio RTP is at port 192.168.178.26:21000

<--- SIP read from UDP:192.168.178.26:43877 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.178.29:5060;branch=z9hG4bK5b0c8444
To: <sip:[email protected]:43877;transport=udp>
From: "michl" <sip:[email protected]>;tag=as1b9db7b0
Call-ID: [email protected]:5060
CSeq: 102 CANCEL
Server: Sipdroid/2.9 beta/Nexus One
Content-Length: 0

<------------->
--- (8 headers 0 lines) ---

<--- SIP read from UDP:192.168.178.26:43877 --->
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP 192.168.178.29:5060;branch=z9hG4bK5b0c8444
To: <sip:[email protected]:43877;transport=udp>
From: "michl" <sip:[email protected]>;tag=as1b9db7b0
Call-ID: [email protected]:5060
CSeq: 102 INVITE
Server: Sipdroid/2.9 beta/Nexus One
Content-Length: 0

<------------->
--- (8 headers 0 lines) ---
Transmitting (no NAT) to 192.168.178.26:43877:
ACK sip:[email protected]:43877;transport=udp SIP/2.0
Via: SIP/2.0/UDP 192.168.178.29:5060;branch=z9hG4bK5b0c8444
Max-Forwards: 70
From: "michl" <sip:[email protected]>;tag=as1b9db7b0
To: <sip:[email protected]:43877;transport=udp>
Contact: <sip:[email protected]:5060>
Call-ID: [email protected]:5060
CSeq: 102 ACK
User-Agent: FPBX-2.11.0beta2(11.1.2)
Content-Length: 0


---
Scheduling destruction of SIP dialog '[email protected]:5060' in 32000 ms (Method: INVITE)

<--- SIP read from UDP:192.168.178.26:43877 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.178.29:5060;branch=z9hG4bK5b0c8444
To: <sip:[email protected]:43877;transport=udp>
From: "michl" <sip:[email protected]>;tag=as1b9db7b0
Call-ID: [email protected]:5060
CSeq: 102 CANCEL
Server: Sipdroid/2.9 beta/Nexus One
Content-Length: 0

<------------->
--- (8 headers 0 lines) ---
Reliably Transmitting (no NAT) to 192.168.178.1:5060:
OPTIONS sip:192.168.178.1 SIP/2.0
Via: SIP/2.0/UDP 192.168.178.29:5060;branch=z9hG4bK48e385c8
Max-Forwards: 70
From: "Unknown" <sip:[email protected]>;tag=as1aa29f15
To: <sip:192.168.178.1>
Contact: <sip:[email protected]:5060>
Call-ID: [email protected]:5060
CSeq: 102 OPTIONS
User-Agent: FPBX-2.11.0beta2(11.1.2)
Date: Sat, 16 Feb 2013 10:05:45 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0


---

<--- SIP read from UDP:192.168.178.1:5060 --->
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 192.168.178.29:5060;branch=z9hG4bK48e385c8
From: "Unknown" <sip:[email protected]>;tag=as1aa29f15
To: <sip:192.168.178.1>;tag=0D26F2FB6FD37A4D
Call-ID: [email protected]:5060
CSeq: 102 OPTIONS
User-Agent: AVM FRITZ!Box Fon WLAN 7390 (UI) 84.05.50 (Dec 11 2012)
Content-Length: 0

<------------->
--- (8 headers 0 lines) ---
Really destroying SIP dialog '[email protected]:5060' Method: OPTIONS
Retransmitting #5 (no NAT) to 192.168.178.26:43877:
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP 192.168.178.26:43877;branch=z9hG4bK26672;received=192.168.178.26;rport=43877
From: <sip:[email protected]>;tag=z9hG4bK67323229
To: <sip:[email protected]>;tag=as537171c2
Call-ID: [email protected]
CSeq: 2 INVITE
Server: FPBX-2.11.0beta2(11.1.2)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0


---
Retransmitting #6 (no NAT) to 192.168.178.26:43877:
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP 192.168.178.26:43877;branch=z9hG4bK26672;received=192.168.178.26;rport=43877
From: <sip:[email protected]>;tag=z9hG4bK67323229
To: <sip:[email protected]>;tag=as537171c2
Call-ID: [email protected]
CSeq: 2 INVITE
Server: FPBX-2.11.0beta2(11.1.2)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0


---
Retransmitting #7 (no NAT) to 192.168.178.26:43877:
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP 192.168.178.26:43877;branch=z9hG4bK26672;received=192.168.178.26;rport=43877
From: <sip:[email protected]>;tag=z9hG4bK67323229
To: <sip:[email protected]>;tag=as537171c2
Call-ID: [email protected]
CSeq: 2 INVITE
Server: FPBX-2.11.0beta2(11.1.2)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0

Die Meldung "..not in service" ist nicht mehr gekommen. Es geht also voran.
Im Anhang noch die Screenshots von meinen Einstellungen. Leider fand ich keinen Reset Knopf. Habe die vorherigen Einstellungen händisch rückgängig gemacht. Möglicherweise habe ich eine übersehen..

Die Fritzboxeinstellungen hab ich wie von dir beschrieben. Unter "Telefoniegeräte" habe ich einen Lan/Wlan Anschluß angelegt und der Eintrag unter "Eigene Rufnummer" ist weg, sondern nur noch die bereits vorhandene Voip Nummer.
 

Anhänge

  • extension1.jpg
    extension1.jpg
    61.1 KB · Aufrufe: 16
  • extension2.jpg
    extension2.jpg
    50.6 KB · Aufrufe: 15
  • inboundroute.jpg
    inboundroute.jpg
    33.8 KB · Aufrufe: 16
  • outboundroute.jpg
    outboundroute.jpg
    51.3 KB · Aufrufe: 17
  • sipsettings1.jpg
    sipsettings1.jpg
    40.2 KB · Aufrufe: 15
  • sipsettings2.jpg
    sipsettings2.jpg
    61.4 KB · Aufrufe: 17
  • trunk1.jpg
    trunk1.jpg
    63 KB · Aufrufe: 17
  • trunk2.jpg
    trunk2.jpg
    16.6 KB · Aufrufe: 14
Ich verstehe ehrlich gesagt nicht warum du nicht den Asterisk direkt bei 1&1 registrieren lässt. Da gibts nur eine Kleinigkeit zu beachten das man auch angerufen werden kann (allowguest=yes). Ansonsten macht man die Angelegenheit doch nur unnötig komplex.
Oder ist Port 5060 an der Fritzbox fest verdrahtet auf lokal? Dann könnte man in Asterisk versuchen den Port mit "bindport" zu ändern. Oder man nimmt einen anderen Router.
 
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.