20 Apr
2011
20 Apr
'11
10:59 a.m.
Hi all, I have a gateway that sends me invites with the callerid in the from: header and the destination number in the to: header. I'd like these inbound invites to be matched to the proper gateway (that is used for outbound calls) so that I can use params of the gateway like context, but also so the CallsIN counter gets increased for each inbound call. Is this at all possible ? From what I understand from sofia.c, the gateway->ib_calls is only increased when an incoming request contains a gw= param or when destination_number is prefixed by gw+, or is there another way ? thanks & kind regards, Leon de Rooij