Hello Again,
Thank you for your help so far.
I got into a road block…
No matter how i try to connect the 2 boxes i keep getting authentication refused on both machines.
Heer are the errors for the same event on both machines
Asterisk1
iax2 error:
[Jul 7 02:25:39] NOTICE[23689]: chan_iax2.c:8941 iax2_poke_peer: Still have a callno…
[Jul 7 02:25:39] NOTICE[312]: chan_iax2.c:8313 socket_process: Registration of ‘Asterisk1’ rejected: 'Re
sip error:
[Jul 7 02:26:52] WARNING[305]: chan_sip.c:12585 handle_response_register: Forbidden - wrong password on authentication for REGISTER for ‘Asterisk1’ to ‘192.168.10.2’
Asterisk2
[Jul 7 02:32:25] ERROR[3583]: chan_sip.c:13555 register_verify: Peer ‘Asterisk1’ is trying to register, but not configured as host=dynamic
[Jul 7 02:32:25] NOTICE[3583]: chan_sip.c:22172 handle_request_register: Registration from ‘sip:ppdialerserver@192.168.10.2’ failed for ‘192.168.10.1’ - Peer is not supposed to register
[Jul 7 02:40:04] NOTICE[3514]: chan_iax2.c:7693 register_verify: Peer ‘Asterisk1’ is not dynamic (from 192.168.10.1)
here is my config
Astersik1 (192.168.10.1)
iax.conf
[general]
register => Asterisk1:passwd1@192.168.10.2
[Asterisk2]
type=friend
auth=plaintext
secret=passwd2
host=dynamic
context=internal
trunk=yes
callerid="OSDial"
qualify=1000
context=internal
[Asterisk2]
type=user
auth=plaintext
secret=passwd2
host=dynamic
context=internal
trunk=yes
callerid="OSDial"
qualify=1000
context=internal
i also configured sip and still not working:
sip.conf
[general]
register => Asterisk1:passwd1@192.168.10.2
[Asterisk2]
secret=passwd2
host=dynamic
type=friend
dtmfmode=auto
qualify=yes
trunk=yes
;disallow=all
;allow=ulaw
allow=all
context=internal
[Asterisk2]
secret=passwd2
host=dynamic
type=user
dtmfmode=auto
qualify=yes
trunk=yes
;disallow=all
;allow=ulaw
allow=all
context=internal
And now Asterisk2
[general]
register => Asterisk2:passwd2@192.168.10.1
[Asterisk1]
secret=passwd2
host=dynamic
type=peer
dtmfmode=auto
qualify=yes
trunk=yes
;disallow=all
;allow=ulaw
allow=all
context=internal
requirecalltoken=no
[Asterisk1]
secret=passwd2
host=dynamic
type=user
dtmfmode=auto
qualify=yes
trunk=yes
;disallow=all
;allow=ulaw
allow=all
context=internal
requirecalltoken=no
Thank you!