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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sip Trunking Question!

Status
Not open for further replies.

quazimotto

Programmer
Joined
Mar 29, 2008
Messages
775
Location
US
Greetings! I am trying to configure a sip trunk. When I set the SIP URI tab to use Credentials User Name it kicks back to Use internal data. What do I need to do set it?


Thanks/Quaz
 
Um, have you entered the credentials, and selected them as the Registration?
 
No, Tommy, I didn't. When I do that I get this:


756416mS Sip: 15.1034.1 -1 SIPTrunk Endpoint(fe7a48f4) Present Call, no match (4650) from URI in To header or (4650) from request URI
756418mS SIP Tx: UDP 192.168.3.25:5060 -> 192.168.3.26:5060
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 192.168.3.26:5060;branch=z9hG4bK419DE34644FB8391
From: "1911" <sip:1911@192.168.3.26>;tag=83E9324631353641000059FD
To: <sip:4650@192.168.3.25:5060>;tag=62677eecd79c8475
Call-ID: 020AC3309081400000000009@192.168.3.26
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, INFO, UPDATE
Supported: timer
Content-Length: 0

I am connecting 2 different systems. I thought I had a good config for PRI to PRI. No go. Works going from IP Office to NEC Sv8100, but not the other way. Turns out the IP Office requires a ConnectAck and the NEC is just not going to send because the ConnectAck is not required in the spec according to NEC Tech Support. So I am setting up a Sip trunk to the NEC. I can call into the NEC and get audio; when I dial from the Nec to IP Office I get the monitor log above. I have set the SIP identities on the User tabs to just their extension number in the IP Office. Can you tell from the monitor log how I should proceed?

Thank you for help, Tommy. I appreciate it.

Quaz
 
Why would you need credentials when connecting 2 PBXs?

"Trying is the first step to failure..." - Homer
 
Janni78,

Good question. I didn't need it for an Asterisk connection with 5.026 software. I was trying anything to get the NEC to talk to the IPO. How should I do it?

Quaz
 
Why doesn't the Remote party ID pull down work? It tells me that ISDN/Sip feature will not be used in error list.
 
uri_ofmwl0.jpg


credential_ybserf.jpg



Here you are... Thought you had this up and running (like you said yesterday)
 
Okkie26,

So did I, until I did more then call from one side to the other. When you make a call for more then 10 seconds or so from the NEC side to the IPO, call rings, audio and then it hangs up because of some timer in the IPO waiting for the ConnectAck from NEC, which never comes. This info is from NEC Tech support. I appreciate the comeback Okkie26.
Thanks.
 
The connect ACK must be sent, that's how SIP works. It's not the IPO being fussy it's the NEC not working correctly :-)

 
Amriddle01,

Its the PRI Connect Ack that is not being sent. Again according to NEC Tech Support.

Quaz
 
Run a sys monitor trace to see what is happening.

I bet the IPO is sending the ack perfectly.
 
I've linked many things to the IPO with SIP. The IPO is easily the most flexible PBX system you will come across when it somes to trunking with SIP. I have never seen an issue like this...only with your NEC.

PRI ACK ? It's a SIP trunk isn't it? Why are NEC even involved? This is the kind of of thing you battle yourself, in 10 years doing Avaya and Mitel etc we've never involved the manufacturer for something as trivial :-)

 
Amriddle01,

I original started this trying to use a Pri interconnection. Worked great! Or so I thought. Till I tested further and realized that calling from NEC to IPO would disconnect after a few. I have a friend who is a NEC tech who told me to send him a debug log. I did and he came back to me with the ConnectAck problem on PRI. Not Sip!

Amriddle01, you and a few other guys on this site, I consider to be GURUS. I have been on this site sucking up information since 2008, I believe, and you are the last word on this stuff, in my opinion. I really appreciate the knowledge and help I receive from you and the other guys.

Okkie26,
I will try your suggestions and post my results.

Thank you, Guys.

Quaz
 
Gentlemen,

Here's what I get. Still SIP 404.

69499mS CMCallEvt: CREATE CALL:2 (fe820378)
69499mS CMCallEvt: 0.1007.0 -1 BaseEP: NEW CMEndpoint fe81ef00 TOTAL NOW=3 CALL_LIST=0
69503mS CMLineRx: v=0
CMSetup
Line: type=SIPLine 15 Call: lid=15 id=1006 in=1
Called[4605] Type=Default (100) Reason=CMDRdirect SndComp Calling[4662@192.168.3.26] Type=Unknown Plan=Default
BC: CMTC=Speech CMTM=Circuit CMTR=64 CMST=Default CMU1=ULaw
IE CMIEFastStartInfoData (6) 4 item(s)
IE CMIEMediaWaitForConnect (16) CMIEMediaWaitForConnect
IE CMIERespondingPartyName (228)(Type=CMNameDefault) name=4662
IE CMIERespondingPartyNumber (230)(P:100 S:100 T:0 N:100 R:4) number=4662@192.168.3.26
IE CMIEDeviceDetail (231) c0a80319000003ee LOCALE=enu HW=8 VER=6 class=CMDeviceSIPTrunk type=0 number=15 channel=0 features=0x0 rx_gain=32 tx_gain=32 ep_callid=1006 ipaddr=192.168.3.25 apps=0 loc=0 em_loc=0 features2=0x0 is_spcall=0
69503mS CD: CALL: 15.1006.1 BState=Idle Cut=1 Music=0.0 Aend="Line 15" (0.0) Bend="" [] (0.0) CalledNum=4605 () CallingNum=4662@192.168.3.26 (4662) Internal=0 Time=5 AState=Idle
69504mS CMCallEvt: 15.1006.1 2 SIPTrunk Endpoint: StateChange: END=A CMCSIdle->CMCSDialInitiated
69505mS CMTARGET: 15.1006.1 2 SIPTrunk Endpoint: LOOKUP CALL ROUTE: type=100 called_party=4605 sub= calling=4662@192.168.3.26 dir=in complete=1 ses=0
69506mS PRN: CDR - TCPSend maxqueuesize=500 operational=1
69509mS CMLOGGING: CALL:2017/02/2214:09,00:00:00,000,4662@192.168.3.26,I,4605,4605,4662,,,0,,""n/a,0
69509mS CD: CALL: 15.1006.1 BState=Idle Cut=0 Music=0.0 Aend="Line 15" (0.0) Bend="" [] (0.0) CalledNum=4605 () CallingNum=4662@192.168.3.26 (4662) Internal=0 Time=11 AState=Dialling
69510mS CD: CALL: 15.1006.1 Deleted
69510mS CMTARGET: 15.1006.1 -1 SIPTrunk Endpoint: ~CMTargetHandler fe824ad8 ep fe827b4c
69511mS CMCallEvt: 15.1006.1 -1 SIPTrunk Endpoint: StateChange: END=X CMCSDialInitiated->CMCSCompleted
69512mS SIP Tx: UDP 192.168.3.25:5060 -> 192.168.3.26:5060
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 192.168.3.26:5060;branch=z9hG4bKF670632F2892E10E
From: "4662" <sip:4662@192.168.3.26>;tag=BEF832463135364100005FE5
To: <sip:4605@192.168.3.25:5060>;tag=e81e368b92cd86bc
Call-ID: 020AC384B281400000000006@192.168.3.26
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, INFO, UPDATE
Supported: timer
Content-Length: 0

69514mS CMCallEvt: 0.1007.0 -1 BaseEP: DELETE CMEndpoint fe81ef00 TOTAL NOW=2 CALL_LIST=0
69515mS CMCallEvt: END CALL:2 (fe820378)
69582mS SIP Rx: UDP 192.168.3.26:5060 -> 192.168.3.25:5060
ACK sip:4605@192.168.3.25 SIP/2.0
Call-ID: 020AC384B281400000000006@192.168.3.26
CSeq: 1 ACK
From: "4662"<sip:4662@192.168.3.26>;tag=BEF832463135364100005FE5
To: <sip:4605@192.168.3.25:5060>;tag=e81e368b92cd86bc
Via: SIP/2.0/UDP 192.168.3.26:5060;branch=z9hG4bKF670632F2892E10E
Max-Forwards: 70
User-Agent: NEC SV8100-NA 10.12
Content-Length: 0

Okkie26, I tried what you gave me a couple different ways and no go. I am on 6.018 software on a 400. Any suggestions, except Drop Dead, are greatly appreciated.

Quaz

 
Do the trace again.

Disable all other options on all the tabs. (clear all)

Then select all options on the SIP tab. (tab select all)

 
Okkie26,

Here it is.


********** Warning: Logging to Screen Started **********
14730100mS SIP Reg/Opt Tx: 15
REGISTER sip:192.168.3.26 SIP/2.0
Via: SIP/2.0/UDP 192.168.3.25:5060;rport;branch=z9hG4bKcf3084a1fa1ad9a048646cfac11a6d2a
From: <sip:4662@192.168.3.26>;tag=cfefcd0ebfe873ad
To: <sip:4662@192.168.3.26>
Call-ID: 9efddab8952c34252123fd29a2988174@192.168.3.25
CSeq: 2065732940 REGISTER
Contact: "Unknown" <sip:4662@192.168.3.25:5060;transport=udp>
Expires: 3600
Max-Forwards: 70
User-Agent: IP Office 6.0 (18)
Supported: timer
Content-Length: 0

14730101mS SIP Tx: UDP 192.168.3.25:5060 -> 192.168.3.26:5060
REGISTER sip:192.168.3.26 SIP/2.0
Via: SIP/2.0/UDP 192.168.3.25:5060;rport;branch=z9hG4bKcf3084a1fa1ad9a048646cfac11a6d2a
From: <sip:4662@192.168.3.26>;tag=cfefcd0ebfe873ad
To: <sip:4662@192.168.3.26>
Call-ID: 9efddab8952c34252123fd29a2988174@192.168.3.25
CSeq: 2065732940 REGISTER
Contact: "Unknown" <sip:4662@192.168.3.25:5060;transport=udp>
Expires: 3600
Max-Forwards: 70
User-Agent: IP Office 6.0 (18)
Supported: timer
Content-Length: 0

14737003mS SIP Rx: UDP 192.168.3.26:5060 -> 192.168.3.25:5060
INVITE sip:4650@192.168.3.25 SIP/2.0
From: "4662"<sip:4662@192.168.3.26>;tag=1F1B32463135364100029CB5
To: <sip:4650@192.168.3.25:5060>
Contact: <sip:4662@192.168.3.26:5060>
Content-Type: application/sdp
Allow: INVITE,ACK,BYE,CANCEL,PRACK,UPDATE
Supported: 100rel,timer
Expires: 180
Call-ID: 020AC3BDC38140000000000C@192.168.3.26
CSeq: 1 INVITE
Max-Forwards: 70
User-Agent: NEC SV8100-NA 10.12
Via: SIP/2.0/UDP 192.168.3.26:5060;branch=z9hG4bK8BCA828D008A5D5F
Content-Length: 244

v=0
o=- 0 0 IN IP4 192.168.3.26
s=T048
c=IN IP4 192.168.3.27
t=0 0
m=audio 10024 RTP/AVP 0 2 18 9
a=rtpmap:0 PCMU/8000
a=ptime:20
a=rtpmap:2 G726-32/8000
a=ptime:30
a=rtpmap:18 G729/8000
a=ptime:20
a=rtpmap:9 G722/8000
a=ptime:30
14737009mS SIP Call Rx: 15
INVITE sip:4650@192.168.3.25 SIP/2.0
From: "4662"<sip:4662@192.168.3.26>;tag=1F1B32463135364100029CB5
To: <sip:4650@192.168.3.25:5060>
Contact: <sip:4662@192.168.3.26:5060>
Content-Type: application/sdp
Allow: INVITE,ACK,BYE,CANCEL,PRACK,UPDATE
Supported: 100rel,timer
Expires: 180
Call-ID: 020AC3BDC38140000000000C@192.168.3.26
CSeq: 1 INVITE
Max-Forwards: 70
User-Agent: NEC SV8100-NA 10.12
Via: SIP/2.0/UDP 192.168.3.26:5060;branch=z9hG4bK8BCA828D008A5D5F
Content-Length: 244

v=0
o=- 0 0 IN IP4 192.168.3.26
s=T048
c=IN IP4 192.168.3.27
t=0 0
m=audio 10024 RTP/AVP 0 2 18 9
a=rtpmap:0 PCMU/8000
a=ptime:20
a=rtpmap:2 G726-32/8000
a=ptime:30
a=rtpmap:18 G729/8000
a=ptime:20
a=rtpmap:9 G722/8000
a=ptime:30
14737010mS Sip: License, Valid 1, Available 65535, Consumed 0
14737014mS SIP Call Tx: 15
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.3.26:5060;branch=z9hG4bK8BCA828D008A5D5F
From: "4662" <sip:4662@192.168.3.26>;tag=1F1B32463135364100029CB5
To: <sip:4650@192.168.3.25:5060>;tag=906a7224f74d5679
Call-ID: 020AC3BDC38140000000000C@192.168.3.26
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, INFO, UPDATE
Supported: timer
Content-Length: 0

14737014mS SIP Tx: UDP 192.168.3.25:5060 -> 192.168.3.26:5060
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.3.26:5060;branch=z9hG4bK8BCA828D008A5D5F
From: "4662" <sip:4662@192.168.3.26>;tag=1F1B32463135364100029CB5
To: <sip:4650@192.168.3.25:5060>;tag=906a7224f74d5679
Call-ID: 020AC3BDC38140000000000C@192.168.3.26
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, INFO, UPDATE
Supported: timer
Content-Length: 0

14737029mS SIP Call Tx: 15
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 192.168.3.26:5060;branch=z9hG4bK8BCA828D008A5D5F
From: "4662" <sip:4662@192.168.3.26>;tag=1F1B32463135364100029CB5
To: <sip:4650@192.168.3.25:5060>;tag=906a7224f74d5679
Call-ID: 020AC3BDC38140000000000C@192.168.3.26
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, INFO, UPDATE
Supported: timer
Content-Length: 0

14737029mS SIP Tx: UDP 192.168.3.25:5060 -> 192.168.3.26:5060
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 192.168.3.26:5060;branch=z9hG4bK8BCA828D008A5D5F
From: "4662" <sip:4662@192.168.3.26>;tag=1F1B32463135364100029CB5
To: <sip:4650@192.168.3.25:5060>;tag=906a7224f74d5679
Call-ID: 020AC3BDC38140000000000C@192.168.3.26
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, INFO, UPDATE
Supported: timer
Content-Length: 0

14737095mS SIP Rx: UDP 192.168.3.26:5060 -> 192.168.3.25:5060
ACK sip:4650@192.168.3.25 SIP/2.0
Call-ID: 020AC3BDC38140000000000C@192.168.3.26
CSeq: 1 ACK
From: "4662"<sip:4662@192.168.3.26>;tag=1F1B32463135364100029CB5
To: <sip:4650@192.168.3.25:5060>;tag=906a7224f74d5679
Via: SIP/2.0/UDP 192.168.3.26:5060;branch=z9hG4bK8BCA828D008A5D5F
Max-Forwards: 70
User-Agent: NEC SV8100-NA 10.12
Content-Length: 0

14737098mS SIP Call Rx: 15
ACK sip:4650@192.168.3.25 SIP/2.0
Call-ID: 020AC3BDC38140000000000C@192.168.3.26
CSeq: 1 ACK
From: "4662"<sip:4662@192.168.3.26>;tag=1F1B32463135364100029CB5
To: <sip:4650@192.168.3.25:5060>;tag=906a7224f74d5679
Via: SIP/2.0/UDP 192.168.3.26:5060;branch=z9hG4bK8BCA828D008A5D5F
Max-Forwards: 70
User-Agent: NEC SV8100-NA 10.12
Content-Length: 0

14738104mS SIP Reg/Opt Tx: 15
REGISTER sip:192.168.3.26 SIP/2.0
Via: SIP/2.0/UDP 192.168.3.25:5060;rport;branch=z9hG4bKcf3084a1fa1ad9a048646cfac11a6d2a
From: <sip:4662@192.168.3.26>;tag=cfefcd0ebfe873ad
To: <sip:4662@192.168.3.26>
Call-ID: 9efddab8952c34252123fd29a2988174@192.168.3.25
CSeq: 2065732940 REGISTER
Contact: "Unknown" <sip:4662@192.168.3.25:5060;transport=udp>
Expires: 3600
Max-Forwards: 70
User-Agent: IP Office 6.0 (18)
Supported: timer
Content-Length: 0

14738104mS SIP Tx: UDP 192.168.3.25:5060 -> 192.168.3.26:5060
REGISTER sip:192.168.3.26 SIP/2.0
Via: SIP/2.0/UDP 192.168.3.25:5060;rport;branch=z9hG4bKcf3084a1fa1ad9a048646cfac11a6d2a
From: <sip:4662@192.168.3.26>;tag=cfefcd0ebfe873ad
To: <sip:4662@192.168.3.26>
Call-ID: 9efddab8952c34252123fd29a2988174@192.168.3.25
CSeq: 2065732940 REGISTER
Contact: "Unknown" <sip:4662@192.168.3.25:5060;transport=udp>
Expires: 3600
Max-Forwards: 70
User-Agent: IP Office 6.0 (18)
Supported: timer
Content-Length: 0

 
Do you have an ICR for the SIP trunk in IPO?
It doesn't find the number you're trying to dial.

Add an ICR with incoming number blank and destination . (dot) on the incoming ID.

"Trying is the first step to failure..." - Homer
 
Janni78,

Good Call!!! Call came across and connected. Fantastic!! How would I increase the number of talk paths from 10 to 20? I saw a post where one of the guys suggested adding another URI. Will that do the job?

Thank you Janni78, Okkie26 and Amriddle01 for help. I would not have gotten this far, so quickly without you Gentlemen.

Where are you guys? I want to buy you a beer.

Thanks again!

Quaz
 
Just increase the number of calls within the current URI - if you have enough licenses.
 
Great that it's working, you specify the number of calls on each SIP URI.

"Trying is the first step to failure..." - Homer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top