search for: external_provider2

Displaying 1 result from an estimated 1 matches for "external_provider2".

Did you mean: external_provider
2006 Mar 09
2
Extracting info from the $EXTEN variable
...depending on the destination country (digits 5 and eventually 6 of EXTEN), route my calls for another provider, something like: exten => _1XX0.,1,GotoIf(${EXTEN[5-6]} == certain_pattern)?2,3) exten => _1XX0.,2,Dial(SIP/${EXTEN:4}@external_provider1) exten => _1XX0.,3,Dial(SIP/${EXTEN:4}@external_provider2) How can I do that? I was looking the documentation, but it only speaks of stripping digits from the extension, not to selecting a range. Thanks a lot for your help. -- Atly. ?lvaro Palma