HI,
I have configured the SIP public trunk for DID/DOD purpose, DID work normal,when I dial out "forbidden" could be reason..?
SIP trunk - Outgoing not working
Re: SIP trunk - Outgoing not working
You have "forbiden" from provider (something present in trace) or from OXE (check public network COS/discriminator rules)?
-
mujib.alu
Re: SIP trunk - Outgoing not working
Hi VAd,
Same PNA used for BCA trunks.which is working, also Descriminator checked.....
I have check with proivder, no probs with them...
is there anything missing..?
Same PNA used for BCA trunks.which is working, also Descriminator checked.....
I have check with proivder, no probs with them...
is there anything missing..?
Re: SIP trunk - Outgoing not working
Public Network COS - may be the same - but COS/Access COS/ TG access COS - you have different item for NDDI and SIP TG.
Next one - for NDDI you can use discriminator rules with number of digits=255. For SIP - I think you need to use number of digits declared exactly and block mode dialing.
When you dial number - you have "forbidden" - after prefix, after some dialed digits or after whole number?
Next one - for NDDI you can use discriminator rules with number of digits=255. For SIP - I think you need to use number of digits declared exactly and block mode dialing.
When you dial number - you have "forbidden" - after prefix, after some dialed digits or after whole number?
-
mujib.alu
Re: SIP trunk - Outgoing not working
Hi vad,
same PN COS but different area....After whole number + waiting timer then forbidden ..
Here traces..
v=0
o=OXE 1319451174 1319451174 IN IP4 172.29.4.3
s=abs
c=IN IP4 172.29.4.6
t=0 0
m=audio 32552 RTP/AVP 8 97
a=sendrecv
a=rtpmap:8 PCMA/8000
a=ptime:20
a=maxptime:30
a=rtpmap:97 telephone-event/8000
-------------------------------------------------
1319451179 -> 21eb [CTransInitialState::createRequest] Transaction changes to Calling state
1319451179 -> 21eb [CTransaction::changeState] STATE CHANGED TO CALLING
1319451179 -> 21eb [CTransaction::changeState] notifying the parent dialog
1319451179 -> 15ea [CDialog::onTransactionState(pTrans = 21eb, previousState = Initial, currentState = Calling, reason = Request creation]
1319451179 -> 21eb [CTransaction::startTimer] Timer A is started (delay = 500 ms)
1319451179 -> 21eb [CTransaction::startTimer] Timer B is started (delay = 8000 ms)
1319451179 -> 15ea [CDialog::getTransactionByCSeq] CSeq = 477650703
1319451183 -> 15ea [CDialog::addTransaction] added transaction 21eb with branch z9hG4bK3b29436a6e347e1a30b79c6a6145c065, with CSeq 477650703
1319451183 -> [CSessionTimerContext::CSessionTimerContext] New CSessionTimerContext from request (Client, UA)
1319451183 -> [CSessionTimerContext::updateAfterRefreshCreation] Update CSessionTimerContext (refresh creation)
1319451183 -> [CSessionTimerContext::updateSupported] Request timer supported
1319451183 -> [CSessionTimerContext::updateMinSE] Min-SE updated : 900
1319451183 -> [CSessionTimerContext::updateSessionExpires] header value : 1800
1319451183 -> [CSessionTimerContext::updateSessionExpires] updated
1319451183 -> [CSessionTimerContext::updateSessionExpires] Refresher updated : i
1319451183 -> [CSessionTimerContext::updateSessionExpires] Session-Expires updated : 1800
1319451183 -> 11e9[CMotorCall::makeInitialMotorRequest] nb contact=1.
1319451183 -> [CForkedBranch::CForkedBranch] context = 0x8438210.
1319451183 -> 11e9[CMotorCall::branchAllocation] built branch number=1.
1319451183 -> 11e9[CMotorCall::branchAllocation] pForkedBranch = 0x8470aa8.
1319451183 -> 11e9[CMotorCall::makeInitialMotorRequest] reqUri duplication pForkedBranch = 0x8470aa8.
1319451183 -> 11e9[CMotorCall::makeInitialMotorRequest] reqUri duplication2.
1319451183 -> 11e9[CMotorCall::getOutgoingCall] outgoingCall:1
1319451183 -> 11e9 [CCall::getCallDuplicationData]
1319451183 -> [CViaSetSerializer::copy] Added via 7c0d at index 0
1319451183 -> 11e9 [CCall::getCallDuplicationData] : Request URI = sip:0501801842@10.205.20.50;user=phone, Call ID = f35c4bcf9585ed598e8d8e9589b5ffb3@172.29.4.3, Local URI = sip:8669900@172.29.4.3;user=phone, Local Tag = b9be834a9761130323ea416b956b8f5f, Remote URI = sip:0501801842@10.205.20.50;user=phone, Remote Tag = , Local CSeq = 477650703, Remote CSeq = 0
1319451183 -> [CViaSetSerializer::serialize] Serialized via set : ViaSerialize=Via: SIP/2.0/UDP 172.29.4.3;branch=z9hG4bK3b29436a6e347e1a30b79c6a6145c065
1319451183 -> SendToSipgwCpuSec: Message sent to the STAND-BY CPU
1319451183 -> [onIncomingEvent] CallID must be inserted.
1319451183 -> [onIncomingEvent] CallID inserted.
1319451183 -> [exec_ipc] in end 2902.
1319451183 -> RECEIVE MESSAGE FROM NETWORK (10.205.20.50:5060 [UDP])
----------------------utf8-----------------------
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 172.29.4.3;branch=z9hG4bK3b29436a6e347e1a30b79c6a6145c065;rport=5060
Call-ID: f35c4bcf9585ed598e8d8e9589b5ffb3@172.29.4.3
From: "Servers R/M 027"<sip:8669999@172.29.4.3;user=phone>;tag=b9be834a9761130323ea416b956b8f5f
To: <sip:0501801842@10.205.20.50;user=phone>
CSeq: 477650703 INVITE
Content-Length: 0
-------------------------------------------------
1319451183 -> [CIOCom::receiveResponse] CResponse 205 ref=1
1319451183 -> [CDispatcher::onIncomingResponse]
1319451183 -> [CDispatcher::processResponseFromManagerIndex] start at index 0
1319451183 -> 102 [CCallManager::onIncomingResponse]
1319451183 -> 11e9 [CCall::receiveResponse] 100
1319451183 -> 11e9 [CCall::receiveResponse]Trying to find the right dialog
1319451183 -> 11e9 [CCall::getDialog] Confirmed Dialog is not found (ID = b9be834a9761130323ea416b956b8f5f;)
1319451183 -> 11e9 [CCall::getDialog] Returning Initial Dialog Client
1319451183 -> 11e9 [CCall::receiveResponse]One dialog found
1319451183 -> 15ea [CDialog::receiveResponse]
1319451183 -> 21eb [CTransCallingState::receiveResponse] Provisional : Transaction changes to Proceeding state
1319451183 -> 21eb [CTransaction::changeState] STATE CHANGED TO PROCEEDING
1319451183 -> 21eb [CTransaction::changeState] notifying the parent dialog
1319451183 -> 15ea [CDialog::onTransactionState(pTrans = 21eb, previousState = Calling, currentState = Proceeding, reason = 1xx response reception]
1319451183 -> 21eb [CTransaction::freeTimerToken] Timer A is freed
1319451187 -> 21eb [CTransaction::freeTimerToken] Timer B is freed
1319451187 -> 11e9[CMotorCall::searchForkedBranch]pForkedBranch=0x8470aa8.
1319451187 -> [receiveInformationalMessage] Call: f35c4bcf9585ed598e8d8e9589b5ffb3@172.29.4.3 eqt: 1184 PROCEEDING_STATE received a message.
1319451187 -> RECEIVE MESSAGE FROM NETWORK (10.205.20.50:5060 [UDP])
----------------------utf8-----------------------
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 172.29.4.3;branch=z9hG4bK3b29436a6e347e1a30b79c6a6145c065;rport=5060
Call-ID: f35c4bcf9585ed598e8d8e9589b5ffb3@172.29.4.3
From: "Servers R/M 027"<sip:8669999@172.29.4.3;user=phone>;tag=b9be834a9761130323ea416b956b8f5f
To: <sip:0501334343@10.205.20.50;user=phone>;tag=25cf56ed
CSeq: 477650703 INVITE
Reason: Q.850;cause=21;text="call rejected"
Content-Length: 0
same PN COS but different area....After whole number + waiting timer then forbidden ..
Here traces..
v=0
o=OXE 1319451174 1319451174 IN IP4 172.29.4.3
s=abs
c=IN IP4 172.29.4.6
t=0 0
m=audio 32552 RTP/AVP 8 97
a=sendrecv
a=rtpmap:8 PCMA/8000
a=ptime:20
a=maxptime:30
a=rtpmap:97 telephone-event/8000
-------------------------------------------------
1319451179 -> 21eb [CTransInitialState::createRequest] Transaction changes to Calling state
1319451179 -> 21eb [CTransaction::changeState] STATE CHANGED TO CALLING
1319451179 -> 21eb [CTransaction::changeState] notifying the parent dialog
1319451179 -> 15ea [CDialog::onTransactionState(pTrans = 21eb, previousState = Initial, currentState = Calling, reason = Request creation]
1319451179 -> 21eb [CTransaction::startTimer] Timer A is started (delay = 500 ms)
1319451179 -> 21eb [CTransaction::startTimer] Timer B is started (delay = 8000 ms)
1319451179 -> 15ea [CDialog::getTransactionByCSeq] CSeq = 477650703
1319451183 -> 15ea [CDialog::addTransaction] added transaction 21eb with branch z9hG4bK3b29436a6e347e1a30b79c6a6145c065, with CSeq 477650703
1319451183 -> [CSessionTimerContext::CSessionTimerContext] New CSessionTimerContext from request (Client, UA)
1319451183 -> [CSessionTimerContext::updateAfterRefreshCreation] Update CSessionTimerContext (refresh creation)
1319451183 -> [CSessionTimerContext::updateSupported] Request timer supported
1319451183 -> [CSessionTimerContext::updateMinSE] Min-SE updated : 900
1319451183 -> [CSessionTimerContext::updateSessionExpires] header value : 1800
1319451183 -> [CSessionTimerContext::updateSessionExpires] updated
1319451183 -> [CSessionTimerContext::updateSessionExpires] Refresher updated : i
1319451183 -> [CSessionTimerContext::updateSessionExpires] Session-Expires updated : 1800
1319451183 -> 11e9[CMotorCall::makeInitialMotorRequest] nb contact=1.
1319451183 -> [CForkedBranch::CForkedBranch] context = 0x8438210.
1319451183 -> 11e9[CMotorCall::branchAllocation] built branch number=1.
1319451183 -> 11e9[CMotorCall::branchAllocation] pForkedBranch = 0x8470aa8.
1319451183 -> 11e9[CMotorCall::makeInitialMotorRequest] reqUri duplication pForkedBranch = 0x8470aa8.
1319451183 -> 11e9[CMotorCall::makeInitialMotorRequest] reqUri duplication2.
1319451183 -> 11e9[CMotorCall::getOutgoingCall] outgoingCall:1
1319451183 -> 11e9 [CCall::getCallDuplicationData]
1319451183 -> [CViaSetSerializer::copy] Added via 7c0d at index 0
1319451183 -> 11e9 [CCall::getCallDuplicationData] : Request URI = sip:0501801842@10.205.20.50;user=phone, Call ID = f35c4bcf9585ed598e8d8e9589b5ffb3@172.29.4.3, Local URI = sip:8669900@172.29.4.3;user=phone, Local Tag = b9be834a9761130323ea416b956b8f5f, Remote URI = sip:0501801842@10.205.20.50;user=phone, Remote Tag = , Local CSeq = 477650703, Remote CSeq = 0
1319451183 -> [CViaSetSerializer::serialize] Serialized via set : ViaSerialize=Via: SIP/2.0/UDP 172.29.4.3;branch=z9hG4bK3b29436a6e347e1a30b79c6a6145c065
1319451183 -> SendToSipgwCpuSec: Message sent to the STAND-BY CPU
1319451183 -> [onIncomingEvent] CallID must be inserted.
1319451183 -> [onIncomingEvent] CallID inserted.
1319451183 -> [exec_ipc] in end 2902.
1319451183 -> RECEIVE MESSAGE FROM NETWORK (10.205.20.50:5060 [UDP])
----------------------utf8-----------------------
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 172.29.4.3;branch=z9hG4bK3b29436a6e347e1a30b79c6a6145c065;rport=5060
Call-ID: f35c4bcf9585ed598e8d8e9589b5ffb3@172.29.4.3
From: "Servers R/M 027"<sip:8669999@172.29.4.3;user=phone>;tag=b9be834a9761130323ea416b956b8f5f
To: <sip:0501801842@10.205.20.50;user=phone>
CSeq: 477650703 INVITE
Content-Length: 0
-------------------------------------------------
1319451183 -> [CIOCom::receiveResponse] CResponse 205 ref=1
1319451183 -> [CDispatcher::onIncomingResponse]
1319451183 -> [CDispatcher::processResponseFromManagerIndex] start at index 0
1319451183 -> 102 [CCallManager::onIncomingResponse]
1319451183 -> 11e9 [CCall::receiveResponse] 100
1319451183 -> 11e9 [CCall::receiveResponse]Trying to find the right dialog
1319451183 -> 11e9 [CCall::getDialog] Confirmed Dialog is not found (ID = b9be834a9761130323ea416b956b8f5f;)
1319451183 -> 11e9 [CCall::getDialog] Returning Initial Dialog Client
1319451183 -> 11e9 [CCall::receiveResponse]One dialog found
1319451183 -> 15ea [CDialog::receiveResponse]
1319451183 -> 21eb [CTransCallingState::receiveResponse] Provisional : Transaction changes to Proceeding state
1319451183 -> 21eb [CTransaction::changeState] STATE CHANGED TO PROCEEDING
1319451183 -> 21eb [CTransaction::changeState] notifying the parent dialog
1319451183 -> 15ea [CDialog::onTransactionState(pTrans = 21eb, previousState = Calling, currentState = Proceeding, reason = 1xx response reception]
1319451183 -> 21eb [CTransaction::freeTimerToken] Timer A is freed
1319451187 -> 21eb [CTransaction::freeTimerToken] Timer B is freed
1319451187 -> 11e9[CMotorCall::searchForkedBranch]pForkedBranch=0x8470aa8.
1319451187 -> [receiveInformationalMessage] Call: f35c4bcf9585ed598e8d8e9589b5ffb3@172.29.4.3 eqt: 1184 PROCEEDING_STATE received a message.
1319451187 -> RECEIVE MESSAGE FROM NETWORK (10.205.20.50:5060 [UDP])
----------------------utf8-----------------------
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 172.29.4.3;branch=z9hG4bK3b29436a6e347e1a30b79c6a6145c065;rport=5060
Call-ID: f35c4bcf9585ed598e8d8e9589b5ffb3@172.29.4.3
From: "Servers R/M 027"<sip:8669999@172.29.4.3;user=phone>;tag=b9be834a9761130323ea416b956b8f5f
To: <sip:0501334343@10.205.20.50;user=phone>;tag=25cf56ed
CSeq: 477650703 INVITE
Reason: Q.850;cause=21;text="call rejected"
Content-Length: 0
Re: SIP trunk - Outgoing not working
SIP/2.0 403 Forbidden - user not registered. Some problem with authentication. (f.e. wrong CLI)
Re: SIP trunk - Outgoing not working
You send your Calling number like 8669999. This right or not? Ask provider.
Usually for SIP - used outgoing name/password for authentication on SIP GW and after - you send your number (in the right format - for accounting and for displaying).
Usually for SIP - used outgoing name/password for authentication on SIP GW and after - you send your number (in the right format - for accounting and for displaying).
-
mujib.alu
Re: SIP trunk - Outgoing not working
Thanks Vad,
Problem solved by Calling number identification with the provider codes( Area code)
Problem solved by Calling number identification with the provider codes( Area code)

