VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
stephen.more at gmail.com Guest
|
Posted: Thu Nov 14, 2013 10:46 am Post subject: [asterisk-users] Integration with NEC DSX - help with dial l |
|
|
I am trying to setup an extension in asterisk which dials an extension
on the NEC DSX. i.e. If an asterisk user dials 402 I want it to
connect to the NEC DSX @ 192.168.1.57 and connect to extension 402. (
404 would be the NEC DSX sip account that I have the credentials for
).
[402]
deny=0.0.0.0/0.0.0.0
secret=pass1
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=dynamic
type=friend
nat=yes
port=5060
qualify=yes
callgroup=
pickupgroup=
dial=SIP/404:pass2@192.168.1.57/402
mailbox=402@device
permit=0.0.0.0/0.0.0.0
callerid=device <402>
callcounter=yes
faxdetect=no
[Nov 14 10:35:45] VERBOSE[13117][C-00000010] app_dial.c: -- Called
SIP/404:pass2@192.168.1.57/402
[Nov 14 10:35:45] VERBOSE[11623][C-00000010] chan_sip.c: -- Got
SIP response 480 "Temporarily not available" back from
192.168.1.57:5060
[Nov 14 10:35:45] VERBOSE[13117][C-00000010] app_dial.c: --
SIP/192.168.1.57-00000019 is circuit-busy
[Nov 14 10:35:45] VERBOSE[13117][C-00000010] app_dial.c: == Everyone
is busy/congested at this time (1:0/1/0)
I tried IAX2, but then I just get ring no answer.
What am I missing in the config - I simply want a one to one mapping.
-Thanks
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
jnovack at stromberg-c... Guest
|
Posted: Thu Nov 14, 2013 11:46 am Post subject: [asterisk-users] Integration with NEC DSX - help with dial l |
|
|
Stephen More wrote:
Quote: | I am trying to setup an extension in asterisk which dials an extension
on the NEC DSX. i.e. If an asterisk user dials 402 I want it to
connect to the NEC DSX @ 192.168.1.57 and connect to extension 402. (
404 would be the NEC DSX sip account that I have the credentials for
).
[402]
deny=0.0.0.0/0.0.0.0
secret=pass1
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=dynamic
type=friend
nat=yes
port=5060
qualify=yes
callgroup=
pickupgroup=
dial=SIP/404:pass2@192.168.1.57/402
mailbox=402@device
permit=0.0.0.0/0.0.0.0
callerid=device <402>
callcounter=yes
faxdetect=no
[Nov 14 10:35:45] VERBOSE[13117][C-00000010] app_dial.c: -- Called
SIP/404:pass2@192.168.1.57/402
[Nov 14 10:35:45] VERBOSE[11623][C-00000010] chan_sip.c: -- Got
SIP response 480 "Temporarily not available" back from
192.168.1.57:5060
[Nov 14 10:35:45] VERBOSE[13117][C-00000010] app_dial.c: --
SIP/192.168.1.57-00000019 is circuit-busy
[Nov 14 10:35:45] VERBOSE[13117][C-00000010] app_dial.c: == Everyone
is busy/congested at this time (1:0/1/0)
I tried IAX2, but then I just get ring no answer.
What am I missing in the config - I simply want a one to one mapping.
-Thanks
| The NEC DSX does NOT support IAX2.
Sorry to say that, but since IAX2 was never submitted to the rigors of becoming an accepted standard, there have been few adopters.
Digium chose back in 2005, I believe, perhaps earlier, not to put the effort into whatever it took to get IAX2 accepted as an international standard.
I have Asterisk send a page to my NEC DSX every 15 minutes during waking hours that announces the time, as well as some other information.
First, make sure your DSX has the latest firmware. This is easily done through the system administrator
Of course you will need the IP daughter board installed
Note that I use a non standard port, as I have my system linked to another DSX system over the Internet, and in addition to firewall settings, we chose to move the sip control port to discourage hackers
Obviously, if this is ONLY within your LAN, that isn't necessary.
You will also need to set up an extension number in the 4XX range BEYOND the IP boards possible extensions, why we chose 421
I do NOT use this to place a SIP call TO Asterisk from the DSX
Hope this helps. If you need more information, feel free to contact me off list
John Novack
Here is my sip.conf:
register=421:<password>@172.16.0.235:6065 ;
;
[421]
allow=ulaw
context=internal ;
type=friend
username=421
secret=<password>;
port=6065
host=172.16.0.235 ; DSX IP address
fromuser=421
fromdomain=bigjohnnovack.ckts.info ;
dtmfmode=inband
qualify=yes
accountcode=NECDSX
maxexpirey=3600
defaultexpirey=160
srvlookup=no
canreinvite=yes
--
Dog is my Co-pilot
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
stephen.more at gmail.com Guest
|
Posted: Fri Nov 15, 2013 4:06 pm Post subject: [asterisk-users] Integration with NEC DSX - help with dial l |
|
|
My asterisk box can now call our NEC DSX !
Here is what worked for:
elastix 2.4.0
asterisk 11.6.0
1. Configure extension 421 on the NEC DSX with a password of 123456 (
very important to use a high numbered extension 4XX )
2. vi /etc/asterisk/sip_registrations_custom.conf
register=421:123456@192.168.1.57
[mysipprovider-out]
type=peer
secret=123456
username=421
host=192.168.1.57
fromuser=421
fromdomain=192.168.1.57
nat=yes
context=from-mysipprovider
; is further defined in extensions.conf
3. /usr/sbin/asterisk -r
Elastix*CLI> sip reload
Elastix*CLI> sip show registry
Host dnsmgr Username Refresh
State Reg.Time
192.168.1.57:5060 N 421 25
Registered Fri, 15 Nov 2013 15:58:46
1 SIP registrations.
4. Add Extension 402 using elastix user interface
5. Edit Extension 402 using elastix user interface - set dial
SIP/402@mysipprovider-out,20
Now if you dial extension 402 on your asterisk box, it will connect
you to extension 402 on the NEC DSX.
Thank you John Novack for all your help.
-Stephen More
On Thu, Nov 14, 2013 at 11:43 AM, John Novack
<jnovack@stromberg-carlson.org> wrote:
Quote: |
Stephen More wrote:
Quote: |
I am trying to setup an extension in asterisk which dials an extension
on the NEC DSX. i.e. If an asterisk user dials 402 I want it to
connect to the NEC DSX @ 192.168.1.57 and connect to extension 402. (
404 would be the NEC DSX sip account that I have the credentials for
).
[402]
deny=0.0.0.0/0.0.0.0
secret=pass1
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=dynamic
type=friend
nat=yes
port=5060
qualify=yes
callgroup=
pickupgroup=
dial=SIP/404:pass2@192.168.1.57/402
mailbox=402@device
permit=0.0.0.0/0.0.0.0
callerid=device <402>
callcounter=yes
faxdetect=no
[Nov 14 10:35:45] VERBOSE[13117][C-00000010] app_dial.c: -- Called
SIP/404:pass2@192.168.1.57/402
[Nov 14 10:35:45] VERBOSE[11623][C-00000010] chan_sip.c: -- Got
SIP response 480 "Temporarily not available" back from
192.168.1.57:5060
[Nov 14 10:35:45] VERBOSE[13117][C-00000010] app_dial.c: --
SIP/192.168.1.57-00000019 is circuit-busy
[Nov 14 10:35:45] VERBOSE[13117][C-00000010] app_dial.c: == Everyone
is busy/congested at this time (1:0/1/0)
I tried IAX2, but then I just get ring no answer.
What am I missing in the config - I simply want a one to one mapping.
-Thanks
| The NEC DSX does NOT support IAX2.
Sorry to say that, but since IAX2 was never submitted to the rigors of
becoming an accepted standard, there have been few adopters.
Digium chose back in 2005, I believe, perhaps earlier, not to put the effort
into whatever it took to get IAX2 accepted as an international standard.
I have Asterisk send a page to my NEC DSX every 15 minutes during waking
hours that announces the time, as well as some other information.
First, make sure your DSX has the latest firmware. This is easily done
through the system administrator
Of course you will need the IP daughter board installed
Note that I use a non standard port, as I have my system linked to another
DSX system over the Internet, and in addition to firewall settings, we chose
to move the sip control port to discourage hackers
Obviously, if this is ONLY within your LAN, that isn't necessary.
You will also need to set up an extension number in the 4XX range BEYOND the
IP boards possible extensions, why we chose 421
I do NOT use this to place a SIP call TO Asterisk from the DSX
Hope this helps. If you need more information, feel free to contact me off
list
John Novack
Here is my sip.conf:
register=421:<password>@172.16.0.235:6065 ;
;
[421]
allow=ulaw
context=internal ;
type=friend
username=421
secret=<password>;
port=6065
host=172.16.0.235 ; DSX IP address
fromuser=421
fromdomain=bigjohnnovack.ckts.info ;
dtmfmode=inband
qualify=yes
accountcode=NECDSX
maxexpirey=3600
defaultexpirey=160
srvlookup=no
canreinvite=yes
--
Dog is my Co-pilot
|
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|