When you see "[ERROR]" in the Message Log, either the MP firmware is buggy
or the far end is sending something out of spec in the SIP Message.

You'll need to upgrade to the latest MP firmware then report this to
whomever you bought it from.  Or fix the far end to send the message in spec
or form that doesn't cause the "[ERROR]".

Also, do your supporter a favor and don't paste those logs directly into
emails.  The wrap makes them horrible to read and they can't send them on to
Audiocodes like that.  Put them in a text file which preserves the line
length.

Regards,
Shanon
http://www.abptech.com/support/qa/


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dovid B
Sent: Sunday, June 24, 2007 2:46 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] AudioCodes Gateway and Asterisk



----- Original Message ----- 
From: "Shanon Swafford" <[EMAIL PROTECTED]>
To: "'Asterisk Users Mailing List - Non-Commercial Discussion'" 
<asterisk-users@lists.digium.com>
Sent: Thursday, June 21, 2007 6:27 PM
Subject: Re: [asterisk-users] AudioCodes Gateway and Asterisk


>
>>On 6/21/07, Dovid B <[EMAIL PROTECTED]> wrote:
>>> Hi List,
>>> I am trying to call from my asterisk box (1.2.18) to and audiocodes
> MP114. I
>>> keep getting an error from asterisk of -- Got SIP response 415
> "Unsupported
>>> Media Type" back from XXX.XXX.XX.XX. Both box's are set up to use G729.
>>> Anyone have a hint as to what it may be ?
>
>>Are you sure, your asterisk supports G729? It isn't supported by
>>default, you need additional modules or hardware cards for G729
>>support. If it is - what are you using for G729 - that might help to
>>identify the problem.
>
>>Regards,
>>Atis
>
> If the AudioCodes is sending back that 415, the "Message Log" in the
> AudioCodes is invaluable.  Set your debug level to 5/6 and watch it while
> you make test calls.  Once you learn how to interpret this output, you'll 
> be
> well on your way with AudioCodes.
>
> If G729 is active on the MP, but still giving back that error, G729 might
> not be in a profile if you are using them.
>
> Also, firmware that comes on the MPs is normally sorta buggy, ask your
> reseller for the latest version.
>
> http://www.abptech.com/support/faqs/
>
> Regards,
> Shanon
> ABP Technology
>

Shanon,
The audiocodes were preftctly with other providers using G729. It's just 
having an issue with asterisk. Here is the output from the AudioCodes:



Log is Activated



12d:23h:36m:17s ( lgr_flow)(828 ) ---- Incoming SIP Message from 
XXX.XXX.XX.XXX:5060 ---- [File: Line:-1]

12d:23h:36m:17s INVITE sip:[EMAIL PROTECTED]:5060 SIP/2.0 
Record-Route: &lt;sip:XXX.XXX.XX.XXX;ftag=as4a537e63;lr=on&gt; Via: 
SIP/2.0/UDP XXX.XXX.XX.XXX;branch=z9hG4bK1db7.ecac6e86.0 Via: SIP/2.0/UDP 
XXX.XXX.XX.XXX:5060;branch=z9hG4bK1ef72aa9;rport=5060 From: "55560888" 
&lt;sip:[EMAIL PROTECTED]&gt;;tag=as4a537e63 To: 
&lt;sip:[EMAIL PROTECTED]&gt; Contact: 
&lt;sip:[EMAIL PROTECTED]:5060&gt; Call-ID: 
[EMAIL PROTECTED] CSeq: 102 INVITE User-Agent:

Enswitch Max-Forwards: 16 Date: Wed, 20 Jun 2007 19:44:42 GMT Allow: INVITE,

ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Content-Type: 
application/sdp Content-Length: 490 v=0 o=root 29170 29170 IN IP4 
XXX.XXX.XX.XXX s=session c=IN IP4 XXX.XXX.XX.XXX t=0 0 m=audio 14878 RTP/AVP

18 0 8 10 3 111 5 7 110 97 101 a=rtpmap:18 G729/8000 a=fmtp:18 
annexb=no;mode-change-period=0 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/80

12d:23h:36m:17s ( sip_stack)(830 ) ?? [WARNING] AcSIPParser: Unrecognized 
Header was detected at line: 12 [File: Line:-1]

12d:23h:36m:17s ( lgr_flow)(831 ) | | new GetNewSIPCall created - #8 [File: 
Line:-1]

12d:23h:36m:17s ( sip_stack)(832 ) new AcSIPCallAPI created - #5 [File: 
Line:-1]

12d:23h:36m:17s ( lgr_stk_mngr)(833 ) Resource StackSession &lt;#5&gt; 
Allocated [File: Line:-1]

12d:23h:36m:17s ( lgr_flow)(834 ) | |(SIPTU#8)INVITE State:Idle() [File: 
Line:-1]

12d:23h:36m:17s ( sip_stack)(835 ) SIPCall(#8) changes state from Idle to 
Invited [File: Line:-1]

12d:23h:36m:17s ( sip_stack)(836 ) AcSIPParser: Problem in 
AcSIPCallAPI::ParseSDP [File: Line:-1]

12d:23h:36m:17s ( sip_stack)(837 ) !! [ERROR] AcSIPParser: Parse Error. 
Unexpected symbol ' [File: Line:-1]

12d:23h:36m:17s ( sip_stack)(838 ) !! [ERROR] Message type: INVITE [File: 
Line:-1]

12d:23h:36m:17s ( sip_stack)(839 ) !! [ERROR] Source header: [File: Line:-1]

12d:23h:36m:17s ( sip_stack)(840 ) !! [ERROR] Line: 20. Column: 27 [File: 
Line:-1]

12d:23h:36m:17s ( lgr_flow)(841 ) | | | 
#5:SIP_SETUP_EV([EMAIL PROTECTED]) [File: 
Line:-1]

12d:23h:36m:17s ( lgr_stk_ses)(842 ) SIPStackSession::HandleStackSetupEV - 
NEWCALL: SrcPN=0 [File: Line:-1]

12d:23h:36m:17s ( lgr_stk_ses)(843 ) &lt;SESSION #5&gt; SendToCall - event: 
NEW_CALL_EV m_Call = 32173400 [File: Line:-1]

12d:23h:36m:17s ( lgr_flow)(844 ) | | 
#5:NEW_CALL_EV:([EMAIL PROTECTED]) [File: 
Line:-1]

12d:23h:36m:17s ( lgr_psbrdif)(845 ) AcBoard::GetTrunkGroupId - No entry 
found for: DstNum:55560918 SrcNum:55560888 SrcIp:d1d45d36 go to default 
[File: Line:-1]

12d:23h:36m:17s ( lgr_psbrdif)(846 ) QueryOnHookPortStatus (ChannelNum=2), 
status = 1 [File: Line:-1]

12d:23h:36m:17s ( lgr_profiling)(847 ) 
CIpProfile::GetProfileIdFromIpToTelTable 
DNIS:55560918,ANI:55560888,SourceIp:209.65748.16777309.54 :Profile NOT Found

&lt;default = 0&gt; [File: Line:-1]

12d:23h:36m:17s ( lgr_endpoint)(848 ) | (FXOEndPoint) : id=2 Digit Delivery 
Not Supported [File: Line:-1]

12d:23h:36m:17s ( lgr_profiling)(849 ) &lt;Call 5&gt; 
Profiled&lt;Tel=0,Ip=0&gt;: TelCoderGrId=0 IpCoderGrId=0 JBMinDel=70 
JBOptF=7 EEarlyM=1 FaxTM=0 IPDS=46 IsFaxU=1 PI2IP=-1 SigIPDF=46 CNGMode=0 
DTMFUsed=0 NSEMode=0 PlayRBTone2IP=0 RBUdpPort=0 RTPRD=0 SCE=0 VxxTT=2 
DTMFVol=20 ECE=1 ECurDis=0 EDigDel=0 ERevP=0 FHPer=400 InG=35 MWIA=0 MWID=0 
VVol=32 [File: Line:-1]

12d:23h:36m:17s ( lgr_stk_ses)(850 ) !! [ERROR] Disconnecting call because 
Media doesn't match [File: Line:-1]

12d:23h:36m:17s ( lgr_flow)(851 ) | |(SIPTU#8)DISCONNECT_REQ 
State:Invited([EMAIL PROTECTED]) [File: 
Line:-1]

12d:23h:36m:17s ( lgr_flow)(852 ) ---- Outgoing SIP Message to 
XXX.XXX.XX.XXX:5060 ---- [File: Line:-1]

12d:23h:36m:17s SIP/2.0 415 Unsupported Media Type Via: SIP/2.0/UDP 
XXX.XXX.XX.XXX;branch=z9hG4bK1db7.ecac6e86.0 Via: SIP/2.0/UDP 
XXX.XXX.XX.XXX:5060;branch=z9hG4bK1ef72aa9;rport=5060 From: "55560888" 
&lt;sip:[EMAIL PROTECTED]&gt;;tag=as4a537e63 To: 
&lt;sip:[EMAIL PROTECTED]&gt;;tag=1c1152769147 Call-ID: 
[EMAIL PROTECTED] CSeq: 102 INVITE Contact: 
&lt;sip:[EMAIL PROTECTED]&gt; Record-Route: 
&lt;sip:XXX.XXX.XX.XXX;ftag=as4a537e63;lr=on&gt; Supported: 
em,timer,replaces,path Allow: 
REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,NOTIFY,PRACK,REFER,INFO,SUBSCRIBE,UPD
ATE 
Server: Audiocodes-Sip-Gateway-ASH_STL/v.4.80A.033 Reason: SIP ;cause=415 
;text="415 Unsupported Media Type" Content-Length: 0 [File: Line:-1]

12d:23h:36m:17s ( sip_stack)(854 ) UdpRtxMngr::Transmit 415 Response 102 
INVITE Rtx Left: 6 Dest: d1d45d35:5060 [File: Line:-1]

12d:23h:36m:17s ( sip_stack)(855 ) SIPTransaction::ResendLastMessage - 
Resending last message [File: Line:-1]

12d:23h:36m:17s ( sip_stack)(856 ) SIPCall(#8) changes state from Invited to

Disconnected [File: Line:-1]

12d:23h:36m:17s ( lgr_stk_ses)(857 ) &lt;SESSION #5&gt; SendToCall - event: 
RELEASE m_Call = 32173400 [File: Line:-1]

12d:23h:36m:17s ( lgr_flow)(858 ) | | 
#5:RELEASE:([EMAIL PROTECTED]) [File: Line:-1]

12d:23h:36m:17s ( lgr_flow)(859 ) | | 
#5:RELEASE_ACK:([EMAIL PROTECTED]) [File: 
Line:-1]

12d:23h:36m:17s ( lgr_flow)(860 ) | #2:RELEASE GWAPP_NO_ROUTE_TO_DESTINATION

: ([EMAIL PROTECTED]) [File: Line:-1]

12d:23h:36m:17s ( lgr_psbrdif)(861 ) #2:Configure Detectors (Detection=0) 
[File: Line:-1]

12d:23h:36m:17s ( lgr_flow)(862 ) | #2:RELEASE_ACK (send) : 
([EMAIL PROTECTED]) [File: Line:-1]

12d:23h:36m:17s ( lgr_flow)(863 ) | | 
#5:RELEASE_ACK:([EMAIL PROTECTED]) [File: 
Line:-1]

12d:23h:36m:17s ( lgr_flow)(864 ) | | | 
#5:RELEASE_ACK([EMAIL PROTECTED]) [File: 
Line:-1]

12d:23h:36m:17s ( sip_stack)(865 ) AcSIPStackAPI::FreeCallAPI - #5 [File: 
Line:-1]

12d:23h:36m:17s ( sip_stack)(866 ) Setting ApplicationCall of AcSIPCall 
31782272 to NULL [File: Line:-1]

12d:23h:36m:17s ( lgr_stk_mngr)(867 ) Resource StackSession &lt;#5&gt; 
Deleted [File: Line:-1]

12d:23h:36m:17s ( lgr_flow)(868 ) ---- Incoming SIP Message from 
XXX.XXX.XX.XXX:5060 ---- [File: Line:-1]

12d:23h:36m:17s INVITE sip:[EMAIL PROTECTED]:5060 SIP/2.0 
Record-Route: &lt;sip:XXX.XXX.XX.XXX;ftag=as4a537e63;lr=on&gt; Via: 
SIP/2.0/UDP XXX.XXX.XX.XXX;branch=z9hG4bK1db7.ecac6e86.0 Via: SIP/2.0/UDP 
XXX.XXX.XX.XXX:5060;branch=z9hG4bK1ef72aa9;rport=5060 From: "55560888" 
&lt;sip:[EMAIL PROTECTED]&gt;;tag=as4a537e63 To: 
&lt;sip:[EMAIL PROTECTED]&gt; Contact: 
&lt;sip:[EMAIL PROTECTED]:5060&gt; Call-ID: 
[EMAIL PROTECTED] CSeq: 102 INVITE User-Agent:

Enswitch Max-Forwards: 16 Date: Wed, 20 Jun 2007 19:44:42 GMT Allow: INVITE,

ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Content-Type: 
application/sdp Content-Length: 490 v=0 o=root 29170 29170 IN IP4 
XXX.XXX.XX.XXX s=session c=IN IP4 XXX.XXX.XX.XXX t=0 0 m=audio 14878 RTP/AVP

18 0 8 10 3 111 5 7 110 97 101 a=rtpmap:18 G729/8000 a=fmtp:18 
annexb=no;mode-change-period=0 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/80

12d:23h:36m:17s ( sip_stack)(870 ) ?? [WARNING] AcSIPParser: Unrecognized 
Header was detected at line: 12 [File: Line:-1]

12d:23h:36m:17s ( sip_stack)(871 ) SIPTransaction::ResendLastMessage - 
Resending last message [File: Line:-1]

12d:23h:36m:17s ( sip_stack)(872 ) UdpRtxMngr::Transmit 415 Response 102 
INVITE Rtx Left: 5 Dest: d1d45d35:5060 [File: Line:-1]

12d:23h:36m:17s ( sip_stack)(873 ) SIPTransaction::ResendLastMessage - 
Resending last message [File: Line:-1]

12d:23h:36m:18s ( sip_stack)(874 ) UdpRtxMngr::Transmit 415 Response 102 
INVITE Rtx Left: 4 Dest: d1d45d35:5060 [File: Line:-1]

12d:23h:36m:18s ( sip_stack)(875 ) SIPTransaction::ResendLastMessage - 
Resending last message [File: Line:-1]

12d:23h:36m:18s ( lgr_flow)(876 ) ---- Incoming SIP Message from 
XXX.XXX.XX.XXX:5060 ---- [File: Line:-1]

12d:23h:36m:18s ( lgr_flow)(877 ) ACK sip:[EMAIL PROTECTED]:5060 
SIP/2.0 Via: SIP/2.0/UDP XXX.XXX.XX.XXX;branch=z9hG4bK1db7.ecac6e86.0 From: 
"55560888" &lt;sip:[EMAIL PROTECTED]&gt;;tag=as4a537e63 Call-ID: 
[EMAIL PROTECTED] To: 
&lt;sip:[EMAIL PROTECTED]&gt;;tag=1c1152769147 CSeq: 102 ACK 
User-Agent: Sip EXpress router(0.9.6 (i386/linux)) Content-Length: 0 [File: 
Line:-1]

12d:23h:36m:18s ( sip_stack)(878 ) UdpRtxMngr::Remove 415 Response 102 
INVITE [File: Line:-1]

12d:23h:36m:18s ( lgr_flow)(879 ) | |(SIPTU#8)ACK 
State:Disconnected([EMAIL PROTECTED]) [File: 
Line:-1]

12d:23h:36m:18s ( lgr_flow)(880 ) ---- Incoming SIP Message from 
XXX.XXX.XX.XXX:5060 ---- [File: Line:-1]

12d:23h:36m:18s ( lgr_flow)(881 ) ACK sip:[EMAIL PROTECTED]:5060 
SIP/2.0 Via: SIP/2.0/UDP XXX.XXX.XX.XXX;branch=z9hG4bK1db7.ecac6e86.0 From: 
"55560888" &lt;sip:[EMAIL PROTECTED]&gt;;tag=as4a537e63 Call-ID: 
[EMAIL PROTECTED] To: 
&lt;sip:[EMAIL PROTECTED]&gt;;tag=1c1152769147 CSeq: 102 ACK 
User-Agent: Sip EXpress router(0.9.6 (i386/linux)) Content-Length: 0 [File: 
Line:-1]

12d:23h:36m:18s ( lgr_flow)(882 ) ---- Incoming SIP Message from 
XXX.XXX.XX.XXX:5060 ---- [File: Line:-1]

12d:23h:36m:18s ( lgr_flow)(883 ) ACK sip:[EMAIL PROTECTED]:5060 
SIP/2.0 Via: SIP/2.0/UDP XXX.XXX.XX.XXX;branch=z9hG4bK1db7.ecac6e86.0 From: 
"55560888" &lt;sip:[EMAIL PROTECTED]&gt;;tag=as4a537e63 Call-ID: 
[EMAIL PROTECTED] To: 
&lt;sip:[EMAIL PROTECTED]&gt;;tag=1c1152769147 CSeq: 102 ACK 
User-Agent: Sip EXpress router(0.9.6 (i386/linux)) Content-Length: 0 [File: 
Line:-1]

12d:23h:36m:19s ( lgr_flow)(884 ) ---- Incoming SIP Message from 
XXX.XXX.XX.XXX:5060 ---- [File: Line:-1]

12d:23h:36m:19s ( lgr_flow)(885 ) ACK sip:[EMAIL PROTECTED]:5060 
SIP/2.0 Via: SIP/2.0/UDP XXX.XXX.XX.XXX;branch=z9hG4bK1db7.ecac6e86.0 From: 
"55560888" &lt;sip:[EMAIL PROTECTED]&gt;;tag=as4a537e63 Call-ID: 
[EMAIL PROTECTED] To: 
&lt;sip:[EMAIL PROTECTED]&gt;;tag=1c1152769147 CSeq: 102 ACK 
User-Agent: Sip EXpress router(0.9.6 (i386/linux)) Content-Length: 0 [File: 
Line:-1]

12d:23h:36m:23s ( sip_stack)(886 ) 
SIPCallDisconnectedState::TransactionListIsEmpty - Freeing SIPCall#8 [File: 
Line:-1]

12d:23h:36m:23s ( lgr_flow)(887 ) | | TransactionUserMngr::ReturnSIPCall - 
#8 [File: Line:-1]

12d:23h:36m:23s ( sip_stack)(888 ) SIPCall(#8) changes state from 
Disconnected to Idle [File: Line:-1]



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

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--

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

Reply via email to