Dismiss Notice
We would like to remind you that we’re updating our login process for all 3CX forums whereby you will be able to login with the same credentials you use for the Partner or Customer Portal. Click here to read more.

405 Method Not Allowed

Discussion in 'Windows' started by lazedo, Aug 1, 2013.

Thread Status:
Not open for further replies.
  1. lazedo

    Joined:
    Aug 1, 2013
    Messages:
    3
    Likes Received:
    0
    Hi,
    i have 3cx voip for windows connected to a freeswitch/asterix/other IP/PBX.
    mwi is not working.
    the SUBSCRIBE message after login works ok, but when the IP/PBX sends a NOTIFY message with content-type "application/simple-message-summary", 3cx replies with "405 Method Not Allowed".

    any hints ?
     
  2. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    11,086
    Likes Received:
    325
    405 Method Not Allowed
    The method specified in the Request-Line is understood, but not allowed for the address identified by the Request-URI.


    So, it may not be that the messaging is incorrect, as far as 3Cx is concerned, it may be that the extension number is not valid (as sent) on the PBX, or possibly a problem with the IP.
     
  3. lazedo

    Joined:
    Aug 1, 2013
    Messages:
    3
    Likes Received:
    0
    Hi,

    the problem maybe with message content.
    what are the values we should send ?

    Exension : 995551077
    ID : 995551077 (should be 995551077@mysipdmain.com ? )

    here is the trace, it gets to part where it reads the message content.

    thank you

    NOTIFY sip:995551077@x.x.x.x:51988;rinstance=f0b80a4089095896 SIP/2.0
    Via: SIP/2.0/UDP y.y.y.y:49154;rport=49154;branch=z9hG4bKpUHaa9vmX5prD
    Max-Forwards: 70
    Contact: <sip:mod_sofia@y.y.y.y:49154>
    To: <sip:995551077@x.x.x.x:51988>;rinstance=f0b80a4089095896
    From: <sip:995551077@mysipdomain.com>;tag=jKc68prDF8ypK
    Call-ID: 72bd6777-778b-1231-37a2-0800277cd41b
    CSeq: 47468273 NOTIFY
    Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
    Content-Type: application/simple-message-summary
    Supported: precondition, path, replaces
    User-Agent: Voip
    Subscription-State: terminated;reason=noresource
    Event: message-summary
    Allow-Events: talk, hold, conference, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
    Content-Length: 103

    Messages-Waiting: yes
    Message-Account: sip:995551077@mysipdomain.com
    Voice-Message: 37/0 (0/0)


    (4972)8000110|TransactionUser.cxx(74):Match!
    (4972)8000110|Helper.cxx(375):Helper::makeResponse(SipReq: NOTIFY 995551077@x.x.x.x:51988 tid=pUHaa9vmX5prD cseq=NOTIFY contact=mod_sofia@y.y.y.y:49154 / 47468273 from(wire) code=100 reason=
    (4972)8000110|TimerQueue.cxx(85):Adding timer: Timer Trying tid=pUHaa9vmX5prD ms=3500
    (4972)8000110|TransactionState.cxx(2112):Send to TU: TU: DialogUsageManager size=0


    NOTIFY sip:995551077@x.x.x.x:51988;rinstance=f0b80a4089095896 SIP/2.0
    Via: SIP/2.0/UDP y.y.y.y:49154;rport=49154;branch=z9hG4bKpUHaa9vmX5prD
    Max-Forwards: 70
    Contact: <sip:mod_sofia@y.y.y.y:49154>
    To: <sip:995551077@x.x.x.x:51988>;rinstance=f0b80a4089095896
    From: <sip:995551077@mysipdomain.com>;tag=jKc68prDF8ypK
    Call-ID: 72bd6777-778b-1231-37a2-0800277cd41b
    CSeq: 47468273 NOTIFY
    Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
    Content-Type: application/simple-message-summary
    Supported: precondition, path, replaces
    User-Agent: Voip
    Subscription-State: terminated;reason=noresource
    Event: message-summary
    Allow-Events: talk, hold, conference, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
    Content-Length: 103

    Messages-Waiting: yes
    Message-Account: sip:995551077@mysipdomain.com
    Voice-Message: 37/0 (0/0)

    (3708)8000108|DialogUsageManager.cxx(1333):Got: SipReq: NOTIFY 995551077@x.x.x.x:51988 tid=pUHaa9vmX5prD cseq=NOTIFY contact=mod_sofia@y.y.y.y:49154 / 47468273 from(wire)
    (3708)8000110|DialogUsageManager.cxx(1651):DialogUsageManager::processRequest: SipReq: NOTIFY 995551077@x.x.x.x:51988 tid=pUHaa9vmX5prD cseq=NOTIFY contact=mod_sofia@y.y.y.y:49154 / 47468273 from(wire)
    (3708)8000110|DialogSetId.cxx(34):********** Generated Local Tag ***********
    (3708)8000110|DialogSetId.cxx(34):********** Generated Local Tag ***********
    (3708)8000110|DialogSetId.cxx(34):********** Generated Local Tag ***********
    (3708)8000110|DialogSet.cxx(85): ************* Created DialogSet(UAS) -- 72bd6777-778b-1231-37a2-0800277cd41b-3f798f23*************
    (3708)8000110|DialogSetId.cxx(34):********** Generated Local Tag ***********
    (3708)8000110|DialogId.cxx(50):DialogId::DialogId: 72bd6777-778b-1231-37a2-0800277cd41b-464db141-jKc68prDF8ypK
    (3708)8000110|DialogSetId.cxx(34):********** Generated Local Tag ***********
    (3708)8000110|DialogId.cxx(50):DialogId::DialogId: 72bd6777-778b-1231-37a2-0800277cd41b-0c5f7677-jKc68prDF8ypK
    (3708)8000110|ServerOutOfDialogReq.cxx(52):ServerOutOfDialogReq::dispatch - handler found for NOTIFY method.
    (3708)8000110|SipMessage.cxx(986):SipMessage::getContents: application/simple-message-summary
    (3708)8000110|Helper.cxx(375):Helper::makeResponse(SipReq: NOTIFY 995551077@x.x.x.x:51988 tid=pUHaa9vmX5prD cseq=NOTIFY contact=mod_sofia@y.y.y.y:49154 / 47468273 from(wire) code=405 reason=
    (3708)8000110|DialogUsageManager.cxx(866):SEND:

    SIP/2.0 405 Method Not Allowed
     
  4. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    11,086
    Likes Received:
    325
    These appear to be the key logs...

    And then...

    So it seems to know what to do with it, but does not allow it, thus...

     
  5. lazedo

    Joined:
    Aug 1, 2013
    Messages:
    3
    Likes Received:
    0
    can someone tell what validations are made on the message content ?
     
Thread Status:
Not open for further replies.