[asterisk-users] multiple host= in sip.conf

Jaswinder Singh vicky.r at gmail.com
Wed May 30 02:51:29 MST 2007


I dont think asterisk supports this . You can have host=dynamic and he
can send calls from different servers . Problem will arise when you
need to call him ( if registrations are enabled then latest
registration will be getting call from you or you can directly send
calls to his ip . )

On 30/05/07, Yusuf <yusuf at ecntelecoms.com> wrote:
> Hi,
>
> I am running Asterisk 1.4.4, and needed to setup sip accounts for someone to call my
> server and place calls.  However, he has multiple IP's that he comes from, and since I
> authenticate him of his IP,  I did this, and it works.
>
> [vz1]
> context=outbound
> type=friend
> host=x.x.x.x
> disallow=all
> allow=alaw
> canreinvite=no
>
> [vz2]
> context=outbound
> type=friend
> host=y.y.y.y
> disallow=all
> allow=alaw
> canreinvite=no
>
> [vz3]
> context=outbound
> type=friend
> host=.z.z.z.z
> disallow=all
> allow=alaw
> canreinvite=no
>
>
> However, is there anyway I can have just one account for him, with mult host= statements,
> so I can authenticate him based on his IP in just one place?
>
> --
>
> thanks,
> Yusuf
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>


More information about the asterisk-users mailing list