View difference between Paste ID: BvCbJu8q and Wkd7SqWz
SHOW: | | - or go back to the newest paste.
1
sip.conf
2
3
[20]
4
context=local
5
type=friend
6
secret=oquidroid
7
username=oquidroid
8
callerid=oquidroid
9
host=dynamic       
10
11
extension.conf
12
13
[local]
14
;local clients have extensions from 10-99,
15
;write one general dialplan for all of them using pattern matching
16
exten => _ZX,1, Dial(SIP/${EXTEN},30)
17
        same=>n,Playback(vm-nobodyavail)
18-
        same=>n,Hangup()
18+
        same=>n,Hangup()
19
20
//registration sip debug
21
linux-lxda*CLI> 
22
[Sep 24 16:32:20] 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
23
24
25
linux-lxda*CLI> sip show peer 20
26
27
28
  * Name       : 20
29
  Secret       : <Set>
30
  MD5Secret    : <Not set>
31
  Remote Secret: <Not set>
32
  Context      : local
33
  Subscr.Cont. : <Not set>
34
  Language     : 
35
  AMA flags    : Unknown
36
  Transfer mode: open
37
  CallingPres  : Presentation Allowed, Not Screened
38
  Callgroup    : 
39
  Pickupgroup  : 
40
  MOH Suggest  : 
41
  Mailbox      : 
42
  VM Extension : asterisk
43
  LastMsgsSent : 32767/65535
44
  Call limit   : 0
45
  Max forwards : 0
46
  Dynamic      : Yes
47
  Callerid     : "oquidroid" <>
48
  MaxCallBR    : 384 kbps
49
  Expire       : -1
50
  Insecure     : no
51
  Force rport  : Yes
52
  ACL          : No
53
  DirectMedACL : No
54
  T.38 support : No
55
  T.38 EC mode : Unknown
56
  T.38 MaxDtgrm: -1
57
  DirectMedia  : Yes
58
  PromiscRedir : No
59
  User=Phone   : No
60
  Video Support: No
61
  Text Support : No
62
  Ign SDP ver  : No
63
  Trust RPID   : No
64
  Send RPID    : No
65
  Subscriptions: Yes
66
  Overlap dial : No
67
  DTMFmode     : rfc2833
68
  Timer T1     : 500
69
  Timer B      : 32000
70
  ToHost       : 
71
  Addr->IP     : (null)
72
  Defaddr->IP  : (null)
73
  Prim.Transp. : UDP
74
  Allowed.Trsp : UDP
75
  Def. Username: oquidroid
76
  SIP Options  : (none)
77
  Codecs       : 0x80000008000e (gsm|ulaw|alaw|h263|testlaw)
78
  Codec Order  : (none)
79
  Auto-Framing :  No 
80
  Status       : Unmonitored
81
  Useragent    : 
82
  Reg. Contact : 
83
  Qualify Freq : 60000 ms
84
  Sess-Timers  : Accept
85
  Sess-Refresh : uas
86
  Sess-Expires : 1800 secs
87
  Min-Sess     : 90 secs
88
  RTP Engine   : asterisk
89
  Parkinglot   : 
90
  Use Reason   : No
91
  Encryption   : No