Quaine Day
New Member
- Joined
- Dec 17, 2014
- Messages
- 4
- Reaction score
- 0
Hello Guys,
I have a Dialogic HMP Enghouse Interactive Console trying to place outbound calls through Incredible Server.
At the moment we are able to place calls from HMP to an internal extension using example calling script. sip:[email protected]:5060
2126 is an internal extension and the endpoint for that device is 192.168.37.2
As well I can dial from extension 2126 to HMP on extension 3000 and get a response.
I can also call the CP from outside using inbound DID.
The problem we are facing now is trying to place a call using the SIP registar @192.168.37.1
So when using a calling script sip:[email protected]:5060 I get the 401 Unauthorized
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 172.16.81.162:5060;rport=5060;received=172.16.81.162;branch=z9hG4bK-151f7-5282d29-61281ea3-769a808
Call-ID: 76b3350-a25110ac-13c4-65014-151e4-4223ef2a-151e4
From: <sip:[email protected]>;tag=76a6768-a25110ac-13c4-65014-151e4-383dc4f0-151e4
To: <sip:[email protected]>;tag=z9hG4bK-151f7-5282d29-61281ea3-769a808
CSeq: 1 INVITE
WWW-Authenticate: Digest realm="asterisk",nonce="1461880367/93cd882a5ac7375cef8c68460b70da73",opaque="0485a646594bbeee",algorithm=md5,qop="auth"
Server: FPBX-12.0.74(13.7.2)
Content-Length: 0
Enghouse support advised to add the device as a trunk. By adding this device as a trunk and not an endpoint how does it place a call to other extensions or outside lines?
So at this time I have both the device configured as an endpoint and tried to configure it as a trunk.
Here is the sip_additional.conf
[3000]
deny=0.0.0.0/0.0.0.0
secret=XXXXXXX
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=172.16.81.162
trustrpid=yes
mediaencryption=no
sendrpid=no
type=friend
nat=no
port=5060
qualify=yes
qualifyfreq=60
transport=udp,tcp,tls
avpf=no
force_avp=no
icesupport=no
encryption=no
callgroup=
pickupgroup=
dial=SIP/3000
permit=0.0.0.0/0.0.0.0
callerid=Enghouse CP <3000>
callcounter=yes
faxdetect=no
cc_monitor_policy=generic
[Dialogic_HMP]
host=172.16.81.162
defaultuser=3000
secret=XXXXXX
type=friend
insecure=port,invite
dissallow=all
allow=ulaw
context=from-trunk
Notice the endpoint is configured as host=172.16.81.162 (ip address of HMP server)
If I set this host=dynamic the endpoint is no longer reachable and I am unable to make calls to it.
The HMP uses SIP Digest Authentication and I have followed the guide sent from enghouse to register it but it is failing.
I am at a loss right now and would like to know if anybody has some pointers.
Thanks in advance
Quaine
I have a Dialogic HMP Enghouse Interactive Console trying to place outbound calls through Incredible Server.
At the moment we are able to place calls from HMP to an internal extension using example calling script. sip:[email protected]:5060
2126 is an internal extension and the endpoint for that device is 192.168.37.2
As well I can dial from extension 2126 to HMP on extension 3000 and get a response.
I can also call the CP from outside using inbound DID.
The problem we are facing now is trying to place a call using the SIP registar @192.168.37.1
So when using a calling script sip:[email protected]:5060 I get the 401 Unauthorized
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 172.16.81.162:5060;rport=5060;received=172.16.81.162;branch=z9hG4bK-151f7-5282d29-61281ea3-769a808
Call-ID: 76b3350-a25110ac-13c4-65014-151e4-4223ef2a-151e4
From: <sip:[email protected]>;tag=76a6768-a25110ac-13c4-65014-151e4-383dc4f0-151e4
To: <sip:[email protected]>;tag=z9hG4bK-151f7-5282d29-61281ea3-769a808
CSeq: 1 INVITE
WWW-Authenticate: Digest realm="asterisk",nonce="1461880367/93cd882a5ac7375cef8c68460b70da73",opaque="0485a646594bbeee",algorithm=md5,qop="auth"
Server: FPBX-12.0.74(13.7.2)
Content-Length: 0
Enghouse support advised to add the device as a trunk. By adding this device as a trunk and not an endpoint how does it place a call to other extensions or outside lines?
So at this time I have both the device configured as an endpoint and tried to configure it as a trunk.
Here is the sip_additional.conf
[3000]
deny=0.0.0.0/0.0.0.0
secret=XXXXXXX
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=172.16.81.162
trustrpid=yes
mediaencryption=no
sendrpid=no
type=friend
nat=no
port=5060
qualify=yes
qualifyfreq=60
transport=udp,tcp,tls
avpf=no
force_avp=no
icesupport=no
encryption=no
callgroup=
pickupgroup=
dial=SIP/3000
permit=0.0.0.0/0.0.0.0
callerid=Enghouse CP <3000>
callcounter=yes
faxdetect=no
cc_monitor_policy=generic
[Dialogic_HMP]
host=172.16.81.162
defaultuser=3000
secret=XXXXXX
type=friend
insecure=port,invite
dissallow=all
allow=ulaw
context=from-trunk
Notice the endpoint is configured as host=172.16.81.162 (ip address of HMP server)
If I set this host=dynamic the endpoint is no longer reachable and I am unable to make calls to it.
The HMP uses SIP Digest Authentication and I have followed the guide sent from enghouse to register it but it is failing.
I am at a loss right now and would like to know if anybody has some pointers.
Thanks in advance
Quaine