Tante Edit sagt : Wenn das hier das falsche Unterforum sein sollte, Sorry, hab auf anhieb kein besser passendes gefunden
Hi,
Ich rauf mir hier bald die Haare aus (und das sind einige)...
Folgende installation :
Linux Server (debian)
-> Asterisk 1.4.25
-> Freepbx 2.5.1
Der Server steht hinter ner FB
also : Inet -> FBF -> *-Linux-Server
Konfig : Port 5070, externhost auf dyndns adresse gesetzt
Folgende Problematik :
Ich habe 2 Trunks eingerichtet, 1x Sipgate, 1x 1und1, registrieren sich beide ohne Probleme, eingehende Anrufe funktionieren (dank custom-did) ueber Sipgate ohne probleme.
Ausgehende Rufe sollen ueber 1und1 (Tele-Flat halt) gehen.
Dialplan funktioniert, alles kein problem bis auf, das ich immer ein Forbidden bekommen, wenn ich versuche ueber den 1und1 trunk rauszuwaehlen...
Wenn ich ueber Sipgate die 10005 anrufe das funktioniert...
Habe das ganze nochmal komplett neu aufgesetzt, aber kein anderes ergebnis...
49123456789 steht fuer meine Nummer
0123112233 war die Zielnummer
Und hier kommt dann das was mich stutzig macht und wo ich den fehler vermute :
Aber warum kommt dieser 403 Error ? per Softphone an sich funktioniert der SIP-Account bei 1und1, genauso wenn ich das ganze ohne FreePBX "haendisch" einrichte (ohne des ganze Makro bimbamborium) nur mit den FreePBX COnfig Files will es einfach nich ....
Ich weiss echt nicht mehr was ich machen soll...
Aus der sip_additional.conf :
Waere echt dankbar wenn irgendjemand auch nur den Hauch einer Ahnung haette wodran es liegen kann....
MfG
Inso
Hi,
Ich rauf mir hier bald die Haare aus (und das sind einige)...
Folgende installation :
Linux Server (debian)
-> Asterisk 1.4.25
-> Freepbx 2.5.1
Der Server steht hinter ner FB
also : Inet -> FBF -> *-Linux-Server
Konfig : Port 5070, externhost auf dyndns adresse gesetzt
Folgende Problematik :
Ich habe 2 Trunks eingerichtet, 1x Sipgate, 1x 1und1, registrieren sich beide ohne Probleme, eingehende Anrufe funktionieren (dank custom-did) ueber Sipgate ohne probleme.
Ausgehende Rufe sollen ueber 1und1 (Tele-Flat halt) gehen.
Dialplan funktioniert, alles kein problem bis auf, das ich immer ein Forbidden bekommen, wenn ich versuche ueber den 1und1 trunk rauszuwaehlen...
Wenn ich ueber Sipgate die 10005 anrufe das funktioniert...
Habe das ganze nochmal komplett neu aufgesetzt, aber kein anderes ergebnis...
49123456789 steht fuer meine Nummer
0123112233 war die Zielnummer
Code:
azeroth*CLI> sip set debug peer sip.1und1.de
SIP Debugging Enabled for IP: 212.227.15.231:5060
-- Executing [0123411223344@from-internal:1] Macro("SIP/200-09fa6c20", "user-callerid|SKIPTTL|") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/200-09fa6c20", "AMPUSER=200") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/200-09fa6c20", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/200-09fa6c20", "1|Set|REALCALLERIDNUM=200") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/200-09fa6c20", "AMPUSER=200") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/200-09fa6c20", "AMPUSERCIDNAME=Sascha") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/200-09fa6c20", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/200-09fa6c20", "AMPUSERCID=200") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/200-09fa6c20", "CALLERID(all)="Sascha" <200>") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/200-09fa6c20", "REALCALLERIDNUM=200") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/200-09fa6c20", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("SIP/200-09fa6c20", "Using CallerID "Sascha" <200>") in new stack
-- Executing [0123411223344@from-internal:2] Set("SIP/200-09fa6c20", "_NODEST=") in new stack
-- Executing [0123411223344@from-internal:3] Macro("SIP/200-09fa6c20", "record-enable|200|OUT|") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/200-09fa6c20", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/200-09fa6c20", "recordingcheck|20090710-004655|1247179615.12") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20090710-004655|1247179615.12: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] MacroExit("SIP/200-09fa6c20", "") in new stack
-- Executing [0123411223344@from-internal:4] Macro("SIP/200-09fa6c20", "dialout-trunk|2|0123411223344||") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/200-09fa6c20", "DIAL_TRUNK=2") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/200-09fa6c20", "0?sub-pincheck|s|1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/200-09fa6c20", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/200-09fa6c20", "DIAL_NUMBER=0123411223344") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/200-09fa6c20", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/200-09fa6c20", "OUTBOUND_GROUP=OUT_2") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/200-09fa6c20", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/200-09fa6c20", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/200-09fa6c20", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/200-09fa6c20", "outbound-callerid|2") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/200-09fa6c20", "0|SetCallerPres|") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/200-09fa6c20", "0|Set|REALCALLERIDNUM=200") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/200-09fa6c20", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/200-09fa6c20", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/200-09fa6c20", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/200-09fa6c20", "TRUNKOUTCID="MisterX" <49123456789>") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/200-09fa6c20", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/200-09fa6c20", "1|Set|CALLERID(all)=MisterX <49123456789>") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/200-09fa6c20", "0|Set|CALLERID(all)=") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/200-09fa6c20", "0|SetCallerPres|prohib_passed_screen") in new stack
-- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/200-09fa6c20", "0|AGI|fixlocalprefix") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/200-09fa6c20", "OUTNUM=0123411223344") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/200-09fa6c20", "custom=SIP/sip.1und1.de") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/200-09fa6c20", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/200-09fa6c20", "dialout-trunk-predial-hook|") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/200-09fa6c20", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/200-09fa6c20", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/200-09fa6c20", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/200-09fa6c20", "SIP/sip.1und1.de/0123411223344|300|") in new stack
Audio is at 88.xx.xx.xx port 13562
Adding codec 0x4 (ulaw) to SDP
Adding codec 0x8 (alaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (no NAT) to 212.227.15.231:5060:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 88.xx.xx.xx:5070;branch=z9hG4bK6c6ea3dc;rport
From: "MisterX" <sip:[email protected]:5070>;tag=as26d8ce3f
To: <sip:[email protected]>
Contact: <sip:[email protected]:5070>
Call-ID: [email protected]
CSeq: 102 INVITE
User-Agent: AVM FRITZ!Box Fon WLAN 7170 (UI) 29.04.29 (Dec 8 2006)
Max-Forwards: 70
Date: Thu, 09 Jul 2009 22:46:57 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Type: application/sdp
Content-Length: 264
v=0
o=root 22091 22091 IN IP4 88.xx.xx.xx
s=session
c=IN IP4 88.xx.xx.xx
t=0 0
m=audio 13562 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
---
-- Called sip.1und1.de/0123411223344
azeroth*CLI> #
Und hier kommt dann das was mich stutzig macht und wo ich den fehler vermute :
Code:
<--- SIP read from 212.227.15.231:5060 --->
[COLOR="Red"]SIP/2.0 403 Verboten[/COLOR]
Via: SIP/2.0/UDP 88.xx.xx.xx:5070;branch=z9hG4bK6c6ea3dc;rport=5070
From: "MisterX" <sip:[email protected]:5070>;tag=as26d8ce3f
To: <sip:[email protected]>;tag=329cfeaa6ded039da25ff8cbb8668bd2.05a7
Call-ID: [email protected]
CSeq: 102 INVITE
Server: UI OpenSER
Content-Length: 0
<------------->
--- (8 headers 0 lines) ---
Transmitting (no NAT) to 212.227.15.231:5060:
ACK sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 88.xx.xx.xx:5070;branch=z9hG4bK6c6ea3dc;rport
From: "MisterX" <sip:[email protected]:5070>;tag=as26d8ce3f
To: <sip:[email protected]>;tag=329cfeaa6ded039da25ff8cbb8668bd2.05a7
Contact: <sip:[email protected]:5070>
Call-ID: [email protected]
CSeq: 102 ACK
User-Agent: AVM FRITZ!Box Fon WLAN 7170 (UI) 29.04.29 (Dec 8 2006)
Max-Forwards: 70
Content-Length: 0
---
-- SIP/sip.1und1.de-09fc09d8 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing [s@macro-dialout-trunk:20] Goto("SIP/200-09fa6c20", "s-CONGESTION|1") in new stack
-- Goto (macro-dialout-trunk,s-CONGESTION,1)
-- Executing [s-CONGESTION@macro-dialout-trunk:1] GotoIf("SIP/200-09fa6c20", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CONGESTION,3)
-- Executing [s-CONGESTION@macro-dialout-trunk:3] NoOp("SIP/200-09fa6c20", "TRUNK Dial failed due to CONGESTION - failing through to other trunks") in new stack
-- Executing [0123411223344@from-internal:5] Macro("SIP/200-09fa6c20", "outisbusy|") in new stack
-- Executing [s@macro-outisbusy:1] Playback("SIP/200-09fa6c20", "all-circuits-busy-now|noanswer") in new stack
-- Executing [s@macro-outisbusy:2] Playback("SIP/200-09fa6c20", "pls-try-call-later|noanswer") in new stack
-- Executing [s@macro-outisbusy:3] Macro("SIP/200-09fa6c20", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] ResetCDR("SIP/200-09fa6c20", "vw") in new stack
-- Executing [s@macro-hangupcall:2] NoCDR("SIP/200-09fa6c20", "") in new stack
-- Executing [s@macro-hangupcall:3] GotoIf("SIP/200-09fa6c20", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing [s@macro-hangupcall:6] GotoIf("SIP/200-09fa6c20", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] GotoIf("SIP/200-09fa6c20", "1?theend") in new stack
-- Goto (macro-hangupcall,s,11)
-- Executing [s@macro-hangupcall:11] Hangup("SIP/200-09fa6c20", "") in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/200-09fa6c20' in macro 'hangupcall'
== Spawn extension (macro-outisbusy, s, 3) exited non-zero on 'SIP/200-09fa6c20' in macro 'outisbusy'
== Spawn extension (from-internal, 0123411223344, 5) exited non-zero on 'SIP/200-09fa6c20'
-- Executing [h@from-internal:1] Macro("SIP/200-09fa6c20", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] ResetCDR("SIP/200-09fa6c20", "vw") in new stack
-- Executing [s@macro-hangupcall:2] NoCDR("SIP/200-09fa6c20", "") in new stack
-- Executing [s@macro-hangupcall:3] GotoIf("SIP/200-09fa6c20", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing [s@macro-hangupcall:6] GotoIf("SIP/200-09fa6c20", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] GotoIf("SIP/200-09fa6c20", "1?theend") in new stack
-- Goto (macro-hangupcall,s,11)
-- Executing [s@macro-hangupcall:11] Hangup("SIP/200-09fa6c20", "") in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/200-09fa6c20' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/200-09fa6c20'
Really destroying SIP dialog '[email protected]' Method: INVITE
Aber warum kommt dieser 403 Error ? per Softphone an sich funktioniert der SIP-Account bei 1und1, genauso wenn ich das ganze ohne FreePBX "haendisch" einrichte (ohne des ganze Makro bimbamborium) nur mit den FreePBX COnfig Files will es einfach nich ....
Ich weiss echt nicht mehr was ich machen soll...
Aus der sip_additional.conf :
Code:
[sip.1und1.de]
insecure=invite,port
host=sip.1und1.de
username=49123456789
secret=haenschenkleinveraetseinPWnich
type=peer
from-user=49123456789
contact=491234556789
Waere echt dankbar wenn irgendjemand auch nur den Hauch einer Ahnung haette wodran es liegen kann....
MfG
Inso
Zuletzt bearbeitet: