Hi,

   I followed the below link to configure the Audiocode Mediant 2000 with
Freeswitch
http://wiki.freeswitch.org/index.php?title=Configuring_AudioCodes_MP-114/118&printable=yes

but the above link is for FXO line, where I am using digital PRI line.

when I try to dial I am getting call failed, the traffic from freeswitch
were hitting audiocode the log as follows,
attached with this email,

*some sample SIP header as follows,*
d:2h:17m:7s INVITE
sip:[EMAIL PROTECTED]<[EMAIL PROTECTED]>SIP/2.0
Via: SIP/2.0/UDP 172.20.176.31;rport;branch=z9hG4bKKmB9HrNr22HZQ
Max-Forwards: 69
From: "Extension 1002"
<sip:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
>;tag=j9a4e9Q4ycvtr
To: <sip:[EMAIL PROTECTED] <[EMAIL PROTECTED]>>
Call-ID: 7702517d-0413-122c-efab-0019d150d051
CSeq: 104969298 INVITE
Contact: <sip:[EMAIL PROTECTED]:5060>
User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-9596M
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY,
REFER, UPDATE, REGISTER, INFO, PUBLISH
Supported: 100rel, timer, precondition, path, replaces
Allow-Events: talk, presence, dialog, call-info, sla,
include-session-description, presence.winfo, message-summary
Min-SE: 120
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 347
Remote-Party-ID: "Extension 1002"
<sip:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
>;screen=yes;privacy=off


1d:2h:17m:7s (     sip_stack)(212       ) ?? [WARNING] AcSIPParser:
Unrecognized Header was detected at line: 12


1d:2h:46m:9s ( lgr_TrnkGrp)(344 ) !! [ERROR]
#1:TrunkGroup::AllocateEndPoint- Can't find EndPoint for phone number
9894929942

1d:2h:46m:9s ( lgr_psbrdif)(345 ) !! [ERROR] AcBoard::GetEndPoint- Can't
find EndPoint for Dest:9894929942 Source:9894929942 SourceIp:ac14b01f

1d:2h:46m:9s ( lgr_psbrdif)(346 ) TrunkBoard::GetEndPoint- Current trunk
status:0010

1d:2h:46m:9s ( lgr_call)(347 ) !! [ERROR] Call::GetEndPoint- Can't find
endpoint for phone number 9894929942


*Freeswitch log* *as follows*
http://pastebin.freeswitch.org/5635

So how to proceed in this stage.
-- 
Thank you with regards,
Gopal,
Log is Activated
 
 

1d:3h:0m:55s ( lgr_flow)(371 ) ---- Incoming SIP Message from 
172.20.176.31:5060 ----

1d:3h:0m:55s INVITE sip:[EMAIL PROTECTED] SIP/2.0 Via: SIP/2.0/UDP 
172.20.176.31;rport;branch=z9hG4bKBDavv19cXr8ZD Max-Forwards: 69 From: 
"Extension 1002" &lt;sip:[EMAIL PROTECTED]&gt;;tag=yp36vFXZZmgHp To: 
&lt;sip:[EMAIL PROTECTED]&gt; Call-ID: 95930acd-0419-122c-efab-0019d150d051 
CSeq: 104970613 INVITE Contact: &lt;sip:[EMAIL PROTECTED]:5060&gt; User-Agent: 
FreeSWITCH-mod_sofia/1.0.trunk-9596M Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, 
PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH 
Supported: 100rel, timer, precondition, path, replaces Allow-Events: talk, 
presence, dialog, call-info, sla, include-session-description, presence.winfo, 
message-summary Min-SE: 120 Content-Type: application/sdp Content-Disposition: 
session Content-Length: 347 Remote-Party-ID: "Extension 1002" &lt;sip:[EMAIL 
PROTECTED]&gt;;screen=yes;privacy=off v=0 o=FreeSWITCH 8

1d:3h:0m:55s ( sip_stack)(373 ) ?? [WARNING] AcSIPParser: Unrecognized Header 
was detected at line: 12

1d:3h:0m:55s ( lgr_flow)(374 ) | | new GetNewSIPCall created - #171

1d:3h:0m:55s ( sip_stack)(375 ) new AcSIPCallAPI created - #135

1d:3h:0m:55s ( lgr_stk_mngr)(376 ) Resource StackSession &lt;#135&gt; Allocated

1d:3h:0m:55s ( lgr_flow)(377 ) | |(SIPTU#171)INVITE State:Idle()

1d:3h:0m:55s ( sip_stack)(378 ) SIPCall(#171) changes state from Idle to Invited

1d:3h:0m:55s ( lgr_flow)(379 ) | | | 
#135:SIP_SETUP_EV(95930acd-0419-122c-efab-0019d150d051)

1d:3h:0m:55s ( lgr_stk_ses)(380 ) SIPStackSession::HandleStackSetupEV - 
NEWCALL: SrcPN=0

1d:3h:0m:55s ( lgr_stk_ses)(381 ) &lt;SESSION #135&gt; SendToCall - event: 
NEW_CALL_EV m_Call = 37610284

1d:3h:0m:55s ( lgr_flow)(382 ) | | 
#135:NEW_CALL_EV:(95930acd-0419-122c-efab-0019d150d051)

1d:3h:0m:55s ( lgr_flow)(383 ) ServicesMngr::GetEndPoint PhoneNum = 9894929942

1d:3h:0m:55s ( lgr_psbrdif)(384 ) GetTrunkGroupId- TrunkGroup:1 found 
DstNum:9894929942 DstPfx:* SrcNum:9894929942 SrcPfx:* SrcIp:ac14b01f 
SrcIpPfx:172.20.176.31

1d:3h:0m:55s ( lgr_TrnkGrp)(385 ) !! [ERROR] #1:TrunkGroup::AllocateEndPoint- 
Can't find EndPoint for phone number 9894929942

1d:3h:0m:55s ( lgr_psbrdif)(386 ) !! [ERROR] AcBoard::GetEndPoint- Can't find 
EndPoint for Dest:9894929942 Source:9894929942 SourceIp:ac14b01f

1d:3h:0m:55s ( lgr_psbrdif)(387 ) TrunkBoard::GetEndPoint- Current trunk 
status:0010

1d:3h:0m:55s ( lgr_call)(388 ) !! [ERROR] Call::GetEndPoint- Can't find 
endpoint for phone number 9894929942

1d:3h:0m:55s ( lgr_flow)(389 ) | | 
#135:RELEASE:(95930acd-0419-122c-efab-0019d150d051)

1d:3h:0m:55s |CALL_END |0 |0 |0 |0 |0 |0 |FXO |IP |0.0.0.0 |0.0.0.0 |1 |1 
|9894929942 |9894929942 |0 |0 |9894929942 |9894929942 |0 |N/A |255 |0.0.0.0 |0 
|TEL |GWAPP_NO_ROUTE_TO_DESTINATION |0 |0 |0 |0 
|95930acd-0419-122c-efab-0019d150d051 | | | |0 |0 |8349272 |8349272 |-1 |0 |0 | 
|0

1d:3h:0m:55s ( lgr_flow)(391 ) | | 
#135:RELEASE_ACK:(95930acd-0419-122c-efab-0019d150d051)

1d:3h:0m:55s ( lgr_flow)(392 ) | | | 
#135:RELEASE(95930acd-0419-122c-efab-0019d150d051)

1d:3h:0m:55s ( lgr_flow)(393 ) | |(SIPTU#171)DISCONNECT_REQ 
State:Invited(95930acd-0419-122c-efab-0019d150d051)

1d:3h:0m:55s ( lgr_flow)(394 ) ---- Outgoing SIP Message to 172.20.176.31:5060 
----

1d:3h:0m:55s SIP/2.0 404 Not Found Via: SIP/2.0/UDP 
172.20.176.31;rport;branch=z9hG4bKBDavv19cXr8ZD From: "Extension 1002" 
&lt;sip:[EMAIL PROTECTED]&gt;;tag=yp36vFXZZmgHp To: &lt;sip:[EMAIL 
PROTECTED]&gt;;tag=1c959803452 Call-ID: 95930acd-0419-122c-efab-0019d150d051 
CSeq: 104970613 INVITE Contact: &lt;sip:172.20.176.254&gt; Supported: 
em,timer,replaces,path Allow: 
REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,NOTIFY,PRACK,REFER,INFO,SUBSCRIBE,UPDATE 
Server: Audiocodes-Sip-Gateway-Mediant 2000/v.4.80A.043.005 Reason: Q.850 
;cause=3 Content-Length: 0

1d:3h:0m:55s ( sip_stack)(396 ) UdpRtxMngr::Transmit 404 Response 104970613 
INVITE Rtx Left: 6 Dest: ac14b01f:5060

1d:3h:0m:55s ( sip_stack)(397 ) SIPTransaction::ResendLastMessage - Resending 
last message

1d:3h:0m:55s ( sip_stack)(398 ) SIPCall(#171) changes state from Invited to 
Disconnected

1d:3h:0m:55s ( lgr_stk_ses)(399 ) &lt;SESSION #135&gt; SendToCall - event: 
RELEASE_ACK m_Call = 37610284

1d:3h:0m:55s ( lgr_flow)(400 ) | | 
#135:RELEASE_ACK:(95930acd-0419-122c-efab-0019d150d051)

1d:3h:0m:55s ( sip_stack)(401 ) AcSIPStackAPI::FreeCallAPI - #135

1d:3h:0m:55s ( sip_stack)(402 ) Setting ApplicationCall of AcSIPCall 34607504 
to NULL

1d:3h:0m:55s ( lgr_stk_mngr)(403 ) Resource StackSession &lt;#135&gt; Deleted

1d:3h:0m:55s ( lgr_flow)(404 ) ---- Incoming SIP Message from 
172.20.176.31:5060 ----

1d:3h:0m:55s ( lgr_flow)(405 ) ACK sip:[EMAIL PROTECTED] SIP/2.0 Via: 
SIP/2.0/UDP 172.20.176.31;rport;branch=z9hG4bKBDavv19cXr8ZD Max-Forwards: 69 
From: "Extension 1002" &lt;sip:[EMAIL PROTECTED]&gt;;tag=yp36vFXZZmgHp To: 
&lt;sip:[EMAIL PROTECTED]&gt;;tag=1c959803452 Call-ID: 
95930acd-0419-122c-efab-0019d150d051 CSeq: 104970613 ACK Content-Length: 0

1d:3h:0m:55s ( sip_stack)(406 ) UdpRtxMngr::Remove 404 Response 104970613 INVITE

1d:3h:0m:55s ( lgr_flow)(407 ) | |(SIPTU#171)ACK 
State:Disconnected(95930acd-0419-122c-efab-0019d150d051)

1d:3h:0m:55s RpExternalCgi ConnectionIndex =-1 theCgiPtr-&gt;fConnectionId=1 
[CID:0]

1d:3h:1m:0s ( sip_stack)(408 ) SIPCallDisconnectedState::TransactionListIsEmpty 
- Freeing SIPCall#171

1d:3h:1m:0s ( lgr_flow)(409 ) | | TransactionUserMngr::ReturnSIPCall - #171 
_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to