voice translation problem

Hi!

THis problem really makes me crazy.. :) I don't know what to do.

I have AS5300 router. One of it's E1 interfaces is connected to PBX (PRI ISDN). I have a voip dial-peer that I use to route all calls to PSTN. My configuration is as follows:

voice translation-rule 1 rule 1 // /000/ ! voice translation-profile Prefix000 translate called 1 ! controller E1 1 clock source line secondary 1 pri-group timeslots 1-31 ! interface Serial1:15 no ip address isdn switch-type primary-net5 isdn protocol-emulate network isdn incoming-voice modem no isdn outgoing display-ie no cdp enable ! dial-peer voice 11 pots huntstop destination-pattern 11301[34]. no digit-strip port 1:D ! dial-peer voice 100 voip translation-profile outgoing Prefix000 incoming called-number .+ destination-pattern .+T session target ipv4:192.168.3.1 codec g711alaw !

Called number from PBX gets prefix 000 when going out through dial-peer

100. I want to move that prefixing to pots dial-peer, but with no luck. I tried 'translation-profile incoming Prefix000' on dial-peer 11, but it does not work. I've enabled 'debug voice translation', and see how this translation incrementally applied to digits coming from PBX. When user dials 1234567, this number gets successfully rewritten as 0001234567, but then, after interdigit timeout, router tries to apply translation rules to number 1234567T, which results in 0001234567T, which is not E164 number:

*Jan 5 02:28:22.979: sed_subst: Successful substitution; pattern=144901 matchPattern= replacePattern=000 replaced pattern=000144901

*Jan 5 02:28:22.979: regxrule_subst_num_type: Match Type = none, Replace Type = none Input Type = unknown *Jan 5 02:28:22.979: regxrule_subst_num_plan: Match Plan = none, Replace Plan = none Input Plan = unknown *Jan 5 02:28:22.979: regxrule_profile_translate: xlt_number=000144901 xlt_type=unknown xlt_plan=unknown *Jan 5 02:28:23.375: regxrule_profile_translate: number=1449010 type=unknown plan=unknown numbertype=called *Jan 5 02:28:23.375: regxrule_profile_match: Matched with rule 1 in ruleset 1 *Jan 5 02:28:23.375: regxrule_profile_match: Matched with rule 1 in ruleset 1 *Jan 5 02:28:23.379: sed_subst: Successful substitution; pattern=1449010 matchPattern= replacePattern=000 replaced pattern=0001449010 *Jan 5 02:28:23.379: regxrule_subst_num_type: Match Type = none, Replace Type = none Input Type = unknown *Jan 5 02:28:23.379: regxrule_subst_num_plan: Match Plan = none, Replace Plan = none Input Plan = unknown *Jan 5 02:28:23.379: regxrule_profile_translate: xlt_number=0001449010 xlt_type=unknown xlt_plan=unknown *Jan 5 02:28:28.375: regxrule_profile_translate: number=1449010T type=unknown plan=unknown numbertype=called *Jan 5 02:28:28.375: regxrule_profile_match: Matched with rule 1 in ruleset 1 *Jan 5 02:28:28.375: regxrule_profile_match: Matched with rule 1 in ruleset 1 *Jan 5 02:28:28.375: sed_subst: Successful substitution; pattern=1449010T matchPattern= replacePattern=000 replaced pattern=0001449010T *Jan 5 02:28:28.375: regxrule_subst: Translated number 0001449010T is not E.164

*Jan 5 02:28:28.375: regxrule_profile_subst: Error: substitution operation failed

I don't know, where does that T comes from..

Any advice will be greatly appreciated!

Reply to
irmatov
Loading thread data ...

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.