Koozali.org: home of the SME Server

prepending using transformation masks

Offline domainwizard

  • **
  • 34
  • +0/-0
    • http://www.domainwizards.net
prepending using transformation masks
« on: April 03, 2008, 07:08:29 AM »
a carrier needs me to prepend outbound calls to certain area codes in North America, would you kindly confirm this would be the correct format? ( your funky european dialstrings mess with my inbred hillbilly mind  :lol:)

when i call 1905NXXXXXX, i need to prepend it with 00015678

would the transformation mask then be 1905:000156781905 ?


thanks!

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: prepending using transformation masks
« Reply #1 on: April 04, 2008, 01:01:37 AM »
Your mask is correct sir.  It will do just what your carrier desires.

Speaking as someone who once spent several months getting very drunk in a bar called Mike Finks in Covington Kentucky, I'll be first in line to shake your hillbilly hand.  Everyone there was always very nice to this English boy.  Never could figure out the fascination for Goldstar Chilli tho'...  guess you have to be brought up with it. :)


Kind Regards

S

Offline domainwizard

  • **
  • 34
  • +0/-0
    • http://www.domainwizards.net
Re: prepending using transformation masks
« Reply #2 on: April 04, 2008, 08:09:16 AM »
it either brings a man up or visa vis...

after implementin them the dialstring in the cli looks correct, but sark says it's sorry call cannot be completed as dialed... ever polite but not amused

"","","s","mainmenu","","SIP/5143161898-08e50e68","","DISA","no-password|default","2008-04-04 06:03:26","2008-04-04 06:03:30","2008-04-04 06:03:39",13,9,"ANSWERED","DOCUMENTATION","1207289006.1104",""
"","","s","mainmenu","unknown","SIP/5143161898-08e50e68","SIP/5143161898-08dfb608","BackGround","please-hang-up-and-try-again","2008-04-04 06:03:39",,"2008-04-04 06:03:55",16,0,"FAILED","DOCUMENTATION","1207289006.1104",""



Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: prepending using transformation masks
« Reply #3 on: April 04, 2008, 09:54:14 AM »
Hi

The CDR doesn't look right.

I notice DISA in there, can you give me some background on the call and what you are attempting to achieve?

Do you have a screenshot of the asterisk console log you can post? 

Also, I'd like to see what dial plan you have in the route which is carrying this call.

Kind Regards

S