DigitMap & OutboundCallRoute Help

<< < (3/4) > >>

azrobert:
I just tried outbound forking on an OBi110 and it worked.

drgeoff:
Quote from: azrobert on June 30, 2017, 08:17:22 am

I just tried outbound forking on an OBi110 and it worked.

That's useful to know!

scott818:
azrobert, thank you for posting the configuration. I will be playing around with it later on. I want to ask a related question.

Is it possible to take the first 10-digits of a 20-digit entered number and use that as the CID and then take the last 10-digits and use that as the destination number?

I know you can do something like the following in OutboundCallRoute:

{(xxxxxxxxxxxxxxxxxxxx):sp1(2125551212 > 8005551212)}

Which will set 2125551212 as the CID and call 8005551212 with the spoofed caller ID. I just don't know how to do it dynamically by parsing/splitting the 20-digits the user dials. In other words, taking the first 10-digits and using that as the CID and then taking the last 10-digits and using that as the destination.

azrobert:
You can use the same hack to also accomplish spoofing. Add the full dialed number to the CallerID when you initially send the call. On the loopback remove the correct digits.

Outbound Route:
{(xxxxxxxxxxxxxxxxxxxx):sp3($2>$2)}

Inbound Route:
{(xxxxxxxxxx<xxxxxxxxxx:>)>(<xxxxxxxxxx:>xxxxxxxxxx):sp1}

Service Providers -> ITSP Profile C SIP -> X_SpoofCallerID: Checked

I did NOT fully test this setup.
I did test adding the dialed number to the CallerID.
It failed on an OBi110, but worked on an OBi200.
Your service provider must support spoofing for this to work.
GoogleVoice doesn't support spoofing.
If you want both the forking and spoofing functions, you will need to use a prefix to differentiate the 2 functions.

scott818:
Quote from: azrobert on June 30, 2017, 03:32:54 pm

You can use the same hack to also accomplish spoofing. Add the full dialed number to the CallerID when you initially send the call. On the loopback remove the correct digits.

Outbound Route:
{(xxxxxxxxxxxxxxxxxxxx):sp3($2>$2)}

Inbound Route:
{(xxxxxxxxxx<xxxxxxxxxx:>)>(<xxxxxxxxxx:>xxxxxxxxxx):sp1}

Service Providers -> ITSP Profile C SIP -> X_SpoofCallerID: Checked


Can it be done with only one dummy profile? Or does there need to be two?

Navigation

[0] Message Index

[#] Next page

[*] Previous page