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

SIP Trunking on IP office

Status
Not open for further replies.

jnetworkingsolutions

Technical User
Feb 3, 2011
31
US
We have successfully set up our Avaya IP Office 500 v2 ver.6.0 (14) to use SIP trunks via les.net. Every other call going out of the switch uses the SIP trunk. The other half uses the 8 channel PRI. I have my fax line DID that we use on the PRI set up in a hunt group that can send faxes to two different fax machines in our office. I do not want either of my fax extensions (220 or 221) to attempt to use the SIP trunk to send a fax. How can I create an ARS that tells my switch for ext 220-221 use only the PRI? Also i want only certain extensions to use the SIP trunk.
 
OK i will try that as soon as the switch is available to reboot.

In the mean time can anyone comment on what the N does when added to the ARs in this manner N"@did.voip.les.net". keep in mind i understand that N represents multiple digits. is it saying allow multiple digit to leave using the sip?
 
N is the NUMBER you dialled. Any number matched based on your dial timers.

Your Outgoing LGID needs to change as Bas said.

Make it 99 for example. then your SIP based routes then route via LGID 99.

I would have made the URI "Use Internal Data" and filled out the SIP setting on the users field. might have made your ARS a little nicer to read.





ACSS - SME
 
P.S you dont need to fill out both ITSP Domain and ITSP proxy. Just fill out one or the other if they both are effectively the same IP.

Also, does your provider require you to use STUN?

ACSS - SME
 
Below is the error i'm getting now. My ARS XN" is adding an X to the outgoing #. I’m sure les.net does not know what to do with that x. Do i need an XN; or an XXXXXXXXXXN? I deleted the XXXXXXXXXXN; as instructed by BAS. Can i live without the XN; or is there another solution besides deleting it?


31628mS CMExtnEvt: v=1 State, new=Dialling old=Idle,0,0,JonCooper
631629mS CMTARGET: 0.1040.0 9 JonCooper.0: Setting Hard Timer 4000
631629mS CMTARGET: 0.1040.0 9 JonCooper.0: LOOKUP CALL ROUTE: type=100 called_party=95306829189 sub= calling=222 dir=out complete=0 ses=0
631629mS CMTARGET: 0.1040.0 9 JonCooper.0: ADD TARGET (N): number=95306829189 type=100 depth=1 nobar=1 setorig=1 ses=0
631630mS CMTARGET: 0.1040.0 9 JonCooper.0: SYS SC: 95306829189 2 5306829189 sc=type=Dial code=9N, num=N callinfop->sending_complete=0 secondary_dialtone=
631630mS CMARS: FindActiveARSByGroupID GroupID=50 - Found
631630mS CMARS: MakeCallTarget - Called Number: 5306829189
631630mS CMCallEvt: 0.1042.0 -1 BaseEP: NEW CMEndpoint f55bb4a4 TOTAL NOW=5 CALL_LIST=2
631631mS CMTARGET: 0.1040.0 9 JonCooper.0: CancelTimer CMTCDelayedProcessing
631631mS CMTARGET: 0.1040.0 9 JonCooper.0: INITIAL TARGETING SUCCEEDED
631631mS CMTARGET: 0.1040.0 9 JonCooper.0: GetNoAnswerTimer:15
631631mS CMCallEvt: 0.1040.0 9 JonCooper.0: StateChange: END=A CMCSDialInitiated->CMCSDialling
631632mS CMExtnTx: v=222, p1=0
CMSetupAck
Line: type=DigitalExtn 2 Call: lid=0 id=1040 in=0
BChan: slot=0 chan=1
Timed: 23/02/11 09:36
631632mS CMCallEvt: 0.1041.0 9 TargetingEP: StateChange: END=B CMCSIdle->CMCSOffering
631633mS CMCallEvt: 0.1042.0 9 ARS for Main: StateChange: END=T CMCSIdle->CMCSOffering
631633mS CMCallEvt: 0.1041.0 9 TargetingEP: RequestEnd 0.1042.0 9 ARS for Main
631634mS CMTARGET: 0.1040.0 9 JonCooper.0: CancelTimer CMTCNoAnswerTimeout
631634mS CMCallEvt: 0.1042.0 9 ARS for Main: StateChange: END=B CMCSOffering->CMCSOverlapRecv
631634mS CMARS: FORM: Main - Received Number: 5306829189
631635mS CMARS: CMARSTargetingPending
631635mS CMCallEvt: 0.1041.0 -1 TargetingEP: StateChange: END=X CMCSOffering->CMCSDelete
631635mS CMCallEvt: 0.1041.0 -1 BaseEP: DELETE CMEndpoint f55c3d6c TOTAL NOW=4 CALL_LIST=2
631637mS CD: CALL: 0.1040.0 BState=Idle Cut=2 Music=0.0 Aend="JonCooper(222)" (0.1) Bend="" [] (0.0) CalledNum=95306829189 () CallingNum=222 (JonCooper) Internal=1 Time=11 AState=Dialling
631822mS RES: Wed 23/2/2011 09:36:40 FreeMem=71178548(1) CMMsg=5 (6) Buff=200 960 999 7423 5 Links=1034
631822mS RES2: IP 500 V2 6.1(5) Tasks=39 RTEngine=0 CMRTEngine=0 ExRTEngine=0 Timer=55 Poll=0 Ready=0 CMReady=0 CMQueue=0 VPNNQueue=0 Monitor=1 SSA=1 ASC=1 SYS=MNTD OPT=UMNT SDSPD=2034
635631mS CMARS: Case 1 - dial_delay_time: 4000 has expired - Resolve what we might have - Called Number: 5306829189 Addr: f55bb4a4
635631mS CMARS: FORM: Main - Received Number: 5306829189
635632mS CMARS: FOUND A SHORT CODE - short_code: XN; - Tel: XN"@did.voip.les.net" - Called_Party: X5306829189@did.voip.les.net - Line Group Id: 2
635632mS CMARS: FindActiveARSByGroupID GroupID=2 - Not Found
635632mS CMLRQ: FindActiveLRQByGroupID GroupID=2 - Not Found
635632mS CMMap: a=0.18 b=0.0 Mapper::AllocateCodec allocated CMRTVocoder resource busy 1, total 10
635633mS CMCallEvt: 0.1043.0 -1 BaseEP: NEW CMEndpoint f55996a4 TOTAL NOW=5 CALL_LIST=2
635635mS CMARS: FOUND LINE - Line Id: 17 - using line group id: 2 - Called Number: X5306829189@did.voip.les.net - Calling Number: 222
635635mS CMARS: SEND Setup TO LINE
635636mS CMCallEvt: 17.1043.0 9 SIPTrunk Endpoint: StateChange: END=child CMCSIdle->CMCSOffering
635636mS CMLineTx: v=0
CMSetup
Line: type=SIPLine 17 Call: lid=17 id=1043 in=0
Called[X5306829189@did.voip.les.net] Type=Default (100) Reason=CMDRdirect SndComp Calling[222] Type=Internal Plan=Default
BC: CMTC=3K1Audio CMTM=Circuit CMTR=64 CMST=Default CMU1=ULaw
IE CMIECallingPartyName (110)(Type=CMNameDefault) name=JonCooper
IE CMIECallingPartyKName (226)(Type=CMNameDefault) name=Jon Cooper
IE CMIERespondingPartyName (228)(Type=CMNameDefault) name=JonCooper
IE CMIERespondingPartyKName (229)(Type=CMNameDefault) name=Jon Cooper
IE CMIERespondingPartyNumber (230)(P:100 S:100 T:101 N:100 R:4) number=222
IE CMIEDeviceDetail (231) LOCALE=enu HW=15 VER=6 class=CMDeviceStdPhone type=26 number=1 channel=0 rx_gain=32 tx_gain=32 ep_callid=1040 ipaddr=192.168.200.245 apps=0
IE CMIEMohSourceId (247) MOH Source = 255
IE CMIESupplementaryService (3)
Network Facility Extension
sourceEntity: 0
destinationEntity: 0
Interpretation APDU
discardAnyUnrecognisedInvokePdu
CallingName.Invoke.CodePageISO8859-1
invokeId 14625
user 'JonCooper' presentation Allowed
IE CMIEFastStartInfoData (6)
Locale: enu
635637mS CD: CALL: 0.1040.0 BState=Idle Cut=2 Music=0.0 Aend="JonCooper(222)" (0.1) Bend="" [Line 17] (0.0) CalledNum=95306829189 () CallingNum=222 (JonCooper) Internal=1 Time=4012 AState=Dialling
635675mS SIP Tx: UDP 192.168.200.245:5060 -> 64.34.181.47:5060
INVITE sip:X5306829189@did.voip.les.net SIP/2.0
Via: SIP/2.0/UDP 184.12.128.107:5060;rport;branch=z9hG4bKedda452913a30c20787483f2f3c695d5
From: "9163133808" <sip:9163133808@did.voip.les.net>;tag=fa734e3c478af7f0
To: <sip:X5306829189@did.voip.les.net>
Call-ID: ddf3ed9a4eeb78334e12e98c3af81f69@184.12.128.107
CSeq: 80526337 INVITE
Contact: "9163133808" <sip:9163133808@184.12.128.107:5060;transport=udp>
Max-Forwards: 70
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, INFO, UPDATE
Content-Type: application/sdp
Supported: timer
Content-Length: 254

v=0
o=UserA 2151589704 896386030 IN IP4 184.12.128.107
s=Session SDP
c=IN IP4 184.12.128.107
t=0 0
m=audio 49152 RTP/AVP 18 8 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
635826mS SIP Rx: UDP 64.34.181.47:5060 -> 192.168.200.245:5060
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 184.12.128.107:5060;branch=z9hG4bKedda452913a30c20787483f2f3c695d5;received=184.12.128.107;rport=5060
From: "9163133808" <sip:9163133808@did.voip.les.net>;tag=fa734e3c478af7f0
To: <sip:X5306829189@did.voip.les.net>;tag=as0f2cc5ad
Call-ID: ddf3ed9a4eeb78334e12e98c3af81f69@184.12.128.107
CSeq: 80526337 INVITE
User-Agent: LES.NET.VoIP
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Content-Length: 0

635829mS SIP Tx: UDP 192.168.200.245:5060 -> 64.34.181.47:5060
ACK sip:X5306829189@did.voip.les.net SIP/2.0
Via: SIP/2.0/UDP 184.12.128.107:5060;rport;branch=z9hG4bKedda452913a30c20787483f2f3c695d5
From: "9163133808" <sip:9163133808@did.voip.les.net>;tag=fa734e3c478af7f0
To: <sip:X5306829189@did.voip.les.net>;tag=as0f2cc5ad
Call-ID: ddf3ed9a4eeb78334e12e98c3af81f69@184.12.128.107
CSeq: 80526337 ACK
Max-Forwards: 70
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, INFO, UPDATE
Content-Length: 0

635831mS CMLineRx: v=0
CMReleaseComp
Line: type=SIPLine 17 Call: lid=17 id=1043 in=0
IE CMIERespondingPartyNumber (230)(P:100 S:100 T:0 N:100 R:4) number=95306829189
IE CMIEDeviceDetail (231) LOCALE=enu HW=15 VER=6 class=CMDeviceSIPTrunk type=0 number=17 channel=0 rx_gain=32 tx_gain=32 ep_callid=1043 ipaddr=192.168.200.245 apps=0
Cause=1, Unallocated (unassigned) number
635831mS CMARS: LINE ep Received: CMReleaseComp - child->state = CMCSOffering - ARS Call State = CMCSOverlapRecv
635832mS CMCallEvt: 17.1043.0 -1 SIPTrunk Endpoint: StateChange: END=X CMCSOffering->CMCSCompleted
635832mS CMCallEvt: 17.1043.0 -1 SIPTrunk Endpoint: StateChange: END=X CMCSCompleted->CMCSDelete
635832mS CMARS: Target: Short_Code: XN; - Line_Group_ID: 2 has been set to: CMARS_OUTOFSERVICE_ALL
635833mS CMCallEvt: 17.1043.0 -1 BaseEP: DELETE CMEndpoint f55996a4 TOTAL NOW=4 CALL_LIST=2
635918mS CD: CALL: 0.1040.0 BState=Idle Cut=2 Music=0.0 Aend="JonCooper(222)" (0.1) Bend="" [] (0.0) CalledNum=95306829189 () CallingNum=222 (JonCooper) Internal=1 Time=4293 AState=Dialling
641322mS RES: Wed 23/2/2011 09:36:50 FreeMem=71177616(1) CMMsg=5 (6) Buff=200 963 1000 7423 5 Links=999
641322mS RES2: IP 500 V2 6.1(5) Tasks=39 RTEngine=0 CMRTEngine=0 ExRTEngine=0 Timer=53 Poll=0 Ready=0 CMReady=0 CMQueue=0 VPNNQueue=0 Monitor=1 SSA=1 ASC=1 SYS=MNTD OPT=UMNT SDSPD=2034
662800mS SIP Tx: UDP 192.168.200.245:5060 -> 64.34.181.47:5060
OPTIONS sip:Unknown@did.voip.les.net SIP/2.0
Via: SIP/2.0/UDP 184.12.128.107:5060;rport;branch=z9hG4bK3d7339d1e3d8a38f61cf10f563b35094
From: <sip:Unknown@did.voip.les.net>;tag=5be443861b82b5df
To: <sip:Unknown@did.voip.les.net>
Call-ID: 21f6d7c5b69d4157279c58528da56014@184.12.128.107
CSeq: 1304144840 OPTIONS
Max-Forwards: 70
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, INFO, UPDATE
Supported: timer
Content-Length: 0

662822mS RES: Wed 23/2/2011 09:37:11 FreeMem=71165144(1) CMMsg=5 (6) Buff=200 963 999 7423 5 Links=995
662822mS RES2: IP 500 V2 6.1(5) Tasks=39 RTEngine=0 CMRTEngine=0 ExRTEngine=0 Timer=54 Poll=0 Ready=0 CMReady=0 CMQueue=0 VPNNQueue=0 Monitor=1 SSA=1 ASC=1 SYS=MNTD OPT=UMNT SDSPD=2034
662913mS SIP Rx: UDP 64.34.181.47:5060 -> 192.168.200.245:5060
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 184.12.128.107:5060;branch=z9hG4bK3d7339d1e3d8a38f61cf10f563b35094;received=184.12.128.107;rport=5060
From: <sip:Unknown@did.voip.les.net>;tag=5be443861b82b5df
To: <sip:Unknown@did.voip.les.net>;tag=as3a419265
Call-ID: 21f6d7c5b69d4157279c58528da56014@184.12.128.107
CSeq: 1304144840 OPTIONS
User-Agent: LES.NET.VoIP
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Accept: application/sdp
Content-Length: 0

668322mS RES: Wed 23/2/2011 09:37:17 FreeMem=71177616(1) CMMsg=5 (6) Buff=200 963 1000 7423 5 Links=998
668322mS RES2: IP 500 V2 6.1(5) Tasks=39 RTEngine=0 CMRTEngine=0 ExRTEngine=0 Timer=53 Poll=0 Ready=0 CMReady=0 CMQueue=0 VPNNQueue=0 Monitor=1 SSA=1 ASC=1 SYS=MNTD OPT=UMNT SDSPD=2034
678338mS H323Evt: Recv: RegistrationRequest 192.168.200.51; Endpoints registered: 2; Endpoints in registration: 0
682383mS H323Evt: Recv: RegistrationRequest 192.168.1.30; Endpoints registered: 2; Endpoints in registration: 0
706800mS SIP Tx: UDP 192.168.200.245:5060 -> 64.34.181.47:5060
OPTIONS sip:Unknown@did.voip.les.net SIP/2.0
Via: SIP/2.0/UDP 184.12.128.107:5060;rport;branch=z9hG4bKd48a22a1dc365ddd3d8ba4d9f6b36364
From: <sip:Unknown@did.voip.les.net>;tag=e1924605c26f514f
To: <sip:Unknown@did.voip.les.net>
Call-ID: 2c1dc8c810417ec4a76eefbc63b8e244@184.12.128.107
CSeq: 975406745 OPTIONS
Max-Forwards: 70
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, INFO, UPDATE
Supported: timer
Content-Length: 0

706822mS RES: Wed 23/2/2011 09:37:55 FreeMem=71165144(1) CMMsg=5 (6) Buff=200 963 999 7423 5 Links=993
706822mS RES2: IP 500 V2 6.1(5) Tasks=39 RTEngine=0 CMRTEngine=0 ExRTEngine=0 Timer=54 Poll=0 Ready=0 CMReady=0 CMQueue=0 VPNNQueue=0 Monitor=1 SSA=1 ASC=1 SYS=MNTD OPT=UMNT SDSPD=2034
706914mS SIP Rx: UDP 64.34.181.47:5060 -> 192.168.200.245:5060
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 184.12.128.107:5060;branch=z9hG4bKd48a22a1dc365ddd3d8ba4d9f6b36364;received=184.12.128.107;rport=5060
From: <sip:Unknown@did.voip.les.net>;tag=e1924605c26f514f
To: <sip:Unknown@did.voip.les.net>;tag=as22c54667
Call-ID: 2c1dc8c810417ec4a76eefbc63b8e244@184.12.128.107
CSeq: 975406745 OPTIONS
User-Agent: LES.NET.VoIP
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Accept: application/sdp
Content-Length: 0
 
Skip my last. I understand it now. XN; shortcode can and now does point to N;@did.voip.les.net instead of pointing to NX;@did.voip.les.net. Thanks to all for your help and patience.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top