Probleme mit Codec bei eingehender Verbindung (1und1)

LJ_Skinny

Neuer User
Mitglied seit
4 Aug 2005
Beiträge
32
Punkte für Reaktionen
0
Punkte
6
Hallo zusammen,

ich möchte meinen Asterisk in Verbindung mit den 1und1 Rufnummern verwenden. Nun bekomme ich allerdings keine Verbindung zustande. Nur mit dem Codec g723. Mit diesem kann ich allerdings nicht die Voicemail benutzen. Deshalb würde ich gerne auf diesen verzichten. Als Client möchte ich später die Fritzbox 7170 verwenden. Dort habe ich die Labor-Fax Version installiert. Ich denke daran liegt es aber im Moment nicht, da ja schon die Verbindung zum Asterisk nicht zustande zu kommen scheint.

Ich hoffe, es gibt dafür eine funktionierende Lösung... Ich komme auf jedenfall im Moment nicht mehr weiter und würde mich freuen, wenn ich von euch wertvolle Tips bekommen würde.

Grüße

Holger

Code:
<--- SIP read from 212.227.xxx.xxx:5060 --->
INVITE sip:[email protected] SIP/2.0
Record-Route: <sip:212.227.15.194;ftag=1174515966;lr=on>
Record-Route: <sip:195.71.47.132;ftag=1174515966;lr=on>
Via: SIP/2.0/UDP 212.227.xxx.xxx;branch=z9hG4bKfe2a4fa27a2500c373c2a8f4cf15fd32
Via: SIP/2.0/UDP 212.227.15.194;branch=z9hG4bK41a5.02c86e22.0
Via: SIP/2.0/UDP 212.227.15.197;branch=z9hG4bKd9b0fc5925003f52ba0ee7a539988b6b
Via: SIP/2.0/UDP 195.71.47.132;branch=z9hG4bK41a5.b5c17375.0
Via: SIP/2.0/UDP 1und1-1.sip.mgc.voip.telefonica.de:5060;received=193.189.245.208;branch=z9hG4bKterm-11d3e59-+49170981XXXX-+497248xxxxxx-65757
From: +49170981XXXX <sip:[email protected]:5060;user=phone>;tag=1174515966
To: +497248xxxxxx <sip:[email protected]:5060;user=phone>
Call-ID: [email]6751b52d-7de6954c-393ec2ae-2974@subscriber1.interconnect.mgc.voip.telefonica.de[/email]
CSeq: 1 INVITE
Max-Forwards: 13
Supported: timer
Session-Expires: 1800
Min-SE: 1800
Contact: +49170981XXXX <sip:[email protected]:5060>
Allow: INVITE,ACK,PRACK,SUBSCRIBE,BYE,CANCEL,NOTIFY,INFO,REFER,UPDATE
P-Asserted-Identity: +49170981XXXX <sip:[email protected]>
Content-Type: application/sdp
Content-Length: 619

v=0
o=- 2435083 0 IN IP4 195.71.147.5
s=Cisco SDP 0
c=IN IP4 195.71.147.5
t=0 0
m=audio 16604 RTP/AVP 8 0 101 102 2 103 4 104 3 105 106 107 18 125 99 100
a=rtpmap:101 G726-16/8000
a=rtpmap:102 G726-24/8000
a=rtpmap:103 G7231-H/8000
a=rtpmap:104 G7231-L/8000
a=rtpmap:105 G729b/8000
a=rtpmap:106 G7231a-H/8000
a=rtpmap:107 G7231a-L/8000
a=rtpmap:125 GnX64/8000
a=rtpmap:99 telephone-event/8000
a=fmtp:99 0-15
a=rtpmap:100 X-NSE/8000
a=fmtp:100 192-194,200-202
a=X-sqn:0
a=X-cap: 1 audio RTP/AVP 100
a=X-cpar: a=rtpmap:100 X-NSE/8000
a=X-cpar: a=fmtp:100 192-194,200-202
a=X-cap: 2 image udptl t38

<------------->
--- (21 headers 23 lines) ---
Sending to 212.227.xxx.xxx : 5060 (no NAT)
Using INVITE request as basis request - [email]6751b52d-7de6954c-393ec2ae-2974@subscriber1.interconnect.mgc.voip.telefonica.de[/email]
Found peer '497248XXXXXX'
Found RTP audio format 8
Found RTP audio format 0
Found RTP audio format 101
Found RTP audio format 102
Found RTP audio format 2
Found RTP audio format 103
Found RTP audio format 4
Found RTP audio format 104
Found RTP audio format 3
Found RTP audio format 105
Found RTP audio format 106
Found RTP audio format 107
Found RTP audio format 18
Found RTP audio format 125
Found RTP audio format 99
Found RTP audio format 100
Peer audio RTP is at port 195.71.147.5:16604
Found unknown media description format G726-16 for ID 101
Found unknown media description format G726-24 for ID 102
Found unknown media description format G7231-H for ID 103
Found unknown media description format G7231-L for ID 104
Found unknown media description format G729b for ID 105
Found unknown media description format G7231a-H for ID 106
Found unknown media description format G7231a-L for ID 107
Found unknown media description format GnX64 for ID 125
Found audio description format telephone-event for ID 99
Found unknown media description format X-NSE for ID 100
Capabilities: us - 0x0 (nothing), peer - audio=0x10f (g723|gsm|ulaw|alaw|g729)/video=0x0 (nothing), combined - 0x0 (nothing)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event), peer - 0x1 (telephone-event), combined - 0x1 (telephone-event)
[Feb 17 20:33:22] NOTICE[5167]: chan_sip.c:5418 process_sdp: No compatible codecs, not accepting this offer!

<--- Reliably Transmitting (NAT) to 212.227.xxx.xxx:5060 --->
SIP/2.0 488 Not acceptable here
Via: SIP/2.0/UDP 212.227.xxx.xxx;branch=z9hG4bKfe2a4fa27a2500c373c2a8f4cf15fd32;received=212.227.xxx.xxx
Via: SIP/2.0/UDP 212.227.15.194;branch=z9hG4bK41a5.02c86e22.0
Via: SIP/2.0/UDP 212.227.15.197;branch=z9hG4bKd9b0fc5925003f52ba0ee7a539988b6b
Via: SIP/2.0/UDP 195.71.47.132;branch=z9hG4bK41a5.b5c17375.0
Via: SIP/2.0/UDP 1und1-1.sip.mgc.voip.telefonica.de:5060;received=193.189.245.208;branch=z9hG4bKterm-11d3e59-+49170981XXXX-+497248xxxxxx-65757
From: +49170981XXXX <sip:[email protected]:5060;user=phone>;tag=1174515966
To: +497248xxxxxx <sip:[email protected]:5060;user=phone>;tag=as13996087
Call-ID: [email]6751b52d-7de6954c-393ec2ae-2974@subscriber1.interconnect.mgc.voip.telefonica.de[/email]
CSeq: 1 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
ontent-Length: 0LI>


Sip.conf:
Code:
[general]
context=default                 ; Default context for incoming calls
bindport=5060                   ; UDP Port to bind to (SIP standard port is 5060)
bindaddr=85.214.XXX.XXX         ; IP address to bind to (0.0.0.0 binds to all)
srvlookup=yes                   ; Enable DNS SRV lookups on outbound calls
                                ; Note: Asterisk only uses the first host
                                ; in SRV records
                                ; Disabling DNS SRV lookups disables the
                                ; ability to place SIP calls based on domain
                                ; names to some other SIP users on the Internet
;++++++++++++++++ 1und1 ++++++++++++++
register => 497248XXXXXX:[email protected]/497248XXXXXX

;+++++++++++++++++++++++++++++++++++++++++

maxexpiry=3600                  ; Max length of incoming registration we allow
defaultexpiry=1800              ; Default length of incoming/outgoing registration
language=de                     ; Default language setting for all users/peers


[497248XXXXX]
; das ist der Context fÃ&frac14;ommende Anrufe
; von sipgate.de
; Diesen Context brauchen wir nur einmal -
; egal wieviele Sipgate-Accounts wir registrieren
; wichtig ist, dass dies der LETZTE Context von
; oben nach unten in der sip.conf  betrachtet, ist
; der einen Verweis auf sipgate.de beinhaltet !
; Durch die Angabe von "context = ankommend"
; werden alle Anrufe in den gleichnamigen Context
; [ankommend] in der extensions.conf geleitet.
;
type=peer
username=497248XXXXX
fromuser=497248XXXXX
secret=meins
host=1und1.de
fromdomain=1und1.de
;host=sip.voip.telefonica.de
disallow=g723
allow=all
insecure=very
canreinvite=no
;g726
nat=yes
context=ankommend

;folgende Konf ging gar nicht => Thread [url]http://www.ip-phone-forum.de/showthread.php?t=159390[/url]
host=sip.1und1.de
host=1und1.de
host=212.227.15.197
host=212.227.15.231


;---- Interne Nummern -------------
[30]
callerid=Phone 1 <30>
host=dynamic
domain=85.214.XXX.XXX
user=30
secret=geheim
type=friend
mailbox=30
nat=yes
disallow=g723
allow=all
;allow=ulaw
canreinvite=no
Edit Guard-X: Bitte nächstes Mal Code-Tags verwenden!
 
Zuletzt bearbeitet:
Kostenlos!

Statistik des Forums

Themen
248,899
Beiträge
2,304,458
Mitglieder
378,596
Neuestes Mitglied
Pappnase333