how to assign IP address to host parameter
Posted: Sat Dec 27, 2014 8:00 am
Hello,
I have installed goautodial 2.1. I want to fix host ip address in each sip peer entry.
I have configured peer as bello.
[8003]
username=8003
secret=1123
accountcode=8003
callerid="8003" <0000000000>
mailbox=8003
context=default
type=friend
host=192.168.1.218
I have assign my system ip addresss as host IP address.
When ever i tried to registered this peer from my system. I got bellow responce.
[Dec 27 07:32:43] ERROR[2627]: chan_sip.c:9760 register_verify: Peer '8003' is trying to register, but not configured as host=dynamic
[Dec 27 07:32:43] NOTICE[2627]: chan_sip.c:16835 handle_request_register: Registration from '"8003"<sip:8003@192.168.1.210>' failed for '192.168.1.218' - Peer is not supposed to register
So, please advice me. What configuration needed for assign IP address to particular peer.
Thanks in advance.
I have installed goautodial 2.1. I want to fix host ip address in each sip peer entry.
I have configured peer as bello.
[8003]
username=8003
secret=1123
accountcode=8003
callerid="8003" <0000000000>
mailbox=8003
context=default
type=friend
host=192.168.1.218
I have assign my system ip addresss as host IP address.
When ever i tried to registered this peer from my system. I got bellow responce.
[Dec 27 07:32:43] ERROR[2627]: chan_sip.c:9760 register_verify: Peer '8003' is trying to register, but not configured as host=dynamic
[Dec 27 07:32:43] NOTICE[2627]: chan_sip.c:16835 handle_request_register: Registration from '"8003"<sip:8003@192.168.1.210>' failed for '192.168.1.218' - Peer is not supposed to register
So, please advice me. What configuration needed for assign IP address to particular peer.
Thanks in advance.