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

@xrated
Hatte ich auch schon versucht. Port 5060 wird von der Fritzbox wegschnappt. Mit bindport war ich da nicht sonderlich erfolgreich, also hatte ich mich per telnet auf die Box aufgeschaltet und den Port umgebogen.
Mit 1&1 benötigt man auch Templates und in Verbindung mit freepbx scheint dies nicht zu gehen. Muß man dann in die Shell ausweichen und das finde ich nicht optimal, wenn ich eine gui-Lösung habe, wo ich letztendlich wieder händisch in einer config Datei Hand ändern muß:
http://www.ip-phone-forum.de/showthread.php?t=240363&p=1762174&viewfull=1#post1762174
Alles in allem scheint es die einfachere Lösung zu sein sich an eine bereits registrierte Fritzbox ranzuhängen. Könnte mir auch vorstellen, daß es sicherer ist.
Meiner Fritzbox bleibe ich treu, da kommt mir nichts anderes ins Haus.
 
Weiß nicht was du mit Templates meinst, bei Freepbx kann man doch im Trunk* alles per Hand einstellen.
Ich würde einen anderen Router nehmen, DSL only gibts die doch für wenig Geld z.B. TP-Link. Dann noch DD-WRT oder Openwrt und du brauchst nie wieder eine Fritzbox.

* Sip Trunks gibts in dem Sinne eigentlich nicht.
 
Folge dem Link - dort wird von Templates gesprochen.Habe auch das erste mal davon gehört - aber anscheinend gibt es sowas.
Nein, ich werde mir auf keinen Fall extra Hardware kaufen! Bisher habe ich noch keine Hinweise gesehen, daß das was ich möchte mit einer Fritzbox nicht möglich ist.
 
xrated, der TE hat Deinen Vorschlag abgelehnt und das auch begründet. Also bleiben wir bitte dabei, dass ein Asterisk mittels FreeBPX an einer Fritzbox angemeldet werden soll. Auch wenn es vielleicht anders ginge, ist das hier der angestrebte (und auch ein sinnvoller) Lösungsweg.

hyde, für mich sehen sowohl die Einstellungen als auch das CLI Log gut aus. Teste das ganze mal mit einem lokalen Client, und probier auch Fritzbox-interne Gespräche (**620).
 
...Teste das ganze mal mit einem lokalen Client...
Wie meinst du das genau? Ich habe das von einem lokalen Client (WLAN/192.168.178.*) über mein Smartphone getestet. Ich könnte noch ein anderes Client Programm ausprobieren. Bisher nahm ich sipdroid, aber ich werde mal ein anderes ausprobieren.
 
Achso, ich dachte Du würdest das alles übers VPN machen (wolltest Du doch mal, oder?).

Dann könnten die Audio-Probleme imho nur noch durch fehlende Codecs verursacht werden, wobei darauf im SIP Debug auch nichts hindeutet. :noidea:
 
Da habe ich Fehlinformationen geliefert! Verzeihung!
Wollte es mit VPN nicht zusätzlich verkomplizieren. Erst mal sollte es aus dem lokalen Netz funktionieren. Wenn das dann läuft versuche ich das Ganze mit VPN.
 
Habe gestern Abend nochmals getestet. Bei internen Anrufen auf eine andere Nebenstelle verhält es sich genau gleich. Einkommende Gespräche funktionieren, aber bei Ausgehenden hört man nur den Klingelton, aber die angerufene Nebenstelle klingelt nicht. Lege ich auf klingelt es bei mir einmal kurz. Als Anrufer wird die eigene Nebenstelle angezeigt (620). Es kommt mir so vor als würde ich eine „Schleife telefonieren“, wo der letzte Klingelton mich selbst gerade noch erreicht nachdem ich aufgelegt habe.
Ich habe auch mal den nativen Sip-Client von Android getestet. Legte aber sofort auf, mit einer Server Fehler Meldung.
 
Es geht!
Mal wieder ein typisches „Layer 8 Problem“. Mir fiel auf, daß ich im Kreis telefonierte. Tatsächlich rief ich meine eigene Nummer an und nach dem Auflegen kam der letzte abgeschickte Klingelton an, deshalb klingelte es am Telefon noch ein mal auf. Im Telefonlog stand als „Destination“ auch die '620'.
Dummerweise war ich mit der Vergabe der '620' zu konsequent. Die Extension muß natürlich eine andere Nummer erhalten, danach klappte es. Eingehende und ausgehende Telefonate funktionieren nun. Lediglich der Dialplan muß noch angepasst werden. 0711123456 funktioniert, aber +49711123456 geht noch nicht.

Das bringt mich nun zu Schritt 2. Das Ganze sollte nun über eine openvpn Verbindung funktionieren. Was muß ich hierbei beachten bzw. einstellen?
Openvpn ist bereits auf dem asterisk Server eingerichtet und ich kann mich auch verbinden (ping auf asterisk Server funktioniert 'ping 192.168.178.29'). Wenn ich nun einen Anruf tätige kommt zwar ein Klingelton, aber die Gegenstelle klingelt nicht.
Die Fritzbox selbst kann ich nicht anpingen.
Muß ich die VPN-IP (10.8.0.X) in irgendeinder Form verwenden?

------Nachtrag------
Habe hier schon ein paar Beiträge zum Thema 'openvpn' gefunden! Werde ich erstmal testen.
Aber vielleicht hat mir noch jemand einen Tip zum Dialplan-Problem? (Anhang)
 

Anhänge

  • outboundroute.jpg
    outboundroute.jpg
    51.3 KB · Aufrufe: 17
Zuletzt bearbeitet:
Die heiße Spur, die ich hier im Forum verfolgte, brachte noch keinen Erfolg.
http://www.ip-phone-forum.de/showthread.php?t=235909&highlight=openvpn
Unter den Sip Einstellungen ergänzte ich localnet=10.8.0.0/255.255.255.0.
Bei einer VPN-Verbi Ich kann im Sip-Client des Handys unter Server sowohl 192.168.178.29 als auch 10.8.0.1 als Server bestimmen (ich weiß, daß die 192.168.178.29 in diesem Kontext keinen Sinn macht; wollte trotzdem sehen was passiert). Beide male verbindet er sich. Wenn ich einen Anruf tätige kommt allerdings kein Klingelton und die Gegenstelle klingelt auch nicht.

Ist vielleicht das Routing auf dem asterisk-Server nicht korrekt?
Code:
Ziel____________Router__________Genmask_______Flags_Metric_Ref_Use_Iface
default_________192.168.178.1___0.0.0.0_________UG____0_0________0_eth0
10.8.0.0________10.8.0.2________255.255.255.0___UG____0_0________0_tun0
10.8.0.2________*______________255.255.255.255_UH____0_0________0_tun0
link-local_______*_______________255.255.0.0_____U_____0_0________0_eth0
192.168.178.0___*_______________255.255.255.0___U_____0_0________0_eth0

Auf dem Sip-Client versuchte ich es mit beiden asterisk Adressen (192.168.178.29 und 10.8.0.1)

Code:
<--- SIP read from UDP:192.168.178.1:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.178.29:5060;branch=z9hG4bK60d6154f
From: <sip:[email protected]>;tag=as7b6eaffc
To: <sip:[email protected]>
Call-ID: [email protected]:5060
CSeq: 103 INVITE
User-Agent: AVM FRITZ!Box Fon WLAN 7390 (UI) 84.05.50 (Dec 11 2012)
Content-Length: 0

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

<--- SIP read from UDP:192.168.178.1:5060 --->
SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP 192.168.178.29:5060;branch=z9hG4bK60d6154f
From: <sip:[email protected]>;tag=as7b6eaffc
To: <sip:[email protected]>;tag=B9005C9EDE9C06D0
Call-ID: [email protected]:5060
CSeq: 103 INVITE
Contact: <sip:[email protected]>
User-Agent: AVM FRITZ!Box Fon WLAN 7390 (UI) 84.05.50 (Dec 11 2012)
Content-Type: application/sdp
Content-Length: 300

v=0
o=user 8051703 8051703 IN IP4 192.168.178.1 s=Asterisk PBX 11.1.2 c=IN IP4 192.168.178.1
t=0 0
m=audio 7082 RTP/AVP 0 8 97 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv
a=rtcp:7083
<------------->
--- (10 headers 14 lines) ---
list_route: hop: <sip:[email protected]>
Found RTP audio format 0
Found RTP audio format 8
Found RTP audio format 97
Found RTP audio format 101
Found audio description format PCMU for ID 0 Found audio description format PCMA for ID 8 Found audio description format iLBC for ID 97 Found audio description format telephone-event for ID 101
Capabilities: us - (gsm|ulaw|alaw|ilbc|g726aal2), peer - audio=(ulaw|alaw|ilbc)/video=(nothing)/text=(nothing), combined -
(ulaw|alaw|ilbc)
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.1:7082
     -- SIP/fritzboxtrunk-00000070 is making progress passing it to SIP/1000-0000006f Audio is at 17380 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

<--- Transmitting (no NAT) to 10.8.0.6:39197 --->
SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP
10.8.0.6:39197;branch=z9hG4bK81765;received=10.8.0.6;rport=39197
From: <sip:[email protected]>;tag=z9hG4bK76065171
To: <sip:[email protected]>;tag=as4f9ece69
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-Type: application/sdp
Content-Length: 332

v=0
o=root 1087655872 1087655872 IN IP4 192.168.178.1 s=Asterisk PBX 11.1.2 c=IN IP4 192.168.178.1
t=0 0
m=audio 17380 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
m=video 0 RTP/AVP 103
<------------>
Retransmitting #10 (no NAT) to 10.8.0.6:39197:
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP
10.8.0.6:39197;branch=z9hG4bK84493;received=10.8.0.6;rport=39197
From: <sip:[email protected]>;tag=z9hG4bK99625296
To: <sip:[email protected]>;tag=as12b8d576
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:10.8.0.6:39197 ---> INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 10.8.0.6:39197;rport;branch=z9hG4bK81765
Max-Forwards: 70
To: <sip:[email protected]>
From: <sip:[email protected]>;tag=z9hG4bK76065171
Call-ID: [email protected]
CSeq: 2 INVITE
Contact: <sip:[email protected]:39197;transport=udp>
Expires: 3600
User-Agent: Sipdroid/2.9 beta/Nexus 4
Authorization: Digest username="1000", realm="asterisk", nonce="71428f50", uri="sip:[email protected]", algorithm=MD5, response="496d893b59e18bdae9580a52a9d0b23e"
Content-Length: 379
Content-Type: application/sdp

v=0
[email protected] 0 0 IN IP4 10.8.0.6 s=Session SIP/SDP c=IN IP4 10.8.0.6
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 10.8.0.6:39197 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP
10.8.0.6:39197;branch=z9hG4bK81765;received=10.8.0.6;rport=39197
From: <sip:[email protected]>;tag=z9hG4bK76065171
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


<------------>
[2013-02-21 20:17:44] WARNING[2712]: chan_sip.c:4164 retrans_pkt: 
Retransmission timeout reached on transmission [email protected] for seqno 2 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
Packet timed out after 32001ms with no response Really destroying SIP dialog '[email protected]' Method: CANCEL

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

<------------->
--- (11 headers 0 lines) ---
Sending to 10.8.0.6:39197 (no NAT)

<--- Reliably Transmitting (no NAT) to 10.8.0.6:39197 --->
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP
10.8.0.6:39197;branch=z9hG4bK81765;received=10.8.0.6;rport=39197
From: <sip:[email protected]>;tag=z9hG4bK76065171
To: <sip:[email protected]>;tag=as4f9ece69
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 10.8.0.6:39197 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP
10.8.0.6:39197;branch=z9hG4bK81765;received=10.8.0.6;rport=39197
From: <sip:[email protected]>;tag=z9hG4bK76065171
To: <sip:[email protected]>;tag=as4f9ece69
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


<------------>
[2013-02-21 20:17:47] WARNING[11940][C-00000057]: app_dial.c:1545
wait_for_answer: Unable to write frametype: 2 Scheduling destruction of SIP dialog '[email protected]:5060' in 6400 ms
(Method: INVITE)
Reliably Transmitting (no NAT) to 192.168.178.1:5060:
CANCEL sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.178.29:5060;branch=z9hG4bK60d6154f
Max-Forwards: 70
From: <sip:[email protected]>;tag=as7b6eaffc
To: <sip:[email protected]>
Call-ID: [email protected]:5060
CSeq: 103 CANCEL
User-Agent: FPBX-2.11.0beta2(11.1.2)
Content-Length: 0


---
Scheduling destruction of SIP dialog
'[email protected]:5060' in 6400 ms
(Method: INVITE)
   == Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 'SIP/1000-0000006f' in macro 'dialout-trunk'

<--- SIP read from UDP:192.168.178.1:5060 --->
SIP/2.0 487 Request Cancelled
Via: SIP/2.0/UDP 192.168.178.29:5060;branch=z9hG4bK60d6154f
From: <sip:[email protected]>;tag=as7b6eaffc
To: <sip:[email protected]>;tag=B9005C9EDE9C06D0
Call-ID: [email protected]:5060
CSeq: 103 INVITE
User-Agent: AVM FRITZ!Box Fon WLAN 7390 (UI) 84.05.50 (Dec 11 2012)
Content-Length: 0

<------------->
--- (8 headers 0 lines) ---
Transmitting (no NAT) to 192.168.178.1:5060:
ACK sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.178.29:5060;branch=z9hG4bK60d6154f
Max-Forwards: 70
From: <sip:[email protected]>;tag=as7b6eaffc
To: <sip:[email protected]>;tag=B9005C9EDE9C06D0
Contact: <sip:[email protected]:5060>
Call-ID: [email protected]:5060
CSeq: 103 ACK
User-Agent: FPBX-2.11.0beta2(11.1.2)
Content-Length: 0


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

<--- SIP read from UDP:192.168.178.1:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.178.29:5060;branch=z9hG4bK60d6154f
From: <sip:[email protected]>;tag=as7b6eaffc
To: <sip:[email protected]>
Call-ID: [email protected]:5060
CSeq: 103 CANCEL
User-Agent: AVM FRITZ!Box Fon WLAN 7390 (UI) 84.05.50 (Dec 11 2012)
Supported: 100rel,replaces,timer
Allow-Events: telephone-event,refer
Content-Length: 0

<------------->
--- (10 headers 0 lines) ---
   == Spawn extension (from-internal, 0711123456, 6) exited non-zero on 'SIP/1000-0000006f'
     -- Executing [h@from-internal:1] Hangup("SIP/1000-0000006f", "") in new stack
   == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/1000-0000006f'
Retransmitting #1 (no NAT) to 10.8.0.6:39197:
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP
10.8.0.6:39197;branch=z9hG4bK81765;received=10.8.0.6;rport=39197
From: <sip:[email protected]>;tag=z9hG4bK76065171
To: <sip:[email protected]>;tag=as4f9ece69
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 10.8.0.6:39197:
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP
10.8.0.6:39197;branch=z9hG4bK81765;received=10.8.0.6;rport=39197
From: <sip:[email protected]>;tag=z9hG4bK76065171
To: <sip:[email protected]>;tag=as4f9ece69
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 10.8.0.6:39197:
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP
10.8.0.6:39197;branch=z9hG4bK81765;received=10.8.0.6;rport=39197
From: <sip:[email protected]>;tag=z9hG4bK76065171
To: <sip:[email protected]>;tag=as4f9ece69
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]:5060' Method: INVITE Retransmitting #4 (no NAT) to 10.8.0.6:39197:
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP
10.8.0.6:39197;branch=z9hG4bK81765;received=10.8.0.6;rport=39197
From: <sip:[email protected]>;tag=z9hG4bK76065171
To: <sip:[email protected]>;tag=as4f9ece69
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 #5 (no NAT) to 10.8.0.6:39197:
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP
10.8.0.6:39197;branch=z9hG4bK81765;received=10.8.0.6;rport=39197
From: <sip:[email protected]>;tag=z9hG4bK76065171
To: <sip:[email protected]>;tag=as4f9ece69
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 10.8.0.6:39197:
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP
10.8.0.6:39197;branch=z9hG4bK81765;received=10.8.0.6;rport=39197
From: <sip:[email protected]>;tag=z9hG4bK76065171
To: <sip:[email protected]>;tag=as4f9ece69
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 10.8.0.6:39197:
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP
10.8.0.6:39197;branch=z9hG4bK81765;received=10.8.0.6;rport=39197
From: <sip:[email protected]>;tag=z9hG4bK76065171
To: <sip:[email protected]>;tag=as4f9ece69
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 #8 (no NAT) to 10.8.0.6:39197:
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP
10.8.0.6:39197;branch=z9hG4bK81765;received=10.8.0.6;rport=39197
From: <sip:[email protected]>;tag=z9hG4bK76065171
To: <sip:[email protected]>;tag=as4f9ece69
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 #9 (no NAT) to 10.8.0.6:39197:
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP
10.8.0.6:39197;branch=z9hG4bK81765;received=10.8.0.6;rport=39197
From: <sip:[email protected]>;tag=z9hG4bK76065171
To: <sip:[email protected]>;tag=as4f9ece69
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 #10 (no NAT) to 10.8.0.6:39197:
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP
10.8.0.6:39197;branch=z9hG4bK81765;received=10.8.0.6;rport=39197
From: <sip:[email protected]>;tag=z9hG4bK76065171
To: <sip:[email protected]>;tag=as4f9ece69
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


---
[2013-02-21 20:18:19] WARNING[2712]: chan_sip.c:4164 retrans_pkt: 
Retransmission timeout reached on transmission [email protected] for seqno 2 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
Packet timed out after 31999ms with no response Really destroying SIP dialog '[email protected]' Method: CANCEL 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=z9hG4bK504e71ef
Max-Forwards: 70
From: "Unknown" <sip:[email protected]>;tag=as00f7c50a
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: Thu, 21 Feb 2013 19:18:38 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=z9hG4bK504e71ef
From: "Unknown" <sip:[email protected]>;tag=as00f7c50a
To: <sip:192.168.178.1>;tag=4FCB463E8D2508C2
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
 

Anhänge

  • freepbx2.png
    freepbx2.png
    127.8 KB · Aufrufe: 12
Zuletzt bearbeitet:
Nun geht's!
Hatte anscheinend eine Einstellung verbogen bei meinen Tests. Allerdings funktioniert das mit den +49... immer noch nicht obwohl ich das Wählmuster" im Outbound angepasst habe. Ich habe die zugehörige .conf Datei kontrolliert. Steht genau so drin wie vorgeschlagen.
Einmal: _X. und _+X.
und einmal _[+0-9]X.

Meiner Ansicht nach ist hier der Hund begraben. Einmal heißt es <sip:+49 und einmal <sip:49
Code:
<--- Transmitting (no NAT) to 10.8.0.6:47953 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.8.0.6:47953;branch=z9hG4bK90838;received=10.8.0.6;rport=47953
From: <sip:[email protected]>;tag=z9hG4bK70495881
To: [B]<sip:+49[/B][email protected]>;tag=as62e81673
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


<------------>
[2013-02-23 11:27:28] WARNING[4078][C-0000000e]: app_dial.c:1545 wait_for_answer: Unable to write frametype: 2
Scheduling destruction of SIP dialog '[email protected]:5060' in 6400 ms (Method: INVITE)
Reliably Transmitting (no NAT) to 192.168.178.1:5060:
CANCEL [B]sip:49[/B][email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.178.29:5060;branch=z9hG4bK6901d880
Max-Forwards: 70
From: <sip:[email protected]>;tag=as7fcf0baf
To: [B]<sip:49[/B][email protected]>
Call-ID: [email protected]:5060
CSeq: 103 CANCEL
User-Agent: FPBX-2.11.0beta2(11.1.2)
Content-Length: 0

Ein neues Problem, das nun auftaucht:
Ich habe ein Problem mit der Sprachqualität obwohl die Verbindung gut ist (HSDPA). Ich konnte meinen Gesprächspartner astrein hören, aber mein Gegenüber klagte über mehr oder minder starkes Hallen und Aussetzer.
 
Ich habe nun versucht auf iax umzustellen, dabei hab ich alles neu angelegt, allerdings über - ich sage mal - die "iax-Optionen", die mir freepbx bietet: wenn einen Trunk anlegt, hat man die Auswahl zwischen iax-Trunk, sip-Trunk, usw. Gleiches gilt für inbound/outbound/extension. Port 4569 habe ich weitergeleitet (UDP). Bin ich grundsätzlich richtig vorgegangen?
Momentan funktioniert es nämlich noch nicht. Der Trunk ist verbunden und ich kann meinen iax-Client (Zoiper) verbinden und einen Anruf starten, allerdings höre ich keinen Klingelton und die Gegenstelle klingelt auch nicht.
Hier ein debug-log (hier habe ich es allerdings mit einem context versucht):
Code:
Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: ACK
    Timestamp: 02135ms  SCall: 00993  DCall: 00043 [192.168.178.26:4569]
     -- Registered IAX2 '1000' (AUTHENTICATED) at 192.168.178.26:4569 Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE
    Timestamp: 00018ms  SCall: 01320  DCall: 00000 [192.168.178.26:4569]

Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: REGACK
    Timestamp: 02160ms  SCall: 00993  DCall: 00043 [192.168.178.26:4569]
    USERNAME        : 1000
    DATE TIME       : 2013-02-28  21:54:32
    REFRESH         : 60
    APPARENT ADDRES : IPV4 192.168.178.26:4569
    MESSAGE COUNT   : 0
    CALLING NUMBER  : 1000
    CALLING NAME    : meinName

Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK
    Timestamp: 00018ms  SCall: 00001  DCall: 01320 [192.168.178.26:4569] Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: PONG
    Timestamp: 00018ms  SCall: 00001  DCall: 01320 [192.168.178.26:4569] Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK
    Timestamp: 00018ms  SCall: 01320  DCall: 00001 [192.168.178.26:4569] Tx-Frame Retry[001] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: REGACK
    Timestamp: 02160ms  SCall: 00993  DCall: 00043 [192.168.178.26:4569]
    USERNAME        : 1000
    DATE TIME       : 2013-02-28  21:54:32
    REFRESH         : 60
    APPARENT ADDRES : IPV4 192.168.178.26:4569
    MESSAGE COUNT   : 0
    CALLING NUMBER  : 1000
    CALLING NAME    : meinName

Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 002 Type: IAX Subclass: ACK
    Timestamp: 02160ms  SCall: 00043  DCall: 00993 [192.168.178.26:4569] Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
    Timestamp: 00002ms  SCall: 00044  DCall: 00000 [192.168.178.26:4569]
    VERSION         : 2
    CALLING NUMBER  : 620
    CALLED CONTEXT  : from-internal
    CALLING NAME    : meinName
    CALLING PRESNTN : 1
    CALLING TYPEOFN : 0
    CALLING TRANSIT : 0
    FORMAT          : 512
    CAPABILITY      : 1550
    USERNAME        : 1000
    CALLED NUMBER   : 0711123456
    DNID            : 0711123456
    ADSICPE         : 0
    CALLTOKEN       : Present
    FW BLOCK DATA   : 13 bytes

Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: CTOKEN
    Timestamp: 00002ms  SCall: 00001  DCall: 00044 [192.168.178.26:4569]
    CALLTOKEN       : 51 bytes

Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
    Timestamp: 00003ms  SCall: 00044  DCall: 00000 [192.168.178.26:4569]
    VERSION         : 2
    CALLING NUMBER  : 620
    CALLED CONTEXT  : from-internal
    CALLING NAME    : meinName
    CALLING PRESNTN : 1
    CALLING TYPEOFN : 0
    CALLING TRANSIT : 0
    FORMAT          : 512
    CAPABILITY      : 1550
    USERNAME        : 1000
    CALLED NUMBER   : 0711123456
    DNID            : 0711123456
    ADSICPE         : 0
    CALLTOKEN       : 51 bytes
    FW BLOCK DATA   : 13 bytes

Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK
    Timestamp: 00003ms  SCall: 06904  DCall: 00044 [192.168.178.26:4569] Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: AUTHREQ
    Timestamp: 00012ms  SCall: 06904  DCall: 00044 [192.168.178.26:4569]
    AUTHMETHODS     : 3
    CHALLENGE       : \x32\x30\x37\x36\x39\x36\x38\x39\x30
    USERNAME        : 1000

Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: AUTHREP
    Timestamp: 00022ms  SCall: 00044  DCall: 06904 [192.168.178.26:4569]
    MD5 RESULT      : eaaa77b5e7596c15ff760e59442415ea

Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: ACK
    Timestamp: 00022ms  SCall: 06904  DCall: 00044 [192.168.178.26:4569]
     -- Accepting AUTHENTICATED call from 192.168.178.26:
        > requested format = speex,
        > requested prefs = (),
        > actual format = ulaw,
        > host prefs = (ulaw|alaw|gsm|g729),
        > priority = mine
Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: ACCEPT
    Timestamp: 00022ms  SCall: 06904  DCall: 00044 [192.168.178.26:4569]
    FORMAT          : 4
    FORMAT2         : ulaw

Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 002 Type: IAX Subclass: ACK
    Timestamp: 00022ms  SCall: 00044  DCall: 06904 [192.168.178.26:4569]
     -- Executing [0711123456@from-internal:1] Macro("IAX2/1000-6904",
"user-callerid,LIMIT,") in new stack
     -- Executing [s@macro-user-callerid:1] Set("IAX2/1000-6904",
"AMPUSER=1000") in new stack
     -- Executing [s@macro-user-callerid:2] GotoIf("IAX2/1000-6904",
"0?report") in new stack
     -- Executing [s@macro-user-callerid:3] ExecIf("IAX2/1000-6904",
"0?Set(REALCALLERIDNUM=1000)") in new stack
     -- Executing [s@macro-user-callerid:4] Set("IAX2/1000-6904",
"AMPUSER=1000") in new stack
     -- Executing [s@macro-user-callerid:5] Set("IAX2/1000-6904", "AMPUSERCIDNAME=meinName") in new stack
     -- Executing [s@macro-user-callerid:6] GotoIf("IAX2/1000-6904",
"0?report") in new stack
     -- Executing [s@macro-user-callerid:7] Set("IAX2/1000-6904",
"AMPUSERCID=1000") in new stack
     -- Executing [s@macro-user-callerid:8] Set("IAX2/1000-6904",
"__DIAL_OPTIONS=tr") in new stack
     -- Executing [s@macro-user-callerid:9] Set("IAX2/1000-6904", "CALLERID(all)="meinName" <1000>") in new stack
     -- Executing [s@macro-user-callerid:10] GotoIf("IAX2/1000-6904",
"0?limit") in new stack
     -- Executing [s@macro-user-callerid:11] ExecIf("IAX2/1000-6904",
"1?Set(GROUP(concurrency_limit)=1000)") in new stack
     -- Executing [s@macro-user-callerid:12] GotoIf("IAX2/1000-6904",
"1?continue") in new stack
     -- Goto (macro-user-callerid,s,25)
     -- Executing [s@macro-user-callerid:25] Set("IAX2/1000-6904",
"CALLERID(number)=1000") in new stack
     -- Executing [s@macro-user-callerid:26] Set("IAX2/1000-6904", "CALLERID(name)=meinName") in new stack
     -- Executing [s@macro-user-callerid:27] Set("IAX2/1000-6904",
"CDR(cnum)=1000") in new stack
     -- Executing [s@macro-user-callerid:28] Set("IAX2/1000-6904", "CDR(cnam)=meinName") in new stack
     -- Executing [s@macro-user-callerid:29] Set("IAX2/1000-6904",
"CHANNEL(language)=en") in new stack
     -- Executing [0711123456@from-internal:2] Set("IAX2/1000-6904",
"MOHCLASS=default") in new stack
     -- Executing [0711123456@from-internal:3] Set("IAX2/1000-6904",
"_NODEST=") in new stack
     -- Executing [0711123456@from-internal:4] Gosub("IAX2/1000-6904",
"sub-record-check,s,1(out,0711123456,)") in new stack
     -- Executing [s@sub-record-check:1] GotoIf("IAX2/1000-6904",
"1?check") in new stack
     -- Goto (sub-record-check,s,6)
     -- Executing [s@sub-record-check:6] Set("IAX2/1000-6904",
"__MON_FMT=wav") in new stack
     -- Executing [s@sub-record-check:7] GotoIf("IAX2/1000-6904",
"1?next") in new stack
     -- Goto (sub-record-check,s,10)
     -- Executing [s@sub-record-check:10] ExecIf("IAX2/1000-6904",
"0?Return()") in new stack
     -- Executing [s@sub-record-check:11] GotoIf("IAX2/1000-6904",
"0?out,1") in new stack
     -- Executing [s@sub-record-check:12] Set("IAX2/1000-6904",
"__REC_STATUS=INITIALIZED") in new stack
     -- Executing [s@sub-record-check:13] ExecIf("IAX2/1000-6904",
"0?Set(__REC_POLICY_MODE=)") in new stack
     -- Executing [s@sub-record-check:14] Set("IAX2/1000-6904",
"NOW=1362084894") in new stack
     -- Executing [s@sub-record-check:15] Set("IAX2/1000-6904",
"__DAY=28") in new stack
     -- Executing [s@sub-record-check:16] Set("IAX2/1000-6904",
"__MONTH=02") in new stack
     -- Executing [s@sub-record-check:17] Set("IAX2/1000-6904",
"__YEAR=2013") in new stack
     -- Executing [s@sub-record-check:18] Set("IAX2/1000-6904",
"__TIMESTR=20130228-215454") in new stack
     -- Executing [s@sub-record-check:19] Set("IAX2/1000-6904",
"__FROMEXTEN=1000") in new stack
     -- Executing [s@sub-record-check:20] Set("IAX2/1000-6904",
"__CALLFILENAME=out-0711123456-1000-20130228-215454-1362084894.0") in new stack
     -- Executing [s@sub-record-check:21] Goto("IAX2/1000-6904",
"out,1") in new stack
     -- Goto (sub-record-check,out,1)
     -- Executing [out@sub-record-check:1] ExecIf("IAX2/1000-6904",
"1?Set(__REC_POLICY_MODE=dontcare)") in new stack
     -- Executing [out@sub-record-check:2] GosubIf("IAX2/1000-6904",
"0?record,1(exten,0711123456,1000)") in new stack
     -- Executing [out@sub-record-check:3] Return("IAX2/1000-6904", "") in new stack
     -- Executing [0711123456@from-internal:5] Macro("IAX2/1000-6904",
"dialout-trunk,2,0711123456,,off") in new stack
     -- Executing [s@macro-dialout-trunk:1] Set("IAX2/1000-6904",
"DIAL_TRUNK=2") in new stack
     -- Executing [s@macro-dialout-trunk:2] GosubIf("IAX2/1000-6904",
"0?sub-pincheck,s,1()") in new stack
     -- Executing [s@macro-dialout-trunk:3] GotoIf("IAX2/1000-6904",
"0?disabletrunk,1") in new stack
     -- Executing [s@macro-dialout-trunk:4] Set("IAX2/1000-6904",
"DIAL_NUMBER=0711123456") in new stack
     -- Executing [s@macro-dialout-trunk:5] Set("IAX2/1000-6904",
"DIAL_TRUNK_OPTIONS=tr") in new stack
     -- Executing [s@macro-dialout-trunk:6] Set("IAX2/1000-6904",
"OUTBOUND_GROUP=OUT_2") in new stack
     -- Executing [s@macro-dialout-trunk:7] GotoIf("IAX2/1000-6904",
"1?nomax") in new stack
     -- Goto (macro-dialout-trunk,s,9)
     -- Executing [s@macro-dialout-trunk:9] GotoIf("IAX2/1000-6904",
"0?skipoutcid") in new stack
     -- Executing [s@macro-dialout-trunk:10] Set("IAX2/1000-6904",
"DIAL_TRUNK_OPTIONS=") in new stack
     -- Executing [s@macro-dialout-trunk:11] Macro("IAX2/1000-6904",
"outbound-callerid,2") in new stack
     -- Executing [s@macro-outbound-callerid:1] ExecIf("IAX2/1000-6904",
"0?Set(CALLERPRES()=)") in new stack
     -- Executing [s@macro-outbound-callerid:2] ExecIf("IAX2/1000-6904",
"0?Set(REALCALLERIDNUM=1000)") in new stack
     -- Executing [s@macro-outbound-callerid:3] GotoIf("IAX2/1000-6904",
"1?normcid") in new stack
     -- Goto (macro-outbound-callerid,s,6)
     -- Executing [s@macro-outbound-callerid:6] Set("IAX2/1000-6904",
"USEROUTCID=") in new stack
     -- Executing [s@macro-outbound-callerid:7] Set("IAX2/1000-6904",
"EMERGENCYCID=") in new stack
     -- Executing [s@macro-outbound-callerid:8] Set("IAX2/1000-6904",
"TRUNKOUTCID=620") in new stack
     -- Executing [s@macro-outbound-callerid:9] GotoIf("IAX2/1000-6904",
"1?trunkcid") in new stack
     -- Goto (macro-outbound-callerid,s,14)
     -- Executing [s@macro-outbound-callerid:14] ExecIf("IAX2/1000-6904", "1?Set(CALLERID(all)=620)") in new stack
     -- Executing [s@macro-outbound-callerid:15] ExecIf("IAX2/1000-6904", "0?Set(CALLERID(all)=)") in new stack
     -- Executing [s@macro-outbound-callerid:16] ExecIf("IAX2/1000-6904", "0?Set(CALLERID(all)=)") in new stack
     -- Executing [s@macro-outbound-callerid:17] ExecIf("IAX2/1000-6904", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
     -- Executing [s@macro-outbound-callerid:18] Set("IAX2/1000-6904",
"CDR(outbound_cnum)=620") in new stack
     -- Executing [s@macro-outbound-callerid:19] Set("IAX2/1000-6904",
"CDR(outbound_cnam)=") in new stack
     -- Executing [s@macro-dialout-trunk:12] GosubIf("IAX2/1000-6904",
"0?sub-flp-2,s,1()") in new stack
     -- Executing [s@macro-dialout-trunk:13] Set("IAX2/1000-6904",
"OUTNUM=0711123456") in new stack
     -- Executing [s@macro-dialout-trunk:14] Set("IAX2/1000-6904",
"custom=IAX2/mijitrunk") in new stack
     -- Executing [s@macro-dialout-trunk:15] ExecIf("IAX2/1000-6904",
"0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
     -- Executing [s@macro-dialout-trunk:16] ExecIf("IAX2/1000-6904",
"0?Set(DIAL_TRUNK_OPTIONS=M(confirm))") in new stack
     -- Executing [s@macro-dialout-trunk:17] Macro("IAX2/1000-6904",
"dialout-trunk-predial-hook,") in new stack
     -- Executing [s@macro-dialout-trunk-predial-hook:1]
MacroExit("IAX2/1000-6904", "") in new stack
     -- Executing [s@macro-dialout-trunk:18] GotoIf("IAX2/1000-6904",
"0?bypass,1") in new stack
     -- Executing [s@macro-dialout-trunk:19] ExecIf("IAX2/1000-6904",
"1?Set(CONNECTEDLINE(num,i)=0711123456)") in new stack
     -- Executing [s@macro-dialout-trunk:20] ExecIf("IAX2/1000-6904",
"1?Set(CONNECTEDLINE(name,i)=CID:620)") in new stack
     -- Executing [s@macro-dialout-trunk:21] GotoIf("IAX2/1000-6904",
"0?customtrunk") in new stack
     -- Executing [s@macro-dialout-trunk:22] Dial("IAX2/1000-6904",
"IAX2/mijitrunk/0711123456,300,") in new stack Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
    Timestamp: 00007ms  SCall: 00704  DCall: 00000 [192.168.178.1:4569]
    VERSION         : 2
    CALLED NUMBER   : 0711123456
    CODEC_PREFS     : (ulaw|alaw|gsm|g729)
    CALLING NUMBER  : 620
    CALLING PRESNTN : 1
    CALLING TYPEOFN : 0
    CALLING TRANSIT : 0
    CALLING NAME    :
    LANGUAGE        : en
    USERNAME        : 620
    FORMAT          : 4
    FORMAT2         : ulaw
    CAPABILITY      : 270
    CAPABILITY2     : Unknown
    ADSICPE         : 2
    DATE TIME       : 2013-02-28  21:54:54

     -- Called IAX2/mijitrunk/0711123456 Tx-Frame Retry[001] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
    Timestamp: 00007ms  SCall: 00704  DCall: 00000 [192.168.178.1:4569]
    VERSION         : 2
    CALLED NUMBER   : 0711123456
    CODEC_PREFS     : (ulaw|alaw|gsm|g729)
    CALLING NUMBER  : 620
    CALLING PRESNTN : 1
    CALLING TYPEOFN : 0
    CALLING TRANSIT : 0
    CALLING NAME    :
    LANGUAGE        : en
    USERNAME        : 620
    FORMAT          : 4
    FORMAT2         : ulaw
    CAPABILITY      : 270
    CAPABILITY2     : Unknown
    ADSICPE         : 2
    DATE TIME       : 2013-02-28  21:54:54

Tx-Frame Retry[000] -- OSeqno: 002 ISeqno: 002 Type: IAX Subclass: LAGRQ
    Timestamp: 10010ms  SCall: 06904  DCall: 00044 [192.168.178.26:4569] Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 003 Type: IAX Subclass: ACK
    Timestamp: 10010ms  SCall: 00044  DCall: 06904 [192.168.178.26:4569] Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 003 Type: IAX Subclass: LAGRP
    Timestamp: 10010ms  SCall: 00044  DCall: 06904 [192.168.178.26:4569] Tx-Frame Retry[-01] -- OSeqno: 003 ISeqno: 003 Type: IAX Subclass: ACK
    Timestamp: 10010ms  SCall: 06904  DCall: 00044 [192.168.178.26:4569] Tx-Frame Retry[002] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
    Timestamp: 00007ms  SCall: 00704  DCall: 00000 [192.168.178.1:4569]
    VERSION         : 2
    CALLED NUMBER   : 0711123456
    CODEC_PREFS     : (ulaw|alaw|gsm|g729)
    CALLING NUMBER  : 620
    CALLING PRESNTN : 1
    CALLING TYPEOFN : 0
    CALLING TRANSIT : 0
    CALLING NAME    :
    LANGUAGE        : en
    USERNAME        : 620
    FORMAT          : 4
    FORMAT2         : ulaw
    CAPABILITY      : 270
    CAPABILITY2     : Unknown
    ADSICPE         : 2
    DATE TIME       : 2013-02-28  21:54:54

Tx-Frame Retry[000] -- OSeqno: 003 ISeqno: 003 Type: IAX Subclass: LAGRQ
    Timestamp: 20010ms  SCall: 06904  DCall: 00044 [192.168.178.26:4569] Rx-Frame Retry[ No] -- OSeqno: 003 ISeqno: 004 Type: IAX Subclass: ACK
    Timestamp: 20010ms  SCall: 00044  DCall: 06904 [192.168.178.26:4569] Rx-Frame Retry[ No] -- OSeqno: 003 ISeqno: 004 Type: IAX Subclass: LAGRP
    Timestamp: 20010ms  SCall: 00044  DCall: 06904 [192.168.178.26:4569] Tx-Frame Retry[-01] -- OSeqno: 004 ISeqno: 004 Type: IAX Subclass: ACK
    Timestamp: 20010ms  SCall: 06904  DCall: 00044 [192.168.178.26:4569] Tx-Frame Retry[000] -- OSeqno: 004 ISeqno: 004 Type: IAX Subclass: PING
    Timestamp: 21010ms  SCall: 06904  DCall: 00044 [192.168.178.26:4569] Rx-Frame Retry[ No] -- OSeqno: 004 ISeqno: 005 Type: IAX Subclass: ACK
    Timestamp: 21010ms  SCall: 00044  DCall: 06904 [192.168.178.26:4569] Rx-Frame Retry[ No] -- OSeqno: 004 ISeqno: 005 Type: IAX Subclass: PONG
    Timestamp: 21010ms  SCall: 00044  DCall: 06904 [192.168.178.26:4569] Tx-Frame Retry[-01] -- OSeqno: 005 ISeqno: 005 Type: IAX Subclass: ACK
    Timestamp: 21010ms  SCall: 06904  DCall: 00044 [192.168.178.26:4569] Tx-Frame Retry[003] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
    Timestamp: 00007ms  SCall: 00704  DCall: 00000 [192.168.178.1:4569]
    VERSION         : 2
    CALLED NUMBER   : 0711123456
    CODEC_PREFS     : (ulaw|alaw|gsm|g729)
    CALLING NUMBER  : 620
    CALLING PRESNTN : 1
    CALLING TYPEOFN : 0
    CALLING TRANSIT : 0
    CALLING NAME    :
    LANGUAGE        : en
    USERNAME        : 620
    FORMAT          : 4
    FORMAT2         : ulaw
    CAPABILITY      : 270
    CAPABILITY2     : Unknown
    ADSICPE         : 2
    DATE TIME       : 2013-02-28  21:54:54

Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ
    Timestamp: 00002ms  SCall: 00045  DCall: 00000 [192.168.178.26:4569]
    USERNAME        : 1000
    REFRESH         : 60
    CALLTOKEN       : Present
    FW BLOCK DATA   : 13 bytes

Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: CTOKEN
    Timestamp: 00002ms  SCall: 00001  DCall: 00045 [192.168.178.26:4569]
    CALLTOKEN       : 51 bytes

Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ
    Timestamp: 00003ms  SCall: 00045  DCall: 00000 [192.168.178.26:4569]
    USERNAME        : 1000
    REFRESH         : 60
    CALLTOKEN       : 51 bytes
    FW BLOCK DATA   : 13 bytes

Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK
    Timestamp: 00003ms  SCall: 00110  DCall: 00045 [192.168.178.26:4569] Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH
    Timestamp: 00015ms  SCall: 00110  DCall: 00045 [192.168.178.26:4569]
    AUTHMETHODS     : 3
    CHALLENGE       : \x33\x31\x30\x32\x31\x36\x30\x39
    USERNAME        : 1000

Tx-Frame Retry[001] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH
    Timestamp: 00015ms  SCall: 00110  DCall: 00045 [192.168.178.26:4569]
    AUTHMETHODS     : 3
    CHALLENGE       : \x33\x31\x30\x32\x31\x36\x30\x39
    USERNAME        : 1000

Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: REGREQ
    Timestamp: 02064ms  SCall: 00045  DCall: 00110 [192.168.178.26:4569]
    USERNAME        : 1000
    MD5 RESULT      : 2154ae84e9acbddad76511ef24aa6ce6
    REFRESH         : 60
    FW BLOCK DATA   : 13 bytes

Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: ACK
    Timestamp: 02064ms  SCall: 00110  DCall: 00045 [192.168.178.26:4569] Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: REGACK
    Timestamp: 02087ms  SCall: 00110  DCall: 00045 [192.168.178.26:4569]
    USERNAME        : 1000
    DATE TIME       : 2013-02-28  21:55:22
    REFRESH         : 60
    APPARENT ADDRES : IPV4 192.168.178.26:4569
    MESSAGE COUNT   : 0
    CALLING NUMBER  : 1000
    CALLING NAME    : meinName

Tx-Frame Retry[000] -- OSeqno: 005 ISeqno: 005 Type: IAX Subclass: LAGRQ
    Timestamp: 30009ms  SCall: 06904  DCall: 00044 [192.168.178.26:4569] Rx-Frame Retry[ No] -- OSeqno: 005 ISeqno: 006 Type: IAX Subclass: ACK
    Timestamp: 30009ms  SCall: 00044  DCall: 06904 [192.168.178.26:4569] Rx-Frame Retry[ No] -- OSeqno: 005 ISeqno: 006 Type: IAX Subclass: LAGRP
    Timestamp: 30009ms  SCall: 00044  DCall: 06904 [192.168.178.26:4569] Tx-Frame Retry[-01] -- OSeqno: 006 ISeqno: 006 Type: IAX Subclass: ACK
    Timestamp: 30009ms  SCall: 06904  DCall: 00044 [192.168.178.26:4569] Tx-Frame Retry[001] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: REGACK
    Timestamp: 02087ms  SCall: 00110  DCall: 00045 [192.168.178.26:4569]
    USERNAME        : 1000
    DATE TIME       : 2013-02-28  21:55:22
    REFRESH         : 60
    APPARENT ADDRES : IPV4 192.168.178.26:4569
    MESSAGE COUNT   : 0
    CALLING NUMBER  : 1000
    CALLING NAME    : meinName

Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 002 Type: IAX Subclass: ACK
    Timestamp: 02087ms  SCall: 00045  DCall: 00110 [192.168.178.26:4569]
[2013-02-28 21:55:27] WARNING[2687]: chan_iax2.c:3552
__attempt_transmit: Max retries exceeded to host 192.168.178.1 on
IAX2/mijitrunk-704 (type = 6, subclass = 1, ts=7, seqno=0)
     -- Hungup 'IAX2/mijitrunk-704'
   == Everyone is busy/congested at this time (1:0/0/1)
     -- Executing [s@macro-dialout-trunk:23] NoOp("IAX2/1000-6904", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 27") in new stack
     -- Executing [s@macro-dialout-trunk:24] GotoIf("IAX2/1000-6904",
"0?continue,1:s-CHANUNAVAIL,1") in new stack
     -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
     -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1]
Set("IAX2/1000-6904", "RC=27") in new stack
     -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2]
Goto("IAX2/1000-6904", "27,1") in new stack
     -- Goto (macro-dialout-trunk,27,1)
     -- Executing [27@macro-dialout-trunk:1] Goto("IAX2/1000-6904",
"continue,1") in new stack
     -- Goto (macro-dialout-trunk,continue,1)
     -- Executing [continue@macro-dialout-trunk:1] NoOp("IAX2/1000-6904", "TRUNK Dial failed due to CHANUNAVAIL
HANGUPCAUSE: 27 - failing through to other trunks") in new stack
     -- Executing [continue@macro-dialout-trunk:2] Set("IAX2/1000-6904",
"CALLERID(number)=1000") in new stack
     -- Executing [0711123456@from-internal:6] Macro("IAX2/1000-6904",
"outisbusy,") in new stack
     -- Executing [s@macro-outisbusy:1] Progress("IAX2/1000-6904", "") in new stack Tx-Frame Retry[000] -- OSeqno: 006 ISeqno: 006 Type: CONTROL Subclass: 
PROGRES
    Timestamp: 32354ms  SCall: 06904  DCall: 00044 [192.168.178.26:4569]
     -- Executing [s@macro-outisbusy:2] Playback("IAX2/1000-6904",
"all-circuits-busy-now,noanswer") in new stack Tx-Frame Retry[000] -- OSeqno: 007 ISeqno: 006 Type: VOICE Subclass: 4
    Timestamp: 32380ms  SCall: 06904  DCall: 00044 [192.168.178.26:4569]
     -- <IAX2/1000-6904> Playing 'all-circuits-busy-now.ulaw' (language
'en')
Rx-Frame Retry[ No] -- OSeqno: 006 ISeqno: 007 Type: IAX Subclass: ACK
    Timestamp: 32354ms  SCall: 00044  DCall: 06904 [192.168.178.26:4569] Rx-Frame Retry[ No] -- OSeqno: 006 ISeqno: 008 Type: IAX Subclass: ACK
    Timestamp: 32380ms  SCall: 00044  DCall: 06904 [192.168.178.26:4569] Rx-Frame Retry[ No] -- OSeqno: 006 ISeqno: 008 Type: VOICE Subclass: 4
    Timestamp: 32643ms  SCall: 00044  DCall: 06904 [192.168.178.26:4569] Tx-Frame Retry[-01] -- OSeqno: 008 ISeqno: 007 Type: IAX Subclass: ACK
    Timestamp: 32643ms  SCall: 06904  DCall: 00044 [192.168.178.26:4569]
     -- Executing [s@macro-outisbusy:3] Playback("IAX2/1000-6904",
"pls-try-call-later,noanswer") in new stack
     -- <IAX2/1000-6904> Playing 'pls-try-call-later.ulaw' (language 'en')
     -- Executing [s@macro-outisbusy:4] Macro("IAX2/1000-6904",
"hangupcall") in new stack
     -- Executing [s@macro-hangupcall:1] GotoIf("IAX2/1000-6904",
"1?theend") in new stack
     -- Goto (macro-hangupcall,s,3)
     -- Executing [s@macro-hangupcall:3] ExecIf("IAX2/1000-6904",
"0?Set(CDR(recordingfile)=)") in new stack
     -- Executing [s@macro-hangupcall:4] Hangup("IAX2/1000-6904", "") in new stack
   == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'IAX2/1000-6904' in macro 'hangupcall'
   == Spawn extension (macro-outisbusy, s, 4) exited non-zero on 'IAX2/1000-6904' in macro 'outisbusy'
   == Spawn extension (from-internal, 0711123456, 6) exited non-zero on 'IAX2/1000-6904'
     -- Executing [h@from-internal:1] Hangup("IAX2/1000-6904", "") in new stack
   == Spawn extension (from-internal, h, 1) exited non-zero on 'IAX2/1000-6904'
Tx-Frame Retry[000] -- OSeqno: 008 ISeqno: 007 Type: IAX Subclass: HANGUP
    Timestamp: 36405ms  SCall: 06904  DCall: 00044 [192.168.178.26:4569]
    CAUSE CODE      : 27

Rx-Frame Retry[ No] -- OSeqno: 007 ISeqno: 009 Type: IAX Subclass: ACK
    Timestamp: 36405ms  SCall: 00044  DCall: 06904 [192.168.178.26:4569]
     -- Hungup 'IAX2/1000-6904'
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE
    Timestamp: 00016ms  SCall: 00584  DCall: 00000 [192.168.178.26:4569]

Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK
    Timestamp: 00016ms  SCall: 00001  DCall: 00584 [192.168.178.26:4569] Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: PONG
    Timestamp: 00016ms  SCall: 00001  DCall: 00584 [192.168.178.26:4569] Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK
    Timestamp: 00016ms  SCall: 00584  DCall: 00001 [192.168.178.26:4569]

...oder darf nur die Extension iax sein?!..
 
Zuletzt bearbeitet von einem Moderator:
Wieder ein Stückchen weiter. Aus dem lokalen Netz (wlan) kann ich nun ein Gespräch führen. Hierzu habe ich einen sip-Trunk eingerichtet. Alles Andere (Extension, Inbound, Outbound) ist auf iax geeicht.

Nun das nächste Problem: über die VPN-Verbindung läßt sich mein iax-Client (Zoiper) nicht registrieren, bekomme nen Timeout. Im Anhang hab ich 2 Screenshots, einmal die Extension auf der Asterisk Seite und einmal das voip Programm auf meinem Handy.

Hat mir jemand nen Tip?
 

Anhänge

  • Screenshot_2013-03-03-18-32-25.jpg
    Screenshot_2013-03-03-18-32-25.jpg
    82.1 KB · Aufrufe: 13
  • extension.jpg
    extension.jpg
    194.5 KB · Aufrufe: 11
Hab's hinbekommen. Eingehende und abgehende Telefonate funktionieren. Allerdings ist bei den Eingehenden die Qualität lausig. Da muß noch was gemacht werden.
 

Anhänge

  • settings.jpg
    settings.jpg
    38.7 KB · Aufrufe: 32
  • trunk.jpg
    trunk.jpg
    54 KB · Aufrufe: 30
  • outbound.jpg
    outbound.jpg
    60.6 KB · Aufrufe: 20
  • inboundroute.jpg
    inboundroute.jpg
    53.5 KB · Aufrufe: 21
  • extension.jpg
    extension.jpg
    39.5 KB · Aufrufe: 24

Neueste Beiträge

Statistik des Forums

Themen
246,807
Beiträge
2,257,743
Mitglieder
374,883
Neuestes Mitglied
and83
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.