how to assign IP address to host parameter

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

how to assign IP address to host parameter

Postby pratik » 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.
pratik
 
Posts: 36
Joined: Sat Jun 21, 2014 12:26 pm

Re: how to assign IP address to host parameter

Postby covarrubiasgg » Mon Dec 29, 2014 6:46 pm

Try to disable the registration on your softphone or whatever sip device you are using.
covarrubiasgg
 
Posts: 420
Joined: Thu Jun 10, 2010 10:20 am
Location: Tijuana, Mexico

Re: how to assign IP address to host parameter

Postby pratik » Wed Dec 31, 2014 2:33 am

Thanks for your reply.
We didn't get you properly, So, please explain me in details.

We are using softphone(eye beam) for registartion.
pratik
 
Posts: 36
Joined: Sat Jun 21, 2014 12:26 pm

Re: how to assign IP address to host parameter

Postby eflorent » Wed Dec 31, 2014 10:53 am

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.
eflorent
 
Posts: 6
Joined: Tue Sep 02, 2014 1:28 pm


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 82 guests