Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sip.conf
- [20]
- context=local
- type=peer
- secret=oquidroid
- username=oquidroid
- callerid=oquidroid
- host=dynamic
- extension.conf
- [local]
- ;local clients have extensions from 10-99,
- ;write one general dialplan for all of them using pattern matching
- exten => _ZX,1, Dial(SIP/${EXTEN},30)
- same=>n,Playback(vm-nobodyavail)
- same=>n,Hangup()
- //registration sip debug
- <--- SIP read from UDP:192.168.43.1:5060 --->
- REGISTER sip:192.168.43.240;transport=UDP SIP/2.0
- Via: SIP/2.0/UDP 192.168.43.1:5060;branch=z9hG4bK-d8754z-e6a0faa5e32af2a2-1---d8754z-
- Max-Forwards: 70
- Contact: <sip:oquidroid@192.168.43.1:5060;rinstance=eda107c3185861ad;transport=UDP>
- To: "oquidave"<sip:oquidroid@192.168.43.240;transport=UDP>
- From: "oquidave"<sip:oquidroid@192.168.43.240;transport=UDP>;tag=9323291c
- Call-ID: YWE2NTE1ZWM1NWZhMWFkMGQ0ODRkODg1Y2I2Njc5NzM.
- CSeq: 1 REGISTER
- Expires: 60
- Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
- Supported: replaces, norefersub, extended-refer, X-cisco-serviceuri
- User-Agent: Zoiper rev.15846
- Allow-Events: presence, kpml
- Content-Length: 0
- <------------->
- --- (14 headers 0 lines) ---
- Sending to 192.168.43.1:5060 (NAT)
- <--- Transmitting (NAT) to 192.168.43.1:5060 --->
- SIP/2.0 401 Unauthorized
- Via: SIP/2.0/UDP 192.168.43.1:5060;branch=z9hG4bK-d8754z-e6a0faa5e32af2a2-1---d8754z-;received=192.168.43.1;rport=5060
- From: "oquidave"<sip:oquidroid@192.168.43.240;transport=UDP>;tag=9323291c
- To: "oquidave"<sip:oquidroid@192.168.43.240;transport=UDP>;tag=as7ff526e3
- Call-ID: YWE2NTE1ZWM1NWZhMWFkMGQ0ODRkODg1Y2I2Njc5NzM.
- CSeq: 1 REGISTER
- Server: Asterisk PBX 1.8.16.0
- Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
- Supported: replaces, timer
- WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="50b769db"
- Content-Length: 0
- <------------>
- Scheduling destruction of SIP dialog 'YWE2NTE1ZWM1NWZhMWFkMGQ0ODRkODg1Y2I2Njc5NzM.' in 32000 ms (Method: REGISTER)
- [Sep 24 16:36:49] NOTICE[3729]: chan_sip.c:25160 handle_request_register: Registration from '"oquidave"<sip:oquidroid@192.168.43.240;transport=UDP>' failed for '192.168.43.1:5060' - No matching peer found
- Scheduling destruction of SIP dialog 'YWE2NTE1ZWM1NWZhMWFkMGQ0ODRkODg1Y2I2Njc5NzM.' in 32000 ms (Method: REGISTER)
- <--- SIP read from UDP:192.168.43.1:5060 --->
- REGISTER sip:192.168.43.240;transport=UDP SIP/2.0
- Via: SIP/2.0/UDP 192.168.43.1:5060;branch=z9hG4bK-d8754z-4382163498b0112d-1---d8754z-
- Max-Forwards: 70
- Contact: <sip:oquidroid@192.168.43.1:5060;rinstance=eda107c3185861ad;transport=UDP>
- To: "oquidave"<sip:oquidroid@192.168.43.240;transport=UDP>
- From: "oquidave"<sip:oquidroid@192.168.43.240;transport=UDP>;tag=9323291c
- Call-ID: YWE2NTE1ZWM1NWZhMWFkMGQ0ODRkODg1Y2I2Njc5NzM.
- CSeq: 2 REGISTER
- Expires: 60
- Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
- Supported: replaces, norefersub, extended-refer, X-cisco-serviceuri
- User-Agent: Zoiper rev.15846
- Authorization: Digest username="oquidroid",realm="asterisk",nonce="50b769db",uri="sip:192.168.43.240;transport=UDP",response="2c12649e4e906f98cabf81460ba20f7c",algorithm=MD5
- Allow-Events: presence, kpml
- Content-Length: 0
- <------------->
- --- (15 headers 0 lines) ---
- Sending to 192.168.43.1:5060 (NAT)
- <--- Transmitting (NAT) to 192.168.43.1:5060 --->
- SIP/2.0 403 Forbidden (Bad auth)
- Via: SIP/2.0/UDP 192.168.43.1:5060;branch=z9hG4bK-d8754z-4382163498b0112d-1---d8754z-;received=192.168.43.1;rport=5060
- From: "oquidave"<sip:oquidroid@192.168.43.240;transport=UDP>;tag=9323291c
- To: "oquidave"<sip:oquidroid@192.168.43.240;transport=UDP>;tag=as7ff526e3
- Call-ID: YWE2NTE1ZWM1NWZhMWFkMGQ0ODRkODg1Y2I2Njc5NzM.
- CSeq: 2 REGISTER
- Server: Asterisk PBX 1.8.16.0
- Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
- Supported: replaces, timer
- Content-Length: 0
- <------------>
- [Sep 24 16:36:49] NOTICE[3729]: chan_sip.c:25160 handle_request_register: Registration from '"oquidave"<sip:oquidroid@192.168.43.240;transport=UDP>' failed for '192.168.43.1:5060' - No matching peer found
- Scheduling destruction of SIP dialog 'YWE2NTE1ZWM1NWZhMWFkMGQ0ODRkODg1Y2I2Njc5NzM.' in 32000 ms (Method: REGISTER)
- Really destroying SIP dialog 'YWE2NTE1ZWM1NWZhMWFkMGQ0ODRkODg1Y2I2Njc5NzM.' Method: REGISTER
- linux-lxda*CLI> sip show peer 20
- * Name : 20
- Secret : <Set>
- MD5Secret : <Not set>
- Remote Secret: <Not set>
- Context : local
- Subscr.Cont. : <Not set>
- Language :
- AMA flags : Unknown
- Transfer mode: open
- CallingPres : Presentation Allowed, Not Screened
- Callgroup :
- Pickupgroup :
- MOH Suggest :
- Mailbox :
- VM Extension : asterisk
- LastMsgsSent : 32767/65535
- Call limit : 0
- Max forwards : 0
- Dynamic : Yes
- Callerid : "oquidroid" <>
- MaxCallBR : 384 kbps
- Expire : -1
- Insecure : no
- Force rport : Yes
- ACL : No
- DirectMedACL : No
- T.38 support : No
- T.38 EC mode : Unknown
- T.38 MaxDtgrm: -1
- DirectMedia : Yes
- PromiscRedir : No
- User=Phone : No
- Video Support: No
- Text Support : No
- Ign SDP ver : No
- Trust RPID : No
- Send RPID : No
- Subscriptions: Yes
- Overlap dial : No
- DTMFmode : rfc2833
- Timer T1 : 500
- Timer B : 32000
- ToHost :
- Addr->IP : (null)
- Defaddr->IP : (null)
- Prim.Transp. : UDP
- Allowed.Trsp : UDP
- Def. Username: oquidroid
- SIP Options : (none)
- Codecs : 0x80000008000e (gsm|ulaw|alaw|h263|testlaw)
- Codec Order : (none)
- Auto-Framing : No
- Status : Unmonitored
- Useragent :
- Reg. Contact :
- Qualify Freq : 60000 ms
- Sess-Timers : Accept
- Sess-Refresh : uas
- Sess-Expires : 1800 secs
- Min-Sess : 90 secs
- RTP Engine : asterisk
- Parkinglot :
- Use Reason : No
- Encryption : No
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement