Route incomming iax trunk to speceific destinaition

hello experts
i have a newbie question .
core show version show Asterisk 1.6.0.10-FONCORE-r40
i have setup 2 iax trunks for testing/learning with a local provider “spikko” AKA www.spikko.com.
i am trying to create 2 inbound rules .
when someone calls to trunk A he will be forward to extention e.g 200
when someone call to trunk b he will be forwarded to extension e.g 201
it seems that my provider doesn’t pass DID so i cannot parse (create a rules ) the did .
i i do see as a different is. when i make the a test call i can see in the CLI debug that when i call to trunk A i see it recognize the trunk name IAX2/Spikko1-numbers and when i call trunk B i have IAX2/Spikko2-numbers .
can i create rules with these information ?
Please Advice
thank you

Executing [s@from-trunk:1] Set(“IAX2/Spikko-9742”, “__FROM_DID=s”) in new stack
– Executing [s@from-trunk:2] Gosub(“IAX2/Spikko-9742”, “app-blacklist-check,s,1”) in new stack
– Executing [s@app-blacklist-check:1] GotoIf(“IAX2/Spikko-9742”, “0?blacklisted”) in new stack
– Executing [s@app-blacklist-check:2] Return(“IAX2/Spikko-9742”, “”) in new stack
– Executing [s@from-trunk:3] ExecIf(“IAX2/Spikko-9742”, “1 ?Set(CALLERID(name)=0525287483)”) in new stack
– Executing [s@from-trunk:4] Set(“IAX2/Spikko-9742”, “FAX_RX=disabled”) in new stack
– Executing [s@from-trunk:5] Set(“IAX2/Spikko-9742”, “__CALLINGPRES_SV=allowed”) in new stack
– Executing [s@from-trunk:6] Set(“IAX2/Spikko-9742”, “CALLERPRES()=allowed_not_screened”) in new stack
– Executing [s@from-trunk:7] Goto(“IAX2/Spikko-9742”, “from-did-direct,200,1”) in new stack
– Goto (from-did-direct,200,1)
– Executing [200@from-did-direct:1] Macro(“IAX2/Spikko-9742”, “exten-vm,200,200”) in new stack
– Executing [s@macro-exten-vm:1] Macro(“IAX2/Spikko-9742”, “user-callerid”) in new stack
– Executing [s@macro-user-callerid:1] Set(“IAX2/Spikko-9742”, “AMPUSER=0525287483”) in new stack
– Executing [s@macro-user-callerid:2] GotoIf(“IAX2/Spikko-9742”, “0?report”) in new stack
– Executing [s@macro-user-callerid:3] ExecIf(“IAX2/Spikko-9742”, “1?Set(REALCALLERIDNUM=0546287483)”) in new stack
– Executing [s@macro-user-callerid:4] Set(“IAX2/Spikko-9742”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:5] Set(“IAX2/Spikko-9742”, “AMPUSERCIDNAME=”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“IAX2/Spikko-9742”, “1?report”) in new stack
– Goto (macro-user-callerid,s,11)
– Executing [s@macro-user-callerid:11] GotoIf(“IAX2/Spikko-9742”, “0?continue”) in new stack
– Executing [s@macro-user-callerid:12] Set(“IAX2/Spikko-9742”, “__TTL=64”) in new stack
– Executing [s@macro-user-callerid:13] GotoIf(“IAX2/Spikko-9742”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,20)
– Executing [s@macro-user-callerid:20] NoOp(“IAX2/Spikko-9742”, “Using CallerID “0546287483” <0546287483>”) in new stack
– Executing [s@macro-exten-vm:2] Set(“IAX2/Spikko-9742”, “RingGroupMethod=none”) in new stack
– Executing [s@macro-exten-vm:3] Set(“IAX2/Spikko-9742”, “VMBOX=200”) in new stack
– Executing [s@macro-exten-vm:4] Set(“IAX2/Spikko-9742”, “EXTTOCALL=200”) in new stack
– Executing [s@macro-exten-vm:5] Set(“IAX2/Spikko-9742”, “CFUEXT=”) in new stack
– Executing [s@macro-exten-vm:6] Set(“IAX2/Spikko-9742”, “CFBEXT=”) in new stack
– Executing [s@macro-exten-vm:7] Set(“IAX2/Spikko-9742”, “RT=15”) in new stack
– Executing [s@macro-exten-vm:8] Macro(“IAX2/Spikko-9742”, “record-enable,200,IN”) in new stack
– Executing [s@macro-record-enable:1] GotoIf(“IAX2/Spikko-9742”, “1?check”) in new stack

Try looking at this webpage on Trunking Two PBXs using IAX2 for some info.

thank for your reply .
there is no info about the inbound rule , that will distinguish between the 2 iax providers (numbers) .
the document only explain how to connect 2 PBX boxes