create a sip trunk to sip provider,but have some problem.
Posted: 04 Aug 2008 04:18
i create a sip trunk to the provider.
but my sip software phone can't dial out .why.below it my setting and traces.
1,modify network routing table ,4 for the sip phone ,3 for the sip ext gateway
2,create sip trunk group ,24 for the sip phone ,26 for the ext gateway.
3,create sip gateway,create sip ext gateway.
4,create sip station 3003 and 3008 station.
(1)oxe> sipextgw -l
Tue Aug 5 00:07:22 CST 2008
====================================================================
| R E G I S T E R E D S I P E X T E R N A L G A T E W A Y S |
====================================================================
IN SERVICE SIP external gateways list :
3
(1)oxe>incvisu -s SIP
04/08/08 23:57:00 000001M|000/00/-/---|=5:5800=24 SIP trunk group put into service
04/08/08 23:57:01 000001M|---/--/-/---|=0:5812=SIP external gateway 3 is in service
04/08/08 23:57:01 000001M|000/00/-/---|=5:5800=26 SIP trunk group put into service
sip phone 3003 call to 3008 is ok
sip 3003 call the PSTN line no ok.trace see below:
(1)oxe> cd /usr2/servers
(1)oxe> motortrace 3
motortrace (v5.1.0) verbosity = 0037f524
sipmotor trace-level set 3 (All trace).
(1)oxe> traced
** UNIX-trace-daemon started ... (static user group No 1) **
traced started ...
1217866449 -> RECEIVE MESSAGE FROM NETWORK (192.168.1.188:9978 [UDP])
----------------------utf8-----------------------
-------------------------------------------------
1217866449 -> [CIOCom::onReceiveMessage] Message is incomplete
1217866449 -> [CIOCom::getMalformedMessage]
1217866449 -> [CIOCom::getMalformedMessage] sip_decodeMessageWithoutCallback FAILED => HSS ERROR Incomplete
IPC:Th[1397-sipmotor] send msg to Ac[2244-traced] GrpPort full=659456 550 (li)=2 max (255)
1217866450 -> RECEIVE MESSAGE FROM NETWORK (192.168.1.188:64038 [UDP])
----------------------utf8-----------------------
INVITE sip:66058848@192.168.1.182 SIP/2.0
To: <sip:66058848@192.168.1.182>
From: 3003<sip:3003@192.168.1.182>;tag=8562eb3a
Via: SIP/2.0/UDP 192.168.1.188:9978;branch=z9hG4bK-d87543-480598204-1--d87543-;rport
Call-ID: cd2f1243613e2841
CSeq: 1 INVITE
Contact: <sip:3003@192.168.1.188:9978>
Max-Forwards: 70
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Content-Type: application/sdp
User-Agent: eyeBeam release 3004w stamp 16863
Content-Length: 274
v=0
o=- 24729335 24729487 IN IP4 192.168.1.188
s=eyeBeam
c=IN IP4 192.168.1.188
t=0 0
m=audio 6182 RTP/AVP 100 6 0 8 3 18 5 101
a=alt:1 1 : 3D280983 C6F4915E 192.168.1.188 6182
a=fmtp:101 0-15
a=rtpmap:100 speex/16000
a=rtpmap:101 telephone-event/8000
a=sendrecv
-------------------------------------------------
1217866450 -> 1F [CRequest::CRequest] Creation of a request (RECEIVED FROM NETWORK)
1217866450 -> [CIOCom::receiveRequest] Received CRequest 1F ref=1
1217866450 -> [CDispatcher::onIncomingRequest()]
1217866450 -> [CDispatcher::processRequestFromManagerIndex()] start at index 0
1217866450 -> 102 [CCallManager::onIncomingRequest()]
1217866450 -> [CMotorCallManager::callFactory] For call : cd2f1243613e2841.
1217866450 -> 111b [CCall::receiveRequest] INVITE
1217866450 -> 111b [CCall::getDialog] Confirmed Dialog is not found (ID = ;8562eb3a)
1217866450 -> 111b [CCall::getDialog] Returning Initial Dialog Server
1217866450 -> 151a [CDialog::receiveRequest]
1217866450 -> 151a [CDialog::receiveInviteRequest]
1217866450 -> 211a [CTransaction::changeState] STATE CHANGED TO INITIAL
1217866450 -> 211a [CTransaction::changeState] notifying the parent dialog
1217866450 -> 151a [CDialog::onTransactionState(pTrans = 211a, previousState = Terminated, currentState = Initial, reason = None]
1217866450 -> 211a [CTransInitialState::receiveRequest] Transaction changes to Proceeding state
1217866450 -> 211a [CTransaction::changeState] STATE CHANGED TO PROCEEDING
1217866450 -> 211a [CTransaction::changeState] notifying the parent dialog
1217866450 -> 151a [CDialog::onTransactionState(pTrans = 211a, previousState = Initial, currentState = Proceeding, reason = Request
reception]
1217866450 -> 211a [CTransProceedingState::createResponse] CResponse 1E ref=1
1217866450 -> 1E [CMessage::send] sip_sendMessage (192.168.1.188:9978)
1217866450 -> SEND MESSAGE TO NETWORK (192.168.1.188:9978 [UDP]) (BUFF LEN = 254)
----------------------utf8-----------------------
SIP/2.0 100 Trying
To: <sip:66058848@192.168.1.182>
From: 3003 <sip:3003@192.168.1.182>;tag=8562eb3a
Call-ID: cd2f1243613e2841
CSeq: 1 INVITE
Via: SIP/2.0/UDP 192.168.1.188:9978;branch=z9hG4bK-d87543-480598204-1--d87543-;rport
Content-Length: 0
-------------------------------------------------
1217866450 -> 151a [CDialog::receiveInviteRequest] a new Server INVITE transaction is in progress
1217866450 -> [---*--- SESSION-TIMER ---*---] New CSessionTimerContext from request (Server, UA)
1217866450 -> [---*--- SESSION-TIMER ---*---] Update CSessionTimerContext (refresh reception)
1217866450 -> 111b [CCall::checkAuthentication] INVITE
1217866450 -> 111b [CMotorCall::controlAuthentication] ---*--- AUTH ---*--- Control authentication
1217866450 -> [CGwMngData::isAuthenticationRequiredForThisClient] 192.168.1.182 .
1217866450 -> [isDomainFromGwExt] Host from request is : 192.168.1.182.
1217866450 -> [isDomainFromGwExt] User from request is : 3003
1217866450 -> [domain not from an External Gateway.
1217866450 -> [CGwMngData::isAuthenticationMandatory] Yes
1217866450 -> hostname == cpu name or IP address......
1217866450 -> [CGwServAuthenticate::isAuthenticable] 3003@192.168.1.182 is authenticable.
1217866450 -> 111b [CMotorCall::controlAuthentication] ---*--- 407 ---*--- authentication failed
1217866450 -> 111b [CMotorCall::controlAuthentication] ---*--- END ---*--- Control authentication
1217866450 -> 111b [CCall::makeGenericResponse] 407
1217866450 -> 111b [CCall::getDialog] Confirmed Dialog is not found (ID = ;8562eb3a)
1217866450 -> 151a [CDialog::createResponse] 407
1217866450 -> 211a [CTransProceedingState::createResponse] CResponse 1F ref=1
1217866450 -> [CGwMngData::getStackAuthRealm] lg Realm=13
1217866450 -> [CGwMngData::getStackAuthRealm] Realm : 192.168.1.182
1217866450 -> [CGwMngData::getStackAuthRealm] lg Realm=13
1217866450 -> [CGwMngData::getStackAuthRealm] Realm : 192.168.1.182
1217866450 -> 1F [CMessage::send] sip_sendMessage (192.168.1.188:9978)
1217866450 -> SEND MESSAGE TO NETWORK (192.168.1.188:9978 [UDP]) (BUFF LEN = 416)
----------------------utf8-----------------------
SIP/2.0 407 Proxy Authentication Required
Proxy-Authenticate: Digest qop="auth",nonce="ca858281b8f45868424458ec9793aa27",realm="192.168.1.182"
To: <sip:66058848@192.168.1.182>;tag=e53ee011f5a3c47f1a36fe341eb02f72
From: 3003 <sip:3003@192.168.1.182>;tag=8562eb3a
Call-ID: cd2f1243613e2841
CSeq: 1 INVITE
Via: SIP/2.0/UDP 192.168.1.188:9978;branch=z9hG4bK-d87543-480598204-1--d87543-;rport
Content-Length: 0
-------------------------------------------------
1217866450 -> 1E [~CResponse] resp(100) cd2f1243613e2841 1 INVITE
1217866450 -> 211a [CTransProceedingState::createResponse] Final : Transaction changes to Completed state
1217866450 -> 211a [CTransaction::changeState] STATE CHANGED TO COMPLETED
1217866450 -> 211a [CTransaction::changeState] notifying the parent dialog
1217866450 -> 151a [CDialog::onTransactionState(pTrans = 211a, previousState = Proceeding, currentState = Completed, reason = Final
resp creation]
1217866450 -> 211a [CTransaction::startTimer] Timer H is started (delay = 32000 ms)
1217866450 -> 151a [CDialog::updateRouteSet] there are 0 record-route headers
1217866450 -> RECEIVE MESSAGE FROM NETWORK (192.168.1.188:64038 [UDP])
----------------------utf8-----------------------
ACK sip:66058848@192.168.1.182 SIP/2.0
To: <sip:66058848@192.168.1.182>;tag=e53ee011f5a3c47f1a36fe341eb02f72
From: 3003<sip:3003@192.168.1.182>;tag=8562eb3a
Via: SIP/2.0/UDP 192.168.1.188:9978;branch=z9hG4bK-d87543-480598204-1--d87543-;rport
Call-ID: cd2f1243613e2841
CSeq: 1 ACK
Content-Length: 0
-------------------------------------------------
1217866450 -> 20 [CRequest::CRequest] Creation of a request (RECEIVED FROM NETWORK)
1217866450 -> [CIOCom::receiveRequest] Received CRequest 20 ref=1
1217866450 -> [CDispatcher::onIncomingRequest()]
1217866450 -> [CDispatcher::processRequestFromManagerIndex()] start at index 0
1217866450 -> 102 [CCallManager::onIncomingRequest()]
1217866450 -> 111b [CCall::receiveRequest] ACK
1217866450 -> 111b [CCall::getDialog] Confirmed Dialog is not found (ID = e53ee011f5a3c47f1a36fe341eb02f72;8562eb3a)
1217866450 -> 151a [CDialog::receiveRequest]
1217866450 -> 151a [CDialog::receiveAckRequest]
1217866450 -> 211a [CTransCompletedState::receiveRequest] ACK(UDP) : Transaction changes to Confirmed state
1217866450 -> 211a [CTransaction::changeState] STATE CHANGED TO CONFIRMED
1217866450 -> 211a [CTransaction::changeState] notifying the parent dialog
1217866450 -> 151a [CDialog::onTransactionState(pTrans = 211a, previousState = Completed, currentState = Confirmed, reason = Request
reception]
1217866450 -> 211a [CTransaction::freeTimerToken] Timer H is freed
1217866450 -> 211a [CTransaction::startTimer] Timer I is started (delay = 5000 ms)
1217866450 -> 151a [CDialog::receiveAckRequest] receiving an ACK on a previously rejected INVITE
1217866450 -> 111b [CCall::checkAuthentication] ACK
1217866450 -> 111b [CMotorCall::controlAuthentication] ---*--- AUTH ---*--- Control authentication
1217866450 -> 111b [CMotorCall::controlAuthentication] ---*--- END ---*--- Control authentication
1217866450 -> [isUserRegistred] getRegistration=66058848.
1217866450 -> [isUserRegistred] result=-1.
1217866450 -> [CMotorCall::onReceiveRequest] request for gateway.
1217866450 -> [CMotorCall::onReceiveRequest] state = INITIAL_STATE.
1217866450 -> [CMotorCall] presumed to be the same Dialog
1217866450 -> [onReceiveRequest] Ack => update the inviteContext.
1217866450 -> [receiveAckMessage] Call: cd2f1243613e2841 eqt: -1 INITIAL_STATE received a not handled message => kill the call.
1217866450 -> [CCallManager::notifyAsyncRejectedRequest()]
1217866450 -> [CDispatcher::processRequestFromManagerIndex()] start at index 1
1217866450 -> 103 [CCallManager::onIncomingRequest()]
1217866450 -> 111c [CCall::receiveRequest] ACK
1217866450 -> 111c [CCall::getDialog] Confirmed Dialog is not found (ID = e53ee011f5a3c47f1a36fe341eb02f72;8562eb3a)
1217866450 -> 111c [CCall::getDialog] Returning Initial Dialog Server
1217866450 -> 151b [CDialog::receiveRequest]
1217866450 -> 151b [CDialog::receiveAckRequest]
1217866450 -> 151b [CDialog::receiveAckRequest] receiving a ACK while this dialog was not created by an INVITE
1217866450 -> 111c [CProxyCall::onReceiveRequest]
1217866450 -> [CGWMngData::isMainServer] CPU is MAIN.
1217866450 -> 111c [CCall::onDialogClosed]
1217866450 -> 111c [CCall::onDialogClosed] only initial *********
1217866450 -> 111c [CCall::onDialogClosed] All the initial dialogs in the Call are closed
1217866450 -> 111c [CCall] closed
1217866450 -> 103 [CCallManager::onCallClosed]
1217866450 -> 103 [CCallManager::onCallClosed()] removing from the maps
1217866450 -> 211a [CTransaction::changeState] STATE CHANGED TO TERMINATED
1217866450 -> 211a [CTransaction::freeTimerToken] Timer I is freed
1217866450 -> 211a [CTransaction::changeState] no transaction state
1217866450 -> RECEIVE MESSAGE FROM NETWORK (192.168.1.188:64038 [UDP])
----------------------utf8-----------------------
INVITE sip:66058848@192.168.1.182 SIP/2.0
To: <sip:66058848@192.168.1.182>
From: 3003<sip:3003@192.168.1.182>;tag=8562eb3a
Via: SIP/2.0/UDP 192.168.1.188:9978;branch=z9hG4bK-d87543-692671384-1--d87543-;rport
Call-ID: cd2f1243613e2841
CSeq: 2 INVITE
Contact: <sip:3003@192.168.1.188:9978>
Max-Forwards: 70
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Content-Type: application/sdp
Proxy-Authorization: Digest username="3003",realm="192.168.1.182",nonce="ca858281b8f45868424458ec9793aa27",uri="sip:66058848@192.168
.1.182",response="b96ae324fd43302c5f929b1ae9d9a8e5",cnonce="af463622ed2c787d",nc=00000001,qop=auth,algorithm=MD5
User-Agent: eyeBeam release 3004w stamp 16863
Content-Length: 274
v=0
o=- 24729335 24729487 IN IP4 192.168.1.188
s=eyeBeam
c=IN IP4 192.168.1.188
t=0 0
m=audio 6182 RTP/AVP 100 6 0 8 3 18 5 101
a=alt:1 1 : 3D280983 C6F4915E 192.168.1.188 6182
a=fmtp:101 0-15
a=rtpmap:100 speex/16000
a=rtpmap:101 telephone-event/8000
a=sendrecv
-------------------------------------------------
1217866450 -> 21 [CRequest::CRequest] Creation of a request (RECEIVED FROM NETWORK)
1217866450 -> [CIOCom::receiveRequest] Received CRequest 21 ref=1
1217866450 -> [CDispatcher::onIncomingRequest()]
1217866450 -> [CDispatcher::processRequestFromManagerIndex()] start at index 0
1217866450 -> 102 [CCallManager::onIncomingRequest()]
1217866450 -> 111b [CCall::receiveRequest] INVITE
1217866450 -> 111b [CCall::getDialog] Confirmed Dialog is not found (ID = ;8562eb3a)
1217866450 -> 151a [CDialog::receiveRequest]
1217866450 -> 151a [CDialog::receiveInviteRequest]
1217866450 -> 211b [CTransaction::changeState] STATE CHANGED TO INITIAL
1217866450 -> 211b [CTransaction::changeState] notifying the parent dialog
1217866450 -> 151a [CDialog::onTransactionState(pTrans = 211b, previousState = Terminated, currentState = Initial, reason = None]
1217866450 -> 211b [CTransInitialState::receiveRequest] Transaction changes to Proceeding state
1217866450 -> 211b [CTransaction::changeState] STATE CHANGED TO PROCEEDING
1217866450 -> 211b [CTransaction::changeState] notifying the parent dialog
1217866451 -> 151a [CDialog::onTransactionState(pTrans = 211b, previousState = Initial, currentState = Proceeding, reason = Request
reception]
1217866451 -> 211b [CTransProceedingState::createResponse] CResponse 20 ref=1
1217866451 -> 20 [CMessage::send] sip_sendMessage (192.168.1.188:9978)
1217866451 -> SEND MESSAGE TO NETWORK (192.168.1.188:9978 [UDP]) (BUFF LEN = 254)
----------------------utf8-----------------------
SIP/2.0 100 Trying
To: <sip:66058848@192.168.1.182>
From: 3003 <sip:3003@192.168.1.182>;tag=8562eb3a
Call-ID: cd2f1243613e2841
CSeq: 2 INVITE
Via: SIP/2.0/UDP 192.168.1.188:9978;branch=z9hG4bK-d87543-692671384-1--d87543-;rport
Content-Length: 0
-------------------------------------------------
1217866451 -> 151a [CDialog::receiveInviteRequest] a new Server INVITE transaction is in progress
1217866451 -> [---*--- SESSION-TIMER ---*---] Update CSessionTimerContext (refresh reception)
1217866451 -> 111b [CCall::checkAuthentication] INVITE
1217866451 -> 111b [CMotorCall::controlAuthentication] ---*--- AUTH ---*--- Control authentication
1217866451 -> [CGwMngData::isAuthenticationRequiredForThisClient] 192.168.1.182 .
1217866451 -> [isDomainFromGwExt] Host from request is : 192.168.1.182.
1217866451 -> [isDomainFromGwExt] User from request is : 3003
1217866451 -> [domain not from an External Gateway.
1217866451 -> [CGwMngData::isAuthenticationMandatory] Yes
1217866451 -> hostname == cpu name or IP address......
1217866451 -> [CGwServAuthenticate::isAuthenticable] 3003@192.168.1.182 is authenticable.
1217866451 -> [CGwMngData::getStackAuthRealm] lg Realm=13
1217866451 -> [CGwMngData::getStackAuthRealm] Realm : 192.168.1.182
1217866451 -> 111b [CMotorCall::controlAuthentication] distant=3003@192.168.1.182
1217866451 -> [CGwServAuthenticate::getRecord] 3003@192.168.1.182
1217866451 -> hostname == cpu name or IP address......
1217866451 -> [CGwServAuthenticate::getRecord] 3003@192.168.1.182 => 3003:0000.
1217866451 -> 111b [CMotorCall::controlAuthentication] ---*--- END ---*--- Control authentication
1217866451 -> [isUserRegistred] getRegistration=66058848.
1217866451 -> [isUserRegistred] result=-1.
1217866451 -> [CMotorCall::onReceiveRequest] request for gateway.
1217866451 -> [CMotorCall::onReceiveRequest] state = INITIAL_STATE.
1217866451 -> [onReceiveRequest] nb available licenses=999999 .
1217866451 -> [CGwServAuthenticate::isUserDeclared] 3003@192.168.1.182
1217866451 -> hostname == cpu name or IP address......
1217866451 -> [CGwServAuthenticate::isUserDeclared] found in the dictionnary.
1217866451 -> [CMotorCall] presumed to be the same Dialog
1217866451 -> [onReceiveRequest] Invite => update the inviteContext.
1217866451 -> [CForkedBranch::CForkedBranch] context = 0x83a35a4.
1217866451 -> [onReceiveRequest] CAC = 0
1217866451 -> [receiveInviteMessage] Call: cd2f1243613e2841 eqt: -1 INITIAL_STATE received a message.
1217866451 -> [isDomainFromGwExt] Host from request is : 192.168.1.182.
1217866451 -> [isDomainFromGwExt] User from request is : 3003
1217866451 -> [checkSdpValidity] Sdp contains 1 media description(s).
1217866451 -> [checkSdpValidity] Media 0 type 1 contains 8 formats.
1217866451 -> [checkSdpValidity] Format : 100.
1217866451 -> [checkSdpValidity] Format : 6.
1217866451 -> [checkSdpValidity] Format : 0.
1217866451 -> [convertSdpIntoTsdp] Sdp contains 1 media description(s).
1217866451 -> [convertSdpIntoTsdp] The audio media contains 8 format(s).
1217866451 -> [convertSdpIntoTsdp] Format 0 is 100.
1217866451 -> [convertSdpIntoTsdp] Format 1 is 6.
1217866451 -> [convertSdpIntoTsdp] Format 2 is 0.
1217866451 -> [convertSdpIntoTsdp] Format 3 is 8.
1217866451 -> [convertSdpIntoTsdp] Format 4 is 3.
1217866451 -> [convertSdpIntoTsdp] Format 5 is 18.
1217866451 -> [convertSdpIntoTsdp] Format 6 is 5.
1217866451 -> [convertSdpIntoTsdp] Format 7 is 101.
1217866451 -> [convertSdpIntoTsdp] Get the direction.
1217866451 -> [convertSdpIntoTsdp] Direction is sendrecv.
1217866451 -> [convertSdpIntoTsdp] The connection is at session level.
1217866451 -> [convertSdpIntoTsdp] Connection address retrieved in sdp: 192.168.1.188.
1217866451 -> [convertIPStrIntoTuipv] 192.168.1.188 => 192.168.1.188
1217866451 -> [emitEventToMonitel] content size (lginfo): 652
1217866451 -> [ipc_thread] IPC Thread : Ipc reception.
1217866451 -> [ipc_thread] IPC Thread : TCL thread signaled.
1217866451 -> [CMotorCallManager::insertCallwithEqt] CMotorCall 592 inserted.
1217866451 -> [emitEventToMonitel] Event sent on eqt : 592
1217866451 -> [display_ipc_out] ------------ Begin ---------------
1217866451 -> INVITE
1217866451 -> REQUEST URI : 66058848@192.168.1.182:5060 ; user=name
1217866451 -> FROM : <3003> 3003@192.168.1.182:5060
1217866451 -> TO : <> 66058848@192.168.1.182:5060
1217866451 -> CAC : 0
1217866451 -> CAC ADDRESS :
1217866451 -> CLIR : 0
1217866451 -> SDP :
1217866451 -> ADDRESS : 192.168.1.188 :6182
1217866451 -> ALGOS :
1217866451 -> PCMU
1217866451 -> PCMA
1217866451 -> G729
1217866451 -> 101
1217866451 -> DIRECTION : SEND & RECEIVE
1217866451 -> N_GW_EXT : -1
1217866451 -> [display_ipc_out] ------------- End ----------------
1217866451 -> [exec_ipc] in.
1217866451 -> [display_ipc_in] ------------ Begin ---------------
1217866451 -> neqt : 592
1217866451 -> REDIRECTION
1217866451 -> CONTACT : <66058848> 66058848@218.80.222.130:5632
1217866451 -> xx : 1
1217866451 -> RELATIVE REQUEST : INVITE
1217866451 -> [display_ipc_in] ------------- End ----------------
1217866451 -> [CMotorCallManager::onIncomingEvent] an event 10766 arrived on the eqt 592.
1217866451 -> [CMotorCallManager::onIncomingEvent] state = PROCEEDING_STATE.
1217866451 -> [onIncomingEvent] REDIRECTION arrived.
1217866451 -> [receiveRedirectionEvent] Call: cd2f1243613e2841 eqt: 592 PROCEEDING_STATE received an event.
1217866451 -> 111b [CCall::makeGenericResponse] 301
1217866451 -> 111b [CCall::getDialog] Confirmed Dialog is not found (ID = ;8562eb3a)
1217866451 -> 151a [CDialog::createResponse] 301
1217866451 -> 211b [CTransProceedingState::createResponse] CResponse 21 ref=1
1217866451 -> 21 [CMessage::send] sip_sendMessage (192.168.1.188:9978)
1217866451 -> SEND MESSAGE TO NETWORK (192.168.1.188:9978 [UDP]) (BUFF LEN = 372)
----------------------utf8-----------------------
SIP/2.0 301 Moved Permanently
Contact: sip:66058848@218.80.222.130:5632
User-Agent: ABS GW v5.1.0
To: <sip:66058848@192.168.1.182>;tag=32bcca442d83fa0eaf78ff145745308c
From: 3003 <sip:3003@192.168.1.182>;tag=8562eb3a
Call-ID: cd2f1243613e2841
CSeq: 2 INVITE
Via: SIP/2.0/UDP 192.168.1.188:9978;branch=z9hG4bK-d87543-692671384-1--d87543-;rport
Content-Length: 0
-------------------------------------------------
1217866451 -> 20 [~CResponse] resp(100) cd2f1243613e2841 2 INVITE
1217866451 -> 211b [CTransProceedingState::createResponse] Final : Transaction changes to Completed state
1217866451 -> 211b [CTransaction::changeState] STATE CHANGED TO COMPLETED
1217866451 -> 211b [CTransaction::changeState] notifying the parent dialog
1217866451 -> 151a [CDialog::onTransactionState(pTrans = 211b, previousState = Proceeding, currentState = Completed, reason = Final
resp creation]
1217866451 -> 211b [CTransaction::startTimer] Timer G is started (delay = 500 ms)
1217866451 -> 211b [CTransaction::startTimer] Timer H is started (delay = 32000 ms)
1217866451 -> 151a [CDialog::updateRouteSet] there are 0 record-route headers
1217866451 -> [emitEventToMonitel] content size (lginfo): 652
1217866451 -> [emitEventToMonitel] CAC = 0 eqtCAC = -1
1217866451 -> [emitEventToMonitel] CAC = 0
1217866451 -> [emitEventToMonitel] Event sent on eqt : 592
1217866451 -> [display_ipc_out] ------------ Begin ---------------
1217866451 -> ACK
1217866451 -> [display_ipc_out] ------------- End ----------------
1217866451 -> [receiveRedirectionEvent] Reset of the session.
1217866451 -> [CMotorCall::unRegister] Remove eqt : 592 from the map.
1217866451 -> [CMotorCallManager::eraseCallwithEqt] CMotorCall 592 erased.
1217866451 -> [ipc_thread] IPC Thread : Ipc reception.
1217866451 -> [ipc_thread] IPC Thread : TCL thread signaled.
1217866451 -> [exec_ipc] in.
1217866451 -> [display_ipc_in] ------------ Begin ---------------
1217866451 -> neqt : 592
1217866451 -> SIP EQT RELEASED
1217866451 -> [display_ipc_in] ------------- End ----------------
1217866451 -> [CMotorCallManager::onIncomingEvent] an event 10773 arrived on the eqt 592.
1217866451 -> [CMotorCallManager::onIncomingEvent] NO call with eqt: 592 to release.
1217866451 -> RECEIVE MESSAGE FROM NETWORK (192.168.1.188:64038 [UDP])
----------------------utf8-----------------------
ACK sip:66058848@192.168.1.182 SIP/2.0
To: <sip:66058848@192.168.1.182>;tag=32bcca442d83fa0eaf78ff145745308c
From: 3003<sip:3003@192.168.1.182>;tag=8562eb3a
Via: SIP/2.0/UDP 192.168.1.188:9978;branch=z9hG4bK-d87543-692671384-1--d87543-;rport
Call-ID: cd2f1243613e2841
CSeq: 2 ACK
Content-Length: 0
-------------------------------------------------
1217866451 -> 22 [CRequest::CRequest] Creation of a request (RECEIVED FROM NETWORK)
1217866451 -> [CIOCom::receiveRequest] Received CRequest 22 ref=1
1217866451 -> [CDispatcher::onIncomingRequest()]
1217866451 -> [CDispatcher::processRequestFromManagerIndex()] start at index 0
1217866451 -> 102 [CCallManager::onIncomingRequest()]
1217866451 -> 111b [CCall::receiveRequest] ACK
1217866451 -> 111b [CCall::getDialog] Confirmed Dialog is not found (ID = 32bcca442d83fa0eaf78ff145745308c;8562eb3a)
1217866451 -> 151a [CDialog::receiveRequest]
1217866451 -> 151a [CDialog::receiveAckRequest]
1217866451 -> 211b [CTransCompletedState::receiveRequest] ACK(UDP) : Transaction changes to Confirmed state
1217866451 -> 211b [CTransaction::changeState] STATE CHANGED TO CONFIRMED
1217866451 -> 211b [CTransaction::changeState] notifying the parent dialog
1217866451 -> 151a [CDialog::onTransactionState(pTrans = 211b, previousState = Completed, currentState = Confirmed, reason = Request
reception]
1217866451 -> 151a [CDialog::receiveInviteRequest] a new Server INVITE transaction is in progress
1217866451 -> RECEIVE MESSAGE FROM NETWORK (218.80.222.130:5632 [UDP])
----------------------utf8-----------------------
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.182;branch=z9hG4bK587fa05c72d717c84d17de6391a91fe72f81af4f951eabf07a409baaec4fd21a;received=119.141.253.1
89
Via: SIP/2.0/UDP 192.168.1.188:9978;branch=z9hG4bK-d87543-458828721-1--d87543-;rport
From: 3003 <sip:3003@192.168.1.182>;tag=8562eb3a
To: <sip:66058848@192.168.1.182>
Call-ID: cd2f1243613e2841
CSeq: 3 INVITE
Contact: <sip:3003@192.168.1.188:9978>
Server: SIP/2.0.0
Content-Length: 0
-------------------------------------------------
1217866451 -> [CIOCom::receiveResponse] CResponse 24 ref=1
1217866451 -> [CDispatcher::onIncomingResponse]
1217866451 -> [CDispatcher::processResponseFromManagerIndex] start at index 0
1217866451 -> 102 [CCallManager::onIncomingResponse]
1217866451 -> [CMotorCallManager::callFactory] For call : cd2f1243613e2841.
1217866451 -> 111f [CCall::receiveResponse] 100
1217866451 -> 111f [CCall::receiveResponse]Trying to find the right dialog
1217866451 -> 111f [CCall::getDialog] Confirmed Dialog is not found (ID = 8562eb3a;)
1217866451 -> 111f [CCall::getDialog] Returning Initial Dialog Client
1217866451 -> 111f [CCall::onReceiveOutOfContextResponse] No Dialog
1217866451 -> 111f [CCall::onDialogClosed]
1217866451 -> 111f [CCall::onDialogClosed] only initial *********
1217866451 -> 111f [CCall::onDialogClosed] All the initial dialogs in the Call are closed
1217866451 -> 111f [CCall] closed
1217866451 -> 102 [CCallManager::onCallClosed]
1217866451 -> 102 [CCallManager::onCallClosed()] removing from the maps
1217866451 -> [CMotorCallManager::onNotifyCallClosed] Call : cd2f1243613e2841 is closed.
1217866451 -> [CMotorCallManager::onNotifyCallClosed] Remove eqt from the map.
1217866451 -> 103 [CCallManager::onIncomingResponse]
1217866451 -> [CTransaction::notifyDialog]
1217866451 -> [CTransaction::notifyDialog] notify parent dialog
1217866451 -> 151e [CDialog::onTransactionState(pTrans = 211e, previousState = null, currentState = Terminated, reason = Timer D fir
es]
1217866451 -> 151e [CDialog::onTransactionState] dialog is terminated
1217866451 -> 151e [CDialog::onTransactionState] onDialogClosed
1217866451 -> 111e [CCall::onDialogClosed]
1217866451 -> 111e [CCall::onDialogClosed] only initial *********
1217866451 -> 25 [~CRequest] req cd2f1243613e2841 3 ACK
1217866451 -> 25 [~CResponse] resp(404) cd2f1243613e2841 3 INVITE
1217866452 -> 1121 [CCall::removeGarbage]
1217866452 -> 151f [CDialog::~CDialog]
1217866452 -> [CMotorCall::~CMotorCall] Call : cd2f1243613e2841 is being destructed.
1217866452 -> 1121 [CCall::~CCall]
1217866452 -> 1121 [CCall::removeGarbage]
1217866452 -> 1120 [CCall::removeGarbage]
1217866452 -> [CMotorCall::~CMotorCall] Call : cd2f1243613e2841 is being destructed.
1217866452 -> 1120 [CCall::~CCall]
1217866452 -> 1120 [CCall::removeGarbage]
1217866452 -> 111f [CCall::removeGarbage]
1217866452 -> [CMotorCall::~CMotorCall] Call : cd2f1243613e2841 is being destructed.
1217866452 -> 111f [CCall::~CCall]
1217866452 -> 111f [CCall::removeGarbage]
1217866452 -> 111b [CCall::removeGarbage]
1217866452 -> 151a [CDialog::~CDialog]
1217866452 -> [---*--- SESSION-TIMER ---*---] Free CSessionTimerContext
1217866452 -> [CMotorCall::~CMotorCall] Call : cd2f1243613e2841 is being destructed.
1217866452 -> 111b [CCall::~CCall]
1217866452 -> 111b [CCall::removeGarbage]
1217866452 -> 21 [~CResponse] resp(301) cd2f1243613e2841 2 INVITE
1217866452 -> 21 [~CRequest] req cd2f1243613e2841 2 INVITE
1217866452 -> 111d [CCall::removeGarbage]
1217866452 -> 151c [CDialog::~CDialog]
1217866452 -> 111d [CCall::~CCall]
1217866452 -> 111d [CCall::removeGarbage]
1217866452 -> 111c [CCall::removeGarbage]
1217866452 -> 151b [CDialog::~CDialog]
1217866452 -> 111c [CCall::~CCall]
1217866452 -> 111c [CCall::removeGarbage]
1217866455 -> 211d [CTransConfirmedState::timerFires] Timer I fires
1217866455 -> 211d [CTransConfirmedState::timerFires] TimerI : Transaction changes to Terminated state
1217866455 -> 211d [CTransaction::changeState] STATE CHANGED TO TERMINATED
1217866455 -> 211d [CTransaction::changeState] no transaction state
1217866455 -> [CTransaction::notifyDialog]
1217866455 -> [CTransaction::notifyDialog] notify parent dialog
1217866455 -> 151d [CDialog::onTransactionState(pTrans = 211d, previousState = null, currentState = Terminated, reason = Timer I fir
es]
1217866455 -> 151d [CDialog::onTransactionState] dialog is terminated
1217866455 -> 151d [CDialog::onTransactionState] onDialogClosed
1217866455 -> 111e [CCall::onDialogClosed]
1217866455 -> 111e [CCall::onDialogClosed] only initial *********
1217866455 -> 111e [CCall::onDialogClosed] All the initial dialogs in the Call are closed
1217866455 -> 111e [CCall] closed
1217866455 -> 103 [CCallManager::onCallClosed]
1217866455 -> 103 [CCallManager::onCallClosed()] removing from the maps
1217866455 -> 26 [~CRequest] req cd2f1243613e2841 3 ACK
(1)oxe> sipdict -l
Tue Aug 5 00:16:06 CST 2008
SIP DICTIONNARY, dim = 128, nb records = 3
+----------+----+------------------------------------------------+------+------+
| mcdu | i | url -rem| idx1 | idx2 |
+----------+----+------------------------------------------------+------+------+
| 68008 | 0 | 68008@ node000000 -0| 1 | 1 |
| 3003 | 0 | 3003@ node000000 -0| 2 | 2 |
| 3008 | 0 | 3008@ node000000 -0| 0 | 0 |
+----------+----+------------------------------------------------+------+------+
(1)oxe>
somebody can help me . thanks!
but my sip software phone can't dial out .why.below it my setting and traces.
1,modify network routing table ,4 for the sip phone ,3 for the sip ext gateway
2,create sip trunk group ,24 for the sip phone ,26 for the ext gateway.
3,create sip gateway,create sip ext gateway.
4,create sip station 3003 and 3008 station.
(1)oxe> sipextgw -l
Tue Aug 5 00:07:22 CST 2008
====================================================================
| R E G I S T E R E D S I P E X T E R N A L G A T E W A Y S |
====================================================================
IN SERVICE SIP external gateways list :
3
(1)oxe>incvisu -s SIP
04/08/08 23:57:00 000001M|000/00/-/---|=5:5800=24 SIP trunk group put into service
04/08/08 23:57:01 000001M|---/--/-/---|=0:5812=SIP external gateway 3 is in service
04/08/08 23:57:01 000001M|000/00/-/---|=5:5800=26 SIP trunk group put into service
sip phone 3003 call to 3008 is ok
sip 3003 call the PSTN line no ok.trace see below:
(1)oxe> cd /usr2/servers
(1)oxe> motortrace 3
motortrace (v5.1.0) verbosity = 0037f524
sipmotor trace-level set 3 (All trace).
(1)oxe> traced
** UNIX-trace-daemon started ... (static user group No 1) **
traced started ...
1217866449 -> RECEIVE MESSAGE FROM NETWORK (192.168.1.188:9978 [UDP])
----------------------utf8-----------------------
-------------------------------------------------
1217866449 -> [CIOCom::onReceiveMessage] Message is incomplete
1217866449 -> [CIOCom::getMalformedMessage]
1217866449 -> [CIOCom::getMalformedMessage] sip_decodeMessageWithoutCallback FAILED => HSS ERROR Incomplete
IPC:Th[1397-sipmotor] send msg to Ac[2244-traced] GrpPort full=659456 550 (li)=2 max (255)
1217866450 -> RECEIVE MESSAGE FROM NETWORK (192.168.1.188:64038 [UDP])
----------------------utf8-----------------------
INVITE sip:66058848@192.168.1.182 SIP/2.0
To: <sip:66058848@192.168.1.182>
From: 3003<sip:3003@192.168.1.182>;tag=8562eb3a
Via: SIP/2.0/UDP 192.168.1.188:9978;branch=z9hG4bK-d87543-480598204-1--d87543-;rport
Call-ID: cd2f1243613e2841
CSeq: 1 INVITE
Contact: <sip:3003@192.168.1.188:9978>
Max-Forwards: 70
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Content-Type: application/sdp
User-Agent: eyeBeam release 3004w stamp 16863
Content-Length: 274
v=0
o=- 24729335 24729487 IN IP4 192.168.1.188
s=eyeBeam
c=IN IP4 192.168.1.188
t=0 0
m=audio 6182 RTP/AVP 100 6 0 8 3 18 5 101
a=alt:1 1 : 3D280983 C6F4915E 192.168.1.188 6182
a=fmtp:101 0-15
a=rtpmap:100 speex/16000
a=rtpmap:101 telephone-event/8000
a=sendrecv
-------------------------------------------------
1217866450 -> 1F [CRequest::CRequest] Creation of a request (RECEIVED FROM NETWORK)
1217866450 -> [CIOCom::receiveRequest] Received CRequest 1F ref=1
1217866450 -> [CDispatcher::onIncomingRequest()]
1217866450 -> [CDispatcher::processRequestFromManagerIndex()] start at index 0
1217866450 -> 102 [CCallManager::onIncomingRequest()]
1217866450 -> [CMotorCallManager::callFactory] For call : cd2f1243613e2841.
1217866450 -> 111b [CCall::receiveRequest] INVITE
1217866450 -> 111b [CCall::getDialog] Confirmed Dialog is not found (ID = ;8562eb3a)
1217866450 -> 111b [CCall::getDialog] Returning Initial Dialog Server
1217866450 -> 151a [CDialog::receiveRequest]
1217866450 -> 151a [CDialog::receiveInviteRequest]
1217866450 -> 211a [CTransaction::changeState] STATE CHANGED TO INITIAL
1217866450 -> 211a [CTransaction::changeState] notifying the parent dialog
1217866450 -> 151a [CDialog::onTransactionState(pTrans = 211a, previousState = Terminated, currentState = Initial, reason = None]
1217866450 -> 211a [CTransInitialState::receiveRequest] Transaction changes to Proceeding state
1217866450 -> 211a [CTransaction::changeState] STATE CHANGED TO PROCEEDING
1217866450 -> 211a [CTransaction::changeState] notifying the parent dialog
1217866450 -> 151a [CDialog::onTransactionState(pTrans = 211a, previousState = Initial, currentState = Proceeding, reason = Request
reception]
1217866450 -> 211a [CTransProceedingState::createResponse] CResponse 1E ref=1
1217866450 -> 1E [CMessage::send] sip_sendMessage (192.168.1.188:9978)
1217866450 -> SEND MESSAGE TO NETWORK (192.168.1.188:9978 [UDP]) (BUFF LEN = 254)
----------------------utf8-----------------------
SIP/2.0 100 Trying
To: <sip:66058848@192.168.1.182>
From: 3003 <sip:3003@192.168.1.182>;tag=8562eb3a
Call-ID: cd2f1243613e2841
CSeq: 1 INVITE
Via: SIP/2.0/UDP 192.168.1.188:9978;branch=z9hG4bK-d87543-480598204-1--d87543-;rport
Content-Length: 0
-------------------------------------------------
1217866450 -> 151a [CDialog::receiveInviteRequest] a new Server INVITE transaction is in progress
1217866450 -> [---*--- SESSION-TIMER ---*---] New CSessionTimerContext from request (Server, UA)
1217866450 -> [---*--- SESSION-TIMER ---*---] Update CSessionTimerContext (refresh reception)
1217866450 -> 111b [CCall::checkAuthentication] INVITE
1217866450 -> 111b [CMotorCall::controlAuthentication] ---*--- AUTH ---*--- Control authentication
1217866450 -> [CGwMngData::isAuthenticationRequiredForThisClient] 192.168.1.182 .
1217866450 -> [isDomainFromGwExt] Host from request is : 192.168.1.182.
1217866450 -> [isDomainFromGwExt] User from request is : 3003
1217866450 -> [domain not from an External Gateway.
1217866450 -> [CGwMngData::isAuthenticationMandatory] Yes
1217866450 -> hostname == cpu name or IP address......
1217866450 -> [CGwServAuthenticate::isAuthenticable] 3003@192.168.1.182 is authenticable.
1217866450 -> 111b [CMotorCall::controlAuthentication] ---*--- 407 ---*--- authentication failed
1217866450 -> 111b [CMotorCall::controlAuthentication] ---*--- END ---*--- Control authentication
1217866450 -> 111b [CCall::makeGenericResponse] 407
1217866450 -> 111b [CCall::getDialog] Confirmed Dialog is not found (ID = ;8562eb3a)
1217866450 -> 151a [CDialog::createResponse] 407
1217866450 -> 211a [CTransProceedingState::createResponse] CResponse 1F ref=1
1217866450 -> [CGwMngData::getStackAuthRealm] lg Realm=13
1217866450 -> [CGwMngData::getStackAuthRealm] Realm : 192.168.1.182
1217866450 -> [CGwMngData::getStackAuthRealm] lg Realm=13
1217866450 -> [CGwMngData::getStackAuthRealm] Realm : 192.168.1.182
1217866450 -> 1F [CMessage::send] sip_sendMessage (192.168.1.188:9978)
1217866450 -> SEND MESSAGE TO NETWORK (192.168.1.188:9978 [UDP]) (BUFF LEN = 416)
----------------------utf8-----------------------
SIP/2.0 407 Proxy Authentication Required
Proxy-Authenticate: Digest qop="auth",nonce="ca858281b8f45868424458ec9793aa27",realm="192.168.1.182"
To: <sip:66058848@192.168.1.182>;tag=e53ee011f5a3c47f1a36fe341eb02f72
From: 3003 <sip:3003@192.168.1.182>;tag=8562eb3a
Call-ID: cd2f1243613e2841
CSeq: 1 INVITE
Via: SIP/2.0/UDP 192.168.1.188:9978;branch=z9hG4bK-d87543-480598204-1--d87543-;rport
Content-Length: 0
-------------------------------------------------
1217866450 -> 1E [~CResponse] resp(100) cd2f1243613e2841 1 INVITE
1217866450 -> 211a [CTransProceedingState::createResponse] Final : Transaction changes to Completed state
1217866450 -> 211a [CTransaction::changeState] STATE CHANGED TO COMPLETED
1217866450 -> 211a [CTransaction::changeState] notifying the parent dialog
1217866450 -> 151a [CDialog::onTransactionState(pTrans = 211a, previousState = Proceeding, currentState = Completed, reason = Final
resp creation]
1217866450 -> 211a [CTransaction::startTimer] Timer H is started (delay = 32000 ms)
1217866450 -> 151a [CDialog::updateRouteSet] there are 0 record-route headers
1217866450 -> RECEIVE MESSAGE FROM NETWORK (192.168.1.188:64038 [UDP])
----------------------utf8-----------------------
ACK sip:66058848@192.168.1.182 SIP/2.0
To: <sip:66058848@192.168.1.182>;tag=e53ee011f5a3c47f1a36fe341eb02f72
From: 3003<sip:3003@192.168.1.182>;tag=8562eb3a
Via: SIP/2.0/UDP 192.168.1.188:9978;branch=z9hG4bK-d87543-480598204-1--d87543-;rport
Call-ID: cd2f1243613e2841
CSeq: 1 ACK
Content-Length: 0
-------------------------------------------------
1217866450 -> 20 [CRequest::CRequest] Creation of a request (RECEIVED FROM NETWORK)
1217866450 -> [CIOCom::receiveRequest] Received CRequest 20 ref=1
1217866450 -> [CDispatcher::onIncomingRequest()]
1217866450 -> [CDispatcher::processRequestFromManagerIndex()] start at index 0
1217866450 -> 102 [CCallManager::onIncomingRequest()]
1217866450 -> 111b [CCall::receiveRequest] ACK
1217866450 -> 111b [CCall::getDialog] Confirmed Dialog is not found (ID = e53ee011f5a3c47f1a36fe341eb02f72;8562eb3a)
1217866450 -> 151a [CDialog::receiveRequest]
1217866450 -> 151a [CDialog::receiveAckRequest]
1217866450 -> 211a [CTransCompletedState::receiveRequest] ACK(UDP) : Transaction changes to Confirmed state
1217866450 -> 211a [CTransaction::changeState] STATE CHANGED TO CONFIRMED
1217866450 -> 211a [CTransaction::changeState] notifying the parent dialog
1217866450 -> 151a [CDialog::onTransactionState(pTrans = 211a, previousState = Completed, currentState = Confirmed, reason = Request
reception]
1217866450 -> 211a [CTransaction::freeTimerToken] Timer H is freed
1217866450 -> 211a [CTransaction::startTimer] Timer I is started (delay = 5000 ms)
1217866450 -> 151a [CDialog::receiveAckRequest] receiving an ACK on a previously rejected INVITE
1217866450 -> 111b [CCall::checkAuthentication] ACK
1217866450 -> 111b [CMotorCall::controlAuthentication] ---*--- AUTH ---*--- Control authentication
1217866450 -> 111b [CMotorCall::controlAuthentication] ---*--- END ---*--- Control authentication
1217866450 -> [isUserRegistred] getRegistration=66058848.
1217866450 -> [isUserRegistred] result=-1.
1217866450 -> [CMotorCall::onReceiveRequest] request for gateway.
1217866450 -> [CMotorCall::onReceiveRequest] state = INITIAL_STATE.
1217866450 -> [CMotorCall] presumed to be the same Dialog
1217866450 -> [onReceiveRequest] Ack => update the inviteContext.
1217866450 -> [receiveAckMessage] Call: cd2f1243613e2841 eqt: -1 INITIAL_STATE received a not handled message => kill the call.
1217866450 -> [CCallManager::notifyAsyncRejectedRequest()]
1217866450 -> [CDispatcher::processRequestFromManagerIndex()] start at index 1
1217866450 -> 103 [CCallManager::onIncomingRequest()]
1217866450 -> 111c [CCall::receiveRequest] ACK
1217866450 -> 111c [CCall::getDialog] Confirmed Dialog is not found (ID = e53ee011f5a3c47f1a36fe341eb02f72;8562eb3a)
1217866450 -> 111c [CCall::getDialog] Returning Initial Dialog Server
1217866450 -> 151b [CDialog::receiveRequest]
1217866450 -> 151b [CDialog::receiveAckRequest]
1217866450 -> 151b [CDialog::receiveAckRequest] receiving a ACK while this dialog was not created by an INVITE
1217866450 -> 111c [CProxyCall::onReceiveRequest]
1217866450 -> [CGWMngData::isMainServer] CPU is MAIN.
1217866450 -> 111c [CCall::onDialogClosed]
1217866450 -> 111c [CCall::onDialogClosed] only initial *********
1217866450 -> 111c [CCall::onDialogClosed] All the initial dialogs in the Call are closed
1217866450 -> 111c [CCall] closed
1217866450 -> 103 [CCallManager::onCallClosed]
1217866450 -> 103 [CCallManager::onCallClosed()] removing from the maps
1217866450 -> 211a [CTransaction::changeState] STATE CHANGED TO TERMINATED
1217866450 -> 211a [CTransaction::freeTimerToken] Timer I is freed
1217866450 -> 211a [CTransaction::changeState] no transaction state
1217866450 -> RECEIVE MESSAGE FROM NETWORK (192.168.1.188:64038 [UDP])
----------------------utf8-----------------------
INVITE sip:66058848@192.168.1.182 SIP/2.0
To: <sip:66058848@192.168.1.182>
From: 3003<sip:3003@192.168.1.182>;tag=8562eb3a
Via: SIP/2.0/UDP 192.168.1.188:9978;branch=z9hG4bK-d87543-692671384-1--d87543-;rport
Call-ID: cd2f1243613e2841
CSeq: 2 INVITE
Contact: <sip:3003@192.168.1.188:9978>
Max-Forwards: 70
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Content-Type: application/sdp
Proxy-Authorization: Digest username="3003",realm="192.168.1.182",nonce="ca858281b8f45868424458ec9793aa27",uri="sip:66058848@192.168
.1.182",response="b96ae324fd43302c5f929b1ae9d9a8e5",cnonce="af463622ed2c787d",nc=00000001,qop=auth,algorithm=MD5
User-Agent: eyeBeam release 3004w stamp 16863
Content-Length: 274
v=0
o=- 24729335 24729487 IN IP4 192.168.1.188
s=eyeBeam
c=IN IP4 192.168.1.188
t=0 0
m=audio 6182 RTP/AVP 100 6 0 8 3 18 5 101
a=alt:1 1 : 3D280983 C6F4915E 192.168.1.188 6182
a=fmtp:101 0-15
a=rtpmap:100 speex/16000
a=rtpmap:101 telephone-event/8000
a=sendrecv
-------------------------------------------------
1217866450 -> 21 [CRequest::CRequest] Creation of a request (RECEIVED FROM NETWORK)
1217866450 -> [CIOCom::receiveRequest] Received CRequest 21 ref=1
1217866450 -> [CDispatcher::onIncomingRequest()]
1217866450 -> [CDispatcher::processRequestFromManagerIndex()] start at index 0
1217866450 -> 102 [CCallManager::onIncomingRequest()]
1217866450 -> 111b [CCall::receiveRequest] INVITE
1217866450 -> 111b [CCall::getDialog] Confirmed Dialog is not found (ID = ;8562eb3a)
1217866450 -> 151a [CDialog::receiveRequest]
1217866450 -> 151a [CDialog::receiveInviteRequest]
1217866450 -> 211b [CTransaction::changeState] STATE CHANGED TO INITIAL
1217866450 -> 211b [CTransaction::changeState] notifying the parent dialog
1217866450 -> 151a [CDialog::onTransactionState(pTrans = 211b, previousState = Terminated, currentState = Initial, reason = None]
1217866450 -> 211b [CTransInitialState::receiveRequest] Transaction changes to Proceeding state
1217866450 -> 211b [CTransaction::changeState] STATE CHANGED TO PROCEEDING
1217866450 -> 211b [CTransaction::changeState] notifying the parent dialog
1217866451 -> 151a [CDialog::onTransactionState(pTrans = 211b, previousState = Initial, currentState = Proceeding, reason = Request
reception]
1217866451 -> 211b [CTransProceedingState::createResponse] CResponse 20 ref=1
1217866451 -> 20 [CMessage::send] sip_sendMessage (192.168.1.188:9978)
1217866451 -> SEND MESSAGE TO NETWORK (192.168.1.188:9978 [UDP]) (BUFF LEN = 254)
----------------------utf8-----------------------
SIP/2.0 100 Trying
To: <sip:66058848@192.168.1.182>
From: 3003 <sip:3003@192.168.1.182>;tag=8562eb3a
Call-ID: cd2f1243613e2841
CSeq: 2 INVITE
Via: SIP/2.0/UDP 192.168.1.188:9978;branch=z9hG4bK-d87543-692671384-1--d87543-;rport
Content-Length: 0
-------------------------------------------------
1217866451 -> 151a [CDialog::receiveInviteRequest] a new Server INVITE transaction is in progress
1217866451 -> [---*--- SESSION-TIMER ---*---] Update CSessionTimerContext (refresh reception)
1217866451 -> 111b [CCall::checkAuthentication] INVITE
1217866451 -> 111b [CMotorCall::controlAuthentication] ---*--- AUTH ---*--- Control authentication
1217866451 -> [CGwMngData::isAuthenticationRequiredForThisClient] 192.168.1.182 .
1217866451 -> [isDomainFromGwExt] Host from request is : 192.168.1.182.
1217866451 -> [isDomainFromGwExt] User from request is : 3003
1217866451 -> [domain not from an External Gateway.
1217866451 -> [CGwMngData::isAuthenticationMandatory] Yes
1217866451 -> hostname == cpu name or IP address......
1217866451 -> [CGwServAuthenticate::isAuthenticable] 3003@192.168.1.182 is authenticable.
1217866451 -> [CGwMngData::getStackAuthRealm] lg Realm=13
1217866451 -> [CGwMngData::getStackAuthRealm] Realm : 192.168.1.182
1217866451 -> 111b [CMotorCall::controlAuthentication] distant=3003@192.168.1.182
1217866451 -> [CGwServAuthenticate::getRecord] 3003@192.168.1.182
1217866451 -> hostname == cpu name or IP address......
1217866451 -> [CGwServAuthenticate::getRecord] 3003@192.168.1.182 => 3003:0000.
1217866451 -> 111b [CMotorCall::controlAuthentication] ---*--- END ---*--- Control authentication
1217866451 -> [isUserRegistred] getRegistration=66058848.
1217866451 -> [isUserRegistred] result=-1.
1217866451 -> [CMotorCall::onReceiveRequest] request for gateway.
1217866451 -> [CMotorCall::onReceiveRequest] state = INITIAL_STATE.
1217866451 -> [onReceiveRequest] nb available licenses=999999 .
1217866451 -> [CGwServAuthenticate::isUserDeclared] 3003@192.168.1.182
1217866451 -> hostname == cpu name or IP address......
1217866451 -> [CGwServAuthenticate::isUserDeclared] found in the dictionnary.
1217866451 -> [CMotorCall] presumed to be the same Dialog
1217866451 -> [onReceiveRequest] Invite => update the inviteContext.
1217866451 -> [CForkedBranch::CForkedBranch] context = 0x83a35a4.
1217866451 -> [onReceiveRequest] CAC = 0
1217866451 -> [receiveInviteMessage] Call: cd2f1243613e2841 eqt: -1 INITIAL_STATE received a message.
1217866451 -> [isDomainFromGwExt] Host from request is : 192.168.1.182.
1217866451 -> [isDomainFromGwExt] User from request is : 3003
1217866451 -> [checkSdpValidity] Sdp contains 1 media description(s).
1217866451 -> [checkSdpValidity] Media 0 type 1 contains 8 formats.
1217866451 -> [checkSdpValidity] Format : 100.
1217866451 -> [checkSdpValidity] Format : 6.
1217866451 -> [checkSdpValidity] Format : 0.
1217866451 -> [convertSdpIntoTsdp] Sdp contains 1 media description(s).
1217866451 -> [convertSdpIntoTsdp] The audio media contains 8 format(s).
1217866451 -> [convertSdpIntoTsdp] Format 0 is 100.
1217866451 -> [convertSdpIntoTsdp] Format 1 is 6.
1217866451 -> [convertSdpIntoTsdp] Format 2 is 0.
1217866451 -> [convertSdpIntoTsdp] Format 3 is 8.
1217866451 -> [convertSdpIntoTsdp] Format 4 is 3.
1217866451 -> [convertSdpIntoTsdp] Format 5 is 18.
1217866451 -> [convertSdpIntoTsdp] Format 6 is 5.
1217866451 -> [convertSdpIntoTsdp] Format 7 is 101.
1217866451 -> [convertSdpIntoTsdp] Get the direction.
1217866451 -> [convertSdpIntoTsdp] Direction is sendrecv.
1217866451 -> [convertSdpIntoTsdp] The connection is at session level.
1217866451 -> [convertSdpIntoTsdp] Connection address retrieved in sdp: 192.168.1.188.
1217866451 -> [convertIPStrIntoTuipv] 192.168.1.188 => 192.168.1.188
1217866451 -> [emitEventToMonitel] content size (lginfo): 652
1217866451 -> [ipc_thread] IPC Thread : Ipc reception.
1217866451 -> [ipc_thread] IPC Thread : TCL thread signaled.
1217866451 -> [CMotorCallManager::insertCallwithEqt] CMotorCall 592 inserted.
1217866451 -> [emitEventToMonitel] Event sent on eqt : 592
1217866451 -> [display_ipc_out] ------------ Begin ---------------
1217866451 -> INVITE
1217866451 -> REQUEST URI : 66058848@192.168.1.182:5060 ; user=name
1217866451 -> FROM : <3003> 3003@192.168.1.182:5060
1217866451 -> TO : <> 66058848@192.168.1.182:5060
1217866451 -> CAC : 0
1217866451 -> CAC ADDRESS :
1217866451 -> CLIR : 0
1217866451 -> SDP :
1217866451 -> ADDRESS : 192.168.1.188 :6182
1217866451 -> ALGOS :
1217866451 -> PCMU
1217866451 -> PCMA
1217866451 -> G729
1217866451 -> 101
1217866451 -> DIRECTION : SEND & RECEIVE
1217866451 -> N_GW_EXT : -1
1217866451 -> [display_ipc_out] ------------- End ----------------
1217866451 -> [exec_ipc] in.
1217866451 -> [display_ipc_in] ------------ Begin ---------------
1217866451 -> neqt : 592
1217866451 -> REDIRECTION
1217866451 -> CONTACT : <66058848> 66058848@218.80.222.130:5632
1217866451 -> xx : 1
1217866451 -> RELATIVE REQUEST : INVITE
1217866451 -> [display_ipc_in] ------------- End ----------------
1217866451 -> [CMotorCallManager::onIncomingEvent] an event 10766 arrived on the eqt 592.
1217866451 -> [CMotorCallManager::onIncomingEvent] state = PROCEEDING_STATE.
1217866451 -> [onIncomingEvent] REDIRECTION arrived.
1217866451 -> [receiveRedirectionEvent] Call: cd2f1243613e2841 eqt: 592 PROCEEDING_STATE received an event.
1217866451 -> 111b [CCall::makeGenericResponse] 301
1217866451 -> 111b [CCall::getDialog] Confirmed Dialog is not found (ID = ;8562eb3a)
1217866451 -> 151a [CDialog::createResponse] 301
1217866451 -> 211b [CTransProceedingState::createResponse] CResponse 21 ref=1
1217866451 -> 21 [CMessage::send] sip_sendMessage (192.168.1.188:9978)
1217866451 -> SEND MESSAGE TO NETWORK (192.168.1.188:9978 [UDP]) (BUFF LEN = 372)
----------------------utf8-----------------------
SIP/2.0 301 Moved Permanently
Contact: sip:66058848@218.80.222.130:5632
User-Agent: ABS GW v5.1.0
To: <sip:66058848@192.168.1.182>;tag=32bcca442d83fa0eaf78ff145745308c
From: 3003 <sip:3003@192.168.1.182>;tag=8562eb3a
Call-ID: cd2f1243613e2841
CSeq: 2 INVITE
Via: SIP/2.0/UDP 192.168.1.188:9978;branch=z9hG4bK-d87543-692671384-1--d87543-;rport
Content-Length: 0
-------------------------------------------------
1217866451 -> 20 [~CResponse] resp(100) cd2f1243613e2841 2 INVITE
1217866451 -> 211b [CTransProceedingState::createResponse] Final : Transaction changes to Completed state
1217866451 -> 211b [CTransaction::changeState] STATE CHANGED TO COMPLETED
1217866451 -> 211b [CTransaction::changeState] notifying the parent dialog
1217866451 -> 151a [CDialog::onTransactionState(pTrans = 211b, previousState = Proceeding, currentState = Completed, reason = Final
resp creation]
1217866451 -> 211b [CTransaction::startTimer] Timer G is started (delay = 500 ms)
1217866451 -> 211b [CTransaction::startTimer] Timer H is started (delay = 32000 ms)
1217866451 -> 151a [CDialog::updateRouteSet] there are 0 record-route headers
1217866451 -> [emitEventToMonitel] content size (lginfo): 652
1217866451 -> [emitEventToMonitel] CAC = 0 eqtCAC = -1
1217866451 -> [emitEventToMonitel] CAC = 0
1217866451 -> [emitEventToMonitel] Event sent on eqt : 592
1217866451 -> [display_ipc_out] ------------ Begin ---------------
1217866451 -> ACK
1217866451 -> [display_ipc_out] ------------- End ----------------
1217866451 -> [receiveRedirectionEvent] Reset of the session.
1217866451 -> [CMotorCall::unRegister] Remove eqt : 592 from the map.
1217866451 -> [CMotorCallManager::eraseCallwithEqt] CMotorCall 592 erased.
1217866451 -> [ipc_thread] IPC Thread : Ipc reception.
1217866451 -> [ipc_thread] IPC Thread : TCL thread signaled.
1217866451 -> [exec_ipc] in.
1217866451 -> [display_ipc_in] ------------ Begin ---------------
1217866451 -> neqt : 592
1217866451 -> SIP EQT RELEASED
1217866451 -> [display_ipc_in] ------------- End ----------------
1217866451 -> [CMotorCallManager::onIncomingEvent] an event 10773 arrived on the eqt 592.
1217866451 -> [CMotorCallManager::onIncomingEvent] NO call with eqt: 592 to release.
1217866451 -> RECEIVE MESSAGE FROM NETWORK (192.168.1.188:64038 [UDP])
----------------------utf8-----------------------
ACK sip:66058848@192.168.1.182 SIP/2.0
To: <sip:66058848@192.168.1.182>;tag=32bcca442d83fa0eaf78ff145745308c
From: 3003<sip:3003@192.168.1.182>;tag=8562eb3a
Via: SIP/2.0/UDP 192.168.1.188:9978;branch=z9hG4bK-d87543-692671384-1--d87543-;rport
Call-ID: cd2f1243613e2841
CSeq: 2 ACK
Content-Length: 0
-------------------------------------------------
1217866451 -> 22 [CRequest::CRequest] Creation of a request (RECEIVED FROM NETWORK)
1217866451 -> [CIOCom::receiveRequest] Received CRequest 22 ref=1
1217866451 -> [CDispatcher::onIncomingRequest()]
1217866451 -> [CDispatcher::processRequestFromManagerIndex()] start at index 0
1217866451 -> 102 [CCallManager::onIncomingRequest()]
1217866451 -> 111b [CCall::receiveRequest] ACK
1217866451 -> 111b [CCall::getDialog] Confirmed Dialog is not found (ID = 32bcca442d83fa0eaf78ff145745308c;8562eb3a)
1217866451 -> 151a [CDialog::receiveRequest]
1217866451 -> 151a [CDialog::receiveAckRequest]
1217866451 -> 211b [CTransCompletedState::receiveRequest] ACK(UDP) : Transaction changes to Confirmed state
1217866451 -> 211b [CTransaction::changeState] STATE CHANGED TO CONFIRMED
1217866451 -> 211b [CTransaction::changeState] notifying the parent dialog
1217866451 -> 151a [CDialog::onTransactionState(pTrans = 211b, previousState = Completed, currentState = Confirmed, reason = Request
reception]
1217866451 -> 151a [CDialog::receiveInviteRequest] a new Server INVITE transaction is in progress
1217866451 -> RECEIVE MESSAGE FROM NETWORK (218.80.222.130:5632 [UDP])
----------------------utf8-----------------------
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.182;branch=z9hG4bK587fa05c72d717c84d17de6391a91fe72f81af4f951eabf07a409baaec4fd21a;received=119.141.253.1
89
Via: SIP/2.0/UDP 192.168.1.188:9978;branch=z9hG4bK-d87543-458828721-1--d87543-;rport
From: 3003 <sip:3003@192.168.1.182>;tag=8562eb3a
To: <sip:66058848@192.168.1.182>
Call-ID: cd2f1243613e2841
CSeq: 3 INVITE
Contact: <sip:3003@192.168.1.188:9978>
Server: SIP/2.0.0
Content-Length: 0
-------------------------------------------------
1217866451 -> [CIOCom::receiveResponse] CResponse 24 ref=1
1217866451 -> [CDispatcher::onIncomingResponse]
1217866451 -> [CDispatcher::processResponseFromManagerIndex] start at index 0
1217866451 -> 102 [CCallManager::onIncomingResponse]
1217866451 -> [CMotorCallManager::callFactory] For call : cd2f1243613e2841.
1217866451 -> 111f [CCall::receiveResponse] 100
1217866451 -> 111f [CCall::receiveResponse]Trying to find the right dialog
1217866451 -> 111f [CCall::getDialog] Confirmed Dialog is not found (ID = 8562eb3a;)
1217866451 -> 111f [CCall::getDialog] Returning Initial Dialog Client
1217866451 -> 111f [CCall::onReceiveOutOfContextResponse] No Dialog
1217866451 -> 111f [CCall::onDialogClosed]
1217866451 -> 111f [CCall::onDialogClosed] only initial *********
1217866451 -> 111f [CCall::onDialogClosed] All the initial dialogs in the Call are closed
1217866451 -> 111f [CCall] closed
1217866451 -> 102 [CCallManager::onCallClosed]
1217866451 -> 102 [CCallManager::onCallClosed()] removing from the maps
1217866451 -> [CMotorCallManager::onNotifyCallClosed] Call : cd2f1243613e2841 is closed.
1217866451 -> [CMotorCallManager::onNotifyCallClosed] Remove eqt from the map.
1217866451 -> 103 [CCallManager::onIncomingResponse]
1217866451 -> [CTransaction::notifyDialog]
1217866451 -> [CTransaction::notifyDialog] notify parent dialog
1217866451 -> 151e [CDialog::onTransactionState(pTrans = 211e, previousState = null, currentState = Terminated, reason = Timer D fir
es]
1217866451 -> 151e [CDialog::onTransactionState] dialog is terminated
1217866451 -> 151e [CDialog::onTransactionState] onDialogClosed
1217866451 -> 111e [CCall::onDialogClosed]
1217866451 -> 111e [CCall::onDialogClosed] only initial *********
1217866451 -> 25 [~CRequest] req cd2f1243613e2841 3 ACK
1217866451 -> 25 [~CResponse] resp(404) cd2f1243613e2841 3 INVITE
1217866452 -> 1121 [CCall::removeGarbage]
1217866452 -> 151f [CDialog::~CDialog]
1217866452 -> [CMotorCall::~CMotorCall] Call : cd2f1243613e2841 is being destructed.
1217866452 -> 1121 [CCall::~CCall]
1217866452 -> 1121 [CCall::removeGarbage]
1217866452 -> 1120 [CCall::removeGarbage]
1217866452 -> [CMotorCall::~CMotorCall] Call : cd2f1243613e2841 is being destructed.
1217866452 -> 1120 [CCall::~CCall]
1217866452 -> 1120 [CCall::removeGarbage]
1217866452 -> 111f [CCall::removeGarbage]
1217866452 -> [CMotorCall::~CMotorCall] Call : cd2f1243613e2841 is being destructed.
1217866452 -> 111f [CCall::~CCall]
1217866452 -> 111f [CCall::removeGarbage]
1217866452 -> 111b [CCall::removeGarbage]
1217866452 -> 151a [CDialog::~CDialog]
1217866452 -> [---*--- SESSION-TIMER ---*---] Free CSessionTimerContext
1217866452 -> [CMotorCall::~CMotorCall] Call : cd2f1243613e2841 is being destructed.
1217866452 -> 111b [CCall::~CCall]
1217866452 -> 111b [CCall::removeGarbage]
1217866452 -> 21 [~CResponse] resp(301) cd2f1243613e2841 2 INVITE
1217866452 -> 21 [~CRequest] req cd2f1243613e2841 2 INVITE
1217866452 -> 111d [CCall::removeGarbage]
1217866452 -> 151c [CDialog::~CDialog]
1217866452 -> 111d [CCall::~CCall]
1217866452 -> 111d [CCall::removeGarbage]
1217866452 -> 111c [CCall::removeGarbage]
1217866452 -> 151b [CDialog::~CDialog]
1217866452 -> 111c [CCall::~CCall]
1217866452 -> 111c [CCall::removeGarbage]
1217866455 -> 211d [CTransConfirmedState::timerFires] Timer I fires
1217866455 -> 211d [CTransConfirmedState::timerFires] TimerI : Transaction changes to Terminated state
1217866455 -> 211d [CTransaction::changeState] STATE CHANGED TO TERMINATED
1217866455 -> 211d [CTransaction::changeState] no transaction state
1217866455 -> [CTransaction::notifyDialog]
1217866455 -> [CTransaction::notifyDialog] notify parent dialog
1217866455 -> 151d [CDialog::onTransactionState(pTrans = 211d, previousState = null, currentState = Terminated, reason = Timer I fir
es]
1217866455 -> 151d [CDialog::onTransactionState] dialog is terminated
1217866455 -> 151d [CDialog::onTransactionState] onDialogClosed
1217866455 -> 111e [CCall::onDialogClosed]
1217866455 -> 111e [CCall::onDialogClosed] only initial *********
1217866455 -> 111e [CCall::onDialogClosed] All the initial dialogs in the Call are closed
1217866455 -> 111e [CCall] closed
1217866455 -> 103 [CCallManager::onCallClosed]
1217866455 -> 103 [CCallManager::onCallClosed()] removing from the maps
1217866455 -> 26 [~CRequest] req cd2f1243613e2841 3 ACK
(1)oxe> sipdict -l
Tue Aug 5 00:16:06 CST 2008
SIP DICTIONNARY, dim = 128, nb records = 3
+----------+----+------------------------------------------------+------+------+
| mcdu | i | url -rem| idx1 | idx2 |
+----------+----+------------------------------------------------+------+------+
| 68008 | 0 | 68008@ node000000 -0| 1 | 1 |
| 3003 | 0 | 3003@ node000000 -0| 2 | 2 |
| 3008 | 0 | 3008@ node000000 -0| 0 | 0 |
+----------+----+------------------------------------------------+------+------+
(1)oxe>
somebody can help me . thanks!