Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### [Asterisk debug messages ] ############################################################
- <--- SIP read from UDP:217.10.79.9:5060 --->
- <------------->
- redox*CLI>
- <--- SIP read from UDP:217.10.79.9:5060 --->
- INVITE sip:30@192.168.0.3 SIP/2.0
- Record-Route: <sip:217.10.79.9;lr=on;ftag=as76f4a6ba>
- Record-Route: <sip:172.20.40.3;lr=on>
- Record-Route: <sip:217.10.79.9;lr=on;ftag=as76f4a6ba>
- Via: SIP/2.0/UDP 217.10.79.9:5060;branch=z9hG4bK8de5.58857c54.0
- Via: SIP/2.0/UDP 172.20.40.3;branch=z9hG4bK8de5.58857c54.0
- Via: SIP/2.0/UDP 217.10.79.9:5060;received=217.10.68.226;branch=z9hG4bK543a2aa3
- Via: SIP/2.0/UDP 217.10.67.4:5060;branch=z9hG4bK543a2aa3;rport=5060
- From: "0160xxxxxxxx" <sip:0160xxxxxxxx@sipgate.de>;tag=as76f4a6ba
- To: <sip:0049381xxxxxxx@sipgate.de>
- Contact: <sip:0160xxxxxxxx@217.10.67.4>
- Call-ID: 54ed359c6887a20414d10dcc7dff90f2@sipgate.de
- CSeq: 102 INVITE
- Max-Forwards: 67
- Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
- Supported: replaces
- Content-Type: application/sdp
- Content-Length: 402
- v=0
- o=root 14171 14171 IN IP4 217.10.67.4
- s=session
- c=IN IP4 217.10.77.21
- t=0 0
- m=audio 58052 RTP/AVP 8 0 3 18 112 101
- a=rtpmap:8 PCMA/8000
- a=rtpmap:0 PCMU/8000
- a=rtpmap:3 GSM/8000
- a=rtpmap:18 G729/8000
- a=fmtp:18 annexb=no
- a=rtpmap:112 G726-32/8000
- a=rtpmap:101 telephone-event/8000
- a=fmtp:101 0-16
- a=silenceSupp:off - - - -
- a=ptime:20
- a=sendrecv
- a=direction:active
- a=nortpproxy:yes
- <------------->
- --- (18 headers 19 lines) ---
- Sending to 217.10.79.9 : 5060 (NAT)
- Using INVITE request as basis request - 54ed359c6887a20414d10dcc7dff90f2@sipgate.de
- Found peer 'outgoing' for '0160xxxxxxxx' from 217.10.79.9:5060
- Found RTP audio format 8
- Found RTP audio format 0
- Found RTP audio format 3
- Found RTP audio format 18
- Found RTP audio format 112
- Found RTP audio format 101
- Found audio description format PCMA for ID 8
- Found audio description format PCMU for ID 0
- Found audio description format GSM for ID 3
- Found audio description format G729 for ID 18
- Found audio description format G726-32 for ID 112
- Found audio description format telephone-event for ID 101
- Capabilities: us - 0x14e (gsm|ulaw|alaw|slin|g729), peer - audio=0x90e (gsm|ulaw|alaw|g726|g729)/video=0x0 (nothing)/text=0x0 (nothing), combined - 0x10e (gsm|ulaw|alaw|g729)
- Non-codec capabilities (dtmf): us - 0x1 (telephone-event), peer - 0x1 (telephone-event), combined - 0x1 (telephone-event)
- Peer audio RTP is at port 217.10.77.21:58052
- Looking for 30 in default (domain 192.168.0.3)
- list_route: hop: <sip:217.10.79.9;lr=on;ftag=as76f4a6ba>
- list_route: hop: <sip:172.20.40.3;lr=on>
- list_route: hop: <sip:217.10.79.9;lr=on;ftag=as76f4a6ba>
- redox*CLI>
- <--- Transmitting (NAT) to 217.10.79.9:5060 --->
- SIP/2.0 100 Trying
- Via: SIP/2.0/UDP 217.10.79.9:5060;branch=z9hG4bK8de5.58857c54.0;received=217.10.79.9
- Via: SIP/2.0/UDP 172.20.40.3;branch=z9hG4bK8de5.58857c54.0
- Via: SIP/2.0/UDP 217.10.79.9:5060;received=217.10.68.226;branch=z9hG4bK543a2aa3
- Via: SIP/2.0/UDP 217.10.67.4:5060;branch=z9hG4bK543a2aa3;rport=5060
- Record-Route: <sip:217.10.79.9;lr=on;ftag=as76f4a6ba>
- Record-Route: <sip:172.20.40.3;lr=on>
- Record-Route: <sip:217.10.79.9;lr=on;ftag=as76f4a6ba>
- From: "016095346819" <sip:0160xxxxxxxx@sipgate.de>;tag=as76f4a6ba
- To: <sip:0049381xxxxxxx@sipgate.de>
- Call-ID: 54ed359c6887a20414d10dcc7dff90f2@sipgate.de
- CSeq: 102 INVITE
- Server: Asterisk PBX 1.6.2.5
- Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
- Supported: replaces, timer
- Contact: <sip:30@192.168.0.3>
- Content-Length: 0
- <------------>
- [Apr 8 15:51:48] WARNING[13966]: pbx.c:3675 pbx_extension_helper: No application '' for extension (default, 30, 2)
- Scheduling destruction of SIP dialog '54ed359c6887a20414d10dcc7dff90f2@sipgate.de' in 6400 ms (Method: INVITE)
- <--- Reliably Transmitting (NAT) to 217.10.79.9:5060 --->
- SIP/2.0 603 Declined
- Via: SIP/2.0/UDP 217.10.79.9:5060;branch=z9hG4bK8de5.58857c54.0;received=217.10.79.9
- Via: SIP/2.0/UDP 172.20.40.3;branch=z9hG4bK8de5.58857c54.0
- Via: SIP/2.0/UDP 217.10.79.9:5060;received=217.10.68.226;branch=z9hG4bK543a2aa3
- Via: SIP/2.0/UDP 217.10.67.4:5060;branch=z9hG4bK543a2aa3;rport=5060
- From: "0160xxxxxxxx" <sip:0160xxxxxxxx@sipgate.de>;tag=as76f4a6ba
- To: <sip:0049381xxxxxxx@sipgate.de>;tag=as2ef9a557
- Call-ID: 54ed359c6887a20414d10dcc7dff90f2@sipgate.de
- CSeq: 102 INVITE
- Server: Asterisk PBX 1.6.2.5
- Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
- Supported: replaces, timer
- Content-Length: 0
- <------------>
- redox*CLI>
- <--- SIP read from UDP:217.10.79.9:5060 --->
- ACK sip:30@192.168.0.3 SIP/2.0
- Max-Forwards: 10
- Via: SIP/2.0/UDP 217.10.79.9:5060;branch=z9hG4bK8de5.58857c54.0
- Via: SIP/2.0/UDP 172.20.40.3;branch=z9hG4bK8de5.58857c54.0
- From: "0160xxxxxxxx" <sip:0160xxxxxxxx@sipgate.de>;tag=as76f4a6ba
- Call-ID: 54ed359c6887a20414d10dcc7dff90f2@sipgate.de
- To: <sip:0049381xxxxxxx@sipgate.de>;tag=as2ef9a557
- CSeq: 102 ACK
- Content-Length: 0
- X-hint: rr-enforced
- <------------->
- --- (10 headers 0 lines) ---
- redox*CLI>
- <--- SIP read from UDP:217.10.79.9:5060 --->
- <------------->
- ### [sip.conf] ############################################################################
- [general]
- port=5060
- bindaddr=0.0.0.0
- localnet=192.168.0.0/24
- qualify=yes
- disallow=all
- allow=alaw
- allow=ulaw
- allow=g729
- allow=gsm
- allow=slinear
- context=default
- srvlookup=yes
- language=de
- nat=yes
- match_auth_username=yes
- register => callid:passwd@sipgate.de/30
- [outgoing]
- type=friend
- username=24xxxxx
- fromuser=24xxxxx
- secret=passwd
- host=sipgate.de
- fromdomain=sipgate.de
- insecure=invite
- context=default
- insecure=port,invite
- canreinvite=no
- dtmfmode=rfc2833
- [incoming]
- type=friend
- host=dynamic
- context=default
- [30]
- type=friend
- username=24xxxxx
- fromuser=24xxxxx
- fromdomain=sipgate.de
- user=30
- mailbox=30
- host=dynamic
- secret=passwd
- insecure=very
- context=default
- callerid="Bjoern <30>"
- canreinvite=no
- qualify=yes
- allow=ulaw
- nat=yes
- ### [extensions.conf] #####################################################################
- [general]
- static=yes
- writeprotect=no
- ; --------------------------------------------------------------------
- ; Es hat sich als gute Praxis erwiesen, die Inhalte der Datei
- ; extensions.conf modular aufzubauen. Diese Praxis wollen
- ; wir auch hier anwenden
- ;
- [echotest]
- exten => 81,1,Answer
- exten => 81,n,Wait(1)
- exten => 81,n,Playback(demo-echotest)
- exten => 81,n,Echo
- exten => 81,n,Playback(demo-echodone)
- exten => 81,n,Hangup
- [30]
- ;exten => 30,1,Dial(SIP/30,15)
- exten => 30,2 Voicemail(30)
- exten => 30,3,Hangup
- [mailbox]
- exten => Mailbox,1,Answer
- exten => Mailbox,n,Wait(1)
- exten => Mailbox,n,VoiceMailMain(30@default,s)
- exten => Mailbox,2,Hangup
- [apfelmus]
- exten => 8888,1,Answer()
- exten => 8888,2,Playback(hello-world)
- exten => 8888,3,Hangup()
- [home]
- ; Erreichbarkeit der Nebenstellen 30-39
- ; untereinander herstellen
- exten => _3X,1,NoCDR()
- exten => _3X,n,Dial,SIP/${EXTEN}|55|Ttr
- [outgoing]
- exten => _0.,1,Set(CALLERID(num)=24xxxxx)
- exten => _0.,n,Dial(SIP/${EXTEN}@outgoing,60,trg)
- exten => _0.,n,Hangup
- [incoming]
- ; alle Anrufe mit einer ID 2473867 sollen an das SIP Endgeraet 30 geroutet werden
- exten => 30,1,Dial(SIP/30,30)
- exten => 30,2,VoiceMail(30,u)
- [default]
- include => echotest
- include => mailbox
- include => 30
- include => home
- include => outgoing
- include => incoming
- include => apfelmus
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement