Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SIP Trunk Routing

rsv23

Systems Engineer
Feb 13, 2019
247
PH
Hello!

Anyone here tried to setup SIP line using Telkom? I am confused as they are saying it is a cloud based. Lan cable from network switch is connected to the LAN1 and no cable is connected to Lan2(wan). There's no issue on incomings however we cannot make outgoing call with waiting for line error.

Please see below logs.
9284014mS SIP Tx: TCP 192.168.5.4:5060 -> 192.168.0.130:50410
SIP/2.0 100 Trying
Via: SIP/2.0/TCP 192.168.0.130:50410;branch=z9hG4bK22_af7f10305422a688b7986_I2080
From: <sip:2080@192.168.220.4>;tag=-36dc479f67dbf95f688b79f0_F2080192.168.0.130
Call-ID: 22_af7f10a16e997688b7870_I@192.168.0.130
CSeq: 34 INVITE
Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,INFO,REFER,NOTIFY,SUBSCRIBE,REGISTER,PUBLISH,UPDATE
Supported: 100rel
Server: IP Office 11.0.0.0.0 build 849
To: <sip:0027614839149@192.168.5.4>
Content-Length: 0

Is there a mis configuration from IP office side?
 
Yes, There is some misconfiguration on the IP Office side.

But there's not nearly enough info here to help.


You show a tx SIP packet which is a TRYING, but what was the response back from the provider?

How has the SIP line been configured?

How is your ARS configured?
 
Thanks for the reply.

ARS table:
Code: 0N;
Feature: Dial
Telephone: 0N"@(sbc fqdn/sbc hostname)"
Line Group: 100

Please see below trace:

SIP/2.0 100 Trying
Via: SIP/2.0/TCP 192.168.5.130:50410;branch=z9hG4bK22_af7f10305422a688b7986_I2080
From: <sip:2080@192.168.5.4>;tag=-36dc479f67dbf95f688b79f0_F2080192.168.0.130
Call-ID: 22_af7f10a16e997688b7870_I@192.168.5.130
CSeq: 34 INVITE
Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,INFO,REFER,NOTIFY,SUBSCRIBE,REGISTER,PUBLISH,UPDATE
Supported: 100rel
Server: IP Office 11.0.0.0.0 build 849
To: <sip:0027612174040@192.168.5.4>
Content-Length: 0

12:51:01 9284017mS CMExtnRx: v=2080, p1=0
CMSetup
Line: type=SIPLine 260 Call: lid=10001 id=1273 in=0
Called[0027612174040] Type=Default (100) Reason=CMDRdirect SndComp Calling[2080] Type=Internal Plan=Default
BC: CMTC=Speech CMTM=CallIndSigCon CMTR=64 CMST=Default CMU1=ALaw
IE CMIEFastStartInfoData (6) 4 item(s)
IE CMIERespondingPartyName (228)(Type=CMNameDefault) name=Fred Kiige
IE CMIERespondingPartyNumber (230)(P:100 S:100 T:101 N:100 R:4) number=2080
12:51:01 9284018mS CMCallEvt: c0a8dc04000004f9 10001.1273.0 40 Fred Kiige.0: StateChange: END=A CMCSIdle->CMCSDialInitiated
12:51:01 9284018mS CMExtnEvt: v=0 State, new=Dialling old=Idle,0,0,Fred Kiige
12:51:01 9284018mS CMTARGET: c0a8dc04000004f9 10001.1273.0 40 Fred Kiige.0: LOOKUP CALL ROUTE: GID=0 type=100 called_party=0027614839149 sub= calling=2080 calling_sub= dir=out complete=1 ses=0
12:51:01 9284018mS CMTARGET: c0a8dc04000004f9 10001.1273.0 40 Fred Kiige.0: ADD TARGET (N): number=0027612174040 type=100 depth=1 nobar=1 setorig=1 ses=0
12:51:01 9284019mS CMTARGET: c0a8dc04000004f9 10001.1273.0 40 Fred Kiige.0: USER SC: 0027612174040 3 27612174040 sc=type=Dial code=00N, num=.
12:51:01 9284020mS CMARS: FindActiveARSByGroupID GroupID=54 - Found
12:51:01 9284020mS CMARS: MakeCallTarget - Called Number: 0027612174040
12:51:01 9284020mS CMCallEvt: 0000000000000000 0.1275.0 -1 BaseEP: NEW CMEndpoint f15c8950 TOTAL NOW=3 CALL_LIST=1
12:51:01 9284021mS CMTARGET: c0a8dc04000004f9 10001.1273.0 40 Fred Kiige.0: INITIAL TARGETING SUCCEEDED
12:51:01 9284021mS CMTARGET: c0a8dc04000004f9 10001.1273.0 40 Fred Kiige.0: GetNoAnswerTimer:30
12:51:01 9284022mS CMCallEvt: c0a8dc04000004f9 10001.1273.0 40 Fred Kiige.0: StateChange: END=A CMCSDialInitiated->CMCSDialled
12:51:01 9284022mS CMExtnEvt: v=0 State, new=Proceeding old=Dialling,0,0,Fred Kiige
12:51:01 9284023mS CMExtnTx: v=2080, p1=0
CMProceeding
Line: type=SIPLine 260 Call: lid=10001 id=1273 in=0
Timed: 20/03/25 12:51
12:51:01 9284024mS CMCallEvt: 0000000000000000 0.1274.0 40 TargetingEP: StateChange: END=B CMCSIdle->CMCSOffering
12:51:01 9284025mS CMCallEvt: 0000000000000000 0.1275.0 40 ARS for TelkomSIP: StateChange: END=T CMCSIdle->CMCSOffering
12:51:01 9284025mS CMCallEvt: 0000000000000000 0.1274.0 40 TargetingEP: RequestEnd 0000000000000000 0.1275.0 40 ARS for TelkomSIP
12:51:01 9284025mS CMTARGET: c0a8dc04000004f9 10001.1273.0 40 Fred Kiige.0: CancelTimer CMTCNoAnswerTimeout
12:51:01 9284026mS CMCallEvt: 0000000000000000 0.1275.0 40 ARS for TelkomSIP: StateChange: END=B CMCSOffering->CMCSOverlapRecv
12:51:01 9284027mS CMARS: FORM: TelkomSIP - Received Number: 0027612174040
12:51:01 9284027mS CMARS: FOUND A SHORT CODE - short_code: 0N; - Tel: 0N"@27113004760.uasitrip.stdsiptrunk.telkom" - Called_Party: 0027612174040@27115004230.sip.stdsiptrunk.telkom - Line Group Id: 100
12:51:01 9284027mS CMARS: SetCurrentTarget: Short_Code: 0N; - Line_Group_ID: 100
12:51:01 9284027mS CMARS: FindActiveARSByGroupID GroupID=100 - Not Found
12:51:01 9284027mS CMLRQ: FindActiveLRQByGroupID GroupID=100 - Not Found
12:51:01 9284027mS CMTARGET: Problem with Line Id: 17 - check_DNS 1 OperationalTest: 0, IP address: 172.37.61.142
12:51:01 9284028mS CMARS: LINE with group ID: 100 HAS NO CHANNEL: 34 - ATTEMPT OTHER TARGETS
12:51:01 9284028mS CMARS: ModifyCMARSTarget: Short_Code: 0N; - Line_Group_ID: 100 set line status to CMARS_OUTOFSERVICE
12:51:01 9284028mS CMTARGET: Problem with Line Id: 17 - check_DNS 1 OperationalTest: 0, IP address: 172.37.61.142
12:51:01 9284029mS CMARS: No Alternate ARS Or User Priority lower than ARS Priority - Remain on the Current Form: TelkomSIP
12:51:01 9284029mS CMARS: CMARSTargetingBusy
12:51:01 9284029mS CMCallEvt: c0a8dc04000004f9 0.1275.0 40 ARS for TelkomSIP: StateChange: END=B CMCSOverlapRecv->CMCSAccept
12:51:01 9284030mS CMCallEvt: c0a8dc04000004f9 10001.1273.0 40 Fred Kiige.0: StateChange: END=A CMCSDialled->CMCSRingBack
12:51:01 9284032mS CMExtnTx: v=2080, p1=0
CMFacility
Line: type=SIPLine 260 Call: lid=10001 id=1273 in=0
IE CMIEFastStartInfoData (6) 2 item(s)
IE CMIESecurityData (253) 2 item(s)
CMSecurityElement RX_ONLY {
CMSRTPCryptoCapability none
Codecs list (size 2)
}
CMSecurityElement TX_ONLY {
CMSRTPCryptoCapability none
Codecs list (size 2)
}
Timed: 20/03/25 12:51
12:51:01 9284032mS CMExtnEvt: v=0 State, new=Alerting old=Proceeding,0,0,Fred Kiige
12:51:01 9284034mS CMExtnTx: v=2080, p1=0
CMProgress
Line: type=SIPLine 260 Call: lid=10001 id=1273 in=0
IE CMIEFastStartInfoData (6) 2 item(s)
IE CMIEProgressIndicator (30) cs=CMCSITUT (0), loc=CMLUser (0), pd=CMPDInbandPattern (8)
IE CMIESecurityData (253) 2 item(s)
CMSecurityElement RX_ONLY {
CMSRTPCryptoCapability none
Codecs list (size 2)
}
CMSecurityElement TX_ONLY {
CMSRTPCryptoCapability none
Codecs list (size 2)
}
Display [WAITING_FOR_LINE]
Timed: 20/03/25 12:51

12:51:01 9284036mS SIP Tx: TCP 192.168.5.4:5060 -> 192.168.5.130:50410
SIP/2.0 183 Session Progress
Via: SIP/2.0/TCP 192.168.5.130:50410;branch=z9hG4bK22_af7f10305422a688b7986_I2080
From: <sip:2080@192.168.5.4>;tag=-36dc479f67dbf95f688b79f0_F2080192.168.5.130
Call-ID: 22_af7f10a16e997688b7870_I@192.168.5.130
CSeq: 34 INVITE
Contact: <sip:0027612174040@192.168.5.4:5060;transport=tcp>
Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,INFO,REFER,NOTIFY,SUBSCRIBE,REGISTER,PUBLISH,UPDATE
Supported: 100rel
Server: IP Office 11.0.0.0.0 build 849
To: <sip:0027612174040@192.168.5.4>;tag=7374e9311b03f44d
RSeq: 1869747604
Require: 100rel
Content-Type: application/sdp
Content-Length: 205

v=0
o=UserA 3359577596 435626152 IN IP4 192.168.5.4
s=Session SDP
c=IN IP4 192.168.5.4
t=0 0
m=audio 49152 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
 
12:51:01 9284037mS CMCallEvt: 0000000000000000 0.1274.0 -1 TargetingEP: StateChange: END=X CMCSOffering->CMCSDelete
12:51:01 9284037mS CMCallEvt: 0000000000000000 0.1274.0 -1 BaseEP: DELETE CMEndpoint f162dcf4 TOTAL NOW=2 CALL_LIST=1
12:51:01 9284039mS H323Evt: SESS 2b SetOperational local 192.168.5.4:0 remote 0.0.0.0:0 to 0
12:51:01 9284039mS H323Evt: SESS 2b Configure: Alaw64K packet size 160
12:51:01 9284039mS H323Evt: SESS 2b SetRemUDP 0 -> 5016, remote IP 0.0.0.0 -> 192.168.5.130
12:51:01 9284040mS H323Evt: SESS 2b SetRfc2833: (1) rx payload 101 tx payload 101
12:51:01 9284041mS CMMap: a=21.11 b=0.0 DTMF::AllocateRAS allocated CMRTVoicemail(f5645ccc) resource busy 2, total 45
12:51:01 9284041mS CMMap: a=21.11 b=1.65535 T
12:51:01 9284041mS CMMap: PCG::AddToneGenerator g T[76] for cp[202]b0r1 append pcp[203]b0r1 (total 1)
12:51:01 9284041mS CMMap: a=0.1 b=0.0 IP::ReserveCodec pcp[203]b0r1 allocated CMRTVocoder(f560bb40) resource busy 1, total 32, codec type 4
12:51:01 9284041mS CMMap: a=21.11 b=0.1 M22
12:51:01 9284041mS CMMap: PlatformConnectionAudioSAP::Bind pcp[203]b0r1 to 0.1
12:51:01 9284042mS CMMap: PlatformConnectionAudioSAP::ConnectVoice pcp[203]b0r1 Configure 0.1
12:51:01 9284042mS CMMap: PlatformConnectionAudioSAP::ConnectVoice pcp[203]b0r1 ConnectIndication 0.1
12:51:01 9284042mS CMMap: PCG::MapBChan pcp[202]b0r1 cp_b 0 other_cp_b 0 type CGTypeDTMF
12:51:01 9284042mS H323Evt: SESS 2b SetOperational local 192.168.5.4:49152 remote 192.168.5.130:5016 to 1
12:51:01 9284042mS CMMap: DTMF::playTones g T[76] Tones ',EEEEE'
12:51:01 9284042mS CMMap: Started playing tones, cp[202]b0r1 (from g null)
12:51:01 9284042mS CMMap: cp[202]b0r1 SetOperGroup2 from g null to g null not executed, playing tones in progress ,EEEEE
12:51:01 9284320mS SIP Rx: TCP 192.168.5.130:50410 -> 192.168.5.4:5060
PRACK sip:0027612174040@192.168.5.4:5060;transport=tcp SIP/2.0
From: sip:2080@192.168.5.4;tag=-36dc479f67dbf95f688b79f0_F2080192.168.5.130
To: <sip:0027612174040@192.168.5.4>;tag=7374e9311b03f44d
Call-ID: 22_af7f10a16e997688b7870_I@192.168.5.130
CSeq: 35 PRACK
Via: SIP/2.0/TCP 192.168.5.130:50410;branch=z9hG4bK22_af7f10305422a688b7986_I2080
Content-Length: 0
Max-Forwards: 70
RAck: 1869747604 34 INVITE
User-Agent: Avaya Flare Engine/2.0.0 (Engine GA-2.0.0.32; Windows NT 6.2, 64-bit)
Supported: eventlist, 100rel, replaces, vnd.avaya.ipo

12:51:01 9284324mS SIP Tx: TCP 192.168.5.4:5060 -> 192.168.5.130:50410
SIP/2.0 200 OK
Via: SIP/2.0/TCP 192.168.5.130:50410;branch=z9hG4bK22_af7f10305422a688b7986_I2080
From: <sip:2080@192.168.5.4>;tag=-36dc479f67dbf95f688b79f0_F2080192.168.5.130
Call-ID: 22_af7f10a16e997688b7870_I@192.168.5.130
CSeq: 35 PRACK
Supported: 100rel
Server: IP Office 11.0.0.0.0 build 849
To: <sip:0027614839149@192.168.5.4>;tag=7374e9311b03f44d
Content-Length: 0

12:51:01 9285147mS H323Evt: SESS 2b: RTP(50t): 192.168.5.4/49152 192.168.5.130/5016 CODEC=Alaw64K(4) PKTSZ=160 RFC2833=on AGE=1108 SENT=50 (avg size=160) RECV=0 (avg size=0)
12:51:01 9285863mS CMMap: PCG::UnmapBChan pcp[202]b0r1 cp_b 0 other_cp_b 0
12:51:01 9285863mS H323Evt: SESS 2b SetOperational local 192.168.5.4:49152 remote 192.168.5.130:5016 to 0
12:51:01 9285863mS CMMap: PCG::UnmapBChan pcp[203]b0r1 cp_b f56533c0 other_cp_b f5645bb0
12:51:01 9285863mS CMMap: a=21.11 b=0.1 M02
12:51:01 9285864mS CMMap: a=21.11 b=0.0 T0
12:51:01 9285864mS CMMap: a=21.11 b=0.0 DTMF::~DTMF freed CMRTUnknown(f5645ccc) resource busy 1, total 45
12:51:01 9285865mS CMMap: a=0.1 b=0.0 IP::FreeCodec pcp[203]b0r1 freed CMRTVocoder(f560bb40) resource busy 1, total 32
12:51:02 9286358mS RES: Thu 20/3/2025 12:51:03 FreeMem=57415964 Heap=56996936(1) Cache=419028 MemObjs=14482(Max 15074) CMMsg=6(6) ASN=0 Buff=5200 1372 1000 7456 5 Links=61573(61668) BTree=2407(6967) CB=6068 MCT=0 CPU=05.24% CPUStats=10.02%/1/3/4490/27
875/36221/00.43%/0/02.23% MCR=0 MCW=0 DEV=0
12:51:02 9286358mS RES2: (SE-E) IP 500 V2 11.0.0.0.0 build 849 Tasks=53 RTEngine=0 CMRTEngine=0 ExRTEngine=0 Timer=10+70 Poll=0 Ready=0 CMReady=0 CMQueue=0 VPNNQueue=0 Monitor=1 SSA=2 TCP=33(TLS=9 OFF=0) TAPI=0 Partner=0 ASC=1 SYS=MNTD OPT=UMNT SDSPD=
2034
12:51:02 9286358mS RES4: XML MemObjs=8 PoolMem=4748404(2) FreeMem=4736284(0) HeapUsed=0
12:51:02 9286358mS RES5: CLog MemObjs=1051 FreePoolMem(Objs)=2548(49) TotalMem=57200 StringsTotalMem=166950
12:51:03 9287027mS SIP Rx: UDP 192.168.5.10:5060 -> 192.168.5.4:5060

12:51:07 9290020mS CMARS: Retarget existing BUSY targets - Num of Busy Targets: 1 - Current Form: TelkomSIP
12:51:07 9290021mS CMMap: a=21.11 b=0.0 DTMF::AllocateRAS allocated CMRTVoicemail(f5645ccc) resource busy 2, total 45
12:51:07 9290021mS CMMap: a=21.11 b=1.65535 T
12:51:07 9290022mS CMMap: PCG::AddToneGenerator g T[77] for cp[202]b0r1 append pcp[204]b0r1 (total 1)
12:51:07 9290022mS CMMap: a=0.1 b=0.0 IP::ReserveCodec pcp[204]b0r1 allocated CMRTVocoder(f560bb40) resource busy 1, total 32, codec type 4
12:51:07 9290022mS CMMap: a=21.11 b=0.1 M22
12:51:07 9290022mS CMMap: PlatformConnectionAudioSAP::Bind pcp[204]b0r1 to 0.1
12:51:07 9290022mS CMMap: PlatformConnectionAudioSAP::ConnectVoice pcp[204]b0r1 Configure 0.1
12:51:07 9290023mS CMMap: PlatformConnectionAudioSAP::ConnectVoice pcp[204]b0r1 ConnectIndication 0.1
12:51:07 9290023mS CMMap: PCG::MapBChan pcp[202]b0r1 cp_b 0 other_cp_b 0 type CGTypeDTMF
12:51:07 9290023mS H323Evt: SESS 2b SetOperational local 192.168.5.4:49152 remote 192.168.5.130:5016 to 1
12:51:07 9290024mS CMMap: DTMF::playTones g T[77] Tones ',EEEEE'
12:51:07 9290024mS CMMap: Started playing tones, cp[202]b0r1 (from g null)
12:51:07 9290024mS CMMap: cp[202]b0r1 SetOperGroup2 from g null to g null not executed, playing tones in progress ,EEEEE
12:51:07 9290505mS CMCallEvt: 0000000000000000 0.1276.0 -1 BaseEP: NEW CMEndpoint f5287b10 TOTAL NOW=3 CALL_LIST=1
12:51:07 9290505mS Stun: Info: Line 25: Not using STUN for media in this case.
12:51:07 9290507mS SIP Tx: UDP 192.168.5.4:5060 -> 165.148.1.50:5060
REGISTER sip:165.148.1.50 SIP/2.0
Via: SIP/2.0/UDP 192.168.5.4:5060;rport;branch=z9hG4bK092500c527a10c2cc5555a93b5bc837c
From: <sip:27113004760@165.148.1.50>;tag=8d5393e11e7f6adb
To: <sip:27115004230@165.148.1.50>
Call-ID: 2f4ca1343987c192cd0b5fc67eaf065a
CSeq: 1715632032 REGISTER
Contact: <sip:+27612174040@192.168.5.4:5060;transport=udp>
Expires: 3600
Authorization: Digest username="27115004230",realm="telkom",nonce="2309766054-223ad329b928522db8a363aff2e2afdc",response="cb92dfaf124a219253fb11f055e93b42",uri="sip:165.148.1.50",algorithm=MD5,qop=auth,nc=00000005,cnonce="dc898dbd6334a
ec7cc0c"
Max-Forwards: 70
User-Agent: IP Office 11.0.0.0.0 build 849
Supported: timer
Content-Length: 0

12:51:07 9290515mS SIP Rx: UDP 165.148.1.50:5060 -> 192.168.5.4:5060
SIP/2.0 200 OK
Via: SIP/2.0/UDP 105.184.188.33:65476;received=105.184.188.33;branch=z9hG4bK092500c527a10c2cc5555a93b5bc837c;rport=65476
From: <sip:27115004230@165.148.1.50>;tag=8d5393e11e7f6adb
To: <sip:27115004230@165.148.1.50>;tag=aprqttr0cauh5kg64-na6ao7oc2qt0a
Call-ID: 2f4ca1343987c192cd0b5fc67eaf065a
CSeq: 1715632032 REGISTER
Contact: <sip:+27612174040@105.184.188.33:65476;transport=udp>;audio;expires=120
 

Part and Inventory Search

Sponsor

Back
Top