Drin....bei Telenor mit Fritz
So, einen Schritt bin ich weiter. Ich konnte meine 7170 bei Telenor anmelden. Es wurde doch nicht PPOE sondern der neue Anschluß mit IP Telefonie benutzt (gemäß RFC1483/RFC2684). Allerdings war es auch notwendig die MAC Adresse zu ändern, weil diese bei Telenor im System gespeichert ist.
Jetzt fehlen mir nur noch die Zugangsdaten der IP Telefonie. Habe hier irgentwas...kann man da was mit anfangen:
Hilfe!
[sip]
include => fwd
exten => 82041,1,Goto(menu1,s,1)
exten => 82041,2,VoiceMail(u9001)
exten => 82042,1,Dial(SIP/
[email protected],,tr)
exten => 82043,1,Dial(SIP/
[email protected],,tr)
exten => 82044,1,Dial(SIP/
[email protected],,tr)
exten => 1001,1,Ringing
exten => 1001,2,Wait(2)
exten => 1001,3,VoicemailMain
[fwd]
exten => _0.,1,Dial(SIP/+47${EXTEN:1}@telenor.vipnett.com,,tr)
exten => +47xxx82041,1,Goto(menu1,s,1)
exten => +47xxx82041,2,VoiceMail(u9001)
exten => +47xxx82041,102,VoiceMail(b9001)
exten => +47xxx82042,1,Dial(SIP/
[email protected],,mTt)
exten => +47xxx82043,1,Dial(SIP/
[email protected],,tr)
exten => +47xxx82044,1,Dial(SIP/
[email protected],,tr)
[menu1]
exten => s,1,Ringing
exten => s,2,Wait,1
exten => s,3,Background(tt-monkeysintro)
exten => s,4,Background(tt-monkeys)
exten => s,5,Goto(menu1,s,4)
exten => s,n,WaitExten
exten => 1,1,VoicemailMain
exten => 2,1,Dial(SIP/
[email protected],,ftr)
;exten => 3,1,Callingpres(+47xxx82041)
exten => 3,1,Dial(SIP/
[email protected],60,f)
OyBjorge
Joined: Oct 12, 2005
Posts: 6
Status: Offline Posted: Oct 15, 2005 - 01:36 AM
A trace from one call.
I have replaced the phone-numbers and some IP-adresses.
What I want different is that in the outgoing INVITE I want the call to go from B -> C not from A -> C like in this case, which gets rejected by the proxy with 404.
Sip read:
INVITE sip:
[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP XXX.XXX.XXX.XXX:5060;branch=z9hG4bK32km4a10983ehbsvb7g1.1
From: AAAAAAAA <sip:
[email protected];user=phone>;tag=SDlfr9a01-0082-000000ce-03c1
To: <sip:
[email protected];user=phone>
Call-ID: SDlfr9a01-ce8c7b190be349062ec19c0d5f8bab54-v3000i1
CSeq: 1 INVITE
Max-Forwards: 29
Contact: <sip:
[email protected]:5060;transport=udp>
Expires: 180
P-Charging-Vector:
[email protected]
P-Asserted-Identity: "AAAAAAAA" <sip:
[email protected];user=phone>
Alcatel-Service-Data: Profile-Service-Data = COLP-request
P-Presented-Identity: "AAAAAAAA" <sip:
[email protected];user=phone>
Content-Type: application/sdp
Content-Length: 429
v=0
o=bell 865833 865833 IN IP4 XXX.XXX.XXX.XXX
s=SDP from Megacopi
c=IN IP4 XXX.XXX.XXX.XXX
t=0 0
m=audio 20140 RTP/AVP 8 0 18 4 127
a=ptime:20
a=sqn:0
a=cdsc:1 image udptl t38
a=cpar: a=T38FaxVersion:0
a=cpar: a=T38maxBitRate:14400
a=cpar: a=T38FaxRateManagement:transferredTCF
a=cpar: a=T38FaxMaxBuffer:336
a=cpar: a=T38FaxMaxDatagram:176
a=cpar: a=T38FaxUdpEC:t38UDPRedundancy
a=rtpmap:127 telephone-event/8000
15 headers, 16 lines
Using latest request as basis request
Sending to XXX.XXX.XXX.XXX : 5060 (non-NAT)
Found no matching peer or user for 'XXX.XXX.XXX.XXX:5060'
Found RTP audio format 8
Found RTP audio format 0
Found RTP audio format 18
Found RTP audio format 4
Found RTP audio format 127
Peer audio RTP is at port XXX.XXX.XXX.XXX:20140
Found description format telephone-event
Capabilities: us - 0x8000e (gsm|ulaw|alaw|h263), peer - audio=0x10d (g723|ulaw|alaw|g729)/video=0x0 (nothing), combined - 0xc (ulaw|alaw)
Non-codec capabilities: us - 0x1 (g723), peer - 0x1 (g723), combined - 0x1 (g723)
Looking for +47BBBBBBBB in sip
list_route: hop: <sip:
[email protected]:5060;transport=udp>
Transmitting (no NAT):
SIP/2.0 100 Trying
Via: SIP/2.0/UDP XXX.XXX.XXX.XXX:5060;branch=z9hG4bK32km4a10983ehbsvb7g1.1
From: AAAAAAAA <sip:
[email protected];user=phone>;tag=SDlfr9a01-0082-000000ce-03c1
To: <sip:
[email protected];user=phone>
Call-ID: SDlfr9a01-ce8c7b190be349062ec19c0d5f8bab54-v3000i1
CSeq: 1 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:
[email protected]>
Content-Length: 0
to XXX.XXX.XXX.XXX:5060
-- Executing Goto("SIP/telenor.vipnett.com-08304b98", "menu1|s|1") in new stack
-- Goto (menu1,s,1)
-- Executing Ringing("SIP/telenor.vipnett.com-08304b98", "") in new stack
Transmitting (no NAT):
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP XXX.XXX.XXX.XXX:5060;branch=z9hG4bK32km4a10983ehbsvb7g1.1
From: AAAAAAAA <sip:
[email protected];user=phone>;tag=SDlfr9a01-0082-000000ce-03c1
To: <sip:
[email protected];user=phone>;tag=as383679bf
Call-ID: SDlfr9a01-ce8c7b190be349062ec19c0d5f8bab54-v3000i1
CSeq: 1 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:
[email protected]>
Content-Length: 0
to XXX.XXX.XXX.XXX:5060
-- Executing Wait("SIP/telenor.vipnett.com-08304b98", "1") in new stack
-- Executing BackGround("SIP/telenor.vipnett.com-08304b98", "tt-monkeysintro") in new stack
We're at 172.19.1.60 port 13178
Answering with capability 0x2 (gsm)
Answering with capability 0x4 (ulaw)
Answering with capability 0x8 (alaw)
Answering with non-codec capability 0x1 (telephone-event)
Reliably Transmitting (no NAT):
SIP/2.0 200 OK
Via: SIP/2.0/UDP XXX.XXX.XXX.XXX:5060;branch=z9hG4bK32km4a10983ehbsvb7g1.1
From: AAAAAAAA <sip:
[email protected];user=phone>;tag=SDlfr9a01-0082-000000ce-03c1
To: <sip:
[email protected];user=phone>;tag=as383679bf
Call-ID: SDlfr9a01-ce8c7b190be349062ec19c0d5f8bab54-v3000i1
CSeq: 1 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:
[email protected]>
Content-Type: application/sdp
Content-Length: 259
v=0
o=root 1387 1387 IN IP4 172.19.1.60
s=session
c=IN IP4 172.19.1.60
t=0 0
m=audio 13178 RTP/AVP 3 0 8 127
a=rtpmap:3 GSM/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:127 telephone-event/8000
a=fmtp:127 0-16
a=silenceSupp

ff - - - -
to XXX.XXX.XXX.XXX:5060
-- Playing 'tt-monkeysintro' (language 'en')
asterisk1*CLI>
Sip read:
ACK sip:
[email protected] SIP/2.0
Via: SIP/2.0/UDP XXX.XXX.XXX.XXX:5060;branch=z9hG4bK32kmka10a8rv8c0072g1.1
From: AAAAAAAA <sip:
[email protected];user=phone>;tag=SDlfr9a01-0082-000000ce-03c1
To: <sip:
[email protected];user=phone>;tag=as383679bf
Call-ID: SDlfr9a01-ce8c7b190be349062ec19c0d5f8bab54-v3000i1
CSeq: 1 ACK
Max-Forwards: 29
Contact: <sip:
[email protected]:5060;transport=udp>
Content-Length: 0
9 headers, 0 lines
asterisk1*CLI>
Sip read:
ACK sip:
[email protected] SIP/2.0
Via: SIP/2.0/UDP XXX.XXX.XXX.XXX:5060;branch=z9hG4bK32kmka10eorufc00c3c1.1
From: AAAAAAAA <sip:
[email protected];user=phone>;tag=SDlfr9a01-0082-000000ce-03c1
To: <sip:
[email protected];user=phone>;tag=as383679bf
Call-ID: SDlfr9a01-ce8c7b190be349062ec19c0d5f8bab54-v3000i1
CSeq: 1 ACK
Max-Forwards: 29
Contact: <sip:
[email protected]:5060;transport=udp>
Content-Length: 0
9 headers, 0 lines
== CDR updated on SIP/telenor.vipnett.com-08304b98
-- Executing Dial("SIP/telenor.vipnett.com-08304b98", "SIP/
[email protected]|60|f") in new stack
We're at 172.19.1.60 port 15022
Answering/Requesting with root capability 0x4 (ulaw)
Answering with capability 0x2 (gsm)
Answering with capability 0x8 (alaw)
Answering with non-codec capability 0x1 (telephone-event)
12 headers, 12 lines
Reliably Transmitting:
INVITE sip:
[email protected] SIP/2.0
Via: SIP/2.0/UDP 172.19.1.60:5060;branch=z9hG4bK58f54d9c
From: "AAAAAAAA" <sip:
[email protected]>;tag=as11ee046c
To: <sip:
[email protected]>
Contact: <sip:
[email protected]>
Call-ID: 20445d9659381a520e6364dd427d2408 [!at] 172.19.1.60 (replace the [!at] with a @)
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Date: Sat, 15 Oct 2005 06:15:25 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Content-Type: application/sdp
Content-Length: 259
v=0
o=root 1387 1387 IN IP4 172.19.1.60
s=session
c=IN IP4 172.19.1.60
t=0 0
m=audio 15022 RTP/AVP 0 3 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp

ff - - - -
(no NAT) to XXX.XXX.XXX.XXX:5060
-- Called
[email protected]
asterisk1*CLI>
Sip read:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 172.19.1.60:5060;branch=z9hG4bK58f54d9c
From: "AAAAAAAA" <sip:
[email protected]>;tag=as11ee046c
To: <sip:
[email protected]>
Call-ID: 20445d9659381a520e6364dd427d2408 [!at] 172.19.1.60 (replace the [!at] with a @)
CSeq: 102 INVITE
6 headers, 0 lines
asterisk1*CLI>
Sip read:
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 172.19.1.60:5060;branch=z9hG4bK58f54d9c
From: "AAAAAAAA" <sip:
[email protected]>;tag=as11ee046c
To: <sip:
[email protected]>;tag=SD0kn0399-
Call-ID: 20445d9659381a520e6364dd427d2408 [!at] 172.19.1.60 (replace the [!at] with a @)
CSeq: 102 INVITE
Content-Length: 0
7 headers, 0 lines
-- Got SIP response 404 "Not Found" back from XXX.XXX.XXX.XXX
Transmitting:
ACK sip:
[email protected] SIP/2.0
Via: SIP/2.0/UDP 172.19.1.60:5060;branch=z9hG4bK58f54d9c
From: "AAAAAAAA" <sip:
[email protected]>;tag=as11ee046c
To: <sip:
[email protected]>;tag=SD0kn0399-
Contact: <sip:
[email protected]>
Call-ID: 20445d9659381a520e6364dd427d2408 [!at] 172.19.1.60 (replace the [!at] with a @)
CSeq: 102 ACK
User-Agent: Asterisk PBX
Content-Length: 0
(no NAT) to XXX.XXX.XXX.XXX:5060
-- SIP/telenor.vipnett.com-04da is circuit-busy
== Everyone is busy/congested at this time
Destroying call '
[email protected]'
set_destination: Parsing <sip:
[email protected]:5060;transport=udp> for address/port to send to
set_destination: set destination to XXX.XXX.XXX.XXX, port 5060
Reliably Transmitting:
BYE sip:
[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 172.19.1.60:5060;branch=z9hG4bK6f52dc3c;rport
From: <sip:
[email protected];user=phone>;tag=as383679bf
To: AAAAAAAA <sip:
[email protected];user=phone>;tag=SDlfr9a01-0082-000000ce-03c1
Contact: <sip:
[email protected]>
Call-ID: SDlfr9a01-ce8c7b190be349062ec19c0d5f8bab54-v3000i1
CSeq: 102 BYE
User-Agent: Asterisk PBX
Content-Length: 0
(no NAT) to XXX.XXX.XXX.XXX:5060
asterisk1*CLI>
Sip read:
SIP/2.0 200 Ok
Via: SIP/2.0/UDP 172.19.1.60:5060;received=172.19.1.60;branch=z9hG4bK6f52dc3c;rport=5060
From: <sip:
[email protected];user=phone>;tag=as383679bf
To: AAAAAAAA <sip:
[email protected];user=phone>;tag=SDlfr9a01-0082-000000ce-03c1
Call-ID: SDlfr9a01-ce8c7b190be349062ec19c0d5f8bab54-v3000i1
CSeq: 102 BYE
Content-Length: 0
7 headers, 0 lines
Message is BYE
Destroying call 'SDlfr9a01-ce8c7b190be349062ec19c0d5f8bab54-v3000i1'
asterisk1*CLI>