06-05-2009 12:27 PM - edited 03-21-2019 01:10 AM
For incoming Calls:
voice translation-rule 1
rule 1 /^43930/ /80/
voice translation-profile incomingcalls
translate called 1
dial-peer voice 60 pots
translation-profile incoming incomingcalls
incoming called-number 43930..
direct-inward-dial
For Outgoing Calls:
voice translation-rule 2
rule 1 /^80/ /43930/
voice translation-profile outgoingcalls
translate calling 2
dial-peer voice 61 pots
translation-profile outgoing outgoingcalls
preference 1
destination-pattern 0T
port 0/3/0:15
no sip-register
Incoming DID caller id is working fine
Out going caller id still displays pilot Number
What is wrong for outgoing caller id please Advise
06-05-2009 12:33 PM
I bet you your PSTN provider is overwriting it. Please post a "debug isdn q931" and you'll see that the calling number is going out correctly, but your provider is modifying it.
Let us know,
Marcos
06-05-2009 12:36 PM
Thanks i will try to talk to my Service provider
06-05-2009 01:32 PM
Check the ISDN debugs first, to be sure.
Marcos
06-08-2009 11:18 AM
Out going calls Debug
Called number 0507840168- Clid 4393000
Jun 8 17:38:50.700: ISDN Se0/3/0:15 Q931: Applying typeplan for sw-type 0x12 is
0x0 0x1, Calling num 4393098
Jun 8 17:38:50.704: ISDN Se0/3/0:15 Q931: Applying typeplan for sw-type 0x12 is
0x0 0x1, Called num 0507840168
Jun 8 17:38:50.704: ISDN Se0/3/0:15 Q931: TX -> SETUP pd = 8 callref = 0x016B
Sending Complete
Bearer Capability i = 0x8090A3
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA9839F
Exclusive, Channel 31
Progress Ind i = 0x8183 - Origination address is non-ISDN
Calling Party Number i = 0x0180, '4393098'
Plan:ISDN, Type:Unknown
Called Party Number i = 0x81, '0507840168'
Plan:ISDN, Type:Unknown
Jun 8 17:38:50.740: ISDN Se0/3/0:15 Q931: RX <- CALL_PROC pd = 8 callref = 0x8
16B
Channel ID i = 0xA9839F
Exclusive, Channel 31
Jun 8 17:38:54.796: ISDN Se0/3/0:15 Q931: RX <- ALERTING pd = 8 callref = 0x81
6B
Jun 8 17:38:57.672: ISDN Se0/3/0:15 Q931: RX <- DISCONNECT pd = 8 callref = 0x
816B
Cause i = 0x8091 - User busy
Progress Ind i = 0x8288 - In-band info or appropriate now available
Jun 8 17:38:57.672: ISDN Se0/3/0:15 Q931: call_disc: PI received in disconnect;
Postpone sending RELEASE for callid 0x80EC
Jun 8 17:38:58.860: ISDN Se0/3/0:15 Q931: TX -> RELEASE pd = 8 callref = 0x016
B
Jun 8 17:38:58.876: ISDN Se0/3/0:15 Q931: RX <- RELEASE_COMP pd = 8 callref =
0x816B
INcoming
got a call from '043975099' i have received the call in 4393098
Progress Ind i = 0x8283 - Origination address is non-ISDN
Calling Party Number i = 0x0083, '043975099'
Plan:Unknown, Type:Unknown
Called Party Number i = 0xC1, '4393098'
Plan:ISDN, Type:Subscriber(local)
Jun 8 17:47:24.780: ISDN Se0/3/0:15 Q931: TX -> CALL_PROC pd = 8 callref = 0x8
8EC
Channel ID i = 0xA9838B
Exclusive, Channel 11
Jun 8 17:47:24.792: ISDN Se0/3/0:15 Q931: TX -> ALERTING pd = 8 callref = 0x88
EC
Progress Ind i = 0x8188 - In-band info or appropriate now available
Jun 8 17:47:31.036: ISDN Se0/3/0:15 Q931: TX -> CONNECT pd = 8 callref = 0x88E
C
Jun 8 17:47:31.072: ISDN Se0/3/0:15 Q931: RX <- CONNECT_ACK pd = 8 callref = 0
x08EC
Jun 8 17:47:34.612: ISDN Se0/3/0:15 Q931: RX <- DISCONNECT pd = 8 callref = 0x
816D
Cause i = 0x8290 - Normal call clearing
Jun 8 17:47:34.612: ISDN Se0/3/0:15 Q931: call_disc: PI received in disconnect;
Postpone sending RELEASE for callid 0x80EE
Jun 8 17:48:04.612: ISDN Se0/3/0:15 Q931: RX <- RELEASE pd = 8 callref = 0x816
D
Cause i = 0x8290 - Normal call clearing
Jun 8 17:48:04.612: ISDN Se0/3/0:15 Q931: TX -> RELEASE_COMP pd = 8 callref =
0x016D
Jun 8 17:48:43.048: ISDN Se0/3/0:15 Q931: TX -> DISCONNECT pd = 8 callref = 0x
88EC
Cause i = 0x8090 - Normal call clearing
Jun 8 17:48:43.108: ISDN Se0/3/0:15 Q931: RX <- RELEASE pd = 8 callref = 0x08E
C
Jun 8 17:48:43.112: ISDN Se0/3/0:15 Q931: TX -> RELEASE_COMP pd = 8 callref =
0x88EC
This is my new rule
My extensions start from 000 to 099
voice translation-rule 1
rule 1 /^43930/ /0/
!
voice translation-rule 2
rule 1 /^0/ /43930/
!
!
voice translation-profile incomingcalls
translate called 1
!
voice translation-profile outgoingcalls
translate calling 2
!
My isp says i need to add 04 to my did
So which translation profile i have to use it is 04
06-08-2009 12:18 PM
voice translation-rule 1
rule 1 /^43930/ /0/
This rule would replace something that begins 43930 with 0, essentially taking away 43930.
voice translation-rule 2
rule 1 /^0/ /43930/
This rule would replace 0 with 43930. It looks like you want to prefix something.
If you want to prefix a 04, you might want something like this.
rule 1 /\(^43930..$\)/ /04\1/
This rule would take something that begins 43930, has two digits following, and adds 04 to the beginning. An example would be...
4393012 would turn into 044393012.
06-08-2009 01:08 PM
Thanks Steven
It works out Appreciated.
MY DID Caller ID issue is solved
Only a small issue I am facing is when you call somebody and the called party send a BUSY TONE , Ephones is disconnecting after 5 secs, even if the debug shows it is disconnected , in the Voice port, I changed disconnection time to 0.Then also the same.
06-08-2009 01:40 PM
It would be best to have this next issue in a new discussion so that others could find the answers better. Would you mind starting up a new discussion? I will help you with this in there.
Thanks
06-08-2009 01:43 PM
Thanks
I will do it
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