Author Topic: Basic call from sip server to avaya tserver  (Read 13786 times)

Offline janesh22

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
Basic call from sip server to avaya tserver
« on: August 14, 2015, 09:55:28 AM »
Hi,

This will be very basic considering other questions that you guys get. I am a starter with genesys. I am working on a lab environment here and I have one sip server configured on one host and an Avaya Tserver connected to avaya switch simulator on another host. I have been trying to make a call from x-lite phone connected to sip server to IWS who is connected to Avaya Tserver. But has been unsuccessful so far.

I will let you know what I have done so far.

I have got connection to Tserver from sip server and vice versa. I have added Switch access code to both . Is there anything else that i require ? I am able to make calls within the sip environment and also from avaya to avaya.

I tried reading the manuals but it has already confused me more. so just thought if any of you can give me some idea what i am missing here.

The logs in sip server looks like this :

16:21:00.161 Int 04543 Interaction message "RequestMakeCall" received from 560 ("IWS_MAngelou")
@16:21:00.1610 [ISCC] destination_location substituted by local
@16:21:00.1610 [ISCC] destination_location substituted by local
16:21:00.161  -- created: CRequest@2b69a58 RequestMakeCall-IWS_MAngelou[560]/6
16:21:00.161: $+TLIB:CTI:Unknown:0:79806995
16:21:00.161 +++ CIFace::Request +++
   -- new invoke
  Parsed: RequestMakeCall
  From: IWS_MAngelou[560]/6
  Numbers: +<8002> -<6002>
  Status: parsed:1 queued:0 sent:0 acked:0 preevent:0 event:0 context:0 transferred:0
  -----
   -- validate
   -- state check: ok
  CIFace: Sent CRequest@2b69a58 RequestMakeCall-IWS_MAngelou[560]/6
  FinishRequest CRequest@2b69a58 RequestMakeCall-IWS_MAngelou[560]/6
   IFace stats: q=0 s=0
   -- complete
16:21:00.161: ResolveCallInfo: set flag DIAL_PLAN_PROCESSING
16:21:00.161: SIPTR(16): Begin step 0 - SipTransactionResolveCallInfoByDialPlan(17)
16:21:00.161: DialPlan: No dialplan defined for 8002.
16:21:00.161: DialPlan: No rule applied, using original destination '6002'.
16:21:00.161: DialPlan: clear flag DIAL_PLAN_PROCESSING
16:21:00.161: Number:[6002] is not internal, looking for service
16:21:00.161: Number:6002 did not find any gateway with matching prefix to send this call to
16:21:00.161: Unable to resolve number for DN:6002
16:21:00.161: SIPDM: failed to get registration info for 6002
16:21:00.161: SIPDM: failed to get registration info for 6002
16:21:00.161: Call connect failed with error WRONG_NUMBER, no DialPlan script condition - rejecting call.
16:21:00.161: ERROR: 10000029, DialPlanHandleConnect(scenario, trData,result,*instruction), SipCallManagerDialPlan.cpp,2128
16:21:00.161: SIPTR(17): failed
16:21:00.161: SIPTR(16): Step 0 - SipTransactionResolveCallInfoByDialPlan(17) failed
16:21:00.161: SIPTR(16): failed
16:21:00.161: SIPCM: transaction SipScenario failed
16:21:00.161: CALLSTATE: empty, delete the call 5
16:21:00.161: OnRequestFailed
16:21:00.161 Trc 36002 Request rejected: error code 71(Invalid Called Dn)
@16:21:00.1610
  • 8.1.101.17 send_to_client: message EventError

   (Invalid Called Dn)
   AttributeEventSequenceNumber   0000000000000036
   AttributeTimeinuSecs   161000
   AttributeTimeinSecs   1439446860 (16:21:00)
   AttributeExtensions   [2] 00 00..
   AttributeErrorCode   71
   AttributeErrorMessage   'Invalid Called Dn'
   AttributeMakeCallType   0 (MakeCallRegular)
   AttributeOtherDN   '6002'
   AttributeLocation   ''
   AttributeUserData   [106] 00 02 00 00..
      'IW_CaseUid'   '4843571c-77a8-4e6d-b888-2c7d9fea0807'
      'IW_BundleUid'   '5f938e3e-b954-4902-ab19-0be6197530d5'
   AttributeThisDN   '8002'
   AttributeReferenceID   6
   AttributeClientID   5

It looks like saying "no dial plan ". Do i need dial plan configured for tserver to tserver calls ? If so , what needs to be done ?

Thanks,
J

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2634
  • Karma: 41
Re: Basic call from sip server to avaya tserver
« Reply #1 on: August 14, 2015, 03:37:18 PM »
It is not about DialPlan, but about incorrect configuration of dest DN. This may be caused by failed registration of remote/dest DN or incorrect configuration of trunks to the Gateway(Avaya)
Genesys certified professional consultant (GVP, SIP, GIR and Troubleshooting)

Offline janesh22

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
Re: Basic call from sip server to avaya tserver
« Reply #2 on: August 17, 2015, 08:58:02 AM »

Hi Kubig,

Thanks for your response. Can you be more specific ?

Configuration of destination DN  - How is this done ? by configuring access codes ?

incorrect configuration of trunks to gateway (Avaya) - is this access code on the switch as well ?

Thanks,
J

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7172
  • Karma: 56330
Re: Basic call from sip server to avaya tserver
« Reply #3 on: August 17, 2015, 10:39:52 AM »
Create trunks for each prefix also on remote Avaya extension or VDN. Any object to be routed to.

Enviado de meu C6602 usando Tapatalk

Offline janesh22

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
Re: Basic call from sip server to avaya tserver
« Reply #4 on: August 18, 2015, 10:48:24 AM »
Hi Cavagnaro,

Sorry for being so stupid. But I still cannot get the call from sip to avaya working.

I have done the following :

-Added access code to both the sip and avaya switch
-Added External route point and trunk to both the switches
-Added access number in the External route point

Still does not work


Log for sip server :

     @location -a = 'AvayaSwitch'
      backup-type = not-specified <DM>
      state = enabled
      protocol = 'addp'
      addp-timeout = 100
      addp-remote-timeout = 100
      addp-trace = 'off' <DM>
      app-type = 1
      access-code -a = '-N/A-'
      backup-for = NULL <DM>
      primary-for = NULL <DM>
      options list  <M>
        reconnect-tout = '5 sec' <DM>
        cast-type = 'route direct-callid reroute direct-uui direct-ani direct-notoken dnis-pool direct-digits pullback route-uui direct-network-callid' <DM>
        timeout = '1 min'
        request-tout = '20 sec' <DM>
        default-dn = NULL <DM>
      extrouter list  <M>
        default-cast-type -a = route
        backward-cast-type -a = (undef)
        inbound-transaction-parameters -a = NULL <D>
        inbound-cof-parameters -a = 'match-callid, match-flexible=true, inbound-only=true' <D>
        outbound-transaction-parameters -a = 'propagate=yes' <D>
        outbound-cof-parameters -a = NULL <D>
        cluster-role = off <DM>
        proxy-name = NULL <DM>

    ReportingStatServer [120] list {aux}  <+M>
      @location -a = 'ReportingStatServer' <+>
      backup-type = not-specified <+D>
      state = enabled <+>
      protocol = 'default' <+D>
      addp-timeout = 0 <+D>
      addp-remote-timeout = 0 <+D>
      addp-trace = 'off' <+D>
      app-type = 2 <+>
      access-code -a = NULL <+D>
      backup-for = NULL <DM>
      primary-for = NULL <DM>
      options list  <D>
        reconnect-tout = '5 sec' <DM>
        cast-type = 'route direct-callid reroute direct-uui direct-ani direct-notoken dnis-pool direct-digits pullback route-uui direct-network-callid' <DM>
        timeout = '60 sec' <DM>
        request-tout = '20 sec' <DM>
        default-dn = NULL <DM>
      extrouter list  <DM>
        default-cast-type -a = default <DM>
        backward-cast-type -a = route <DM>
        inbound-transaction-parameters -a = NULL <DM>
        inbound-cof-parameters -a = 'match-callid, match-flexible=true, inbound-only=true' <DM>
        outbound-transaction-parameters -a = 'propagate=yes' <DM>
        outbound-cof-parameters -a = NULL <DM>
        cluster-role = off <DM>
        proxy-name = NULL <DM>

  AgentLogin array
    [167] login-id = '1801' state = enabled
    [168] login-id = '1802' state = enabled
    [169] login-id = '1803' state = enabled
    [170] login-id = '1804' state = enabled
    [171] login-id = '1805' state = enabled
    [172] login-id = '1806' state = enabled
    [173] login-id = '1807' state = enabled
    [174] login-id = '1808' state = enabled
    [175] login-id = '1809' state = enabled
    [176] login-id = '1810' state = enabled
  DN array
    8001 [199] dn = '8001' type = Extension xtype = DN cfgtype = 1 sstype = 1 reg-mode = 0x21 = +force register-flag = true
    8002 [200] dn = '8002' type = Extension xtype = DN cfgtype = 1 sstype = 1 reg-mode = 0x21 = +force register-flag = true
    8003 [201] dn = '8003' type = Extension xtype = DN cfgtype = 1 sstype = 1 reg-mode = 0x21 = +force register-flag = true
    8004 [202] dn = '8004' type = Extension xtype = DN cfgtype = 1 sstype = 1 reg-mode = 0x21 = +force register-flag = true
    8005 [203] dn = '8005' type = Extension xtype = DN cfgtype = 1 sstype = 1 reg-mode = 0x21 = +force register-flag = true
    8006 [204] dn = '8006' type = Extension xtype = DN cfgtype = 1 sstype = 1 reg-mode = 0x21 = +force register-flag = true
    8007 [205] dn = '8007' type = Extension xtype = DN cfgtype = 1 sstype = 1 reg-mode = 0x21 = +force register-flag = true
    8008 [206] dn = '8008' type = Extension xtype = DN cfgtype = 1 sstype = 1 reg-mode = 0x21 = +force register-flag = true
    8009 [207] dn = '8009' type = Extension xtype = DN cfgtype = 1 sstype = 1 reg-mode = 0x21 = +force register-flag = true
    8010 [208] dn = '8010' type = Extension xtype = DN cfgtype = 1 sstype = 1 reg-mode = 0x21 = +force register-flag = true
    8011 [209] dn = '8011' type = Extension xtype = DN cfgtype = 1 sstype = 1 reg-mode = 0x21 = +force register-flag = true
    8801 [212] dn = '8801' type = ACDQ xtype = Queue cfgtype = 3 sstype = 1 register-flag = true
    8802 [213] dn = '8802' type = ACDQ xtype = Queue cfgtype = 3 sstype = 1 register-flag = true
    SIP_to_Avaya [218] dn = 'SIP_to_Avaya' type = TRUNK xtype = Trunk cfgtype = 14 sstype = 1 ext = '6' register-flag = true
  DN/EXR array
    8881 [214] *cdn = '8881' type = RtQueue xtype = RouteDN cfgtype = 19 sstype = 1 auxdata = '8881'
      access-list array
        [107] location = 'sc_server_p' number = '8881' source = 1
        [120] location = 'ReportingStatServer' number = '8881' source = 1
      linked-resources array register-flag = true
    8882 [215] *cdn = '8882' type = RtQueue xtype = RouteDN cfgtype = 19 sstype = 1 auxdata = '8882'
      access-list array
        [107] location = 'sc_server_p' number = '8882' source = 1
        [120] location = 'ReportingStatServer' number = '8882' source = 1
      linked-resources array register-flag = true
    8883 [222] cdn = '8883' type = RtQueue xtype = RouteDN cfgtype = 19 sstype = 1 ext = '8' override = '8883' reg-mode = 0x11 = +force
      access-list array
        [105] location = 'AvayaSwitch' number = '8' source = 2
      linked-resources array register-flag = true
    [-1] cdn = 'direct' type = N/A reg-mode = 0x0 =
      access-list array
        [107] location = 'sc_server_p' source = 1
        [120] location = 'ReportingStatServer' source = 1
      linked-resources array
@11:26:56.1210 [TCONF] Location updated:
sc_server_p [107] list {aux}  <+M>
  @location -a = 'sc_server_p'
  backup-type = not-specified <+DM>
  state = enabled
  protocol = 'default' <D>
  addp-timeout = 0 <D>
  addp-remote-timeout = 0 <D>
  addp-trace = 'off' <D>
  app-type = 43
  access-code -a = NULL <D>
  backup-for = NULL <DM>
  primary-for = NULL <DM>
  options list  <DM>
    reconnect-tout = '5 sec' <DM>
    cast-type = 'route direct-callid reroute direct-uui direct-ani direct-notoken dnis-pool direct-digits pullback route-uui direct-network-callid' <DM>
    timeout = '60 sec' <DM>
    request-tout = '20 sec' <DM>
    default-dn = NULL <DM>
  extrouter list  <DM>
    default-cast-type -a = default <DM>
    backward-cast-type -a = route <DM>
    inbound-transaction-parameters -a = NULL <DM>
    inbound-cof-parameters -a = 'match-callid, match-flexible=true, inbound-only=true' <DM>
    outbound-transaction-parameters -a = 'propagate=yes' <DM>
    outbound-cof-parameters -a = NULL <DM>
    cluster-role = off <DM>
    proxy-name = NULL <DM>

@11:26:56.1210 [ISCC] (server-configuration (application-name AvayaTserver_p) (dbid 119) (change))
addp-trace off
(addp_reconfig) local 100000 msec, remote 100000 msec, trace off
@11:26:56.1210 [ISCC] Location AvayaSwitch: available cast types (route direct-callid reroute direct-uui direct-ani direct-notoken dnis-pool direct-digits pullback route-uui direct-network-callid)
@11:26:56.1210 [ISCC] Location AvayaSwitch: default cast type route
@11:26:56.1210 [ISCC] Location AvayaSwitch: default-dn
@11:26:56.1210 [ISCC] Inbound Transaction parameters: NULL
@11:26:56.1210 [ISCC] Outbound Transaction parameters: ("propagate"="yes")
@11:26:56.1210 [ISCC] Inbound COF parameters: ("match-callid","match-flexible"="true","inbound-only"="true")
@11:26:56.1210 [ISCC] Outbound COF parameters: NULL
@11:26:56.1210 [ISCC] Location AvayaSwitch: dnis-tail 0
@11:26:56.1210 [ISCC] Location AvayaSwitch: Propagation Control (+udata, +party)
@11:26:56.1210 [ISCC] Location AvayaSwitch: COF: match-flexible(1)
@11:26:56.1210 [ISCC] Location AvayaSwitch: COF: match-callid(1) 1
@11:26:56.1210 [ISCC] Location AvayaSwitch: COF: match-ani(0) 0
@11:26:56.1210 [ISCC] Location AvayaSwitch: COF: inbound-only true
@11:26:56.1210 [ISCC] (server-configuration (application-name AvayaTserver_p) (dbid 119) (change complete))
@11:26:56.1210 [TCONF] Location updated:
AvayaTserver_p [119] list {aux}  <+M>
  @location -a = 'AvayaSwitch'
  backup-type = not-specified <DM>
  state = enabled
  protocol = 'addp'
  addp-timeout = 100
  addp-remote-timeout = 100
  addp-trace = 'off' <+D>
  app-type = 1
  access-code -a = '-N/A-'
  backup-for = NULL <DM>
  primary-for = NULL <DM>
  options list  <M>
    reconnect-tout = '5 sec' <DM>
    cast-type = 'route direct-callid reroute direct-uui direct-ani direct-notoken dnis-pool direct-digits pullback route-uui direct-network-callid' <DM>
    timeout = '1 min'
    request-tout = '20 sec' <DM>
    default-dn = NULL <DM>
  extrouter list  <M>
    default-cast-type -a = route
    backward-cast-type -a = (undef)
    inbound-transaction-parameters -a = NULL <D>
    inbound-cof-parameters -a = 'match-callid, match-flexible=true, inbound-only=true' <D>
    outbound-transaction-parameters -a = 'propagate=yes' <D>
    outbound-cof-parameters -a = NULL <D>
    cluster-role = off <DM>
    proxy-name = NULL <DM>

@11:26:56.1210 [TCONF] Location updated:
ReportingStatServer [120] list {aux}  <+M>
  @location -a = 'ReportingStatServer'
  backup-type = not-specified <+DM>
  state = enabled
  protocol = 'default' <D>
  addp-timeout = 0 <D>
  addp-remote-timeout = 0 <D>
  addp-trace = 'off' <D>
  app-type = 2
  access-code -a = NULL <D>
  backup-for = NULL <DM>
  primary-for = NULL <DM>
  options list  <DM>
    reconnect-tout = '5 sec' <DM>
    cast-type = 'route direct-callid reroute direct-uui direct-ani direct-notoken dnis-pool direct-digits pullback route-uui direct-network-callid' <DM>
    timeout = '60 sec' <DM>
    request-tout = '20 sec' <DM>
    default-dn = NULL <DM>
  extrouter list  <DM>
    default-cast-type -a = default <DM>
    backward-cast-type -a = route <DM>
    inbound-transaction-parameters -a = NULL <DM>
    inbound-cof-parameters -a = 'match-callid, match-flexible=true, inbound-only=true' <DM>
    outbound-transaction-parameters -a = 'propagate=yes' <DM>
    outbound-cof-parameters -a = NULL <DM>
    cluster-role = off <DM>
    proxy-name = NULL <DM>

@11:26:56.1210 [TCONF] READER: status: [3]->[3]
@11:26:56.1210 [TCONF] READER: status: [3]->[3]
11:26:56.121  -- AgnEmu: parameter login state taken from global value
11:26:56.121  -- AgnEmu: parameter wrap-up-time taken from global option
11:26:56.121  -- AgnEmu: parameter legal-guard-time taken from global option
-AR[t/o:100000,trace]-<-532 @11:26:56.1210
-Ar[t/o:100000]->-532 @11:26:56.1210
-Ar[t/o:100000]-<-532 @11:26:56.1210
common: ConnTimerQueue option 'conn-timers-warning-processing-timeout' is set to the value '300' milliseconds
common: ConnTimerQueue option 'conn-timers-maximum-processing-timeout' is set to the value '1000' milliseconds
common: ConnTimerQueue option 'conn-timers-break-processing-loop' is set to the value 'false'
common: ConnTimerQueue option 'conn-timers-enable-extended-processing' is set to the value 'false'
11:27:31.775: $+NET:SIP::0:0
11:27:31.775: SIPTR: Received [0,UDP] 871 bytes from 10.191.45.70:40408 <<<<<
INVITE sip:66001@10.191.45.72:5060 SIP/2.0
Via: SIP/2.0/UDP 10.191.45.70:40408;branch=z9hG4bK-d87543-4d0c3460ba005469-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:8003@10.191.45.70:40408>
To: "66001"<sip:66001@10.191.45.72:5060>
From: "8003"<sip:8003@10.191.45.72:5060>;tag=d916d51c
Call-ID: NGJmNjM5YjhmMDc1MzYyODA1ZTVkYTc5ZDU0YWZhYjU.
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Content-Type: application/sdp
User-Agent: X-Lite release 1006e stamp 34025
Content-Length: 325

v=0
o=- 5 2 IN IP4 10.191.45.70
s=CounterPath X-Lite 3.0
c=IN IP4 10.191.45.70
t=0 0
m=audio 47810 RTP/AVP 107 119 0 98 8 3 101
a=alt:1 1 : 41GjunOz 1Cv06Aqn 10.191.45.70 47810
a=fmtp:101 0-15
a=rtpmap:107 BV32/16000
a=rtpmap:119 BV32-FEC/16000
a=rtpmap:98 iLBC/8000
a=rtpmap:101 telephone-event/8000
a=sendrecv

11:27:31.775: CallMatcher: no call match attributes found
11:27:31.775: ResolveCallInfo: set flag DIAL_PLAN_PROCESSING
11:27:31.775: SIPTR(46): Begin step 0 - SipTransactionCreateCall(47)
11:27:31.775 SIPCONN(8003): Create dialog
11:27:31.775: SipDialog: set monitor 037e24bc
11:27:31.775 SIPCONN(8003): refer dialog 037dbab8 initiated
11:27:31.775 SIPCONN(8003): change transaction 0 -> 0
11:27:31.775: SipDialog: set monitor 037e24bc
11:27:31.775 SIPCONN(8003): ClrMediaPeer
11:27:31.775: SIPDLG[15]: register TRN[15]
11:27:31.775: SIPDLG[15]: TRN[15] flags set to 0x1
11:27:31.775: SipDialog: event INVITE, t=15, s=1, r=5, m=037e24bc
11:27:31.775 SIPCONN(8003): HandleSipDialogEvent(INVITE)
11:27:31.775 SIPCONN(8003): Capabilities 19d
11:27:31.775 SIPCONN(8003): new transaction
11:27:31.775 SIPCONN(8003): store remote content
11:27:31.775 SIPCONN(8003): verify sdp
11:27:31.775 SIPCONN(8003): sdp state SDP_STATE_NULL, event SDP_EVENT_SDP
11:27:31.775 SIPCONN(8003): new sdp state SDP_STATE_OFFER_RECEIVED, event SDP_EVENT_SDP
11:27:31.775 SIPCONN(8003): state e:10,p:0,s:1,c:9,rc:0,m:0
11:27:31.775: SIPTR(47): complete
11:27:31.775: SIPTR(46): Step 0 - SipTransactionCreateCall(47) complete
11:27:31.775: SIPTR(46): Begin step 1 - SipTransactionResolveCallInfoByDialPlan(48)
11:27:31.775: DialPlan: No dialplan defined for 8003.
11:27:31.775: DialPlan: No rule applied, using original destination '66001'.
11:27:31.775: DialPlan: clear flag DIAL_PLAN_PROCESSING
11:27:31.775: Number:[66001] is not internal, looking for service
11:27:31.775: GetTheBestNode: no eligible service found for 66001
11:27:31.775: Number:66001 prefix: gateway list not empty, but none can be selected now
11:27:31.775: Unable to resolve number for DN:66001
11:27:31.775: SIPDM: failed to get registration info for 66001
11:27:31.775: SIPDM: failed to get registration info for 66001
11:27:31.775: Call connect failed with error WRONG_NUMBER, no DialPlan script condition - rejecting call.
11:27:31.775: SIPTR(48): complete
11:27:31.775: SIPTR(46): Step 1 - SipTransactionResolveCallInfoByDialPlan(48) complete
11:27:31.775: SIPTR(46): Begin step 2 - SipTransactionRejectCall(49)
11:27:31.775 SIPCONN(8003): re-invite-called-initiated
11:27:31.775: Sending  [0,UDP] 371 bytes to 10.191.45.70:40408 >>>>>
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 10.191.45.70:40408;branch=z9hG4bK-d87543-4d0c3460ba005469-1--d87543-;rport;received=10.191.45.70
To: "66001"<sip:66001@10.191.45.72:5060>;tag=2FE171E2-AA20-4303-89D2-51854ABDC831-13
From: "8003"<sip:8003@10.191.45.72:5060>;tag=d916d51c
Call-ID: NGJmNjM5YjhmMDc1MzYyODA1ZTVkYTc5ZDU0YWZhYjU.
CSeq: 1 INVITE
Content-Length: 0
 

Offline nonny

  • Full Member
  • ***
  • Posts: 205
  • Karma: 0
Re: Basic call from sip server to avaya tserver
« Reply #5 on: August 18, 2015, 11:17:08 AM »
Paste a screenshot of your trunk configuration from SIP to Avaya.

Offline janesh22

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
Re: Basic call from sip server to avaya tserver
« Reply #6 on: August 18, 2015, 01:23:52 PM »



Offline Kubig

  • Hero Member
  • *****
  • Posts: 2634
  • Karma: 41
Re: Basic call from sip server to avaya tserver
« Reply #7 on: August 18, 2015, 04:22:06 PM »
What is DN (called nr) 66001? According to your configuration and logs, it seems that this number does not exists within Genesys env.
Genesys certified professional consultant (GVP, SIP, GIR and Troubleshooting)

Offline janesh22

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
Re: Basic call from sip server to avaya tserver
« Reply #8 on: August 19, 2015, 07:45:11 AM »
I had added access number "6" to call the avayaswitch, so to call DN 6001 adding 6 to it :66001

Offline nonny

  • Full Member
  • ***
  • Posts: 205
  • Karma: 0
Re: Basic call from sip server to avaya tserver
« Reply #9 on: August 19, 2015, 08:32:47 AM »
Try removing that access code (leave it blank), and check that you have the prefix 6 configured on the Trunk SIP_to_Avaya.  Show us the Annex tab of that Trunk configuration.

Offline janesh22

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
Re: Basic call from sip server to avaya tserver
« Reply #10 on: August 19, 2015, 11:36:48 AM »


How do i add prefix ?

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7172
  • Karma: 56330
Re: Basic call from sip server to avaya tserver
« Reply #11 on: August 19, 2015, 07:06:41 PM »
Prefix option. Check  sip server guide on how to create trunks....

Enviado de meu C6602 usando Tapatalk


Offline janesh22

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
Re: Basic call from sip server to avaya tserver
« Reply #12 on: August 20, 2015, 03:16:36 PM »
Hi Cavagnaro ,

the sip server deployment guide does not give a proper step by step instruction on how to create trunk and add prefix to it. (Maybe I have not been able to find the correct info)

I only need to make a direct call from one extension DN to the other extension DN on different sip servers. I have added ISCC to both end . added trunk on both end and added prefix with '0' in one and '1' in the other .

Is this how it is to be configured. When I try to make call to other extension DN it gives the following error in logs :


16:07:28.947: Number:[18001] is not internal, looking for service
16:07:28.947: GetTheBestNode: no eligible service found for 18001
16:07:28.947: Number:18001 prefix:1 gateway list not empty, but none can be selected now
16:07:28.947: Unable to resolve number for DN:18001
16:07:28.947: SIPDM: failed to get registration info for 18001
16:07:28.947: SIPDM: failed to get registration info for 18001
16:07:28.947: Call connect failed with error WRONG_NUMBER, no DialPlan script condition - rejecting call.

Offline nonny

  • Full Member
  • ***
  • Posts: 205
  • Karma: 0
Re: Basic call from sip server to avaya tserver
« Reply #13 on: August 21, 2015, 07:47:45 AM »
Change the contact value to be sip:10:191.45.71:10003 (assuming 10003 is the listening port for your Avaya TServer, and this is the correct IP for that host/NIC). 

You have specified the external routing point in your current value, which is not correct.  ISCC will make use of ERP as part of it's process as needed without you needing to specify those.

Add in a new option called prefix but make the prefix value 6 (that is what your Avaya DNs start with).




Offline nonny

  • Full Member
  • ***
  • Posts: 205
  • Karma: 0
Re: Basic call from sip server to avaya tserver
« Reply #14 on: August 24, 2015, 07:46:10 AM »
Sorry that should be sip:10.191.45.71:10003

Sent from my SM-N9005 using Tapatalk