Skip to main content

call back problem

Posted by eugen@riscom.net on Tue, 08/26/2008

Hi!

When I try to call through web interface on some phone numbers that
begin with 0 - callBack(0NXXXXXXXXX), the calls are posted without 0.
Asterisk route that calls to _NXXXXXXXXX. And the call are directed to an
unexciting direction. Is there a way to keep 0, so that the calls would be directed to the needed adress.

Thank you in advance!


Submitted by thirdlane on Tue, 08/26/2008 Permalink

Hi,

I am not sure if I understood your post. Where in the web interface are you specifying this pattern?

Submitted by eugen@riscom.net on Fri, 08/29/2008 Permalink

Well,I try to explain by an example. When I access from User Portal ( v. 2.1.3.61) -> Call histroy -> Call 07915111222 ,

in asterisk call are executing like this :

-- Executing[7915111222@from-inside-test:1] Macro("SIP/101-test-09368d20", "tl-set-variables2|from-inside-redir-test|test") in new stack

but when I try it from browser to access this script directly - http://myhost/asterisk/util.cgi?m=call&from=test-101&to=07915111222 a get normal result :

-- Executing [07915111222@from-inside-test:1] Macro("SIP/101-test-09368d20", "tl-set-variables2|from-inside-redir-test|test") in new stack

My patterns are specified in Routes -> Outbound routes in PBX Manager ( v. 6.0.1.61 ) web interface.

Thx !

Submitted by thirdlane on Wed, 09/03/2008 Permalink

You can deal with this by specifying a route _0XXXXXXXXXX and stripping one digit (number of digits to strip). Just make sure this does not conflict with your other routes.

Best regards,

Alex

Submitted by eugen@riscom.net on Wed, 09/17/2008 Permalink

Alex thanks a lot for your answer, my problem was vice versa one , and I solve it with perpending 0 in my dial plan.

King regards

Eugen!