Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Identify endpoint based on Diversion header


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
francisco.valentin.vin...
Guest





PostPosted: Wed Jul 27, 2016 6:57 am    Post subject: [asterisk-users] Identify endpoint based on Diversion header Reply with quote

Hello,

Is there any way to identify an incoming session based on the Diversion header?

In my scenario, I have some unregistered endpoints (mobile phones) that make calls through our Asterisk, which controls the external call rights based on the endpoint’s context. In a normal call, their number will be in the From header and the destination in the To an RURI, but when they make a call forwarding I will receive as calling id a number that it is not known to our system (virtually any number in the world) and my endpoint’s number will come in the Diversion header. Asterisk rejects the calls as unauthorized.

Basically I want to allow my users to forward any call from anywhere to anywhere, but I’ll charge them and I need to identify them.

Any ideas? I’m running Asterisk 13.10 with PJSIP.

Thanks in advance, Francisco.
Back to top
jcolp at digium.com
Guest





PostPosted: Wed Jul 27, 2016 7:00 am    Post subject: [asterisk-users] Identify endpoint based on Diversion header Reply with quote

Francisco Valentin Vinagrero wrote:
Quote:
Hello,

Is there any way to identify an incoming session based on the Diversion
header?

There's no current module to do this and I know of noone actively
working on such a thing but the identification system is pluggable, so
one could be plugged in.

Cheers,

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
francisco.valentin.vin...
Guest





PostPosted: Wed Jul 27, 2016 8:02 am    Post subject: [asterisk-users] Identify endpoint based on Diversion header Reply with quote

Thanks, thatīs what I thought, I'll implement something like "res_pjsip_endpoint_identifier_diversion"

Cheers.

-----Original Message-----
From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Joshua Colp
Sent: 27 July 2016 14:00
To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users@lists.digium.com>
Subject: Re: [asterisk-users] Identify endpoint based on Diversion header

Francisco Valentin Vinagrero wrote:
Quote:
Hello,

Is there any way to identify an incoming session based on the
Diversion header?

There's no current module to do this and I know of noone actively working on such a thing but the identification system is pluggable, so one could be plugged in.

Cheers,

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services