call back problem
eugen@riscom.net

Tue, 08/26/2008 - 03:55 | call back problem

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!

thirdlane

Wed, 08/27/2008 - 02:21 | call back problem

Hi,

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

Thanks,
Alex

eugen@riscom.net

Fri, 08/29/2008 - 09:57 | Well,I try to explain by an

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 !

thirdlane

Wed, 09/03/2008 - 19:20 | callback problem - use routes

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

eugen@riscom.net

Wed, 09/17/2008 - 13:12 | Alex thanks a lot for your

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!