[asterisk-users] Problem setting for incoming termination

Henrik singler at common-hacking.org
Thu Aug 11 06:33:35 CDT 2011


for start you could disable guest access in sip.conf, I guess you do not
need it

On 2011.08.11 14:29, Jim Boykin wrote:
> The problem seems like asterisk is not authenticating at all. It
> accept the default invite and transfer it to default contact. ANy
> help.
>
>
>
> On Thu, Aug 11, 2011 at 12:33 PM, Jim Boykin <boykinjim at gmail.com> wrote:
>> Hi,
>>
>> We have difficulty setting up the incoming termination for our
>> clients. Both the ends are using asterisk.  The problem is unless we
>> use fromuser at client end, it does not work properly as expected.
>>
>> Below is a configuration at our end. The problem is that whenever call
>> is received from the client, it goes to default context instead of
>> 'dallas' context. Also, the ${CDR(accountcode)} variable remains
>> empty. Now, If we set fromuser field at the client end, then
>> everything starts working, however, in that case, it overrides the
>> callerid.
>>
>> [dallas]
>> type=user
>> username=dallas
>> secret=somepassword
>> host=dynamic
>> nat=no
>> disallow=all
>> allow=g729
>> allow=ulaw
>> allow=alaw
>> accountcode=411
>> context=dallas
>>
>>
>> This is the configuration at client end.
>>
>> [outgoing]
>> type=peer
>> username=dallas
>> secret=somepassword
>> host=<ipaddress>
>> nat=no
>> disallow=all
>> allow=g729
>> allow=ulaw
>> allow=alaw
>>
>> We do not require the client to register, neither we want them to use
>> fromuser field. I think we are doing some silly mistake since this
>> should be a simple configuration used by many. Please help
>>
>> Thanks
>> Jim
>>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
>
> 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