01-31-2008 04:14 AM - edited 03-15-2019 08:32 AM
how to manipulate the outgoing number?
forexample, phone registers on the router with internal number 1006, and also appears dial-peer 1006$, and calls I can make only INTERNAL! FROM 1006 to 1007 ans so on.
But I cann't call PRI number, like 212345
dial-peer voice 4 pots
tone ringback alert-no-PI
destination-pattern [234].....
no digit-strip
direct-inward-dial
port 0/0/0:15
01-31-2008 05:14 AM
maybe this can help you to answer for my question:
Jan 31 09:22:17.082: //-1/xxxxxxxxxxxx/RXRULE/regxrule_get_profile_from_trunkgroup_internal: Voice port 0x469D04A0
does not belong to any trunk group
Jan 31 09:22:17.086: //-1/D99271A883BB/RXRULE/regxrule_stack_pop_RegXruleNumInfo: stack=0x46E566F4; count=1
Jan 31 09:22:17.086: //-1/D99271A883BB/RXRULE/regxrule_stack_push_RegXruleNumInfo: stack=0x46E566F4; count=0
Jan 31 09:22:24.142: //-1/D99271A883BB/RXRULE/regxrule_stack_push_RegXruleNumInfo: stack=0x46E566F4; count=1
Jan 31 09:22:24.142: //-1/D99271A883BB/RXRULE/regxrule_dp_translate: No profile found in peer 1 for outgoing direction
Jan 31 09:22:24.142: //-1/D99271A883BB/RXRULE/regxrule_dp_translate: calling_number=1006 calling_octet=0x0
called_number=80677708033 called_octet=0x80
redirect_number= redirect_type=0 redirect_plan=0 redirect_PI=0 redirect_SI=0
Jan 31 09:22:24.142: //-1/D99271A883BB/RXRULE/regxrule_vp_translate: No profile found in voice port or trunk group for
outgoing direction
Jan 31 09:22:24.142: //-1/D99271A883BB/RXRULE/regxrule_vp_translate: calling_number=1006 calling_octet=0x0
called_number=80677708033 called_octet=0x80
redirect_number= redirect_type=0 redirect_plan=0
Jan 31 09:22:26.170: //-1/D99271A883BB/RXRULE/regxrule_stack_pop_RegXruleNumInfo: stack=0x46E566F4; count=2
Jan 31 09:22:26.662: //-1/xxxxxxxxxxxx/RXRULE/regxrule_get_profile_from_trunkgroup_internal: Voice port 0x469D04A0
does not belong to any trunk group
Jan 31 09:22:26.666: //-1/DF483F7B83BE/RXRULE/regxrule_stack_pop_RegXruleNumInfo: stack=0x46E56FD0; count=1
Jan 31 09:22:26.666: //-1/DF483F7B83BE/RXRULE/regxrule_stack_push_RegXruleNumInfo: stack=0x46E56FD0; count=0
As you see we have calling number 1006, and I want ot have something like 212346
01-31-2008 06:03 AM
NOW CALLING NUMBER IS OK< BUT WHEN I CALL < I RECEIVE BUSY SIGNAL! WHAT CAN BE THE PROBLEM??
n 31 13:59:39.641: //-1/98DAE5DB8451/RXRULE/regxrule_profile_match_internal: Error: ruleset for called number not
found
Jan 31 13:59:39.641: //-1/98DAE5DB8451/RXRULE/regxrule_profile_translate_internal: No match: number=01 type=unknown
plan=unknown
Jan 31 13:59:39.641: //-1/98DAE5DB8451/RXRULE/regxrule_profile_translate_internal: number= type=unknown plan=unknown
numbertype=redirect-called
Jan 31 13:59:39.641: //-1/98DAE5DB8451/RXRULE/regxrule_get_RegXrule: Invalid translation ruleset tag=0
Jan 31 13:59:39.641: //-1/98DAE5DB8451/RXRULE/regxrule_profile_match_internal: Error: ruleset for redirect-called
number not found
Jan 31 13:59:39.641: //-1/98DAE5DB8451/RXRULE/regxrule_profile_translate_internal: No match: number= type=unknown
plan=unknown
Jan 31 13:59:39.641: //-1/98DAE5DB8451/RXRULE/regxrule_dp_translate: calling_number=212346 calling_octet=0x0
called_number=01 called_octet=0x80
redirect_number= redirect_type=0 redirect_plan=0 redirect_PI=0 redirect_SI=0
Jan 31 13:59:39.641: //-1/98DAE5DB8451/RXRULE/regxrule_vp_translate: No profile found in voice port or trunk group for
outgoing direction
Jan 31 13:59:39.641: //-1/98DAE5DB8451/RXRULE/regxrule_vp_translate: calling_number=212346 calling_octet=0x0
called_number=01 called_octet=0x80
redirect_number= redirect_type=0 redirect_plan=0
Jan 31 13:59:44.689: //-1/98DAE5DB8451/RXRULE/regxrule_stack_pop_RegXruleNumInfo: stack=0x46E56B8C; count=2
01-31-2008 06:09 AM
The dial-peer is now look like this:
voice translation-rule 2
rule 1 /100/ /41242286/
rule 2 /101/ /41242287/
voice translation-profile Zh_City
translate calling 2
dial-peer voice 4 pots
translation-profile outgoing City
tone ringback alert-no-PI
destination-pattern [234].....
no digit-strip
direct-inward-dial
port 0/0/0:15
But I cann't call any number like 201021
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