Many people have struggled to make this device work with Asterisk PBX
and faced peer registration issues or one-way calls.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
Here is a sample configuration that works: <strong>On Asterisk (version 1.6): (sip_aditional.conf)</strong> [222] deny=0.0.0.0/0.0.0.0 type=friend secret=1111 qualify=yes port=5060 pickupgroup= permit=0.0.0.0/0.0.0.0 nat=yes mailbox=222@device host=dynamic dtmfmode=rfc2833 dial=SIP/222 context=from-internal canreinvite=yes callgroup= callerid=device <222> accountcode= call-limit=50 On the ZyXEL P2002: - SIP Account: SIP1 ACTIVE - SIP Number: 222 - SIP Local Port: 8000 - SIP Server Address: 192.168.1.10 - SIP Server Port: 5060 - REGISTER Server Address: 192.168.1.10 - REGISTER Server Port: 5060 - SIP Service Domain: 192.168.1.10 - Authentication ID: 222 - Authentication Password: 1111 - Sending Called ID: CHECKED - Incoming Calls Apply to: PHONE 1 ADVANCED SETTINGS: - URL Type: SIP Leave the rest on default values - Caller Ringing: ENABLED with Default Tone If everything is OK, at the end, you should have the following statuses: |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
<strong>On the ZyXEL P2002: (Maintenance/Status)</strong> SIP1 Registration Status: On Register Used Port: 8000/UDP <strong>On Asterisk:</strong> [PBX.local ~]# asterisk -vvvrrrrr Asterisk 1.6.0.26-FONCORE-r78, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.0.26-FONCORE-r78 currently running on pbnet (pid = 2693) Verbosity is at least 6 pbnet*CLI> !clear pbnet*CLI> sip show peers Name/username Host Dyn Nat ACL Port Status SIP TRUNK/001001001 xx.xx.xxx.xx 5060 OK (6 ms) 221/221 192.168.1.90 D N A 5060 OK (12 ms) 222/222 192.168.1.20 D N A 8000 OK (12 ms) 223/223 192.168.1.21 D N A 5060 OK (14 ms) 224/224 (Unspecified) D N A 5060 (UNKNOWN) 5 sip peers [Monitored: 4 online, 1 offline Unmonitored: 0 online, 0 offline] PBX*CLI> Note: extension 224 is offline |
1 |