Re: [asterisk-users] Problematic Trunk SIP: Got SIP response 405 Method not allowed

2008-09-02 Thread Kristian Kielhofner
On Mon, Sep 1, 2008 at 5:57 AM, daniele visaggio
[EMAIL PROTECTED] wrote:


 2008/9/1 Steven Howes [EMAIL PROTECTED]

 Sip debug please.




 ---
 Sep 1 11:53:42 VERBOSE[3599] logger.c:
 -- SIP read from 10.1.1.11:5060:
 SIP/2.0 405 Method not allowed
 From: ;tag=as411269a4
 To: ;tag=a01010b-13c4-64622-1881f814-4122656d
 Call-ID: [EMAIL PROTECTED]
 CSeq: 146 REGISTER
 Via: SIP/2.0/UDP 10.1.1.36:5060;rport=5060;branch=z9hG4bK01f3b5c6
 Supported: 100rel,replaces
 Content-Length: 0


 Sep 1 11:53:42 VERBOSE[3599] logger.c: --- (8 headers 0 lines) ---
 Sep 1 11:53:42 DEBUG[3599] chan_sip.c: Stopping retransmission on
 '[EMAIL PROTECTED]' of Request 146: Match Found
 Sep 1 11:53:42 VERBOSE[3599] logger.c: -- Got SIP response 405 Method not
 allowed back from 10.1.1.11
 Sep 1 11:53:42 VERBOSE[3599] logger.c: Destroying call
 '[EMAIL PROTECTED]'
 Sep 1 11:53:45 DEBUG[10671] manager.c: Manager received command 'login'
 Sep 1 11:53:45 VERBOSE[10671] logger.c: == Parsing
 '/etc/asterisk/manager.conf': Sep 1 11:53:45 VERBOSE[10671] logger.c: ==
 Parsing '/etc/asterisk/manager.conf': Found
 Sep 1 11:53:45 VERBOSE[10671] logger.c: == Parsing
 '/etc/asterisk/manager_additional.conf': Sep 1 11:53:45 VERBOSE[10671]
 logger.c: == Parsing '/etc/asterisk/manager_additional.conf': Found
 Sep 1 11:53:45 VERBOSE[10671] logger.c: == Parsing
 '/etc/asterisk/manager_custom.conf': Sep 1 11:53:45 VERBOSE[10671] logger.c:
 == Parsing '/etc/asterisk/manager_custom.conf': Found
 Sep 1 11:53:45 DEBUG[10671] acl.c: 0.0.0.0/0.0.0.0/0.0.0.0 appended to acl
 for peer
 Sep 1 11:53:45 DEBUG[10671] acl.c: 127.0.0.1/255.255.255.0/255.255.255.0
 appended to acl for peer
 Sep 1 11:53:45 DEBUG[10671] acl.c: # Testing 127.0.0.1 with 0.0.0.0
 Sep 1 11:53:45 DEBUG[10671] acl.c: # Testing 127.0.0.1 with 127.0.0.0
 Sep 1 11:53:45 VERBOSE[10671] logger.c: == Manager 'admin' logged on from
 127.0.0.1
 Sep 1 11:53:47 DEBUG[10671] manager.c: Manager received command 'Command'
 Sep 1 11:53:47 DEBUG[10671] manager.c: Manager received command 'Command'
 Sep 1 11:53:47 DEBUG[10671] manager.c: Manager received command 'Command'
 Sep 1 11:53:47 DEBUG[10671] manager.c: Manager received command 'Command'
 Sep 1 11:53:47 DEBUG[10671] manager.c: Manager received command 'Command'
 Sep 1 11:53:47 VERBOSE[10671] logger.c: == Manager 'admin' logged off from
 127.0.0.1
 Sep 1 11:53:47 DEBUG[10679] manager.c: Manager received command 'login'
 Sep 1 11:53:47 VERBOSE[10679] logger.c: == Parsing
 '/etc/asterisk/manager.conf': Sep 1 11:53:47 VERBOSE[10679] logger.c: ==
 Parsing '/etc/asterisk/manager.conf': Found
 Sep 1 11:53:47 VERBOSE[10679] logger.c: == Parsing
 '/etc/asterisk/manager_additional.conf': Sep 1 11:53:47 VERBOSE[10679]
 logger.c: == Parsing '/etc/asterisk/manager_additional.conf': Found
 Sep 1 11:53:47 VERBOSE[10679] logger.c: == Parsing
 '/etc/asterisk/manager_custom.conf': Sep 1 11:53:47 VERBOSE[10679] logger.c:
 == Parsing '/etc/asterisk/manager_custom.conf': Found
 Sep 1 11:53:47 DEBUG[10679] acl.c: 0.0.0.0/0.0.0.0/0.0.0.0 appended to acl
 for peer
 Sep 1 11:53:47 DEBUG[10679] acl.c: 127.0.0.1/255.255.255.0/255.255.255.0
 appended to acl for peer
 Sep 1 11:53:47 DEBUG[10679] acl.c: # Testing 127.0.0.1 with 0.0.0.0
 Sep 1 11:53:47 DEBUG[10679] acl.c: # Testing 127.0.0.1 with 127.0.0.0
 Sep 1 11:53:47 VERBOSE[10679] logger.c: == Manager 'admin' logged on from
 127.0.0.1
 Sep 1 11:53:47 VERBOSE[10679] logger.c: == Manager 'admin' logged off from
 127.0.0.1
 Sep 1 11:53:49 DEBUG[10681] manager.c: Manager received command 'login'
 Sep 1 11:53:49 VERBOSE[10681] logger.c: == Parsing
 '/etc/asterisk/manager.conf': Sep 1 11:53:49 VERBOSE[10681] logger.c: ==
 Parsing '/etc/asterisk/manager.conf': Found
 Sep 1 11:53:49 VERBOSE[10681] logger.c: == Parsing
 '/etc/asterisk/manager_additional.conf': Sep 1 11:53:49 VERBOSE[10681]
 logger.c: == Parsing '/etc/asterisk/manager_additional.conf': Found
 Sep 1 11:53:49 VERBOSE[10681] logger.c: == Parsing
 '/etc/asterisk/manager_custom.conf': Sep 1 11:53:49 VERBOSE[10681] logger.c:
 == Parsing '/etc/asterisk/manager_custom.conf': Found
 Sep 1 11:53:49 DEBUG[10681] acl.c: 0.0.0.0/0.0.0.0/0.0.0.0 appended to acl
 for peer
 Sep 1 11:53:49 DEBUG[10681] acl.c: 127.0.0.1/255.255.255.0/255.255.255.0
 appended to acl for peer
 Sep 1 11:53:49 DEBUG[10681] acl.c: # Testing 127.0.0.1 with 0.0.0.0
 Sep 1 11:53:49 DEBUG[10681] acl.c: # Testing 127.0.0.1 with 127.0.0.0
 Sep 1 11:53:49 VERBOSE[10681] logger.c: == Manager 'admin' logged on from
 127.0.0.1
 Sep 1 11:53:49 VERBOSE[10681] logger.c: == Manager 'admin' logged on from
 127.0.0.1

 Thanks for your prompt reply


You have Asterisk configured to register to your PBX.  The Samsung
doesn't support REGISTER.  Remove the relevant register = line from
sip.conf.

I should point out that REGISTER failures would not necessarily
prevent a successful call setup but because it does not support
REGISTER you will have to create a trunk (or whatever their
terminology is) on 

Re: [asterisk-users] Problematic Trunk SIP: Got SIP response 405 Method not allowed

2008-09-01 Thread Steven Howes
Sip debug please.

On 1 Sep 2008, at 10:07, daniele visaggio wrote:

 Hi guys,

 I need to create a SIP trunk between my * (trixbox) and a legacy  
 Samsung pbx. I create the SIP trunk as usual: the calls from my * to  
 the Samsung pbx worked immediately, but I can not place any calls  
 from the Samsung pbx to the *.

 On the * CLI I see several errors of this type:  -- Got SIP response  
 405 Method not allowed back from 10.1.1.11 (Samsung Pbx IP); in  
 RFC3261 (pag. 185) it's written:

 405 Method Not Allowed: The method specified in the Request-Line is

 understood, but not allowed for the address identified by the  
 Request-URI.

 The response MUST include an Allow header field containing a list of

 valid methods for the indicated address.



 What does it mean? How can i fix this problem?

 Thanks - Kind Regards

 Daniele



 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

 AstriCon 2008 - September 22 - 25 Phoenix, Arizona
 Register Now: http://www.astricon.net

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Problematic Trunk SIP: Got SIP response 405 Method not allowed

2008-09-01 Thread daniele visaggio
2008/9/1 Steven Howes [EMAIL PROTECTED]

 Sip debug please.




---
Sep 1 11:53:42 VERBOSE[3599] logger.c:
-- SIP read from 10.1.1.11:5060:
SIP/2.0 405 Method not allowed
From: ;tag=as411269a4
To: ;tag=a01010b-13c4-64622-1881f814-4122656d
Call-ID: [EMAIL PROTECTED]
CSeq: 146 REGISTER
Via: SIP/2.0/UDP 10.1.1.36:5060;rport=5060;branch=z9hG4bK01f3b5c6
Supported: 100rel,replaces
Content-Length: 0


Sep 1 11:53:42 VERBOSE[3599] logger.c: --- (8 headers 0 lines) ---
Sep 1 11:53:42 DEBUG[3599] chan_sip.c: Stopping retransmission on '
[EMAIL PROTECTED]' of Request 146: Match Found
Sep 1 11:53:42 VERBOSE[3599] logger.c: -- Got SIP response 405 Method not
allowed back from 10.1.1.11
Sep 1 11:53:42 VERBOSE[3599] logger.c: Destroying call '
[EMAIL PROTECTED]'
Sep 1 11:53:45 DEBUG[10671] manager.c: Manager received command 'login'
Sep 1 11:53:45 VERBOSE[10671] logger.c: == Parsing
'/etc/asterisk/manager.conf': Sep 1 11:53:45 VERBOSE[10671] logger.c: ==
Parsing '/etc/asterisk/manager.conf': Found
Sep 1 11:53:45 VERBOSE[10671] logger.c: == Parsing
'/etc/asterisk/manager_additional.conf': Sep 1 11:53:45 VERBOSE[10671]
logger.c: == Parsing '/etc/asterisk/manager_additional.conf': Found
Sep 1 11:53:45 VERBOSE[10671] logger.c: == Parsing
'/etc/asterisk/manager_custom.conf': Sep 1 11:53:45 VERBOSE[10671] logger.c:
== Parsing '/etc/asterisk/manager_custom.conf': Found
Sep 1 11:53:45 DEBUG[10671] acl.c: 0.0.0.0/0.0.0.0/0.0.0.0 appended to acl
for peer
Sep 1 11:53:45 DEBUG[10671] acl.c:
127.0.0.1/255.255.255.0/255.255.255.0appended to acl for peer
Sep 1 11:53:45 DEBUG[10671] acl.c: # Testing 127.0.0.1 with 0.0.0.0
Sep 1 11:53:45 DEBUG[10671] acl.c: # Testing 127.0.0.1 with 127.0.0.0
Sep 1 11:53:45 VERBOSE[10671] logger.c: == Manager 'admin' logged on from
127.0.0.1
Sep 1 11:53:47 DEBUG[10671] manager.c: Manager received command 'Command'
Sep 1 11:53:47 DEBUG[10671] manager.c: Manager received command 'Command'
Sep 1 11:53:47 DEBUG[10671] manager.c: Manager received command 'Command'
Sep 1 11:53:47 DEBUG[10671] manager.c: Manager received command 'Command'
Sep 1 11:53:47 DEBUG[10671] manager.c: Manager received command 'Command'
Sep 1 11:53:47 VERBOSE[10671] logger.c: == Manager 'admin' logged off from
127.0.0.1
Sep 1 11:53:47 DEBUG[10679] manager.c: Manager received command 'login'
Sep 1 11:53:47 VERBOSE[10679] logger.c: == Parsing
'/etc/asterisk/manager.conf': Sep 1 11:53:47 VERBOSE[10679] logger.c: ==
Parsing '/etc/asterisk/manager.conf': Found
Sep 1 11:53:47 VERBOSE[10679] logger.c: == Parsing
'/etc/asterisk/manager_additional.conf': Sep 1 11:53:47 VERBOSE[10679]
logger.c: == Parsing '/etc/asterisk/manager_additional.conf': Found
Sep 1 11:53:47 VERBOSE[10679] logger.c: == Parsing
'/etc/asterisk/manager_custom.conf': Sep 1 11:53:47 VERBOSE[10679] logger.c:
== Parsing '/etc/asterisk/manager_custom.conf': Found
Sep 1 11:53:47 DEBUG[10679] acl.c: 0.0.0.0/0.0.0.0/0.0.0.0 appended to acl
for peer
Sep 1 11:53:47 DEBUG[10679] acl.c:
127.0.0.1/255.255.255.0/255.255.255.0appended to acl for peer
Sep 1 11:53:47 DEBUG[10679] acl.c: # Testing 127.0.0.1 with 0.0.0.0
Sep 1 11:53:47 DEBUG[10679] acl.c: # Testing 127.0.0.1 with 127.0.0.0
Sep 1 11:53:47 VERBOSE[10679] logger.c: == Manager 'admin' logged on from
127.0.0.1
Sep 1 11:53:47 VERBOSE[10679] logger.c: == Manager 'admin' logged off from
127.0.0.1
Sep 1 11:53:49 DEBUG[10681] manager.c: Manager received command 'login'
Sep 1 11:53:49 VERBOSE[10681] logger.c: == Parsing
'/etc/asterisk/manager.conf': Sep 1 11:53:49 VERBOSE[10681] logger.c: ==
Parsing '/etc/asterisk/manager.conf': Found
Sep 1 11:53:49 VERBOSE[10681] logger.c: == Parsing
'/etc/asterisk/manager_additional.conf': Sep 1 11:53:49 VERBOSE[10681]
logger.c: == Parsing '/etc/asterisk/manager_additional.conf': Found
Sep 1 11:53:49 VERBOSE[10681] logger.c: == Parsing
'/etc/asterisk/manager_custom.conf': Sep 1 11:53:49 VERBOSE[10681] logger.c:
== Parsing '/etc/asterisk/manager_custom.conf': Found
Sep 1 11:53:49 DEBUG[10681] acl.c: 0.0.0.0/0.0.0.0/0.0.0.0 appended to acl
for peer
Sep 1 11:53:49 DEBUG[10681] acl.c:
127.0.0.1/255.255.255.0/255.255.255.0appended to acl for peer
Sep 1 11:53:49 DEBUG[10681] acl.c: # Testing 127.0.0.1 with 0.0.0.0
Sep 1 11:53:49 DEBUG[10681] acl.c: # Testing 127.0.0.1 with 127.0.0.0
Sep 1 11:53:49 VERBOSE[10681] logger.c: == Manager 'admin' logged on from
127.0.0.1
Sep 1 11:53:49 VERBOSE[10681] logger.c: == Manager 'admin' logged on from
127.0.0.1

Thanks for your prompt reply
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users