Database PUT CF

Hi,
I have 2 trunk
test1(trunk) - 101(extension),
test2(trunk) - 102(extension)

When i try “DATABASE PUT CF 102 xxxxxxx(OUTNUMBER)”
Asterisk is calling with test1. But i want to call with test2

This has no meaning within a normal out of the box Asterisk, are you using FreePBX or something else? If so then logic has been written to use that database information.

I’m using asterisk 1.4.36 (with FREEPBX)

I’m using to forward incoming calls with PHP. But call is not coming out of the right channel.

You should try the FreePBX community support forum for help with their product. http://community.freepbx.org