[asterisk-users] No SIP requests coming in with Allow Anonymous SIP set to OFF - If set to ON it all SIP DEBUG show the requests just fine - Where is the problem?

bruce bruce bruceb444 at gmail.com
Tue Sep 14 16:21:49 CDT 2010


Thanks guys. I wasn't able to collect enough SIP debug as the problem was
resolved as I was testing different configuration for the trunk. Probably a
change on the provider side.

John Novack: Unfortunately, it seems that this list has a non-stop list of
people who like to stir up things or try to censor people who bring legit
questions without the consideration that they are not moderators of the list
at any level. They forget to remember that AsteriskNow uses FreePBX as well
and that Asterisk IS the underlying technology for all the flavours. Thanks
for the feedback.

Most I was able to collect was that:

- if the trunk configuration even included "context=from-pstn", the CLI
would show "Executing ..... at from-sip-external".
- if SIP Anonymous was set to YES then the [from-sip-external] context would
match the peer to the right trunk defined as that is what is expected of
that context from the code. If SIP Anonymous was set to off
@from-sip-external is set to go to ss-noservice.
- Later on when the calls resumed and the problem was fixed, calls were
coming in with "Executing @from-pstn" which should have always been the case
regardless of the SIP Anonymous or not.

I was puzzled because the FISRT line of the CLI was the "Executing
.... at from-pstn" or "Executing ..... at from-sip-external" and that made a world
of difference. The latter one not working.

I just couldn't pinpoint where FreePBX failed to read the
"context=from-pstn". If it was something to do with the MySQL database or of
parsing the _custom.conf files as the problem was fixed all a sudden. I
guess now I have to wait and see if it comes back.

Thanks,



On Tue, Sep 14, 2010 at 10:47 AM, Zeeshan Zakaria <zishanov at gmail.com>wrote:

> This might help to answer poster's question. It tells how the allow
> anonymous sip connections work in FreePBX, and shows the code.
>
> http://www.geekzone.co.nz/sbiddle/7183
>
> <http://www.geekzone.co.nz/sbiddle/7183>--
> Zeeshan
>
>
> On Sun, Sep 12, 2010 at 12:11 AM, Paul Belanger <
> paul.belanger at polybeacon.com> wrote:
>
>> On Sat, Sep 11, 2010 at 9:40 PM, Zeeshan Zakaria <zishanov at gmail.com>
>> wrote:
>> > Poster is having problem when he disallows anonymous sip peers. Do you
>> know
>> > at all how FreePBX deals with anonymous sip peers? Obviously you haven't
>> yet
>> > seen the dialplan for FreePBX.
>> >
>> It's very simple to find the actually issue, if the OP does the following:
>>
>>
>> http://svn.digium.com/svn/asterisk/trunk/doc/HOWTO_collect_debug_information.txt
>>
>> The attached the debug log to thread.
>>
>> --
>> Paul Belanger | dCAP
>> Polybeacon | Consultant
>> Jabber: paul.belanger at polybeacon.com | IRC: pabelanger (Freenode)
>> blog.polybeacon.com
>>
>> --
>> _____________________________________________________________________
>> -- 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
>>
>
>
>
> --
> Zeeshan A Zakaria
>
> --
> _____________________________________________________________________
> -- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100914/15dcec06/attachment.htm 


More information about the asterisk-users mailing list