[Kamailio-Users] How to recognize the caller ID

Raúl Alexis Betancor Santana rabs at dimension-virtual.com
Mon Nov 9 01:56:09 CET 2009


On Monday 09 November 2009 00:48:51 Masoom Alam wrote:
> Hi Every one,
>
> Is the following scenario possible and if yes, how?
>
> I want to identify the caller ID inside the Kamailio so that a specific
> caller can be routed to an Asterisk box. Actually, the caller -- a SIP
> client or an IP phone client is not registered at Kamailio, but Kamailio
> has to act as a Proxy to a group of Asterisk servers. The sketch in my mind
> is to use some if-then-else statements within the [route] where user can
> call a particular number say NXXXXXXX201 and then the Kamailio can strip
> off the first number and re-route it to an Asterisk server.

A "Caller ID" .. could be on the From: of an INVITE, as a RPID header ... as a 
PPI header ... as a PAI header ... that's too ambigous ... you have to be 
more especific.

-- 
Raúl Alexis Betancor Santana
Dimensión Virtual



More information about the Users mailing list