How to recognize the caller ID

View: New views
3 Messages — Rating Filter:   Alert me  

How to recognize the caller ID

by Masoom Alam :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.


Regards,
MM Alam
SERG Pakistan
http://serg.imsciences.edu.pk
http://www.imsciences.edu.pk/profiles/masoom_alam.html

_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@...
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

Re: How to recognize the caller ID

by Raúl Alexis Betancor Santana :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@...
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

Re: How to recognize the caller ID

by Alex Balashov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Raúl Alexis Betancor Santana wrote:

> 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.

Given the SIP proficiency level suggested by the post, I would
hypothesise that he means the name portion of the From header, in
which case, yes, it is possible.

--
Alex Balashov - Principal
Evariste Systems
Web     : http://www.evaristesys.com/
Tel     : (+1) (678) 954-0670
Direct  : (+1) (678) 954-0671

_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@...
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users