Page 1 of 1

how to assign IP address to host parameter

PostPosted: Sat Dec 27, 2014 8:00 am
by pratik
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.

Re: how to assign IP address to host parameter

PostPosted: Mon Dec 29, 2014 6:46 pm
by covarrubiasgg
Try to disable the registration on your softphone or whatever sip device you are using.

Re: how to assign IP address to host parameter

PostPosted: Wed Dec 31, 2014 2:33 am
by pratik
Thanks for your reply.
We didn't get you properly, So, please explain me in details.

We are using softphone(eye beam) for registartion.

Re: how to assign IP address to host parameter

PostPosted: Wed Dec 31, 2014 10:53 am
by eflorent
In case of host=XXX in a sip peer definition, there is no need of registration. That's why asterisk complain about this unusefull registration. Disable registration on the phones or forget the message. It's not harmfull.