Abgehende Calls mit endesha/ac11

rannseier

Aktives Mitglied
Mitglied seit
5 Mai 2004
Beiträge
986
Punkte für Reaktionen
0
Punkte
0
Moin zusammen..

Ich versuche hier seit einigen Wochen Endesha zum laufen zu bekommen.

Trage ich die Zugangsdaten in Phoner, 3CX Phone oder in eine Fritte ein so funktioniert alles, nur mit Asterisk wird zwar die Verbindung aufgebaut und sofort danach wieder beendet.

Der letzte Configstand aus der sip.conf:

[endesha1]
type=peer
insecure=very
host=s-p-voip.de
disallow=all
allow=ulaw
allow=alaw
username=xxxxx
fromuser=xxxxx
secret=xxxxx
fromdomain=s-p-voip.de
context=ankommend
;qualify=yes
canreinvite=no
;caninvite=no
outboundproxy=s-p-voip.de (brachte auch nichts)

Bei Gesprächen nach Mobil und Festnetzzielen die nicht an einem Asterisk hängen funktioniert die Config, auch funktionieren alle anderen Carrier, nur Endesha will nicht so wie ich will.

Hat noch jemand eine Idee?
 
Ändere mal
in
Code:
insecure=port,invite
. (insecure=very ist deprecated)
Der Eintrag mit dem outboundproxy kann weg, der wird nicht gebraucht. Außerdem muß die NAT-Stellung noch stimmen, im Zweifel
Code:
nat=yes
angeben. Im Ergebnis also in etwa:

Code:
[endesha1]
type=peer
insecure=port,invite
host=s-p-voip.de
disallow=all
allow=ulaw
allow=alaw
username=xxxxx
fromuser=xxxxx
secret=xxxxx
fromdomain=s-p-voip.de
context=ankommend
canreinvite=no
nat=yes

Das sollte dann funktionieren. Falls doch etwas nicht klappt, mach mal einen Output von einem Wählversuch auf der Konsole mit

Code:
asterisl -rvvvvv  
und danach
sip set debug peer endesha1
 
Habe das mal ausprobiert, immer noch ohne erfolg. Gleiches Symptom wie immer: Verbindung wird bis zum Ende aufgebaut und nach Aufbau sofort wieder abgebrochen.

Hier das Log:

Code:
sh417-1*CLI>
Really destroying SIP dialog '[email protected]' Method: REGISTER
Really destroying SIP dialog '[email protected]' Method: REGISTER
Really destroying SIP dialog '[email protected]' Method: REGISTER
    -- Executing [00931663927134@eigenesip:1] NoOp("SIP/200-00000318", "Hier wird ins Amt gewaehlt") in new stack
    -- Executing [00931663927134@eigenesip:2] Set("SIP/200-00000318", "SPYGROUP=1001") in new stack
    -- Executing [00931663927134@eigenesip:3] Dial("SIP/200-00000318", "sip/endesha1/0931663927134|180|W|H|g|tT") in new stack
Audio is at 83.133.227.125 port 11836
Adding codec 0x4 (ulaw) to SDP
Adding codec 0x8 (alaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (NAT) to 194.97.170.18:5060:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 83.133.227.125:5060;branch=z9hG4bK4a8b93bc;rport
From: "Phone 1" <sip:[email protected]>;tag=as2d7d605b
To: <sip:[email protected]>
Contact: <sip:[email protected]>
Call-ID: [email][email protected][/email]
CSeq: 102 INVITE
User-Agent: Asterisk PBX 2
Max-Forwards: 70
Date: Sat, 28 Aug 2010 10:36:25 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Type: application/sdp
Content-Length: 266

v=0
o=root 8206 8206 IN IP4 83.133.227.125
s=session
c=IN IP4 83.133.227.125
t=0 0
m=audio 11836 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 endesha1/0931663927134

<--- SIP read from 194.97.170.18:5060 --->
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 83.133.227.125:5060;branch=z9hG4bK4a8b93bc;rport=5060
From: "Phone 1" <sip:[email protected]>;tag=as2d7d605b
To: <sip:[email protected]>;tag=f4ae9686374f0d261d7d1f9b0d2296cc.1701
Call-ID: [email][email protected][/email]
CSeq: 102 INVITE
Proxy-Authenticate: Digest realm="s-p-voip.de", nonce="4c78e7d5326ccad598782c5a8331341cb849b256", qop="auth"
Content-Length: 0


<------------->
--- (8 headers 0 lines) ---
Transmitting (NAT) to 194.97.170.18:5060:
ACK sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 83.133.227.125:5060;branch=z9hG4bK4a8b93bc;rport
From: "Phone 1" <sip:[email protected]>;tag=as2d7d605b
To: <sip:[email protected]>;tag=f4ae9686374f0d261d7d1f9b0d2296cc.1701
Contact: <sip:[email protected]>
Call-ID: [email][email protected][/email]
CSeq: 102 ACK
User-Agent: Asterisk PBX 2
Max-Forwards: 70
Content-Length: 0


---
Audio is at 83.133.227.125 port 11836
Adding codec 0x4 (ulaw) to SDP
Adding codec 0x8 (alaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (NAT) to 194.97.170.18:5060:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 83.133.227.125:5060;branch=z9hG4bK125da529;rport
From: "Phone 1" <sip:[email protected]>;tag=as2d7d605b
To: <sip:[email protected]>
Contact: <sip:[email protected]>
Call-ID: [email][email protected][/email]
CSeq: 103 INVITE
User-Agent: Asterisk PBX 2
Max-Forwards: 70
Proxy-Authorization: Digest username="0309210xxxx", realm="s-p-voip.de", algorithm=MD5, uri="sip:[email protected]", nonce="4c78e7d5326ccad598782c5a8331341cb849b256", response="335daadd965dde3fc3d022f3b4068342", qop=auth, cnonce="73473de3", nc=00000001
Date: Sat, 28 Aug 2010 10:36:25 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Type: application/sdp
Content-Length: 266

v=0
o=root 8206 8207 IN IP4 83.133.227.125
s=session
c=IN IP4 83.133.227.125
t=0 0
m=audio 11836 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

---

<--- SIP read from 194.97.170.18:5060 --->
SIP/2.0 100 trying -- your call is important to us
Via: SIP/2.0/UDP 83.133.227.125:5060;branch=z9hG4bK125da529;rport=5060
From: "Phone 1" <sip:[email protected]>;tag=as2d7d605b
To: <sip:[email protected]>
Call-ID: [email][email protected][/email]
CSeq: 103 INVITE
Content-Length: 0


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

<--- SIP read from 194.97.170.18:5060 --->
SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP 83.133.227.125:5060;branch=z9hG4bK125da529;rport=5060
From: "Phone 1" <sip:[email protected]>;tag=as2d7d605b
To: <sip:[email protected]>;tag=89ZB8516GZ30000E1D08047l0002T7X1EYXMBT
Call-ID: [email][email protected][/email]
CSeq: 103 INVITE
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, REFER, NOTIFY, SUBSCRIBE, UPDATE
Content-Type: application/sdp
Content-Length:   346

v=0
o=- 5754571 5754571 IN IP4 213.148.136.226
s=session
c=IN IP4 213.148.136.226
t=0 0
m=audio 23508 RTP/AVP 18 8 0 4 2 101
a=rtpmap:18 G729/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:4 G723/8000
a=fmtp:4 annexa=no
a=fmtp:4 bitrate=6.3
a=rtpmap:2 G726-32/8000
a=rtpmap:101 telephone-event/8000
a=ptime:30
a=sendrecv

<------------->
--- (9 headers 16 lines) ---
Found RTP audio format 18
Found RTP audio format 8
Found RTP audio format 0
Found RTP audio format 4
Found RTP audio format 2
Found RTP audio format 101
Found audio description format G729 for ID 18
Found audio description format PCMA for ID 8
Found audio description format PCMU for ID 0
Found audio description format G723 for ID 4
Found audio description format G726-32 for ID 2
Found audio description format telephone-event for ID 101
Capabilities: us - 0xc (ulaw|alaw), peer - audio=0x90d (g723|ulaw|alaw|g726|g729)/video=0x0 (nothing), combined - 0xc (ulaw|alaw)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event), peer - 0x1 (telephone-event), combined - 0x1 (telephone-event)
Peer audio RTP is at port 213.148.136.226:23508
    -- SIP/endesha1-00000319 is making progress passing it to SIP/200-00000318

<--- SIP read from 194.97.170.18:5060 --->
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 83.133.227.125:5060;branch=z9hG4bK125da529;rport=5060
From: "Phone 1" <sip:[email protected]>;tag=as2d7d605b
To: <sip:[email protected]>;tag=89ZB8516GZ30000E1D08047l0002T7X1EYXMBT
Call-ID: [email][email protected][/email]
CSeq: 103 INVITE
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, REFER, NOTIFY, SUBSCRIBE, UPDATE
Content-Type: application/sdp
Content-Length:   346

v=0
o=- 5754571 5754572 IN IP4 213.148.136.226
s=session
c=IN IP4 213.148.136.226
t=0 0
m=audio 23508 RTP/AVP 18 8 0 4 2 101
a=rtpmap:18 G729/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:4 G723/8000
a=fmtp:4 annexa=no
a=fmtp:4 bitrate=6.3
a=rtpmap:2 G726-32/8000
a=rtpmap:101 telephone-event/8000
a=ptime:30
a=sendrecv

<------------->
--- (9 headers 16 lines) ---
Found RTP audio format 18
Found RTP audio format 8
Found RTP audio format 0
Found RTP audio format 4
Found RTP audio format 2
Found RTP audio format 101
Found audio description format G729 for ID 18
Found audio description format PCMA for ID 8
Found audio description format PCMU for ID 0
Found audio description format G723 for ID 4
Found audio description format G726-32 for ID 2
Found audio description format telephone-event for ID 101
Capabilities: us - 0xc (ulaw|alaw), peer - audio=0x90d (g723|ulaw|alaw|g726|g729)/video=0x0 (nothing), combined - 0xc (ulaw|alaw)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event), peer - 0x1 (telephone-event), combined - 0x1 (telephone-event)
Peer audio RTP is at port 213.148.136.226:23508
    -- SIP/endesha1-00000319 is ringing
    -- SIP/endesha1-00000319 is making progress passing it to SIP/200-00000318
[Aug 28 12:36:34] WARNING[8788]: rtp.c:948 ast_rtcp_read: RTCP Read too short

<--- SIP read from 194.97.170.18:5060 --->
SIP/2.0 200 Ok
Via: SIP/2.0/UDP 83.133.227.125:5060;branch=z9hG4bK125da529;rport=5060
Record-Route: <sip:194.97.60.8;ftag=as2d7d605b;lr=on>
Record-Route: <sip:194.97.60.4;r2=on;ftag=as2d7d605b;lr=on>
Record-Route: <sip:194.97.170.18;r2=on;ftag=as2d7d605b;lr=on>
From: "Phone 1" <sip:[email protected]>;tag=as2d7d605b
To: <sip:[email protected]>;tag=89ZB8516GZ30000E1D08047l0002T7X1EYXMBT
Call-ID: [email][email protected][/email]
CSeq: 103 INVITE
Contact: <sip:194.97.15.71:5060>
Allow-Events: refer
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, REFER, NOTIFY, SUBSCRIBE, UPDATE
Content-Type: application/sdp
Supported: 100rel, timer, replaces
Content-Length:   346

v=0
o=- 5754571 5754573 IN IP4 213.148.136.226
s=session
c=IN IP4 213.148.136.226
t=0 0
m=audio 23508 RTP/AVP 18 8 0 4 2 101
a=rtpmap:18 G729/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:4 G723/8000
a=fmtp:4 annexa=no
a=fmtp:4 bitrate=6.3
a=rtpmap:2 G726-32/8000
a=rtpmap:101 telephone-event/8000
a=ptime:30
a=sendrecv

<------------->
--- (15 headers 16 lines) ---
Found RTP audio format 18
Found RTP audio format 8
Found RTP audio format 0
Found RTP audio format 4
Found RTP audio format 2
Found RTP audio format 101
Found audio description format G729 for ID 18
Found audio description format PCMA for ID 8
Found audio description format PCMU for ID 0
Found audio description format G723 for ID 4
Found audio description format G726-32 for ID 2
Found audio description format telephone-event for ID 101
Capabilities: us - 0xc (ulaw|alaw), peer - audio=0x90d (g723|ulaw|alaw|g726|g729)/video=0x0 (nothing), combined - 0xc (ulaw|alaw)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event), peer - 0x1 (telephone-event), combined - 0x1 (telephone-event)
Peer audio RTP is at port 213.148.136.226:23508
list_route: hop: <sip:194.97.170.18;r2=on;ftag=as2d7d605b;lr=on>
list_route: hop: <sip:194.97.60.4;r2=on;ftag=as2d7d605b;lr=on>
list_route: hop: <sip:194.97.60.8;ftag=as2d7d605b;lr=on>
set_destination: Parsing <sip:194.97.170.18;r2=on;ftag=as2d7d605b;lr=on> for address/port to send to
set_destination: set destination to 194.97.170.18, port 5060
Transmitting (NAT) to 194.97.170.18:5060:
ACK sip:194.97.15.71:5060 SIP/2.0
Via: SIP/2.0/UDP 83.133.227.125:5060;branch=z9hG4bK02570c2a;rport
Route: <sip:194.97.170.18;r2=on;ftag=as2d7d605b;lr=on>,<sip:194.97.60.4;r2=on;ftag=as2d7d605b;lr=on>,<sip:194.97.60.8;ftag=as2d7d605b;lr=on>
From: "Phone 1" <sip:[email protected]>;tag=as2d7d605b
To: <sip:[email protected]>;tag=89ZB8516GZ30000E1D08047l0002T7X1EYXMBT
Contact: <sip:[email protected]>
Call-ID: [email][email protected][/email]
CSeq: 103 ACK
User-Agent: Asterisk PBX 2
Max-Forwards: 70
Content-Length: 0


---
    -- SIP/endesha1-00000319 answered SIP/200-00000318

<--- SIP read from 194.97.170.18:5060 --->
BYE sip:[email protected] SIP/2.0
Record-Route: <sip:194.97.170.18;r2=on;ftag=89ZB8516GZ30000E1D08047l0002T7X1EYXMBT;lr=on>
Record-Route: <sip:194.97.60.4;r2=on;ftag=89ZB8516GZ30000E1D08047l0002T7X1EYXMBT;lr=on>
Record-Route: <sip:194.97.60.8;ftag=89ZB8516GZ30000E1D08047l0002T7X1EYXMBT;lr=on>
Via: SIP/2.0/UDP 194.97.170.18;branch=z9hG4bK1c0c.9e411026.0;recvip=194.97.60.4
Via: SIP/2.0/UDP 194.97.60.8;branch=z9hG4bK1c0c.9e411026.0
Via: SIP/2.0/UDP 194.97.15.71:5060;branch=z9hG4bK000423D44C58EC8AD7F7628A1DB8
From: <sip:[email protected]>;tag=89ZB8516GZ30000E1D08047l0002T7X1EYXMBT
To: "Phone 1" <sip:[email protected]>;tag=as2d7d605b
Call-ID: [email][email protected][/email]
CSeq: 600 BYE
Contact: <sip:[email protected]:5060>
Max-Forwards: 60
Reason: Q.850;cause=16
Content-Length:     0


<------------->
--- (15 headers 0 lines) ---
Sending to 194.97.170.18 : 5060 (NAT)

<--- Transmitting (NAT) to 194.97.170.18:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 194.97.170.18;branch=z9hG4bK1c0c.9e411026.0;recvip=194.97.60.4;received=194.97.170.18
Via: SIP/2.0/UDP 194.97.60.8;branch=z9hG4bK1c0c.9e411026.0
Via: SIP/2.0/UDP 194.97.15.71:5060;branch=z9hG4bK000423D44C58EC8AD7F7628A1DB8
Record-Route: <sip:194.97.170.18;r2=on;ftag=89ZB8516GZ30000E1D08047l0002T7X1EYXMBT;lr=on>
Record-Route: <sip:194.97.60.4;r2=on;ftag=89ZB8516GZ30000E1D08047l0002T7X1EYXMBT;lr=on>
Record-Route: <sip:194.97.60.8;ftag=89ZB8516GZ30000E1D08047l0002T7X1EYXMBT;lr=on>
From: <sip:[email protected]>;tag=89ZB8516GZ30000E1D08047l0002T7X1EYXMBT
To: "Phone 1" <sip:[email protected]>;tag=as2d7d605b
Call-ID: [email][email protected][/email]
CSeq: 600 BYE
User-Agent: Asterisk PBX 2
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Length: 0


<------------>
    -- Executing [h@eigenesip:1] NoOp("SIP/200-00000318", "Echotest Hangup") in new stack
    -- Executing [h@eigenesip:2] Hangup("SIP/200-00000318", "") in new stack
  == Spawn h extension (eigenesip, h, 2) exited non-zero on 'SIP/200-00000318'
  == Spawn extension (eigenesip, 00931663927134, 3) exited non-zero on 'SIP/200-00000318'
Really destroying SIP dialog '[email protected]' Method: BYE
sh417-1*CLI>

Hat noch jemand eine Idee? Die gleiche Config funktioniert mit Sipgate, Carpo, Purtel und Bellsip einwandfrei.
 
Laut dem Log funktioniert es ja auch hier:

-- SIP/endesha1-00000319 answered SIP/200-00000318

Nur das danach direkt ein
<--- SIP read from 194.97.170.18:5060 --->
BYE sip:[email protected] SIP/2.0
Record-Route: <sip:194.97.170.18;r2=on;ftag=89ZB8516GZ30000E1D08047l0002T7X1EYXMBT;lr=on>
Record-Route: <sip:194.97.60.4;r2=on;ftag=89ZB8516GZ30000E1D08047l0002T7X1EYXMBT;lr=on>
Record-Route: <sip:194.97.60.8;ftag=89ZB8516GZ30000E1D08047l0002T7X1EYXMBT;lr=on>
Via: SIP/2.0/UDP 194.97.170.18;branch=z9hG4bK1c0c.9e411026.0;recvip=194.97.60.4
Via: SIP/2.0/UDP 194.97.60.8;branch=z9hG4bK1c0c.9e411026.0
Via: SIP/2.0/UDP 194.97.15.71:5060;branch=z9hG4bK000423D44C58EC8AD7F7628A1DB8
From: <sip:[email protected]>;tag=89ZB8516GZ30000E1D08047l0002T7X1EYXMBT
To: "Phone 1" <sip:[email protected]>;tag=as2d7d605b
Call-ID: [email protected]
CSeq: 600 BYE
Contact: <sip:[email protected]:5060>
Max-Forwards: 60
Reason: Q.850;cause=16
Content-Length: 0


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

kommt, respektive die Verbindung beendet wird.
Leider bin ich jetzt nicht fit in den Q.850 reasons, aber da liegt IMHO der Schlüssel zur weiteren Verfpögung des Problems, da alles andere gut aussieht.
 
Ich habe mal ein wenig weiter geforscht.

Endesha scheint einen Cisco Callmanager einzusetzen.

Das Problem tritt wohl bei SIP->SIP Verbindungen auf. So funktioniert z.B. die Rufnummer 0201/8170 ohne Probleme, während Rufnummern wie 0931663927134, meine Sipgate-Rufnummern und viele andere nur dann funktionieren wenn keine FritzBox dabei ist.

Kann sich das jemand erklären?
 
Ich habe noch ein wenig probiert:

0201/817-0 (Telekom Essen) geht
0201/816-0 (Siemens Essen) geht nicht (wenn es über Asterisk läuft).

Beides sind PMX-Anschlüsse (jeweils so 10-20 Stück) an der EWSD-VSt 0201-22.

Der Verbindungsaufbau über eine Fritzbox funktioniert ohne Probleme.

Weiss jemand was dabei schief laufen kann?
 
ähnliche Frage

Hallo,

ich bin dabei, meine Fritzbox einzurichten. dabei habe ich ein ähnliches Problem. Allerdings verstehe ich sicher wesentlich weniger von der "Materie"

Laß mal hören, was ist aus dem Problem geworden?
 
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.