cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
themercr
New Contributor

need to append a "1" to LD calls out a FX0 port

Jump to solution

the call come down the SIP trunk then is point to the FX0 ports loop start PSTN line, all other calls work fine until it is a LD call requiring 1+.

voice trunk T04 type sip

  description "SIP Trunk to EPB"

  no reject-external

  sip-server primary 68.169.191.20

  registrar primary 68.169.191.20

  registrar max-concurrent-reg 6

  dial-string source to

  max-number-calls 10

  codec-list g711_first both

voice trunk T01 type analog supervision loop-start

  description "Benton POTS lines"

  resource-selection linear ascending

  disconnect-supervision tone busy

  disconnect-supervision release-delay 1

  loop-disconnect time 1000

  no reject-external

  no caller-id

  trunk-number 1000

  connect fxo 1/1

  connect fxo 1/2

  rtp delay-mode adaptive

  codec-list g711_first

voice user 1000

  password "1234"

  group-ring-call-waiting

  forward "4238053387"

  sip-authentication password "

  codec-list g711_first

  voicemail auth-mode password

  voicemail password "1234"

  voicemail notify schedule Sunday 12:00 am

!

voice user 2000

  password "1234"

  group-ring-call-waiting

  forward "4238053386"

  sip-authentication password

  codec-list g711_first

  voicemail auth-mode password

  voicemail password "1234"

  voicemail notify schedule Sunday 12:00 am

14:50:50.186 TM.T01 01 Addressing - Tism_addressResponse(PASS)

14:50:50.186 TM.T01 01 Addressing -> Connected

14:50:50.186 TONESERVICES.EVENTS FxoTrunk 1/1 - FxoTrunk 1/1.1 - DTMF Generation: stopping

14:50:50.187 TONESERVICES.EVENTS FxoTrunk 1/1 - FxoTrunk 1/1.1 - DTMF Generation: TDM unmap

14:50:50.187 RTP.CHANNEL FxoTrunk 1/1 - FxoTrunk 1/1.1 - DTMF Generation: releasing RTP resource

14:50:50.187 TONESERVICES.EVENTS FxoTrunk 1/1 - FxoTrunk 1/1.1 - DTMF Generation: release

14:50:50.187 TONESERVICES.EVENTS FxoTrunk 1/1 - empty - Release Tone Detection: Request resource

14:50:50.188 TONESERVICES.EVENTS FxoTrunk 1/1 - FxoTrunk 1/1.1 - Release Tone Detection: DSP channel allocated for the resource

14:50:50.188 TONESERVICES.EVENTS FxoTrunk 1/1 - FxoTrunk 1/1.1 - Release Tone Detection: constructed

14:50:50.188 TONESERVICES.EVENTS FxoTrunk 1/1 - FxoTrunk 1/1.1 - Release Tone Detection: starting

14:50:50.189 TONESERVICES.EVENTS FxoTrunk 1/1 - FxoTrunk 1/1.1 - Release Tone Detection: TDM map

14:50:50.189 TA.T01 01 TAOutGoing           rcvd: connect from TM

14:50:50.189 TA.T01 01 State change      >> TAOutGoing->TAConnectWaitOut (TAS_Delivering)

14:50:50.189 SB.CALL 77 Delivering           Called the connect routine

14:50:50.189 SB.CCM isResponseMappable:

14:50:50.190 SB.CCM  :  Call Struct 0x4190010 :   Call-ID = 77

14:50:50.190 SB.CCM  :  Org Acct = T04    Dst Acct = T01

14:50:50.190 SB.CCM  :  Org Port ID = SipTrunk 0/0.64   Dst Port ID = FxoTrunk 1/1

14:50:50.190 SB.CCM  :  SDP Transaction = CallID: 77

14:50:50.190 SB.CCM  :  SDP Offer = 0x03fb7c10, (68.169.191.20:10082)

14:50:50.191 SB.CCM  :  RTP Channel = 0/1.1

14:50:50.191 SB.CCM isResponseMappable: reversing call connection type to compensate for event originator direction

14:50:50.191 SB.CCM isResponseMappable: Call Connection Type is TDM_TO_RTP

14:50:50.191 SB.CCM isResponseMappable: Creating SDP Answer based on SDP Offer

14:50:50.191 SB.CCM createAnswer: creating SDP answer using RTP channel 0/1.1

14:50:50.192 SB.CCM createAnswer : offer  codec list: PCMU

14:50:50.192 SB.CCM              : answer codec list: PCMU

14:50:50.193 SB.CCM createAnswer : result codec list: PCMU

14:50:50.194 SB.CCM createAnswer : final DTMF signaling(NTE 101)

14:50:50.194 MEDIA.MANAGER getSubstitutePort: Matching callIdMap entry found for call 77 sessionId -4109940292INIP468.169.191.20 remote port 10082

14:50:50.194 MEDIA.MANAGER getSubstitutePort: Matching sessionPortMap entry found for session

14:50:50.194 MEDIA.MANAGER getSubstitutePort: Session port count (1)  Returning port (10238)

14:50:50.194 SB.CCM updateMediaEntryForReinviteWithSameSdp : no associated port found for port (10238)

14:50:50.195 SB.CCM translateAnswer: offer  codec list: PCMU

14:50:50.195 SB.CCM                : answer codec list: PCMU

14:50:50.195 SB.CCM translateAnswer: CODEC transcoding is not required

14:50:50.196 SB.CCM translateAnswer: offer / answer DTMF signaling identical: DTMF transcoding not required

14:50:50.197 SB.CCM translateAnswer: success

14:50:50.197 MEDIA.MANAGER Allocating media port.

14:50:50.197 MEDIA.MANAGER getSubstitutePort: Matching callIdMap entry found for call 77 sessionId -1408564250INIP4127.0.0.3 remote port 0

14:50:50.198 MEDIA.MANAGER Call ID map : Added new session ID : call ID 77 : session -1408564250INIP4127.0.0.3 : version 1 : index 240

14:50:50.198 MEDIA.MANAGER New media entry : type(0), callID(77), sessionID(-1408564250INIP4127.0.0.3), original IP(127.0.0.3) ports(10240-10241), substitute IP(::) ports(10240-10241), RtpChannel(0/1.1), connection(0x3fb8810), sdpOverride(0), me(0x3fb4210). RtpChannel 0/1.1

14:50:50.198 SB.CALL 77 Delivering           Connect sent from T01 to T04

14:50:50.198 SB.CALL 77 State change      >> Delivering->Connecting

14:50:50.199 TA.T04 01 TAConnectWaitIn      connect event accepted

14:50:50.199 TA.T04 01 State change      >> TAConnectWaitIn->TAConnectPending (TAS_Connected)

14:50:50.199 TM.T04 01 SipTM_Pending        tachg -> TAConnectPending

14:50:50.199 TM.T04 01 SipTM_Pending        State change      >> SipTM_Pending->SipTM_Accept

14:50:50.200 TM.T04 01 SDP DPI call ID 77 : No media bin.

14:50:50.200 TM.T04 01 Processing new SDP entries.

14:50:50.200 TM.T04 01 Checking for internal Media Gateway IP Address

14:50:50.200 TM.T04 01 Using RTP Channel 0/1.1

14:50:50.201 TM.T04 01 Inserting 10.141.0.101 into SDP for Media Gateway

14:50:50.201 MEDIA.MANAGER getSubstitutePort: Matching callIdMap entry found for call 77 sessionId -1408564250INIP4127.0.0.3 remote port 10240

14:50:50.201 MEDIA.MANAGER getSubstitutePort: Matching sessionPortMap entry found for session

14:50:50.201 MEDIA.MANAGER getSubstitutePort: Session port count (1)  Returning port (10240)

14:50:50.201 MEDIA.MANAGER Existing entry found for port reuse of SDP port 10240 and sub port 10240.

14:50:50.202 MEDIA.MANAGER Reuse anchor entry with same SDP : call 77 : session -1408564250INIP4127.0.0.3 : IP 10.141.0.101 ports 10240 - 10241 : remote IP 127.0.0.3 ports 10240 - 10241.

14:50:50.202 TM.T04 01 Adding RTP Media Gateway Entry: 127.0.0.3:10240 -> 10.141.0.101:10240

14:50:50.202 TM.T04 01 Allocating anchor ports 10240 and 10241 for interface 10.141.0.101

14:50:50.205 TM.T04 01 SipTM_Accept         call-leg -> Accepted

14:50:50.205 TM.T04 01 SipTM_Accept         sent: 200 with SDP

14:50:50.206 TRKPORT.01:01 01:01  DTMF digits sent

14:50:50.225 TM.T04 01 SipTM_Accept         rcvd SIP call-leg request: ACK

14:50:50.225 TM.T04 01 SipTM_Accept         call-leg -> Connected

14:50:50.225 TM.T04 01 SipTM_Accept         No body in message when trying to get SDP

14:50:50.225 TM.T04 01 SipTM_Accept         info: unable to save SDP

14:50:50.226 TM.T04 01 SipTM_Accept         sent: TA->Connect

14:50:50.226 TM.T04 01 SipTM_Accept         State change      >> SipTM_Accept->SipTM_Connected

14:50:50.226 TM.T04 01 SipTM_Connected      call-leg-mod -> Modify Idle

14:50:50.226 TA.T04 01 TAConnectPending     rcvd: connect from TM

14:50:50.227 TA.T04 01 State change      >> TAConnectPending->TAConnected (TAS_Connected)

14:50:50.227 SB.CALL 77 Connecting           Called the connectResponse routine

14:50:50.227 SB.CCM connect:

14:50:50.227 SB.CCM  :  Call Struct 0x4190010 :   Call-ID = 77

14:50:50.227 SB.CCM  :  Org Acct = T04    Dst Acct = T01

14:50:50.228 SB.CCM  :  Org Port ID = SipTrunk 0/0.64   Dst Port ID = FxoTrunk 1/1

14:50:50.228 SB.CCM  :  SDP Transaction = CallID: 77

14:50:50.228 SB.CCM  :  SDP Offer = 0x03fb7c10, (68.169.191.20:10082)

14:50:50.229 SB.CCM  :  SDP Answer = 0x03fce710, (127.0.0.3:10240)

14:50:50.229 SB.CCM  :  RTP Channel = 0/1.1

14:50:50.229 MOH.APP printCSHoldStates, connect_: towOrig 0, towDest 0 origHold 0 destHold 0 isHold 0

14:50:50.229 SB.CCM connect: Call Connection Type is RTP_TO_TDM

14:50:50.229 SB.CCM call rtpChannel->allocateForInterface

14:50:50.230 SB.CCM SDP offer is 68.169.191.20:10082, SDP answer is 127.0.0.3:10240

14:50:50.230 MEDIA.MANAGER Trying to connect call ID 77 : SDP sessions -4109940292INIP468.169.191.20 and -1408564250INIP4127.0.0.3

14:50:50.230 MEDIA.MANAGER Found 1 ports for session -4109940292INIP468.169.191.20

14:50:50.230 MEDIA.MANAGER Found 1 ports for session -1408564250INIP4127.0.0.3

14:50:50.230 MEDIA.MANAGER Connecting Disconnected Local [::]:10238 : Remote 68.169.191.20:10082

14:50:50.231 MEDIA.MANAGER    and     Disconnected Local 10.141.0.101:10240 : Remote 127.0.0.3:10240

14:50:50.231 MEDIA.MANAGER Setting up DSP Media Connection 77 for entry(type(0), callID(77), sessionID(-4109940292INIP468.169.191.20), original IP(68.169.191.20) ports(10082-10083), substitute IP(::) ports(10238-10239), RtpChannel(0/1.1), connection(0x3fc1810), sdpOverride(0), me(0x3fafa10))

14:50:50.231 MEDIA.MANAGER Setting up DSP Media Connection 77 for entry(type(0), callID(77), sessionID(-1408564250INIP4127.0.0.3), original IP(127.0.0.3) ports(10240-10241), substitute IP(10.141.0.101) ports(10240-10241), RtpChannel(0/1.1), connection(0x3fb8810), sdpOverride(0), me(0x3fb4210))

14:50:50.232 MEDIA.MANAGER Connection Fixup 1 DSP Port 10238

14:50:50.232 MEDIA.MANAGER   Local [::]:10238 : Remote 68.169.191.20:10082

14:50:50.232 MEDIA.MANAGER Connection Fixup 2 DSP Port 10240

14:50:50.232 MEDIA.MANAGER   Local 10.141.0.101:10240 : Remote 127.0.0.3:10240

14:50:50.232 MEDIA.MANAGER connectionFixup : Letting other side fixup connection : entry 10238 sub [::]:10238 remote 68.169.191.20:10082

14:50:50.232 MEDIA.MANAGER                 : Other side : entry 10240 sub 10.141.0.101:10240 remote 127.0.0.3:10240

14:50:50.233 MEDIA.MANAGER Connection Fixup 1 DSP Port 10240

14:50:50.233 MEDIA.MANAGER   Local 10.141.0.101:10240 : Remote 127.0.0.3:10240

14:50:50.233 MEDIA.MANAGER Connection Fixup 2 DSP Port 10238

14:50:50.233 MEDIA.MANAGER   Local [::]:10238 : Remote 68.169.191.20:10082

14:50:50.233 MEDIA.MANAGER connectionFixup : DSP media : Change entry 10240 remote from 127.0.0.3:10240 to 68.169.191.20:10082

14:50:50.234 MEDIA.MANAGER Setup RTP Channel false for 0/1.1

14:50:50.234 MEDIA.MANAGER Setup RTP Channel true for 0/1.1

14:50:50.234 MEDIA.MANAGER Connection Result 1 DSP Port 10240

14:50:50.234 MEDIA.MANAGER   Local 10.141.0.101:10240 : Remote 68.169.191.20:10082

14:50:50.234 MEDIA.MANAGER Connection Result 2 Entry not activated

14:50:50.234 MEDIA.MANAGER connectionFixup success for port 10240 and 10238

14:50:50.234 MEDIA.MANAGER Marking setup complete for port 10240

14:50:50.235 MEDIA.MANAGER Marking setup complete for port 10238

14:50:50.235 MEDIA.MANAGER Connection Fixup 1 DSP Port 10239

14:50:50.235 MEDIA.MANAGER   Local [::]:10239 : Remote 68.169.191.20:10083

14:50:50.235 MEDIA.MANAGER Connection Fixup 2 DSP Port 10241

14:50:50.235 MEDIA.MANAGER   Local 10.141.0.101:10241 : Remote 127.0.0.3:10241

14:50:50.236 MEDIA.MANAGER connectionFixup : Letting other side fixup connection : entry 10239 sub [::]:10239 remote 68.169.191.20:10083

14:50:50.236 MEDIA.MANAGER                 : Other side : entry 10241 sub 10.141.0.101:10241 remote 127.0.0.3:10241

14:50:50.236 MEDIA.MANAGER Connection Fixup 1 DSP Port 10241

14:50:50.236 MEDIA.MANAGER   Local 10.141.0.101:10241 : Remote 127.0.0.3:10241

14:50:50.236 MEDIA.MANAGER Connection Fixup 2 DSP Port 10239

14:50:50.236 MEDIA.MANAGER   Local [::]:10239 : Remote 68.169.191.20:10083

14:50:50.237 MEDIA.MANAGER connectionFixup : DSP media : Change entry 10241 remote from 127.0.0.3:10241 to 68.169.191.20:10083

14:50:50.237 MEDIA.MANAGER Connection Result 1 DSP Port 10241

14:50:50.237 MEDIA.MANAGER   Local 10.141.0.101:10241 : Remote 68.169.191.20:10083

14:50:50.237 MEDIA.MANAGER Connection Result 2 Entry not activated

14:50:50.237 MEDIA.MANAGER connectionFixup success for port 10241 and 10239

14:50:50.237 MEDIA.MANAGER Marking setup complete for port 10241

14:50:50.238 MEDIA.MANAGER Marking setup complete for port 10239

14:50:50.238 MEDIA.MANAGER Connected DSP Port 10240

14:50:50.238 MEDIA.MANAGER   Local 10.141.0.101:10240 : Remote 68.169.191.20:10082

14:50:50.238 MEDIA.MANAGER Connected associations Entry not activated

14:50:50.238 SB.CCM connect: Connected RTP/TDM via MCM

14:50:50.238 MEDIA.MANAGER Setup RTP Channel true for 0/1.1

14:50:50.239 SB.CCM setupRtpChannel, source 2, silence 0

14:50:50.239 SB.CCM setupRtpChannel: setup using media connection

14:50:50.240 SB.CCM Looking up source address for destination 68.169.191.20

14:50:50.240 SB.CCM setupRtpChannel: Source IP addr = 10.141.0.101, port = 10240

14:50:50.240 SB.CCM setupRtpChannel: Target IP addr = 68.169.191.20, port = 10082

14:50:50.240 SB.CCM setupRtpChannel: Undo of previous operation not required

14:50:50.241 SB.CCM getFinalCodec: PCMU

14:50:50.241 SB.CCM getFinalCodec: PCMU

14:50:50.242 SB.CCM setupRtpChannel: Configuring RTP Channel 0/1.1 to Src 10.141.0.101:10240 Trg 68.169.191.20:10082 via PCMU Rx PCMU

14:50:50.242 SB.CCM setupRtpChannel: fpp=2 echo=on dtmf=101/101 dscp=46 vad=off isOffer no

14:50:50.242 SB.CCM setupRtpChannel: Starting RTP Channel

14:50:50.243 RTP.CHANNEL Channel 0/1.1 session statistics cleared.

14:50:50.243 RTP.CHANNEL Channel 0/1.1 started successfully.

14:50:50.243 SB.CCM firewallConnectCall: Set up firewall from media connections

14:50:50.243 SB.CCM sdpFirewall: invoked with offer - 10.141.0.101:10240, answer - 68.169.191.20:10082

14:50:50.244 SB.CCM sdpFirewall: IPv4 firewall is not enabled, no action taken

14:50:50.244 SB.CCM connect: TDM streams: port(SipTrunk 0/1.1) to port(FxoTrunk 1/1)

14:50:50.244 SB.CALL 77 Connecting           ConnectResponse sent from T04 to T01

14:50:50.245 RTP.CHANNEL FxoTrunk 1/1 - Dsp 0/1.1 - RTP: starting

14:50:50.245 TA.T01 01 TAConnectWaitOut     connectResponse event accepted

14:50:50.245 TA.T01 01 State change      >> TAConnectWaitOut->TAConnected (TAS_Connected)

14:50:50.245 TM.T01 01 Connected - tachg_Connected

14:50:50.246 TM.T01 01 sent: finalizeConnect to account

14:50:50.246 TA.T01 01 TAConnected          rcvd: finalizeConnect from TM

14:50:50.246 TA.T01 01 TAConnected          forwarding finalizeConnect from TM

14:50:50.246 TA.T01 01 TAConnected          sent finalizeConnect to SB

14:50:50.246 SB.CALL 77 Connecting           Called the finalizeConnect routine

14:50:50.247 SB.CCM finalizeConnect: connection already finalized(2)

14:50:50.247 SB.CALL 77 State change      >> Connecting->Connected

14:51:02.757 TM.T04 01 SipTM_Connected      rcvd SIP call-leg request: BYE

14:51:02.757 TM.T04 01 SipTM_Connected      call-leg -> Disconnected

14:51:02.757 TM.T04 01 SipTM_Connected      CallLegStateChanged to Disconnected - TM change to closing state.

14:51:02.757 TM.T04 01 SipTM_Connected      State change      >> SipTM_Connected->SipTM_Closing

14:51:02.758 TM.T04 01 SipTM_Closing        sent: TA->Clear

14:51:02.759 TM.T04 01 SipTM_Closing        call-leg -> Terminated

14:51:02.760 TA.T04 01 TAConnected          rcvd: clear from TM

14:51:02.760 TA.T04 01 State change      >> TAConnected->TATrunkClearing (TAS_Clearing)

14:51:02.760 TM.T04 01 SipTM_Closing        tachg -> TATrunkClearing

14:51:02.761 TM.T04 01 SipTM_Closing        State change      >> SipTM_Closing->SipTM_Terminated

14:51:02.761 TM.T04 01 SipTM_Terminated     sent: TA->AppearanceOff

14:51:02.761 TM.T04 01 SipTM_Terminated     State change      >> SipTM_Terminated->SipTM_Idle

14:51:02.761 SB.CALL 77 Connected            Called the clearCall routine

14:51:02.761 SB.CALL 77 Connected            ClearCall sent from T04 to T01

14:51:02.762 SB.CALL 77 State change      >> Connected->Clearing

14:51:02.762 TA.T04 01 TATrunkClearing      rcvd: appearance off from TM

14:51:02.762 TA.T04 01 State change      >> TATrunkClearing->TAClearingComplete (TAS_Clearing)

14:51:02.762 TA.T04 01 TATrunkClearing      Processing an appearance OFF

14:51:02.762 TA.T01 01 TAConnected          ClearCall event accepted

14:51:02.763 TA.T01 01 State change      >> TAConnected->TAClearingComplete (TAS_Clearing)

14:51:02.763 TM.T01 01 Connected - tachg_Clearing

14:51:02.764 TM.T01 01 Connected -> Clearing

14:51:02.764 SB.CALL 77 Clearing             Called the clearResponse routine

14:51:02.764 SB.CALL 77 State change      >> Clearing->CallIdlePending

14:51:02.764 SB.CCM disconnect:

14:51:02.765 SB.CCM  :  Call Struct 0x4190010 :   Call-ID = 77

14:51:02.765 SB.CCM  :  Org Acct = T04    Dst Acct = T01

14:51:02.765 SB.CCM  :  Org Port ID = SipTrunk 0/1.1   Dst Port ID = FxoTrunk 1/1

14:51:02.765 SB.CCM  :  RTP Channel = 0/1.1

14:51:02.765 MOH.APP printCSHoldStates, disconnect: towOrig 0, towDest 0 origHold 0 destHold 0 isHold 0

14:51:02.766 SB.CCM disconnect: Call Connection Type is RTP_TO_TDM

14:51:02.766 SB.CCM disconnect: Stopping RTP Channel 0/1.1

14:51:02.766 RTP.CHANNEL Channel 0/1.1 stopped successfully.

14:51:02.766 SB.CCM disconnect: Disconnecting TDM streams

14:51:02.766 SB.CCM release:

14:51:02.767 SB.CCM  :  Call Struct 0x4190010 :   Call-ID = 77

14:51:02.767 SB.CCM  :  Org Acct = T04    Dst Acct = T01

14:51:02.767 SB.CCM  :  Org Port ID = SipTrunk 0/1.1   Dst Port ID = FxoTrunk 1/1

14:51:02.767 SB.CCM  :  RTP Channel = 0/1.1

14:51:02.767 SB.CCM release: Call Connection Type is RTP_TO_TDM

14:51:02.768 SB.CCM release: Releasing RTP Channel 0/1.1

14:51:02.768 RTP.CHANNEL Channel 0/1.1 released successfully.

14:51:02.768 SB.CALL 77 CallIdlePending      ClearResponse sent from T01 to T04

14:51:02.769 TONESERVICES.EVENTS FxoTrunk 1/1 - FxoTrunk 1/1.1 - Release Tone Detection: stopping

14:51:02.769 TONESERVICES.EVENTS FxoTrunk 1/1 - FxoTrunk 1/1.1 - Release Tone Detection: TDM unmap

14:51:02.769 RTP.CHANNEL FxoTrunk 1/1 - FxoTrunk 1/1.1 - Release Tone Detection: releasing RTP resource

14:51:02.770 TONESERVICES.EVENTS FxoTrunk 1/1 - FxoTrunk 1/1.1 - Release Tone Detection: release

14:51:02.770 TA.T04 01 TAClearingComplete   clearResponse event accepted

14:51:02.770 TA.T04 01 TAClearingComplete   Clear Local Variables

14:51:02.770 TA.T04 01 State change      >> TAClearingComplete->TAIdle (TAS_Idle)

14:51:02.771 TM.T04 01 SipTM_Idle           tachg -> TAIdle

14:51:02.771 RTP.CHANNEL FxoTrunk 1/1 - Dsp 0/1.1 - RTP: stopping

14:51:02.771 RTP.CHANNEL FxoTrunk 1/1 - Dsp 0/1.1 - RTP: releasing RTP resource

14:51:02.772 RTP.CHANNEL FxoTrunk 1/1 - Dsp 0/1.1 - RTP: releasing

14:51:02 SB.CallStructObserver 77 Finalized

14:51:02.823 TRKPORT.01:01 01:01  Reverse Loop Current Feed

2014.08.20 14:51:03 SMDR 77         08/20/2014 14:50:46      0.2 0    E  00/01                 4233385588      01/01 T01             4232651411      0 N <----- need to prepend a "1" on this number if possible.

14:51:05.315 TM.T01 01 Clearing - Tism_clearResponse(PASS)

Message was edited by: matt - shortened title

0 Kudos
1 Solution

Accepted Solutions
dmac
New Contributor III

Re: need to append a "1" to LD calls out a FX0 port.. the call come down the SIP trunk then is point to the FX0 ports loop start PSTN line, all other calls work fine until it is a LD call requiring 1+.

Jump to solution

The easiest way I know is to do a DNIS Substitution on the FXO trunk. You can do it via the command line on the trunk or via the gui. We are using centrex lines for out FXO trunks which require a 9 but our SIP trunk does not require the 9. Our local calling over our SIP trunk includes 3 area codes where the Analog centrex lines do not plus we can still dial 7 digits locally. Wild cards can also be used.  match dnis "?" substitute "1-?"

voice trunk T01 type analog supervision loop-start

  description "Admin 1399"

  trunk-number 400

  connect fxo 0/1

  match dnis "727-NXX-XXXX" substitute "9-1-727-NXX-XXXX"

  match dnis "352-NXX-XXXX" substitute "9-1-352-NXX-XXXX"

  match dnis "1-NXX-NXX-XXXX" substitute "9-1-NXX-NXX-XXXX"

  match dnis "NXX-XXXX" substitute "9-NXX-XXXX"

  rtp delay-mode adaptive

  codec-list "G729 First then G711"

DNIS Subt.png

View solution in original post

2 Replies
dmac
New Contributor III

Re: need to append a "1" to LD calls out a FX0 port.. the call come down the SIP trunk then is point to the FX0 ports loop start PSTN line, all other calls work fine until it is a LD call requiring 1+.

Jump to solution

The easiest way I know is to do a DNIS Substitution on the FXO trunk. You can do it via the command line on the trunk or via the gui. We are using centrex lines for out FXO trunks which require a 9 but our SIP trunk does not require the 9. Our local calling over our SIP trunk includes 3 area codes where the Analog centrex lines do not plus we can still dial 7 digits locally. Wild cards can also be used.  match dnis "?" substitute "1-?"

voice trunk T01 type analog supervision loop-start

  description "Admin 1399"

  trunk-number 400

  connect fxo 0/1

  match dnis "727-NXX-XXXX" substitute "9-1-727-NXX-XXXX"

  match dnis "352-NXX-XXXX" substitute "9-1-352-NXX-XXXX"

  match dnis "1-NXX-NXX-XXXX" substitute "9-1-NXX-NXX-XXXX"

  match dnis "NXX-XXXX" substitute "9-NXX-XXXX"

  rtp delay-mode adaptive

  codec-list "G729 First then G711"

DNIS Subt.png

Re: need to append a "1" to LD calls out a FX0 port.. the call come down the SIP trunk then is point to the FX0 ports loop start PSTN line, all other calls work fine until it is a LD call requiring 1+.

Jump to solution

This was a good direction to solve this issue. I had to also send local calls without the 1+ so I created rules to filter those before the rule to add the 1+. This worked below.

Thanks for your help on this.

voice trunk T01 type analog supervision loop-start

  description "Benton POTS lines"

  resource-selection linear ascending

  disconnect-supervision tone busy

  disconnect-supervision release-delay 1

  loop-disconnect time 1000

  no reject-external

  caller-id

  trunk-number 1000

  connect fxo 1/1

  connect fxo 1/2

  match dnis "423-338-XXXX" substitute "423-338-XXXX"

  match dnis "423-219-XXXX" substitute "423-219-XXXX"

  match dnis "423-241-XXXX" substitute "423-241-XXXX"

  match dnis "423-496-XXXX" substitute "423-496-XXXX"

  match dnis "423-548-XXXX" substitute "423-548-XXXX"

  match dnis "423-761-XXXX" substitute "423-761-XXXX"

  match dnis "423-244-XXXX" substitute "423-244-XXXX"

  match dnis "423-284-XXXX" substitute "423-284-XXXX"

  match dnis "423-303-XXXX" substitute "423-303-XXXX"

  match dnis "423-310-XXXX" substitute "423-310-XXXX"

  match dnis "423-331-XXXX" substitute "423-331-XXXX"

  match dnis "423-339-XXXX" substitute "423-339-XXXX"

  match dnis "423-380-XXXX" substitute "423-380-XXXX"

  match dnis "423-457-XXXX" substitute "423-457-XXXX"

  match dnis "423-458-XXXX" substitute "423-458-XXXX"

  match dnis "423-464-XXXX" substitute "423-464-XXXX"

  match dnis "423-472-XXXX" substitute "423-472-XXXX"

  match dnis "423-473-XXXX" substitute "423-473-XXXX"

  match dnis "423-476-XXXX" substitute "423-476-XXXX"

  match dnis "423-478-XXXX" substitute "423-478-XXXX"

  match dnis "423-479-XXXX" substitute "423-479-XXXX"

  match dnis "423-559-XXXX" substitute "423-559-XXXX"

  match dnis "423-584-XXXX" substitute "423-584-XXXX"

  match dnis "423-599-XXXX" substitute "423-599-XXXX"

  match dnis "423-614-XXXX" substitute "423-614-XXXX"

  match dnis "423-650-XXXX" substitute "423-650-XXXX"

  match dnis "423-709-XXXX" substitute "423-709-XXXX"

  match dnis "423-715-XXXX" substitute "423-715-XXXX"

  match dnis "423-716-XXXX" substitute "423-716-XXXX"

  match dnis "423-728-XXXX" substitute "423-728-XXXX"

  match dnis "423-790-XXXX" substitute "423-790-XXXX"

  match dnis "706-492-XXXX" substitute "706-492-XXXX"

  match dnis "706-514-XXXX" substitute "706-514-XXXX"

  match dnis "706-964-XXXX" substitute "706-964-XXXX"

  match dnis "NXX-NXX-XXXX" substitute "1-NXX-NXX-XXXX"

  rtp delay-mode adaptive

  codec-list g711_first

!

voice trunk T02 type analog supervision loop-start

  description "Benton Infirmary lines"

  resource-selection linear ascending

  disconnect-supervision tone busy

  disconnect-supervision release-delay 1

  loop-disconnect time 1000

  no reject-external

  caller-id

  trunk-number 2000

  connect fxo 1/3

  match dnis "423-338-XXXX" substitute "423-338-XXXX"

  match dnis "423-219-XXXX" substitute "423-219-XXXX"

  match dnis "423-241-XXXX" substitute "423-241-XXXX"

  match dnis "423-496-XXXX" substitute "423-496-XXXX"

  match dnis "423-548-XXXX" substitute "423-548-XXXX"

  match dnis "423-761-XXXX" substitute "423-761-XXXX"

  match dnis "423-244-XXXX" substitute "423-244-XXXX"

  match dnis "423-284-XXXX" substitute "423-284-XXXX"

  match dnis "423-303-XXXX" substitute "423-303-XXXX"

  match dnis "423-310-XXXX" substitute "423-310-XXXX"

  match dnis "423-331-XXXX" substitute "423-331-XXXX"

  match dnis "423-339-XXXX" substitute "423-339-XXXX"

  match dnis "423-380-XXXX" substitute "423-380-XXXX"

  match dnis "423-457-XXXX" substitute "423-457-XXXX"

  match dnis "423-458-XXXX" substitute "423-458-XXXX"

  match dnis "423-464-XXXX" substitute "423-464-XXXX"

  match dnis "423-472-XXXX" substitute "423-472-XXXX"

  match dnis "423-473-XXXX" substitute "423-473-XXXX"

  match dnis "423-476-XXXX" substitute "423-476-XXXX"

  match dnis "423-478-XXXX" substitute "423-478-XXXX"

  match dnis "423-479-XXXX" substitute "423-479-XXXX"

  match dnis "423-559-XXXX" substitute "423-559-XXXX"

  match dnis "423-584-XXXX" substitute "423-584-XXXX"

  match dnis "423-599-XXXX" substitute "423-599-XXXX"

  match dnis "423-614-XXXX" substitute "423-614-XXXX"

  match dnis "423-650-XXXX" substitute "423-650-XXXX"

  match dnis "423-709-XXXX" substitute "423-709-XXXX"

  match dnis "423-715-XXXX" substitute "423-715-XXXX"

  match dnis "423-716-XXXX" substitute "423-716-XXXX"

  match dnis "423-728-XXXX" substitute "423-728-XXXX"

  match dnis "423-790-XXXX" substitute "423-790-XXXX"

  match dnis "706-492-XXXX" substitute "706-492-XXXX"

  match dnis "706-514-XXXX" substitute "706-514-XXXX"

  match dnis "706-964-XXXX" substitute "706-964-XXXX"

  match dnis "NXX-NXX-XXXX" substitute "1-NXX-NXX-XXXX"

  rtp delay-mode adaptive

  codec-list g711_first

voice grouped-trunk ANALOG_FXO_TRUNKS

  trunk T01

  trunk T02

  accept $ cost 0

voice grouped-trunk "EPB SIP TRUNK"

  trunk T04

  accept $ cost 0