Hi all!
I have many SIP trunks configures in the same FreePBX 13 machine. All of them are trunks of the same provider.
Well, when an inbound call is coming, all of the are shown in the CLI appearing to be calls with teh same destination:
For example, if someone call to 9XXXXXXX this is shown:
> -- Executing [[email protected]_XX:1] Set("SIP/MYPROVIDER_XX-000005c7", "GROUP()=OUT_6") in new stack
> -- Executing [[email protected]_XX:2] Goto("SIP/MYPROVIDER_XX-000005c7", "from-trunk,9XXXXXXX,1") in new stack
> -- Goto (from-trunk,9XXXXXXX,1)
> -- Executing [[email protected]:1] Set("SIP/MYPROVIDER_XX-000005c7", "__DIRECTION=INBOUND") in new stack
> -- Executing [[email protected]:2] Gosub("SIP/MYPROVIDER_XX-000005c7", "sub-record-check,s,1(in,9XXXXXXX,dontcare)") in new stack
> -- Executing [[email protected]:1] GotoIf("SIP/MYPROVIDER_XX-000005c7", "0?initialized") in new stack
> -- Executing [[email protected]:2] Set("SIP/MYPROVIDER_XX-000005c7", "__REC_STATUS=INITIALIZED") in new stack
…and if someone call to 9ZZZZZZZ this is shown:
> -- Executing [[email protected]_XX:1] Set("SIP/MYPROVIDER_XX-000005cc", "GROUP()=OUT_6") in new stack
> -- Executing [[email protected]_XX:2] Goto("SIP/MYPROVIDER_XX-000005cc", "from-trunk,9ZZZZZZZ,1") in new stack
> -- Goto (from-trunk,9ZZZZZZZ,1)
> -- Executing [[email protected]:1] Set("SIP/MYPROVIDER_XX-000005cc", "__DIRECTION=INBOUND") in new stack
> -- Executing [[email protected]:2] Gosub("SIP/MYPROVIDER_XX-000005cc", "sub-record-check,s,1(in,9ZZZZZZZ,dontcare)") in new stack
> -- Executing [[email protected]:1] GotoIf("SIP/MYPROVIDER_XX-000005cc", "0?initialized") in new stack
> -- Executing [[email protected]:2] Set("SIP/MYPROVIDER_XX-000005cc", "__REC_STATUS=INITIALIZED") in new stack
It’s always answering via SIP/PYPROVIDER_XX
Any idea? Thanks!