Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Determine if a Call is internal or External

Status
Not open for further replies.

chefty

MIS
May 25, 2004
1
US
Is there a way to determine if a call is internal or external. So for I have tried using the NPA, thinking that it would not have a value if it is internal, but can't seem to get it to work. Any idea would be appreciated
 
I had kind of the same problem... I fixed it by routing the calls to 2 scripts via 2 different 'fake' numbers based on clid.
where the 2 target scripts int_abc and ext_abc are exactly the same.

Master script:

where CLID equals
2000: execute script abc
1192000: execute script ext_abc
1182000: execute script int_abc
end where

ABC script
if CLID = 1..9999 then
route call 1182000
else
route call 1192000
end if


please don't notice the exact syntax because I sure its not correct but mention the idea

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top