05-30-2016 06:55 AM - edited 03-17-2019 07:04 AM
Dear Community,
I am able to make calls outside(pstn) using this dial peer below with gsm number.
dial-peer voice 4 pots
destination-pattern 9..........
incoming called-number .
port 0/3/3
I ,however, want calls to be received on a particular directory number which should be my switchboard.I have seen this kind of configuration done for SKINNY with trunk 9 monitor port 0/3/3 command if this was the case.This configuration is done under ephone-dn and the command is available under ephone-dn command.SIP doesnt have this command under voice register dn.
How do i map outside calls to a particular directory number in SIP without DID number?Is this the correct dial-peer to receive outside calls?
Attached are the full configs.Thank you.
Solved! Go to Solution.
05-30-2016 10:04 AM
Seems u r trying it on fxo port, if yes..
voice-port 0/3/3 cptone KE
Connection plar opx <ext number> description Safaricom caller-id enable
For incoming call through FXO line you can use connection plar command as below to point it to any specific extension.
Suresh
06-02-2016 11:55 PM
Dear, I said it depends. You may need it to change CLI, lSDN plan, type etc if required. What yours service said to about outgoing calling.
Suresh
05-30-2016 10:04 AM
Seems u r trying it on fxo port, if yes..
voice-port 0/3/3 cptone KE
Connection plar opx <ext number> description Safaricom caller-id enable
For incoming call through FXO line you can use connection plar command as below to point it to any specific extension.
Suresh
05-30-2016 11:26 PM
Yes its an FXO port and the command connection plar opx worked.Now i can make calls from pstn to a particular extension.Thanks you.
However,you must have seen in the configs that i will be using E1 port later.can the command connection plar opx still be used with E1 port?Thank you once again.
05-30-2016 11:39 PM
Nope, you can't use this command on E1 pri. For that you need to apply translation rule/profile.
Suresh
05-31-2016 12:02 AM
Just to clarify,Will i use translation rule/profile for both incoming calls and outgoing calls or just incoming calls for pstn?.Thanks.
05-31-2016 12:09 AM
It depends, for incoming calls you need to make translation rule for called number to directly connect these calls to extensions. If you want to change CLI for outbound calls ( or want to change isdn plan and type; but this requires only when you need to change them in case of any issue) you need make translation rule for calling numbers, so this is not mandatory.
Suresh
05-31-2016 09:10 AM
Hi,i have started configuring E1 connection and i am not conversant with it.However,i followed some instructions and i managed to get this from show isdn status command:
ISDN Serial0/1/0:15 interface
dsl 0, interface ISDN Switchtype = primary-ni
Layer 1 Status:
ACTIVE
Layer 2 Status:
TEI = 0, Ces = 1, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED
Layer 3 Status:
0 Active Layer 3 Call(s)
Active dsl 0 CCBs = 0
The Free Channel Mask: 0xFFFF7FFF
Number of L2 Discards = 0, L2 Session ID = 2
Total Allocated ISDN CCBs = 0
The multiple_frame_established is a good sign,i think.This is how i configured the E1 controller:
E1 0/1/0 is up.
Applique type is Channelized E1 - balanced
No alarms detected.
alarm-trigger is not set
Version info FPGA Rev: 08121917, FPGA Type: PRK4
Framing is NO-CRC4, Line Code is HDB3, Clock Source is Line.
International Bit: 1, National Bits: 11111
Data in current interval (850 seconds elapsed):
0 Line Code Violations, 0 Path Code Violations
0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins
0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0 Unavail Secs
Data in Interval 1:
0 Line Code Violations, 0 Path Code Violations
1 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins
1 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 413 Unavail Secs
Data in Interval 2:
0 Line Code Violations, 0 Path Code Violations
0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins
0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 900 Unavail Secs
Data in Interval 3:
0 Line Code Violations, 0 Path Code Violations
0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins
0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 197 Unavail Secs
Data in Interval 4:
4878 Line Code Violations, 11 Path Code Violations
0 Slip Secs, 0 Fr Loss Secs, 1 Line Err Secs, 0 Degraded Mins
0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 556 Unavail Secs
Data in Interval 5:
25 Line Code Violations, 0 Path Code Violations
0 Slip Secs, 0 Fr Loss Secs, 1 Line Err Secs, 0 Degraded Mins
0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 900 Unavail Secs
Total Data (last 5 15 minute intervals):
4903 Line Code Violations, 11 Path Code Violations,
1 Slip Secs, 0 Fr Loss Secs, 2 Line Err Secs, 0 Degraded Mins,
1 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 2966 Unavail Secs
i configured it with pri-group timeslots 1-31
ISDN 0/1/0:15 Slot is 0, Subslot is 1, Sub-unit is 0, Port is 15
Type of VoicePort is ISDN-VOICE
Operation State is DORMANT
Administrative State is UP
No Interface Down Failure
Description is not set
Noise Regeneration is enabled
Non Linear Processing is enabled
Non Linear Mute is disabled
Non Linear Threshold is -21 dB
Music On Hold Threshold is Set to -38 dBm
In Gain is Set to 0 dB
Out Attenuation is Set to 0 dB
Echo Cancellation is enabled
Echo Cancellation NLP mute is disabled
Echo Cancellation NLP threshold is -21 dB
Echo Cancel Coverage is set to 128 ms
Echo Cancel worst case ERL is set to 6 dB
Playout-delay Mode is set to adaptive
Playout-delay Nominal is set to 60 ms
Playout-delay Maximum is set to 1000 ms
Playout-delay Minimum mode is set to default, value 40 ms
Playout-delay Fax is set to 300 ms
Connection Mode is normal
Connection Number is not set
Initial Time Out is set to 15 s
Interdigit Time Out is set to 10 s
Call Disconnect Time Out is set to 60 s
Ringing Time Out is set to 180 s
Wait Release Time Out is set to 30 s
Companding Type is A-law
Region Tone is set for US
Station name None, Station number None
Translation profile (Incoming):
Translation profile (Outgoing):
Voice class called number pool:
lpcor (Incoming):
lpcor (Outgoing):
DS0 channel specific status info:
IN OUT
PORT CH SIG-TYPE OPER STATUS STATUS TIP RING
=============== == ============ ==== ====== ====== === ====
0/1/0:15 01 isdn-voice dorm none none
0/1/0:15 02 isdn-voice dorm none none
0/1/0:15 03 isdn-voice dorm none none
0/1/0:15 04 isdn-voice dorm none none
0/1/0:15 05 isdn-voice dorm none none
0/1/0:15 06 isdn-voice dorm none none
0/1/0:15 07 isdn-voice dorm none none
0/1/0:15 08 isdn-voice dorm none none
0/1/0:15 09 isdn-voice dorm none none
0/1/0:15 10 isdn-voice dorm none none
0/1/0:15 11 isdn-voice dorm none none
0/1/0:15 12 isdn-voice dorm none none
0/1/0:15 13 isdn-voice dorm none none
0/1/0:15 14 isdn-voice dorm none none
0/1/0:15 15 isdn-voice dorm none none
0/1/0:15 17 isdn-voice dorm none none
0/1/0:15 18 isdn-voice dorm none none
0/1/0:15 19 isdn-voice dorm none none
0/1/0:15 20 isdn-voice dorm none none
0/1/0:15 21 isdn-voice dorm none none
0/1/0:15 22 isdn-voice dorm none none
0/1/0:15 23 isdn-voice dorm none none
0/1/0:15 24 isdn-voice dorm none none
0/1/0:15 25 isdn-voice dorm none none
0/1/0:15 26 isdn-voice dorm none none
0/1/0:15 27 isdn-voice dorm none none
0/1/0:15 28 isdn-voice dorm none none
0/1/0:15 29 isdn-voice dorm none none
0/1/0:15 30 isdn-voice dorm none none
0/1/0:15 31 isdn-voice dorm none none
Please find full configs attached with dial-peer for E1,I expected outside calls to pstn at least work without a translation profile.Thank you, please guide.
dial-peer voice 7 pots
destination-pattern 2T
incoming called-number .
direct-inward-dial
port 0/1/0:15
05-31-2016 09:10 AM
06-01-2016 07:38 AM
06-01-2016 11:05 PM
06-01-2016 11:23 PM
You are sending 100 as calling number, can you check with service provider what they are supposed to get in calling number. And please try to change the isdn switch type to something else once and test.
Suresh
06-02-2016 03:13 AM
hi,the service provider calling number should be 07xxxxxx000 ,i have used a translation profile to change any internal extensions like 100 to this number i.e
rule 1 /.*/ /7xxxxxx000/
However,i still cant make calls to or from pstn,i have tried changing the isdn-switch type but still no success.The isdn switch was set with isdn switch-type primary-ni as show in the attached screenshots.I am still consulting with the provider,attached are the debugs.Thanks once again.
06-02-2016 03:13 AM
Okay, it is good to check with service provider that why they are sending DISCONNECT message.
Suresh
06-02-2016 11:35 PM
Hi,(update)incoming calls are working fine after i used a translation rule to convert 10 digit number to 3 digit extensions.However,outgoing calls still have an issue,am inquiring from the provider about the issue.I have tried using a translation rule for outgoing calls but still no success and as you stated in the earlier threads,i don;t really need a translation rule for outbound calls right?
06-02-2016 11:55 PM
Dear, I said it depends. You may need it to change CLI, lSDN plan, type etc if required. What yours service said to about outgoing calling.
Suresh
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide